Condividi tramite


DataBoxExtensions Class

Definition

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

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

Methods

GetAvailableSkus(ResourceGroupResource, AzureLocation, AvailableSkusContent, CancellationToken)

This method provides the list of available skus for the given subscription, resource group and location.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/availableSkus
  • Operation Id: Service_ListAvailableSkusByResourceGroup
GetAvailableSkusAsync(ResourceGroupResource, AzureLocation, AvailableSkusContent, CancellationToken)

This method provides the list of available skus for the given subscription, resource group and location.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/availableSkus
  • Operation Id: Service_ListAvailableSkusByResourceGroup
GetDataBoxJob(ResourceGroupResource, String, String, CancellationToken)

Gets information about the specified job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
  • Operation Id: Jobs_Get
GetDataBoxJobAsync(ResourceGroupResource, String, String, CancellationToken)

Gets information about the specified job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
  • Operation Id: Jobs_Get
GetDataBoxJobResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataBoxJobResource 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 DataBoxJobResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataBoxJobResource(ResourceIdentifier) instead.

GetDataBoxJobs(ResourceGroupResource)

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

GetDataBoxJobs(SubscriptionResource, String, CancellationToken)

Lists all the jobs available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs
  • Operation Id: Jobs_List
GetDataBoxJobsAsync(SubscriptionResource, String, CancellationToken)

Lists all the jobs available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs
  • Operation Id: Jobs_List
GetRegionConfiguration(ResourceGroupResource, AzureLocation, RegionConfigurationContent, CancellationToken)

This API provides configuration details specific to given region/location at Resource group level.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration
  • Operation Id: Service_RegionConfigurationByResourceGroup
GetRegionConfiguration(SubscriptionResource, AzureLocation, RegionConfigurationContent, CancellationToken)

This API provides configuration details specific to given region/location at Subscription level.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration
  • Operation Id: Service_RegionConfiguration
GetRegionConfigurationAsync(ResourceGroupResource, AzureLocation, RegionConfigurationContent, CancellationToken)

This API provides configuration details specific to given region/location at Resource group level.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration
  • Operation Id: Service_RegionConfigurationByResourceGroup
GetRegionConfigurationAsync(SubscriptionResource, AzureLocation, RegionConfigurationContent, CancellationToken)

This API provides configuration details specific to given region/location at Subscription level.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration
  • Operation Id: Service_RegionConfiguration
ValidateAddress(SubscriptionResource, AzureLocation, DataBoxValidateAddressContent, CancellationToken)

[DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer shipping address and provide alternate addresses if any.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress
  • Operation Id: Service_ValidateAddress
ValidateAddressAsync(SubscriptionResource, AzureLocation, DataBoxValidateAddressContent, CancellationToken)

[DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer shipping address and provide alternate addresses if any.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress
  • Operation Id: Service_ValidateAddress
ValidateInputs(ResourceGroupResource, AzureLocation, DataBoxValidationContent, CancellationToken)

This method does all necessary pre-job creation validation under resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/validateInputs
  • Operation Id: Service_ValidateInputsByResourceGroup
ValidateInputs(SubscriptionResource, AzureLocation, DataBoxValidationContent, CancellationToken)

This method does all necessary pre-job creation validation under subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs
  • Operation Id: Service_ValidateInputs
ValidateInputsAsync(ResourceGroupResource, AzureLocation, DataBoxValidationContent, CancellationToken)

This method does all necessary pre-job creation validation under resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/validateInputs
  • Operation Id: Service_ValidateInputsByResourceGroup
ValidateInputsAsync(SubscriptionResource, AzureLocation, DataBoxValidationContent, CancellationToken)

This method does all necessary pre-job creation validation under subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs
  • Operation Id: Service_ValidateInputs

Applies to