Dela via


SupportExtensions.LookUpResourceIdAsync Method

Definition

This operation fetches ARM resource id of support resource type.

  • Request Path: /providers/Microsoft.Support/lookUpResourceId
  • Operation Id: LookUpResourceId_Post
  • Default Api Version: 2023-06-01-preview
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.LookUpResourceIdResult>> LookUpResourceIdAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.Support.Models.LookUpResourceIdContent content, System.Threading.CancellationToken cancellationToken = default);
static member LookUpResourceIdAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.Support.Models.LookUpResourceIdContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.LookUpResourceIdResult>>
<Extension()>
Public Function LookUpResourceIdAsync (tenantResource As TenantResource, content As LookUpResourceIdContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LookUpResourceIdResult))

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

content
LookUpResourceIdContent

Look up resource id request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource or content is null.

Applies to