StorageAccountPropertiesInner Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.fluent.models.StorageAccountPropertiesInner

Implements

public final class StorageAccountPropertiesInner
implements JsonSerializable<StorageAccountPropertiesInner>

Properties of the storage account.

Constructor Summary

Constructor Description
StorageAccountPropertiesInner()

Creates an instance of StorageAccountPropertiesInner class.

Method Summary

Modifier and Type Method and Description
AccessTier accessTier()

Get the accessTier property: Required for storage accounts where kind = BlobStorage.

Boolean accountMigrationInProgress()

Get the accountMigrationInProgress property: If customer initiated account migration is in progress, the value will be true else it will be null.

Boolean allowBlobPublicAccess()

Get the allowBlobPublicAccess property: Allow or disallow public access to all blobs or containers in the storage account.

Boolean allowCrossTenantReplication()

Get the allowCrossTenantReplication property: Allow or disallow cross AAD tenant object replication.

AllowedCopyScope allowedCopyScope()

Get the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.

Boolean allowSharedKeyAccess()

Get the allowSharedKeyAccess property: Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key.

AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication()

Get the azureFilesIdentityBasedAuthentication property: Provides the identity based authentication settings for Azure Files.

BlobRestoreStatusInner blobRestoreStatus()

Get the blobRestoreStatus property: Blob restore status.

OffsetDateTime creationTime()

Get the creationTime property: Gets the creation date and time of the storage account in UTC.

CustomDomain customDomain()

Get the customDomain property: Gets the custom domain the user assigned to this storage account.

Boolean defaultToOAuthAuthentication()

Get the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication is OAuth or not.

DnsEndpointType dnsEndpointType()

Get the dnsEndpointType property: Allows you to specify the type of endpoint.

Boolean enableExtendedGroups()

Get the enableExtendedGroups property: Enables extended group support with local users feature, if set to true.

Boolean enableHttpsTrafficOnly()

Get the enableHttpsTrafficOnly property: Allows https traffic only to storage service if sets to true.

Boolean enableNfsV3()

Get the enableNfsV3 property: NFS 3.0 protocol support enabled if set to true.

Encryption encryption()

Get the encryption property: Encryption settings to be used for server-side encryption for the storage account.

Boolean failoverInProgress()

Get the failoverInProgress property: If the failover is in progress, the value will be true, otherwise, it will be null.

static StorageAccountPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of StorageAccountPropertiesInner from the JsonReader.

GeoReplicationStats geoReplicationStats()

Get the geoReplicationStats property: Geo Replication Stats.

ImmutableStorageAccount immutableStorageWithVersioning()

Get the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the account creation time.

Boolean isHnsEnabled()

Get the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true.

Boolean isLocalUserEnabled()

Get the isLocalUserEnabled property: Enables local users feature, if set to true.

Boolean isSftpEnabled()

Get the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true.

Boolean isSkuConversionBlocked()

Get the isSkuConversionBlocked property: This property will be set to true or false on an event of ongoing migration.

KeyCreationTime keyCreationTime()

Get the keyCreationTime property: Storage account keys creation time.

KeyPolicy keyPolicy()

Get the keyPolicy property: KeyPolicy assigned to the storage account.

LargeFileSharesState largeFileSharesState()

Get the largeFileSharesState property: Allow large file shares if sets to Enabled.

OffsetDateTime lastGeoFailoverTime()

Get the lastGeoFailoverTime property: Gets the timestamp of the most recent instance of a failover to the secondary location.

MinimumTlsVersion minimumTlsVersion()

Get the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage.

NetworkRuleSet networkRuleSet()

Get the networkRuleSet property: Network rule set.

Endpoints primaryEndpoints()

Get the primaryEndpoints property: Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object.

String primaryLocation()

Get the primaryLocation property: Gets the location of the primary data center for the storage account.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connection associated with the specified storage account.

ProvisioningState provisioningState()

Get the provisioningState property: Gets the status of the storage account at the time the operation was called.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account.

RoutingPreference routingPreference()

Get the routingPreference property: Maintains information about the network routing choice opted by the user for data transfer.

SasPolicy sasPolicy()

Get the sasPolicy property: SasPolicy assigned to the storage account.

Endpoints secondaryEndpoints()

Get the secondaryEndpoints property: Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account.

String secondaryLocation()

Get the secondaryLocation property: Gets the location of the geo-replicated secondary for the storage account.

AccountStatus statusOfPrimary()

Get the statusOfPrimary property: Gets the status indicating whether the primary location of the storage account is available or unavailable.

AccountStatus statusOfSecondary()

Get the statusOfSecondary property: Gets the status indicating whether the secondary location of the storage account is available or unavailable.

StorageAccountSkuConversionStatus storageAccountSkuConversionStatus()

Get the storageAccountSkuConversionStatus property: This property is readOnly and is set by server during asynchronous storage account sku conversion operations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StorageAccountPropertiesInner withAllowBlobPublicAccess(Boolean allowBlobPublicAccess)

Set the allowBlobPublicAccess property: Allow or disallow public access to all blobs or containers in the storage account.

StorageAccountPropertiesInner withAllowCrossTenantReplication(Boolean allowCrossTenantReplication)

Set the allowCrossTenantReplication property: Allow or disallow cross AAD tenant object replication.

StorageAccountPropertiesInner withAllowedCopyScope(AllowedCopyScope allowedCopyScope)

Set the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.

StorageAccountPropertiesInner withAllowSharedKeyAccess(Boolean allowSharedKeyAccess)

Set the allowSharedKeyAccess property: Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key.

StorageAccountPropertiesInner withAzureFilesIdentityBasedAuthentication(AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication)

Set the azureFilesIdentityBasedAuthentication property: Provides the identity based authentication settings for Azure Files.

StorageAccountPropertiesInner withDefaultToOAuthAuthentication(Boolean defaultToOAuthAuthentication)

Set the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication is OAuth or not.

StorageAccountPropertiesInner withDnsEndpointType(DnsEndpointType dnsEndpointType)

Set the dnsEndpointType property: Allows you to specify the type of endpoint.

StorageAccountPropertiesInner withEnableExtendedGroups(Boolean enableExtendedGroups)

Set the enableExtendedGroups property: Enables extended group support with local users feature, if set to true.

StorageAccountPropertiesInner withEnableHttpsTrafficOnly(Boolean enableHttpsTrafficOnly)

Set the enableHttpsTrafficOnly property: Allows https traffic only to storage service if sets to true.

StorageAccountPropertiesInner withEnableNfsV3(Boolean enableNfsV3)

Set the enableNfsV3 property: NFS 3.0 protocol support enabled if set to true.

StorageAccountPropertiesInner withImmutableStorageWithVersioning(ImmutableStorageAccount immutableStorageWithVersioning)

Set the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the account creation time.

StorageAccountPropertiesInner withIsHnsEnabled(Boolean isHnsEnabled)

Set the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true.

StorageAccountPropertiesInner withIsLocalUserEnabled(Boolean isLocalUserEnabled)

Set the isLocalUserEnabled property: Enables local users feature, if set to true.

StorageAccountPropertiesInner withIsSftpEnabled(Boolean isSftpEnabled)

Set the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true.

StorageAccountPropertiesInner withLargeFileSharesState(LargeFileSharesState largeFileSharesState)

Set the largeFileSharesState property: Allow large file shares if sets to Enabled.

StorageAccountPropertiesInner withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)

Set the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage.

StorageAccountPropertiesInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account.

StorageAccountPropertiesInner withRoutingPreference(RoutingPreference routingPreference)

Set the routingPreference property: Maintains information about the network routing choice opted by the user for data transfer.

StorageAccountPropertiesInner withStorageAccountSkuConversionStatus(StorageAccountSkuConversionStatus storageAccountSkuConversionStatus)

Set the storageAccountSkuConversionStatus property: This property is readOnly and is set by server during asynchronous storage account sku conversion operations.

Methods inherited from java.lang.Object

Constructor Details

StorageAccountPropertiesInner

public StorageAccountPropertiesInner()

Creates an instance of StorageAccountPropertiesInner class.

Method Details

accessTier

public AccessTier accessTier()

Get the accessTier property: Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.

Returns:

the accessTier value.

accountMigrationInProgress

public Boolean accountMigrationInProgress()

Get the accountMigrationInProgress property: If customer initiated account migration is in progress, the value will be true else it will be null.

Returns:

the accountMigrationInProgress value.

allowBlobPublicAccess

public Boolean allowBlobPublicAccess()

Get the allowBlobPublicAccess property: Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.

Returns:

the allowBlobPublicAccess value.

allowCrossTenantReplication

public Boolean allowCrossTenantReplication()

Get the allowCrossTenantReplication property: Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default.

Returns:

the allowCrossTenantReplication value.

allowedCopyScope

public AllowedCopyScope allowedCopyScope()

Get the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.

Returns:

the allowedCopyScope value.

allowSharedKeyAccess

public Boolean allowSharedKeyAccess()

Get the allowSharedKeyAccess property: Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.

Returns:

the allowSharedKeyAccess value.

azureFilesIdentityBasedAuthentication

public AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication()

Get the azureFilesIdentityBasedAuthentication property: Provides the identity based authentication settings for Azure Files.

Returns:

the azureFilesIdentityBasedAuthentication value.

blobRestoreStatus

public BlobRestoreStatusInner blobRestoreStatus()

Get the blobRestoreStatus property: Blob restore status.

Returns:

the blobRestoreStatus value.

creationTime

public OffsetDateTime creationTime()

Get the creationTime property: Gets the creation date and time of the storage account in UTC.

Returns:

the creationTime value.

customDomain

public CustomDomain customDomain()

Get the customDomain property: Gets the custom domain the user assigned to this storage account.

Returns:

the customDomain value.

defaultToOAuthAuthentication

public Boolean defaultToOAuthAuthentication()

Get the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property.

Returns:

the defaultToOAuthAuthentication value.

dnsEndpointType

public DnsEndpointType dnsEndpointType()

Get the dnsEndpointType property: Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier.

Returns:

the dnsEndpointType value.

enableExtendedGroups

public Boolean enableExtendedGroups()

Get the enableExtendedGroups property: Enables extended group support with local users feature, if set to true.

Returns:

the enableExtendedGroups value.

enableHttpsTrafficOnly

public Boolean enableHttpsTrafficOnly()

Get the enableHttpsTrafficOnly property: Allows https traffic only to storage service if sets to true.

Returns:

the enableHttpsTrafficOnly value.

enableNfsV3

public Boolean enableNfsV3()

Get the enableNfsV3 property: NFS 3.0 protocol support enabled if set to true.

Returns:

the enableNfsV3 value.

encryption

public Encryption encryption()

Get the encryption property: Encryption settings to be used for server-side encryption for the storage account.

Returns:

the encryption value.

failoverInProgress

public Boolean failoverInProgress()

Get the failoverInProgress property: If the failover is in progress, the value will be true, otherwise, it will be null.

Returns:

the failoverInProgress value.

fromJson

public static StorageAccountPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of StorageAccountPropertiesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StorageAccountPropertiesInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StorageAccountPropertiesInner.

geoReplicationStats

public GeoReplicationStats geoReplicationStats()

Get the geoReplicationStats property: Geo Replication Stats.

Returns:

the geoReplicationStats value.

immutableStorageWithVersioning

public ImmutableStorageAccount immutableStorageWithVersioning()

Get the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.

Returns:

the immutableStorageWithVersioning value.

isHnsEnabled

public Boolean isHnsEnabled()

Get the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true.

Returns:

the isHnsEnabled value.

isLocalUserEnabled

public Boolean isLocalUserEnabled()

Get the isLocalUserEnabled property: Enables local users feature, if set to true.

Returns:

the isLocalUserEnabled value.

isSftpEnabled

public Boolean isSftpEnabled()

Get the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true.

Returns:

the isSftpEnabled value.

isSkuConversionBlocked

public Boolean isSkuConversionBlocked()

Get the isSkuConversionBlocked property: This property will be set to true or false on an event of ongoing migration. Default value is null.

Returns:

the isSkuConversionBlocked value.

keyCreationTime

public KeyCreationTime keyCreationTime()

Get the keyCreationTime property: Storage account keys creation time.

Returns:

the keyCreationTime value.

keyPolicy

public KeyPolicy keyPolicy()

Get the keyPolicy property: KeyPolicy assigned to the storage account.

Returns:

the keyPolicy value.

largeFileSharesState

public LargeFileSharesState largeFileSharesState()

Get the largeFileSharesState property: Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled.

Returns:

the largeFileSharesState value.

lastGeoFailoverTime

public OffsetDateTime lastGeoFailoverTime()

Get the lastGeoFailoverTime property: Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.

Returns:

the lastGeoFailoverTime value.

minimumTlsVersion

public MinimumTlsVersion minimumTlsVersion()

Get the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.

Returns:

the minimumTlsVersion value.

networkRuleSet

public NetworkRuleSet networkRuleSet()

Get the networkRuleSet property: Network rule set.

Returns:

the networkRuleSet value.

primaryEndpoints

public Endpoints primaryEndpoints()

Get the primaryEndpoints property: Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.

Returns:

the primaryEndpoints value.

primaryLocation

public String primaryLocation()

Get the primaryLocation property: Gets the location of the primary data center for the storage account.

Returns:

the primaryLocation value.

privateEndpointConnections

public List privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connection associated with the specified storage account.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Gets the status of the storage account at the time the operation was called.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account.

Returns:

the publicNetworkAccess value.

routingPreference

public RoutingPreference routingPreference()

Get the routingPreference property: Maintains information about the network routing choice opted by the user for data transfer.

Returns:

the routingPreference value.

sasPolicy

public SasPolicy sasPolicy()

Get the sasPolicy property: SasPolicy assigned to the storage account.

Returns:

the sasPolicy value.

secondaryEndpoints

public Endpoints secondaryEndpoints()

Get the secondaryEndpoints property: Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS.

Returns:

the secondaryEndpoints value.

secondaryLocation

public String secondaryLocation()

Get the secondaryLocation property: Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.

Returns:

the secondaryLocation value.

statusOfPrimary

public AccountStatus statusOfPrimary()

Get the statusOfPrimary property: Gets the status indicating whether the primary location of the storage account is available or unavailable.

Returns:

the statusOfPrimary value.

statusOfSecondary

public AccountStatus statusOfSecondary()

Get the statusOfSecondary property: Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.

Returns:

the statusOfSecondary value.

storageAccountSkuConversionStatus

public StorageAccountSkuConversionStatus storageAccountSkuConversionStatus()

Get the storageAccountSkuConversionStatus property: This property is readOnly and is set by server during asynchronous storage account sku conversion operations.

Returns:

the storageAccountSkuConversionStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAllowBlobPublicAccess

public StorageAccountPropertiesInner withAllowBlobPublicAccess(Boolean allowBlobPublicAccess)

Set the allowBlobPublicAccess property: Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.

Parameters:

allowBlobPublicAccess - the allowBlobPublicAccess value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withAllowCrossTenantReplication

public StorageAccountPropertiesInner withAllowCrossTenantReplication(Boolean allowCrossTenantReplication)

Set the allowCrossTenantReplication property: Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default.

Parameters:

allowCrossTenantReplication - the allowCrossTenantReplication value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withAllowedCopyScope

public StorageAccountPropertiesInner withAllowedCopyScope(AllowedCopyScope allowedCopyScope)

Set the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.

Parameters:

allowedCopyScope - the allowedCopyScope value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withAllowSharedKeyAccess

public StorageAccountPropertiesInner withAllowSharedKeyAccess(Boolean allowSharedKeyAccess)

Set the allowSharedKeyAccess property: Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.

Parameters:

allowSharedKeyAccess - the allowSharedKeyAccess value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withAzureFilesIdentityBasedAuthentication

public StorageAccountPropertiesInner withAzureFilesIdentityBasedAuthentication(AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication)

Set the azureFilesIdentityBasedAuthentication property: Provides the identity based authentication settings for Azure Files.

Parameters:

azureFilesIdentityBasedAuthentication - the azureFilesIdentityBasedAuthentication value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withDefaultToOAuthAuthentication

public StorageAccountPropertiesInner withDefaultToOAuthAuthentication(Boolean defaultToOAuthAuthentication)

Set the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property.

Parameters:

defaultToOAuthAuthentication - the defaultToOAuthAuthentication value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withDnsEndpointType

public StorageAccountPropertiesInner withDnsEndpointType(DnsEndpointType dnsEndpointType)

Set the dnsEndpointType property: Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier.

Parameters:

dnsEndpointType - the dnsEndpointType value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withEnableExtendedGroups

public StorageAccountPropertiesInner withEnableExtendedGroups(Boolean enableExtendedGroups)

Set the enableExtendedGroups property: Enables extended group support with local users feature, if set to true.

Parameters:

enableExtendedGroups - the enableExtendedGroups value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withEnableHttpsTrafficOnly

public StorageAccountPropertiesInner withEnableHttpsTrafficOnly(Boolean enableHttpsTrafficOnly)

Set the enableHttpsTrafficOnly property: Allows https traffic only to storage service if sets to true.

Parameters:

enableHttpsTrafficOnly - the enableHttpsTrafficOnly value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withEnableNfsV3

public StorageAccountPropertiesInner withEnableNfsV3(Boolean enableNfsV3)

Set the enableNfsV3 property: NFS 3.0 protocol support enabled if set to true.

Parameters:

enableNfsV3 - the enableNfsV3 value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withImmutableStorageWithVersioning

public StorageAccountPropertiesInner withImmutableStorageWithVersioning(ImmutableStorageAccount immutableStorageWithVersioning)

Set the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.

Parameters:

immutableStorageWithVersioning - the immutableStorageWithVersioning value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withIsHnsEnabled

public StorageAccountPropertiesInner withIsHnsEnabled(Boolean isHnsEnabled)

Set the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true.

Parameters:

isHnsEnabled - the isHnsEnabled value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withIsLocalUserEnabled

public StorageAccountPropertiesInner withIsLocalUserEnabled(Boolean isLocalUserEnabled)

Set the isLocalUserEnabled property: Enables local users feature, if set to true.

Parameters:

isLocalUserEnabled - the isLocalUserEnabled value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withIsSftpEnabled

public StorageAccountPropertiesInner withIsSftpEnabled(Boolean isSftpEnabled)

Set the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true.

Parameters:

isSftpEnabled - the isSftpEnabled value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withLargeFileSharesState

public StorageAccountPropertiesInner withLargeFileSharesState(LargeFileSharesState largeFileSharesState)

Set the largeFileSharesState property: Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled.

Parameters:

largeFileSharesState - the largeFileSharesState value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withMinimumTlsVersion

public StorageAccountPropertiesInner withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)

Set the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.

Parameters:

minimumTlsVersion - the minimumTlsVersion value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withPublicNetworkAccess

public StorageAccountPropertiesInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withRoutingPreference

public StorageAccountPropertiesInner withRoutingPreference(RoutingPreference routingPreference)

Set the routingPreference property: Maintains information about the network routing choice opted by the user for data transfer.

Parameters:

routingPreference - the routingPreference value to set.

Returns:

the StorageAccountPropertiesInner object itself.

withStorageAccountSkuConversionStatus

public StorageAccountPropertiesInner withStorageAccountSkuConversionStatus(StorageAccountSkuConversionStatus storageAccountSkuConversionStatus)

Set the storageAccountSkuConversionStatus property: This property is readOnly and is set by server during asynchronous storage account sku conversion operations.

Parameters:

storageAccountSkuConversionStatus - the storageAccountSkuConversionStatus value to set.

Returns:

the StorageAccountPropertiesInner object itself.

Applies to

Azure SDK for Java

Latest