public class BatchAccountCreateParameters extends Object
| Constructor and Description |
|---|
BatchAccountCreateParameters() |
| Modifier and Type | Method and Description |
|---|---|
AutoStorageBaseProperties |
autoStorage()
Get the properties related to the auto-storage account.
|
KeyVaultReference |
keyVaultReference()
Get a reference to the Azure key vault associated with the Batch account.
|
String |
location()
Get the region in which to create the account.
|
PoolAllocationMode |
poolAllocationMode()
Get the pool allocation mode also affects how clients may authenticate to the Batch Service API.
|
Map<String,String> |
tags()
Get the user-specified tags associated with the account.
|
BatchAccountCreateParameters |
withAutoStorage(AutoStorageBaseProperties autoStorage)
Set the properties related to the auto-storage account.
|
BatchAccountCreateParameters |
withKeyVaultReference(KeyVaultReference keyVaultReference)
Set a reference to the Azure key vault associated with the Batch account.
|
BatchAccountCreateParameters |
withLocation(String location)
Set the region in which to create the account.
|
BatchAccountCreateParameters |
withPoolAllocationMode(PoolAllocationMode poolAllocationMode)
Set the pool allocation mode also affects how clients may authenticate to the Batch Service API.
|
BatchAccountCreateParameters |
withTags(Map<String,String> tags)
Set the user-specified tags associated with the account.
|
public String location()
public BatchAccountCreateParameters withLocation(String location)
location - the location value to setpublic Map<String,String> tags()
public BatchAccountCreateParameters withTags(Map<String,String> tags)
tags - the tags value to setpublic AutoStorageBaseProperties autoStorage()
public BatchAccountCreateParameters withAutoStorage(AutoStorageBaseProperties autoStorage)
autoStorage - the autoStorage value to setpublic PoolAllocationMode poolAllocationMode()
public BatchAccountCreateParameters withPoolAllocationMode(PoolAllocationMode poolAllocationMode)
poolAllocationMode - the poolAllocationMode value to setpublic KeyVaultReference keyVaultReference()
public BatchAccountCreateParameters withKeyVaultReference(KeyVaultReference keyVaultReference)
keyVaultReference - the keyVaultReference value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/