BatchAccountImpl Class
- java.
lang. Object - com.
microsoft. azure. management. resources. fluentcore. arm. models. implementation. GroupableResourceImpl<BatchAccount, BatchAccountInner, BatchAccountImpl, BatchManager> - com.
microsoft. azure. management. batch. implementation. BatchAccountImpl
- com.
- com.
public class BatchAccountImpl implements BatchAccount,BatchAccount.Definition,BatchAccount.Update
Implementation for BatchAccount and its parent interfaces.
Constructor Summary
Constructor | Description | |
---|---|---|
BatchAccountImpl(String name, BatchAccountInner innerObject, BatchManager manager, final StorageManager storageManager) |
Method Summary
Modifier and Type | Method and Description |
---|---|
String | accountEndpoint() |
int | activeJobAndJobScheduleQuota() |
Map<String, Application> | applications() |
Auto |
autoStorage() |
int | coreQuota() |
Observable<Batch |
createResourceAsync() |
Integer | dedicatedCoreQuota() |
List<Virtual |
dedicatedCoreQuotaPerVMFamily() |
boolean | dedicatedCoreQuotaPerVMFamilyEnforced() |
Application |
defineNewApplication(String applicationId)
The stage of a Batch account definition allowing to add a Batch application. |
Pool |
defineNewPool(String poolId)
The stage of a Batch account definition allowing to add a Batch pool. |
Observable<Batch |
getInnerAsync() |
Batch |
getKeys() |
Integer | lowPriorityCoreQuota() |
int | poolQuota() |
Map<String, Pool> | pools() |
Provisioning |
provisioningState() |
Observable<Batch |
refreshAsync()
Refreshes the resource to sync with Azure. |
Batch |
regenerateKeys(AccountKeyType keyType)
Regenerates the access keys for the Batch account. |
void |
synchronizeAutoStorageKeys()
Synchronizes the storage account keys for this Batch account. |
Application |
updateApplication(String applicationId)
Begins the description of an update of an existing Batch application in this Batch account. |
Pool |
updatePool(String poolId)
Begins the description of an update of an existing Batch pool in this Batch account. |
Observable<Batch |
updateResourceAsync() |
Batch |
withExistingStorageAccount(StorageAccount storageAccount)
Specifies an existing storage account to associate with the Batch account. |
Batch |
withNewStorageAccount(Creatable<StorageAccount> creatable)
Specifies a new storage account to associate with the Batch account. |
Batch |
withNewStorageAccount(String storageAccountName)
Specifies the name of a new storage account to be created and associated with this Batch account. |
Batch |
withoutApplication(String applicationId)
Removes the specified application from the Batch account. |
Batch |
withoutPool(String poolId)
Removes the specified pool from the Batch account. |
Batch |
withoutStorageAccount()
Removes the associated storage account. |
Inherited Members
Constructor Details
BatchAccountImpl
protected BatchAccountImpl(String name, BatchAccountInner innerObject, BatchManager manager, final StorageManager storageManager)
Parameters:
Method Details
accountEndpoint
public String accountEndpoint()
Overrides:
BatchAccountImpl.accountEndpoint()Returns:
activeJobAndJobScheduleQuota
public int activeJobAndJobScheduleQuota()
Overrides:
BatchAccountImpl.activeJobAndJobScheduleQuota()Returns:
applications
public Map
Overrides:
BatchAccountImpl.applications()Returns:
autoStorage
public AutoStorageProperties autoStorage()
Overrides:
BatchAccountImpl.autoStorage()Returns:
coreQuota
public int coreQuota()
Overrides:
BatchAccountImpl.coreQuota()Returns:
createResourceAsync
public Observable
dedicatedCoreQuota
public Integer dedicatedCoreQuota()
Overrides:
BatchAccountImpl.dedicatedCoreQuota()Returns:
dedicatedCoreQuotaPerVMFamily
public List
Overrides:
BatchAccountImpl.dedicatedCoreQuotaPerVMFamily()Returns:
dedicatedCoreQuotaPerVMFamilyEnforced
public boolean dedicatedCoreQuotaPerVMFamilyEnforced()
Overrides:
BatchAccountImpl.dedicatedCoreQuotaPerVMFamilyEnforced()Returns:
defineNewApplication
public ApplicationImpl defineNewApplication(String applicationId)
The stage of a Batch account definition allowing to add a Batch application.
Overrides:
BatchAccountImpl.defineNewApplication(String applicationId)Parameters:
Returns:
defineNewPool
public PoolImpl defineNewPool(String poolId)
The stage of a Batch account definition allowing to add a Batch pool.
Overrides:
BatchAccountImpl.defineNewPool(String poolId)Parameters:
Returns:
getInnerAsync
protected Observable
getKeys
public BatchAccountKeys getKeys()
Overrides:
BatchAccountImpl.getKeys()Returns:
lowPriorityCoreQuota
public Integer lowPriorityCoreQuota()
Overrides:
BatchAccountImpl.lowPriorityCoreQuota()Returns:
poolQuota
public int poolQuota()
Overrides:
BatchAccountImpl.poolQuota()Returns:
pools
public Map
Overrides:
BatchAccountImpl.pools()Returns:
provisioningState
public ProvisioningState provisioningState()
Overrides:
BatchAccountImpl.provisioningState()Returns:
refreshAsync
public Observable
Refreshes the resource to sync with Azure.
Overrides:
BatchAccountImpl.refreshAsync()Returns:
regenerateKeys
public BatchAccountKeys regenerateKeys(AccountKeyType keyType)
Regenerates the access keys for the Batch account.
Overrides:
BatchAccountImpl.regenerateKeys(AccountKeyType keyType)Parameters:
Returns:
synchronizeAutoStorageKeys
public void synchronizeAutoStorageKeys()
Synchronizes the storage account keys for this Batch account.
Overrides:
BatchAccountImpl.synchronizeAutoStorageKeys()updateApplication
public ApplicationImpl updateApplication(String applicationId)
Begins the description of an update of an existing Batch application in this Batch account.
Overrides:
BatchAccountImpl.updateApplication(String applicationId)Parameters:
Returns:
updatePool
public PoolImpl updatePool(String poolId)
Begins the description of an update of an existing Batch pool in this Batch account.
Overrides:
BatchAccountImpl.updatePool(String poolId)Parameters:
Returns:
updateResourceAsync
public Observable
withExistingStorageAccount
public BatchAccountImpl withExistingStorageAccount(StorageAccount storageAccount)
Specifies an existing storage account to associate with the Batch account.
Overrides:
BatchAccountImpl.withExistingStorageAccount(StorageAccount storageAccount)Parameters:
Returns:
withNewStorageAccount
public BatchAccountImpl withNewStorageAccount(Creatable
Specifies a new storage account to associate with the Batch account.
Overrides:
BatchAccountImpl.withNewStorageAccount(Creatable<StorageAccount> creatable)Parameters:
Returns:
withNewStorageAccount
public BatchAccountImpl withNewStorageAccount(String storageAccountName)
Specifies the name of a new storage account to be created and associated with this Batch account.
Overrides:
BatchAccountImpl.withNewStorageAccount(String storageAccountName)Parameters:
Returns:
withoutApplication
public Update withoutApplication(String applicationId)
Removes the specified application from the Batch account.
Overrides:
BatchAccountImpl.withoutApplication(String applicationId)Parameters:
Returns:
withoutPool
public Update withoutPool(String poolId)
Removes the specified pool from the Batch account.
Overrides:
BatchAccountImpl.withoutPool(String poolId)Parameters:
Returns:
withoutStorageAccount
public BatchAccountImpl withoutStorageAccount()
Removes the associated storage account.
Overrides:
BatchAccountImpl.withoutStorageAccount()Returns:
Applies to
Azure SDK for Java