Clusters interface
表示群集的接口。
方法
方法详细信息
beginCreateIdentity(string, string, ClustersCreateIdentityOptionalParams)
创建群集标识。
function beginCreateIdentity(resourceGroupName: string, clusterName: string, options?: ClustersCreateIdentityOptionalParams): Promise<PollerLike<PollOperationState<ClusterIdentityResponse>, ClusterIdentityResponse>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- clusterName
-
string
群集的名称。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<ClusterIdentityResponse>, ClusterIdentityResponse>>
beginCreateIdentityAndWait(string, string, ClustersCreateIdentityOptionalParams)
创建群集标识。
function beginCreateIdentityAndWait(resourceGroupName: string, clusterName: string, options?: ClustersCreateIdentityOptionalParams): Promise<ClusterIdentityResponse>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- clusterName
-
string
群集的名称。
选项参数。
返回
Promise<ClusterIdentityResponse>
beginDelete(string, string, ClustersDeleteOptionalParams)
删除 HCI 群集。
function beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- clusterName
-
string
群集的名称。
- options
- ClustersDeleteOptionalParams
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, ClustersDeleteOptionalParams)
删除 HCI 群集。
function beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- clusterName
-
string
群集的名称。
- options
- ClustersDeleteOptionalParams
选项参数。
返回
Promise<void>
beginUploadCertificate(string, string, UploadCertificateRequest, ClustersUploadCertificateOptionalParams)
上传证书。
function beginUploadCertificate(resourceGroupName: string, clusterName: string, uploadCertificateRequest: UploadCertificateRequest, options?: ClustersUploadCertificateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- clusterName
-
string
群集的名称。
- uploadCertificateRequest
- UploadCertificateRequest
上传证书请求。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginUploadCertificateAndWait(string, string, UploadCertificateRequest, ClustersUploadCertificateOptionalParams)
上传证书。
function beginUploadCertificateAndWait(resourceGroupName: string, clusterName: string, uploadCertificateRequest: UploadCertificateRequest, options?: ClustersUploadCertificateOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- clusterName
-
string
群集的名称。
- uploadCertificateRequest
- UploadCertificateRequest
上传证书请求。
选项参数。
返回
Promise<void>
create(string, string, Cluster, ClustersCreateOptionalParams)
创建 HCI 群集。
function create(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersCreateOptionalParams): Promise<Cluster>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- clusterName
-
string
群集的名称。
- cluster
- Cluster
HCI 群集的详细信息。
- options
- ClustersCreateOptionalParams
选项参数。
返回
Promise<Cluster>
get(string, string, ClustersGetOptionalParams)
获取 HCI 群集。
function get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<Cluster>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- clusterName
-
string
群集的名称。
- options
- ClustersGetOptionalParams
选项参数。
返回
Promise<Cluster>
listByResourceGroup(string, ClustersListByResourceGroupOptionalParams)
列出资源组中的所有 HCI 群集。
function listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster, Cluster[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
选项参数。
返回
listBySubscription(ClustersListBySubscriptionOptionalParams)
列出订阅中的所有 HCI 群集。
function listBySubscription(options?: ClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Cluster, Cluster[], PageSettings>
参数
选项参数。
返回
update(string, string, ClusterPatch, ClustersUpdateOptionalParams)
更新 HCI 群集。
function update(resourceGroupName: string, clusterName: string, cluster: ClusterPatch, options?: ClustersUpdateOptionalParams): Promise<Cluster>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- clusterName
-
string
群集的名称。
- cluster
- ClusterPatch
HCI 群集的详细信息。
- options
- ClustersUpdateOptionalParams
选项参数。
返回
Promise<Cluster>