SupportExtensions.LookUpResourceIdAsync 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET