StorageAccount Class

  • java.lang.Object
    • com.microsoft.azure.management.hdinsight.v2018_06_01_preview.StorageAccount

public class StorageAccount

The storage Account.

Constructor Summary

Constructor Description
StorageAccount()

Method Summary

Modifier and Type Method and Description
java.lang.String container()

Get the container in the storage account, only to be specified for WASB storage accounts.

java.lang.String fileSystem()

Get the filesystem, only to be specified for Azure Data Lake Storage Gen 2.

java.lang.Boolean isDefault()

Get whether or not the storage account is the default storage account.

java.lang.String key()

Get the storage account access key.

java.lang.String msiResourceId()

Get the managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.

java.lang.String name()

Get the name of the storage account.

java.lang.String resourceId()

Get the resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.

StorageAccount withContainer(String container)

Set the container in the storage account, only to be specified for WASB storage accounts.

StorageAccount withFileSystem(String fileSystem)

Set the filesystem, only to be specified for Azure Data Lake Storage Gen 2.

StorageAccount withIsDefault(Boolean isDefault)

Set whether or not the storage account is the default storage account.

StorageAccount withKey(String key)

Set the storage account access key.

StorageAccount withMsiResourceId(String msiResourceId)

Set the managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.

StorageAccount withName(String name)

Set the name of the storage account.

StorageAccount withResourceId(String resourceId)

Set the resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

StorageAccount

public StorageAccount()

Method Details

container

public String container()

Get the container in the storage account, only to be specified for WASB storage accounts.

Returns:

the container value

fileSystem

public String fileSystem()

Get the filesystem, only to be specified for Azure Data Lake Storage Gen 2.

Returns:

the fileSystem value

isDefault

public Boolean isDefault()

Get whether or not the storage account is the default storage account.

Returns:

the isDefault value

key

public String key()

Get the storage account access key.

Returns:

the key value

msiResourceId

public String msiResourceId()

Get the managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.

Returns:

the msiResourceId value

name

public String name()

Get the name of the storage account.

Returns:

the name value

resourceId

public String resourceId()

Get the resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.

Returns:

the resourceId value

withContainer

public StorageAccount withContainer(String container)

Set the container in the storage account, only to be specified for WASB storage accounts.

Parameters:

container - the container value to set

Returns:

the StorageAccount object itself.

withFileSystem

public StorageAccount withFileSystem(String fileSystem)

Set the filesystem, only to be specified for Azure Data Lake Storage Gen 2.

Parameters:

fileSystem - the fileSystem value to set

Returns:

the StorageAccount object itself.

withIsDefault

public StorageAccount withIsDefault(Boolean isDefault)

Set whether or not the storage account is the default storage account.

Parameters:

isDefault - the isDefault value to set

Returns:

the StorageAccount object itself.

withKey

public StorageAccount withKey(String key)

Set the storage account access key.

Parameters:

key - the key value to set

Returns:

the StorageAccount object itself.

withMsiResourceId

public StorageAccount withMsiResourceId(String msiResourceId)

Set the managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.

Parameters:

msiResourceId - the msiResourceId value to set

Returns:

the StorageAccount object itself.

withName

public StorageAccount withName(String name)

Set the name of the storage account.

Parameters:

name - the name value to set

Returns:

the StorageAccount object itself.

withResourceId

public StorageAccount withResourceId(String resourceId)

Set the resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.

Parameters:

resourceId - the resourceId value to set

Returns:

the StorageAccount object itself.

Applies to