BatchAccountsImpl Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.TopLevelModifiableResourcesImpl<BatchAccount, BatchAccountImpl, BatchAccountInner, BatchAccountsInner, BatchManager>
      • com.microsoft.azure.management.batch.implementation.BatchAccountsImpl

public class BatchAccountsImpl implements BatchAccounts

Implementation for BatchAccounts and its parent interfaces.

Constructor Summary

Constructor Description
BatchAccountsImpl(BatchManager manager, StorageManager storageManager)

Method Summary

Modifier and Type Method and Description
BatchAccount.DefinitionStages.Blank define(String name)

Begins a definition for a new resource.

This is the beginning of the builder pattern used to create top level resources in Azure. The final method completing the definition and starting the actual resource creation process in Azure is create().

Note that the create() method is only available at the stage of the resource definition that has the minimum set of input parameters specified. If you do not see create() among the available methods, it means you have not yet specified all the required input settings. Input settings generally begin with the word "with", for example: and return the next stage of the resource definition, as an interface in the "fluent interface" style.

int getBatchAccountQuotaByLocation(Region region)

Looks up the number of Batch accounts that can be created in the specified region.

BatchAccountImpl wrapModel(BatchAccountInner inner)
BatchAccountImpl wrapModel(String name)

Inherited Members

SupportsBatchCreation<ResourceT>.create(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.create(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(ServiceCallback<CreatedResources<ResourceT>> callback, Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(final ServiceCallback<CreatedResources<ResourceT>> callback, List<Creatable<ResourceT>> creatables) SupportsDeletingById.deleteById(String id) SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback) SupportsDeletingById.deleteByIdAsync(String id) SupportsBatchDeletion.deleteByIds(Collection<String> ids) SupportsBatchDeletion.deleteByIds(String...ids) SupportsBatchDeletion.deleteByIdsAsync(Collection<String> ids) SupportsBatchDeletion.deleteByIdsAsync(String...ids) SupportsDeletingByResourceGroup.deleteByResourceGroup(String resourceGroupName, String name) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingById<T>.getById(String id) SupportsGettingById<T>.getByIdAsync(String id) SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback) SupportsGettingByResourceGroup<T>.getByResourceGroup(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<T> callback) HasInner<T>.inner() SupportsListing<T>.list() SupportsListing<T>.listAsync() SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName) SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName) HasManager<ManagerT>.manager()

Constructor Details

BatchAccountsImpl

protected BatchAccountsImpl(BatchManager manager, StorageManager storageManager)

Parameters:

manager
storageManager

Method Details

define

public BatchAccount.DefinitionStages.Blank define(String name)

Begins a definition for a new resource.

This is the beginning of the builder pattern used to create top level resources in Azure. The final method completing the definition and starting the actual resource creation process in Azure is create().

Note that the create() method is only available at the stage of the resource definition that has the minimum set of input parameters specified. If you do not see create() among the available methods, it means you have not yet specified all the required input settings. Input settings generally begin with the word "with", for example: and return the next stage of the resource definition, as an interface in the "fluent interface" style.

Overrides:

BatchAccountsImpl.define(String name)

Parameters:

name - the name of the new resource

Returns:

the first stage of the new resource definition

getBatchAccountQuotaByLocation

public int getBatchAccountQuotaByLocation(Region region)

Looks up the number of Batch accounts that can be created in the specified region.

Overrides:

BatchAccountsImpl.getBatchAccountQuotaByLocation(Region region)

Parameters:

region - an Azure region

Returns:

the number of Batch accounts that can be created in the specified region

wrapModel

protected BatchAccountImpl wrapModel(BatchAccountInner inner)

Parameters:

inner

wrapModel

protected BatchAccountImpl wrapModel(String name)

Parameters:

name

Applies to