ConnectedClusterOperations interface
Interface representing a ConnectedClusterOperations.
Methods
begin |
API to register a new Kubernetes cluster and create a tracked resource in Azure Resource Manager (ARM). |
begin |
API to register a new Kubernetes cluster and create a tracked resource in Azure Resource Manager (ARM). |
begin |
Delete a connected cluster, removing the tracked resource in Azure Resource Manager (ARM). |
begin |
Delete a connected cluster, removing the tracked resource in Azure Resource Manager (ARM). |
get(string, string, Connected |
Returns the properties of the specified connected cluster, including name, identity, properties, and additional cluster details. |
list |
API to enumerate registered connected K8s clusters under a Resource Group |
list |
API to enumerate registered connected K8s clusters under a Subscription |
list |
Gets cluster user credentials of the connected cluster with a specified resource group and name. |
update(string, string, Connected |
API to update certain properties of the connected cluster resource |
Method Details
beginCreate(string, string, ConnectedCluster, ConnectedClusterCreateOptionalParams)
API to register a new Kubernetes cluster and create a tracked resource in Azure Resource Manager (ARM).
function beginCreate(resourceGroupName: string, clusterName: string, connectedCluster: ConnectedCluster, options?: ConnectedClusterCreateOptionalParams): Promise<PollerLike<PollOperationState<ConnectedCluster>, ConnectedCluster>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kubernetes cluster on which get is called.
- connectedCluster
- ConnectedCluster
Parameters supplied to Create a Connected Cluster.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<ConnectedCluster>, ConnectedCluster>>
beginCreateAndWait(string, string, ConnectedCluster, ConnectedClusterCreateOptionalParams)
API to register a new Kubernetes cluster and create a tracked resource in Azure Resource Manager (ARM).
function beginCreateAndWait(resourceGroupName: string, clusterName: string, connectedCluster: ConnectedCluster, options?: ConnectedClusterCreateOptionalParams): Promise<ConnectedCluster>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kubernetes cluster on which get is called.
- connectedCluster
- ConnectedCluster
Parameters supplied to Create a Connected Cluster.
The options parameters.
Returns
Promise<ConnectedCluster>
beginDelete(string, string, ConnectedClusterDeleteOptionalParams)
Delete a connected cluster, removing the tracked resource in Azure Resource Manager (ARM).
function beginDelete(resourceGroupName: string, clusterName: string, options?: ConnectedClusterDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kubernetes cluster on which get is called.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, ConnectedClusterDeleteOptionalParams)
Delete a connected cluster, removing the tracked resource in Azure Resource Manager (ARM).
function beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ConnectedClusterDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kubernetes cluster on which get is called.
The options parameters.
Returns
Promise<void>
get(string, string, ConnectedClusterGetOptionalParams)
Returns the properties of the specified connected cluster, including name, identity, properties, and additional cluster details.
function get(resourceGroupName: string, clusterName: string, options?: ConnectedClusterGetOptionalParams): Promise<ConnectedCluster>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kubernetes cluster on which get is called.
The options parameters.
Returns
Promise<ConnectedCluster>
listByResourceGroup(string, ConnectedClusterListByResourceGroupOptionalParams)
API to enumerate registered connected K8s clusters under a Resource Group
function listByResourceGroup(resourceGroupName: string, options?: ConnectedClusterListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConnectedCluster, ConnectedCluster[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(ConnectedClusterListBySubscriptionOptionalParams)
API to enumerate registered connected K8s clusters under a Subscription
function listBySubscription(options?: ConnectedClusterListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConnectedCluster, ConnectedCluster[], PageSettings>
Parameters
The options parameters.
Returns
listClusterUserCredential(string, string, ListClusterUserCredentialProperties, ConnectedClusterListClusterUserCredentialOptionalParams)
Gets cluster user credentials of the connected cluster with a specified resource group and name.
function listClusterUserCredential(resourceGroupName: string, clusterName: string, properties: ListClusterUserCredentialProperties, options?: ConnectedClusterListClusterUserCredentialOptionalParams): Promise<CredentialResults>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kubernetes cluster on which get is called.
- properties
- ListClusterUserCredentialProperties
ListClusterUserCredential properties
The options parameters.
Returns
Promise<CredentialResults>
update(string, string, ConnectedClusterPatch, ConnectedClusterUpdateOptionalParams)
API to update certain properties of the connected cluster resource
function update(resourceGroupName: string, clusterName: string, connectedClusterPatch: ConnectedClusterPatch, options?: ConnectedClusterUpdateOptionalParams): Promise<ConnectedCluster>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Kubernetes cluster on which get is called.
- connectedClusterPatch
- ConnectedClusterPatch
Parameters supplied to update Connected Cluster.
The options parameters.
Returns
Promise<ConnectedCluster>