Language

MockableComputeBulkActionsResourceGroupResource.GetLocationBasedBulkCreateCustomAsync Method

Definition

Gets an instance of BulkCreateCustoms.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/locations/{location}/bulkCreateCustom/{name}.
  • Operation Id. : BulkCreateCustom_Get.
  • Default Api Version. : 2026-09-06-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.BulkActions.LocationBasedBulkCreateCustomResource>> GetLocationBasedBulkCreateCustomAsync(Azure.Core.AzureLocation location, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLocationBasedBulkCreateCustomAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.BulkActions.LocationBasedBulkCreateCustomResource>>
override this.GetLocationBasedBulkCreateCustomAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.BulkActions.LocationBasedBulkCreateCustomResource>>
Public Overridable Function GetLocationBasedBulkCreateCustomAsync (location As AzureLocation, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LocationBasedBulkCreateCustomResource))

Parameters

location
AzureLocation

The location for the resource.

name
String

The name of the BulkCreateCustom. The value must be an UUID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

name is null.

name is an empty string, and was expected to be non-empty.

Applies to