ManagedNamespacesOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.ManagedNamespace> CreateOrUpdateAsync(this Microsoft.Azure.Management.ContainerService.IManagedNamespacesOperations operations, string resourceGroupName, string resourceName, string managedNamespaceName, Microsoft.Azure.Management.ContainerService.Models.ManagedNamespace parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ContainerService.IManagedNamespacesOperations * string * string * string * Microsoft.Azure.Management.ContainerService.Models.ManagedNamespace * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.ManagedNamespace>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IManagedNamespacesOperations, resourceGroupName As String, resourceName As String, managedNamespaceName As String, parameters As ManagedNamespace, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedNamespace)
Parameters
- operations
- IManagedNamespacesOperations
The operations group for this extension method.
- 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
- cancellationToken
- CancellationToken
The cancellation token.