ComputeBulkActionsExtensions.GetLocationBasedBulkCreateCustomsAsync 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.
List BulkCreateCustom resources by subscriptionId. <item> Mocking. To mock this method, please mock GetLocationBasedBulkCreateCustomsAsync(AzureLocation, CancellationToken) instead. </item>
public static Azure.AsyncPageable<Azure.ResourceManager.Compute.BulkActions.LocationBasedBulkCreateCustomResource> GetLocationBasedBulkCreateCustomsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetLocationBasedBulkCreateCustomsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.BulkActions.LocationBasedBulkCreateCustomResource>
<Extension()>
Public Function GetLocationBasedBulkCreateCustomsAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of LocationBasedBulkCreateCustomResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- location
- AzureLocation
The location name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of LocationBasedBulkCreateCustomResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource is null.