IComputeSkus.ListbyRegionAndResourceTypeAsync 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.
Lists all the skus with the specified resource type in the given region.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Compute.Fluent.IComputeSku>> ListbyRegionAndResourceTypeAsync (Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region, Microsoft.Azure.Management.Compute.Fluent.ComputeResourceType resourceType, System.Threading.CancellationToken cancellationToken = default);
abstract member ListbyRegionAndResourceTypeAsync : Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region * Microsoft.Azure.Management.Compute.Fluent.ComputeResourceType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Compute.Fluent.IComputeSku>>
Public Function ListbyRegionAndResourceTypeAsync (region As Region, resourceType As ComputeResourceType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IComputeSku))
Parameters
- region
- Region
The region.
- resourceType
- ComputeResourceType
The resource type.
- cancellationToken
- CancellationToken
Returns
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