Dela via


BatchExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Batch.

public static class BatchExtensions
type BatchExtensions = class
Public Module BatchExtensions
Inheritance
BatchExtensions

Methods

CheckBatchNameAvailability(SubscriptionResource, AzureLocation, BatchNameAvailabilityContent, CancellationToken)

Checks whether the Batch account name is available in the specified region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability
  • Operation Id: Location_CheckNameAvailability
  • Default Api Version: 2024-07-01
CheckBatchNameAvailabilityAsync(SubscriptionResource, AzureLocation, BatchNameAvailabilityContent, CancellationToken)

Checks whether the Batch account name is available in the specified region.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability
  • Operation Id: Location_CheckNameAvailability
  • Default Api Version: 2024-07-01
GetBatchAccount(ResourceGroupResource, String, CancellationToken)

Gets information about the specified Batch account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
  • Operation Id: BatchAccount_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountResource
GetBatchAccountAsync(ResourceGroupResource, String, CancellationToken)

Gets information about the specified Batch account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
  • Operation Id: BatchAccount_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountResource
GetBatchAccountCertificateResource(ArmClient, ResourceIdentifier)

Gets an object representing a BatchAccountCertificateResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BatchAccountCertificateResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBatchAccountCertificateResource(ResourceIdentifier) instead.

GetBatchAccountDetectorResource(ArmClient, ResourceIdentifier)

Gets an object representing a BatchAccountDetectorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BatchAccountDetectorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBatchAccountDetectorResource(ResourceIdentifier) instead.

GetBatchAccountPoolResource(ArmClient, ResourceIdentifier)

Gets an object representing a BatchAccountPoolResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BatchAccountPoolResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBatchAccountPoolResource(ResourceIdentifier) instead.

GetBatchAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a BatchAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BatchAccountResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBatchAccountResource(ResourceIdentifier) instead.

GetBatchAccounts(ResourceGroupResource)

Gets a collection of BatchAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetBatchAccounts() instead.

GetBatchAccounts(SubscriptionResource, CancellationToken)

Gets information about the Batch accounts associated with the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts
  • Operation Id: BatchAccount_List
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountResource
GetBatchAccountsAsync(SubscriptionResource, CancellationToken)

Gets information about the Batch accounts associated with the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts
  • Operation Id: BatchAccount_List
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountResource
GetBatchApplicationPackageResource(ArmClient, ResourceIdentifier)

Gets an object representing a BatchApplicationPackageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a BatchApplicationPackageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBatchApplicationPackageResource(ResourceIdentifier) instead.

GetBatchApplicationResource(ArmClient, ResourceIdentifier)

Gets an object representing a BatchApplicationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BatchApplicationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBatchApplicationResource(ResourceIdentifier) instead.

GetBatchPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BatchPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BatchPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBatchPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetBatchPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a BatchPrivateLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BatchPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBatchPrivateLinkResource(ResourceIdentifier) instead.

GetBatchQuotas(SubscriptionResource, AzureLocation, CancellationToken)

Gets the Batch service quotas for the specified subscription at the given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas
  • Operation Id: Location_GetQuotas
  • Default Api Version: 2024-07-01
GetBatchQuotasAsync(SubscriptionResource, AzureLocation, CancellationToken)

Gets the Batch service quotas for the specified subscription at the given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas
  • Operation Id: Location_GetQuotas
  • Default Api Version: 2024-07-01
GetBatchSupportedCloudServiceSkus(SubscriptionResource, AzureLocation, Nullable<Int32>, String, CancellationToken)

Gets the list of Batch supported Cloud Service VM sizes available at the given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/cloudServiceSkus
  • Operation Id: Location_ListSupportedCloudServiceSkus
  • Default Api Version: 2024-02-01
GetBatchSupportedCloudServiceSkusAsync(SubscriptionResource, AzureLocation, Nullable<Int32>, String, CancellationToken)

Gets the list of Batch supported Cloud Service VM sizes available at the given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/cloudServiceSkus
  • Operation Id: Location_ListSupportedCloudServiceSkus
  • Default Api Version: 2024-02-01
GetBatchSupportedVirtualMachineSkus(SubscriptionResource, AzureLocation, Nullable<Int32>, String, CancellationToken)

Gets the list of Batch supported Virtual Machine VM sizes available at the given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/virtualMachineSkus
  • Operation Id: Location_ListSupportedVirtualMachineSkus
  • Default Api Version: 2024-07-01
GetBatchSupportedVirtualMachineSkusAsync(SubscriptionResource, AzureLocation, Nullable<Int32>, String, CancellationToken)

Gets the list of Batch supported Virtual Machine VM sizes available at the given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/virtualMachineSkus
  • Operation Id: Location_ListSupportedVirtualMachineSkus
  • Default Api Version: 2024-07-01
GetNetworkSecurityPerimeterConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a NetworkSecurityPerimeterConfigurationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a NetworkSecurityPerimeterConfigurationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetNetworkSecurityPerimeterConfigurationResource(ResourceIdentifier) instead.

Applies to