Sprog

RoleManagementAttributeNamespaceResource.Create Method

Definition

Creates a new attribute namespace.

  • Request Path. : /providers/Microsoft.Authorization/attributeNamespaces/{attributeNamespace}/action.
  • Operation Id. : AttributeNamespaces_Create.
  • Default Api Version. : 2025-12-01-preview.
  • Resource. : RoleManagementAttributeNamespaceResource.
public virtual Azure.Response<Azure.ResourceManager.Authorization.RoleManagementAttributeNamespaceResource> Create(Azure.ResourceManager.Authorization.Models.RoleManagementAttributeNamespaceCreateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Create : Azure.ResourceManager.Authorization.Models.RoleManagementAttributeNamespaceCreateContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleManagementAttributeNamespaceResource>
override this.Create : Azure.ResourceManager.Authorization.Models.RoleManagementAttributeNamespaceCreateContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleManagementAttributeNamespaceResource>
Public Overridable Function Create (content As RoleManagementAttributeNamespaceCreateContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleManagementAttributeNamespaceResource)

Parameters

content
RoleManagementAttributeNamespaceCreateContent

Parameters for creating the attribute namespace.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to