TrustedAccessRoleBindingsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a trusted access role binding

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.TrustedAccessRoleBinding> CreateOrUpdateAsync(this Microsoft.Azure.Management.ContainerService.ITrustedAccessRoleBindingsOperations operations, string resourceGroupName, string resourceName, string trustedAccessRoleBindingName, Microsoft.Azure.Management.ContainerService.Models.TrustedAccessRoleBinding trustedAccessRoleBinding, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ContainerService.ITrustedAccessRoleBindingsOperations * string * string * string * Microsoft.Azure.Management.ContainerService.Models.TrustedAccessRoleBinding * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.TrustedAccessRoleBinding>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ITrustedAccessRoleBindingsOperations, resourceGroupName As String, resourceName As String, trustedAccessRoleBindingName As String, trustedAccessRoleBinding As TrustedAccessRoleBinding, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TrustedAccessRoleBinding)

Parameters

operations
ITrustedAccessRoleBindingsOperations

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.

trustedAccessRoleBindingName
String

The name of trusted access role binding.

trustedAccessRoleBinding
TrustedAccessRoleBinding
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to