ContributorCollection.Get(String, CancellationToken) 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.
Get a contributor for primary service admin
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs/{maccName}/contributors/{contributorName}.
- Operation Id. : Contributors_GetFromPrimary.
- Default Api Version. : 2025-12-01-preview.
public virtual Azure.Response<Azure.ResourceManager.BillingBenefits.ContributorResource> Get(string contributorName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.BillingBenefits.ContributorResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.BillingBenefits.ContributorResource>
Public Overridable Function Get (contributorName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContributorResource)
Parameters
- contributorName
- String
Unique name of contributor in the format {contributorCloudSubId}{resourceGroupName}{nameInContributorTenant}.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
contributorName is null.
contributorName is an empty string, and was expected to be non-empty.