ManagedNamespacesClient Interface

public interface ManagedNamespacesClient

An instance of this class provides access to all the operations defined in ManagedNamespacesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ManagedNamespaceInner>,ManagedNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters)

Creates or updates a namespace managed by ARM for the specified managed cluster.

abstract SyncPoller<PollResult<ManagedNamespaceInner>,ManagedNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters, Context context)

Creates or updates a namespace managed by ARM for the specified managed cluster.

abstract PollerFlux<PollResult<ManagedNamespaceInner>,ManagedNamespaceInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters)

Creates or updates a namespace managed by ARM for the specified managed cluster.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String managedNamespaceName)

Deletes a namespace.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String managedNamespaceName, Context context)

Deletes a namespace.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Deletes a namespace.

abstract ManagedNamespaceInner createOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters)

Creates or updates a namespace managed by ARM for the specified managed cluster.

abstract ManagedNamespaceInner createOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters, Context context)

Creates or updates a namespace managed by ARM for the specified managed cluster.

abstract Mono<ManagedNamespaceInner> createOrUpdateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters)

Creates or updates a namespace managed by ARM for the specified managed cluster.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters)

Creates or updates a namespace managed by ARM for the specified managed cluster.

abstract void delete(String resourceGroupName, String resourceName, String managedNamespaceName)

Deletes a namespace.

abstract void delete(String resourceGroupName, String resourceName, String managedNamespaceName, Context context)

Deletes a namespace.

abstract Mono<Void> deleteAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Deletes a namespace.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Deletes a namespace.

abstract ManagedNamespaceInner get(String resourceGroupName, String resourceName, String managedNamespaceName)

Gets the specified namespace of a managed cluster.

abstract Mono<ManagedNamespaceInner> getAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Gets the specified namespace of a managed cluster.

abstract Response<ManagedNamespaceInner> getWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, Context context)

Gets the specified namespace of a managed cluster.

abstract Mono<Response<ManagedNamespaceInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Gets the specified namespace of a managed cluster.

abstract PagedIterable<ManagedNamespaceInner> listByManagedCluster(String resourceGroupName, String resourceName)

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

abstract PagedIterable<ManagedNamespaceInner> listByManagedCluster(String resourceGroupName, String resourceName, Context context)

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

abstract PagedFlux<ManagedNamespaceInner> listByManagedClusterAsync(String resourceGroupName, String resourceName)

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

abstract CredentialResultsInner listCredential(String resourceGroupName, String resourceName, String managedNamespaceName)

Lists the credentials of a namespace.

abstract Mono<CredentialResultsInner> listCredentialAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Lists the credentials of a namespace.

abstract Response<CredentialResultsInner> listCredentialWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, Context context)

Lists the credentials of a namespace.

abstract Mono<Response<CredentialResultsInner>> listCredentialWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Lists the credentials of a namespace.

abstract ManagedNamespaceInner update(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters)

Updates tags on a managed namespace.

abstract Mono<ManagedNamespaceInner> updateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters)

Updates tags on a managed namespace.

abstract Response<ManagedNamespaceInner> updateWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters, Context context)

Updates tags on a managed namespace.

abstract Mono<Response<ManagedNamespaceInner>> updateWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters)

Updates tags on a managed namespace.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ManagedNamespaceInner>,ManagedNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - The namespace to create or update.

Returns:

the SyncPoller<T,U> for polling of namespace managed by ARM.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ManagedNamespaceInner>,ManagedNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - The namespace to create or update.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of namespace managed by ARM.

beginCreateOrUpdateAsync

public abstract PollerFlux<PollResult<ManagedNamespaceInner>,ManagedNamespaceInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - The namespace to create or update.

Returns:

the PollerFlux<T,U> for polling of namespace managed by ARM.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String managedNamespaceName)

Deletes a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String managedNamespaceName, Context context)

Deletes a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Deletes a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract ManagedNamespaceInner createOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - The namespace to create or update.

Returns:

namespace managed by ARM.

createOrUpdate

public abstract ManagedNamespaceInner createOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - The namespace to create or update.
context - The context to associate with this operation.

Returns:

namespace managed by ARM.

createOrUpdateAsync

public abstract Mono<ManagedNamespaceInner> createOrUpdateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - The namespace to create or update.

Returns:

namespace managed by ARM on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - The namespace to create or update.

Returns:

namespace managed by ARM along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String resourceName, String managedNamespaceName)

Deletes a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

delete

public abstract void delete(String resourceGroupName, String resourceName, String managedNamespaceName, Context context)

Deletes a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
context - The context to associate with this operation.

deleteAsync

public abstract Mono<Void> deleteAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Deletes a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Deletes a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract ManagedNamespaceInner get(String resourceGroupName, String resourceName, String managedNamespaceName)

Gets the specified namespace of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

Returns:

the specified namespace of a managed cluster.

getAsync

public abstract Mono<ManagedNamespaceInner> getAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Gets the specified namespace of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

Returns:

the specified namespace of a managed cluster on successful completion of Mono.

getWithResponse

public abstract Response<ManagedNamespaceInner> getWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, Context context)

Gets the specified namespace of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
context - The context to associate with this operation.

Returns:

the specified namespace of a managed cluster along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<ManagedNamespaceInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Gets the specified namespace of a managed cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

Returns:

the specified namespace of a managed cluster along with Response<T> on successful completion of Mono.

listByManagedCluster

public abstract PagedIterable<ManagedNamespaceInner> listByManagedCluster(String resourceGroupName, String resourceName)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.

Returns:

a list of managed namespaces in the specified managed cluster as paginated response with PagedIterable<T>.

listByManagedCluster

public abstract PagedIterable<ManagedNamespaceInner> listByManagedCluster(String resourceGroupName, String resourceName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
context - The context to associate with this operation.

Returns:

a list of managed namespaces in the specified managed cluster as paginated response with PagedIterable<T>.

listByManagedClusterAsync

public abstract PagedFlux<ManagedNamespaceInner> listByManagedClusterAsync(String resourceGroupName, String resourceName)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.

Returns:

a list of managed namespaces in the specified managed cluster as paginated response with PagedFlux<T>.

listCredential

public abstract CredentialResultsInner listCredential(String resourceGroupName, String resourceName, String managedNamespaceName)

Lists the credentials of a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

Returns:

the list credential result response.

listCredentialAsync

public abstract Mono<CredentialResultsInner> listCredentialAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Lists the credentials of a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

Returns:

the list credential result response on successful completion of Mono.

listCredentialWithResponse

public abstract Response<CredentialResultsInner> listCredentialWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, Context context)

Lists the credentials of a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
context - The context to associate with this operation.

Returns:

the list credential result response along with Response<T>.

listCredentialWithResponseAsync

public abstract Mono<Response<CredentialResultsInner>> listCredentialWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName)

Lists the credentials of a namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.

Returns:

the list credential result response along with Response<T> on successful completion of Mono.

update

public abstract ManagedNamespaceInner update(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters)

Updates tags on a managed namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - Parameters supplied to the patch namespace operation, we only support patch tags for now.

Returns:

namespace managed by ARM.

updateAsync

public abstract Mono<ManagedNamespaceInner> updateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters)

Updates tags on a managed namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - Parameters supplied to the patch namespace operation, we only support patch tags for now.

Returns:

namespace managed by ARM on successful completion of Mono.

updateWithResponse

public abstract Response<ManagedNamespaceInner> updateWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters, Context context)

Updates tags on a managed namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - Parameters supplied to the patch namespace operation, we only support patch tags for now.
context - The context to associate with this operation.

Returns:

namespace managed by ARM along with Response<T>.

updateWithResponseAsync

public abstract Mono<Response<ManagedNamespaceInner>> updateWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters)

Updates tags on a managed namespace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
managedNamespaceName - The name of the managed namespace.
parameters - Parameters supplied to the patch namespace operation, we only support patch tags for now.

Returns:

namespace managed by ARM along with Response<T> on successful completion of Mono.

Applies to