Dela via


BillingDepartmentRoleDefinitionResource.Get(CancellationToken) Method

Definition

Gets the definition for a role on a department. The operation is supported for billing accounts with agreement type Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/billingRoleDefinitions/{roleDefinitionName}
  • Operation Id: BillingRoleDefinition_GetByDepartment
  • Default Api Version: 2024-04-01
  • Resource: BillingDepartmentRoleDefinitionResource
public virtual Azure.Response<Azure.ResourceManager.Billing.BillingDepartmentRoleDefinitionResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.BillingDepartmentRoleDefinitionResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.BillingDepartmentRoleDefinitionResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of BillingDepartmentRoleDefinitionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to