ManagedNamespaces interface
Interface representing a ManagedNamespaces.
Methods
Method Details
beginCreateOrUpdate(string, string, string, ManagedNamespace, ManagedNamespacesCreateOrUpdateOptionalParams)
Creates or updates a namespace managed by ARM for the specified managed cluster. Users can configure aspects like resource quotas, network ingress/egress policies, and more. See aka.ms/aks/managed-namespaces for more details.
function beginCreateOrUpdate(resourceGroupName: string, resourceName: string, managedNamespaceName: string, parameters: ManagedNamespace, options?: ManagedNamespacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedNamespacesCreateOrUpdateResponse>, ManagedNamespacesCreateOrUpdateResponse>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
- managedNamespaceName
-
string
The name of the managed namespace.
- parameters
- ManagedNamespace
The namespace to create or update.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ManagedNamespacesCreateOrUpdateResponse>, ManagedNamespacesCreateOrUpdateResponse>>
beginCreateOrUpdateAndWait(string, string, string, ManagedNamespace, ManagedNamespacesCreateOrUpdateOptionalParams)
Creates or updates a namespace managed by ARM for the specified managed cluster. Users can configure aspects like resource quotas, network ingress/egress policies, and more. See aka.ms/aks/managed-namespaces for more details.
function beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, managedNamespaceName: string, parameters: ManagedNamespace, options?: ManagedNamespacesCreateOrUpdateOptionalParams): Promise<ManagedNamespacesCreateOrUpdateResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
- managedNamespaceName
-
string
The name of the managed namespace.
- parameters
- ManagedNamespace
The namespace to create or update.
The options parameters.
Returns
beginDelete(string, string, string, ManagedNamespacesDeleteOptionalParams)
Deletes a namespace.
function beginDelete(resourceGroupName: string, resourceName: string, managedNamespaceName: string, options?: ManagedNamespacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ManagedNamespacesDeleteHeaders>, ManagedNamespacesDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
- managedNamespaceName
-
string
The name of the managed namespace.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ManagedNamespacesDeleteHeaders>, ManagedNamespacesDeleteHeaders>>
beginDeleteAndWait(string, string, string, ManagedNamespacesDeleteOptionalParams)
Deletes a namespace.
function beginDeleteAndWait(resourceGroupName: string, resourceName: string, managedNamespaceName: string, options?: ManagedNamespacesDeleteOptionalParams): Promise<ManagedNamespacesDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
- managedNamespaceName
-
string
The name of the managed namespace.
The options parameters.
Returns
Promise<ManagedNamespacesDeleteHeaders>
get(string, string, string, ManagedNamespacesGetOptionalParams)
Gets the specified namespace of a managed cluster.
function get(resourceGroupName: string, resourceName: string, managedNamespaceName: string, options?: ManagedNamespacesGetOptionalParams): Promise<ManagedNamespace>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
- managedNamespaceName
-
string
The name of the managed namespace.
The options parameters.
Returns
Promise<ManagedNamespace>
listByManagedCluster(string, string, ManagedNamespacesListByManagedClusterOptionalParams)
Gets a list of managed namespaces in the specified managed cluster.
function listByManagedCluster(resourceGroupName: string, resourceName: string, options?: ManagedNamespacesListByManagedClusterOptionalParams): PagedAsyncIterableIterator<ManagedNamespace, ManagedNamespace[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
The options parameters.
Returns
listCredential(string, string, string, ManagedNamespacesListCredentialOptionalParams)
Lists the credentials of a namespace.
function listCredential(resourceGroupName: string, resourceName: string, managedNamespaceName: string, options?: ManagedNamespacesListCredentialOptionalParams): Promise<CredentialResults>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
- managedNamespaceName
-
string
The name of the managed namespace.
The options parameters.
Returns
Promise<CredentialResults>
update(string, string, string, TagsObject, ManagedNamespacesUpdateOptionalParams)
Updates tags on a managed namespace.
function update(resourceGroupName: string, resourceName: string, managedNamespaceName: string, parameters: TagsObject, options?: ManagedNamespacesUpdateOptionalParams): Promise<ManagedNamespace>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the managed cluster resource.
- managedNamespaceName
-
string
The name of the managed namespace.
- parameters
- TagsObject
Parameters supplied to the patch namespace operation, we only support patch tags for now.
The options parameters.
Returns
Promise<ManagedNamespace>