RoleManagementAttributeNamespaceCollection.GetAsync 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.
Gets the specified attribute namespace.
- Request Path. : /providers/Microsoft.Authorization/attributeNamespaces/{attributeNamespace}.
- Operation Id. : AttributeNamespaces_Get.
- Default Api Version. : 2025-12-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleManagementAttributeNamespaceResource>> GetAsync(string attributeNamespace, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleManagementAttributeNamespaceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleManagementAttributeNamespaceResource>>
Public Overridable Function GetAsync (attributeNamespace As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RoleManagementAttributeNamespaceResource))
Parameters
- attributeNamespace
- String
The name of the attribute namespace to get.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
attributeNamespace is null.
attributeNamespace is an empty string, and was expected to be non-empty.