Condividi tramite


ContainerServiceManagedClusterResource.GetManagedClusterNamespace Method

Definition

Gets the specified namespace of a managed cluster.

public virtual Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterNamespaceResource> GetManagedClusterNamespace(string managedNamespaceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedClusterNamespace : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterNamespaceResource>
override this.GetManagedClusterNamespace : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterNamespaceResource>
Public Overridable Function GetManagedClusterNamespace (managedNamespaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedClusterNamespaceResource)

Parameters

managedNamespaceName
String

The name of the managed namespace.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

managedNamespaceName is null.

managedNamespaceName is an empty string, and was expected to be non-empty.

Applies to