共用方式為


ConfluentOrganizationResource.CreateAccessRoleBindingAsync Method

Definition

Organization role bindings

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/createRoleBinding
  • Operation Id: Access_CreateRoleBinding
  • Default Api Version: 2024-02-13
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.Models.AccessRoleBindingRecord>> CreateAccessRoleBindingAsync (Azure.ResourceManager.Confluent.Models.AccessRoleBindingCreateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateAccessRoleBindingAsync : Azure.ResourceManager.Confluent.Models.AccessRoleBindingCreateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.Models.AccessRoleBindingRecord>>
override this.CreateAccessRoleBindingAsync : Azure.ResourceManager.Confluent.Models.AccessRoleBindingCreateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.Models.AccessRoleBindingRecord>>
Public Overridable Function CreateAccessRoleBindingAsync (content As AccessRoleBindingCreateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AccessRoleBindingRecord))

Parameters

content
AccessRoleBindingCreateContent

Create role binding Request Model.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to