Share via


ManagedNamespaces interface

Interface representing a ManagedNamespaces.

Methods

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.

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.

beginDelete(string, string, string, ManagedNamespacesDeleteOptionalParams)

Deletes a namespace.

beginDeleteAndWait(string, string, string, ManagedNamespacesDeleteOptionalParams)

Deletes a namespace.

get(string, string, string, ManagedNamespacesGetOptionalParams)

Gets the specified namespace of a managed cluster.

listByManagedCluster(string, string, ManagedNamespacesListByManagedClusterOptionalParams)

Gets a list of managed namespaces in the specified managed cluster.

listCredential(string, string, string, ManagedNamespacesListCredentialOptionalParams)

Lists the credentials of a namespace.

update(string, string, string, TagsObject, ManagedNamespacesUpdateOptionalParams)

Updates tags on a managed namespace.

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.

options
ManagedNamespacesCreateOrUpdateOptionalParams

The options parameters.

Returns

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.

options
ManagedNamespacesCreateOrUpdateOptionalParams

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.

options
ManagedNamespacesDeleteOptionalParams

The options parameters.

Returns

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.

options
ManagedNamespacesDeleteOptionalParams

The options parameters.

Returns

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.

options
ManagedNamespacesGetOptionalParams

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.

options
ManagedNamespacesListByManagedClusterOptionalParams

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.

options
ManagedNamespacesListCredentialOptionalParams

The options parameters.

Returns

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.

options
ManagedNamespacesUpdateOptionalParams

The options parameters.

Returns

Promise<ManagedNamespace>