ConnectedClusterOperations interface
表示 ConnectedClusterOperations 的介面。
方法
方法詳細資料
beginCreate(string, string, ConnectedCluster, ConnectedClusterCreateOptionalParams)
API 以註冊新的 Kubernetes 叢集,並在 Azure Resource Manager 中建立追蹤的資源(ARM)。
function beginCreate(resourceGroupName: string, clusterName: string, connectedCluster: ConnectedCluster, options?: ConnectedClusterCreateOptionalParams): Promise<PollerLike<PollOperationState<ConnectedCluster>, ConnectedCluster>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- clusterName
-
string
在上呼叫 get 的 Kubernetes 叢集名稱。
- connectedCluster
- ConnectedCluster
提供給建立連線叢集的參數。
選項參數。
傳回
Promise<PollerLike<@azure/core-lro.PollOperationState<ConnectedCluster>, ConnectedCluster>>
beginCreateAndWait(string, string, ConnectedCluster, ConnectedClusterCreateOptionalParams)
API 以註冊新的 Kubernetes 叢集,並在 Azure Resource Manager 中建立追蹤的資源(ARM)。
function beginCreateAndWait(resourceGroupName: string, clusterName: string, connectedCluster: ConnectedCluster, options?: ConnectedClusterCreateOptionalParams): Promise<ConnectedCluster>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- clusterName
-
string
在上呼叫 get 的 Kubernetes 叢集名稱。
- connectedCluster
- ConnectedCluster
提供給建立連線叢集的參數。
選項參數。
傳回
Promise<ConnectedCluster>
beginDelete(string, string, ConnectedClusterDeleteOptionalParams)
刪除已連線的叢集,移除 Azure Resource Manager (ARM) 中的追蹤資源。
function beginDelete(resourceGroupName: string, clusterName: string, options?: ConnectedClusterDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- clusterName
-
string
在上呼叫 get 的 Kubernetes 叢集名稱。
選項參數。
傳回
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, ConnectedClusterDeleteOptionalParams)
刪除已連線的叢集,移除 Azure Resource Manager (ARM) 中的追蹤資源。
function beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ConnectedClusterDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- clusterName
-
string
在上呼叫 get 的 Kubernetes 叢集名稱。
選項參數。
傳回
Promise<void>
get(string, string, ConnectedClusterGetOptionalParams)
傳回指定之已連線叢集的屬性,包括名稱、身分識別、屬性和其他叢集詳細數據。
function get(resourceGroupName: string, clusterName: string, options?: ConnectedClusterGetOptionalParams): Promise<ConnectedCluster>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- clusterName
-
string
在上呼叫 get 的 Kubernetes 叢集名稱。
選項參數。
傳回
Promise<ConnectedCluster>
listByResourceGroup(string, ConnectedClusterListByResourceGroupOptionalParams)
在資源群組下列舉已註冊的已連線 K8s 叢集的 API
function listByResourceGroup(resourceGroupName: string, options?: ConnectedClusterListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConnectedCluster, ConnectedCluster[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
選項參數。
傳回
listBySubscription(ConnectedClusterListBySubscriptionOptionalParams)
在訂用帳戶下列舉已註冊的已連線 K8s 叢集的 API
function listBySubscription(options?: ConnectedClusterListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConnectedCluster, ConnectedCluster[], PageSettings>
參數
選項參數。
傳回
listClusterUserCredential(string, string, ListClusterUserCredentialProperties, ConnectedClusterListClusterUserCredentialOptionalParams)
取得具有指定資源群組和名稱之已連線叢集的叢集用戶認證。
function listClusterUserCredential(resourceGroupName: string, clusterName: string, properties: ListClusterUserCredentialProperties, options?: ConnectedClusterListClusterUserCredentialOptionalParams): Promise<CredentialResults>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- clusterName
-
string
在上呼叫 get 的 Kubernetes 叢集名稱。
- properties
- ListClusterUserCredentialProperties
ListClusterUserCredential 屬性
選項參數。
傳回
Promise<CredentialResults>
update(string, string, ConnectedClusterPatch, ConnectedClusterUpdateOptionalParams)
更新連線叢集資源特定屬性的 API
function update(resourceGroupName: string, clusterName: string, connectedClusterPatch: ConnectedClusterPatch, options?: ConnectedClusterUpdateOptionalParams): Promise<ConnectedCluster>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- clusterName
-
string
在上呼叫 get 的 Kubernetes 叢集名稱。
- connectedClusterPatch
- ConnectedClusterPatch
提供給更新連線叢集的參數。
選項參數。
傳回
Promise<ConnectedCluster>