StorageAccountPropertiesInner Class
- java.
lang. Object - com.
azure. resourcemanager. storage. fluent. models. StorageAccountPropertiesInner
- com.
Implements
public final class StorageAccountPropertiesInner
implements JsonSerializable<StorageAccountPropertiesInner>
Properties of the storage account.
Constructor | Description |
---|---|
Storage |
Creates an instance of Storage |
Modifier and Type | Method and Description |
---|---|
Access |
access Get the access |
Boolean |
account Get the account |
Boolean |
allow Get the allow |
Boolean |
allow Get the allow |
Allowed |
allowed Get the allowed |
Boolean |
allow Get the allow |
Azure |
azure Get the azure |
Blob |
blob Get the blob |
Offset |
creation Get the creation |
Custom |
custom Get the custom |
Boolean |
default Get the default |
Dns |
dns Get the dns |
Boolean |
enable Get the enable |
Boolean |
enable Get the enable |
Boolean |
enable Get the enable |
Encryption |
encryption()
Get the encryption property: Encryption settings to be used for server-side encryption for the storage account. |
Boolean |
failover Get the failover |
static
Storage |
from Reads an instance of Storage |
Geo |
geo Get the geo |
Immutable |
immutable Get the immutable |
Boolean |
is Get the is |
Boolean |
is Get the is |
Boolean |
is Get the is |
Boolean |
is Get the is |
Key |
key Get the key |
Key |
key Get the key |
Large |
large Get the large |
Offset |
last Get the last |
Minimum |
minimum Get the minimum |
Network |
network Get the network |
Endpoints |
primary Get the primary |
String |
primary Get the primary |
List<Private |
private Get the private |
Provisioning |
provisioning Get the provisioning |
Public |
public Get the public |
Routing |
routing Get the routing |
Sas |
sas Get the sas |
Endpoints |
secondary Get the secondary |
String |
secondary Get the secondary |
Account |
status Get the status |
Account |
status Get the status |
Storage |
storage Get the storage |
Json |
to |
void |
validate()
Validates the instance. |
Storage |
with Set the allow |
Storage |
with Set the allow |
Storage |
with Set the allowed |
Storage |
with Set the allow |
Storage |
with Set the azure |
Storage |
with Set the default |
Storage |
with Set the dns |
Storage |
with Set the enable |
Storage |
with Set the enable |
Storage |
with Set the enable |
Storage |
with Set the immutable |
Storage |
with Set the is |
Storage |
with Set the is |
Storage |
with Set the is |
Storage |
with Set the large |
Storage |
with Set the minimum |
Storage |
with Set the public |
Storage |
with Set the routing |
Storage |
with Set the storage |
Methods inherited from java.lang.Object
StorageAccountPropertiesInner
public StorageAccountPropertiesInner()
Creates an instance of StorageAccountPropertiesInner class.
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:
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:
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:
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:
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:
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:
azureFilesIdentityBasedAuthentication
public AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication()
Get the azureFilesIdentityBasedAuthentication property: Provides the identity based authentication settings for Azure Files.
Returns:
blobRestoreStatus
public BlobRestoreStatusInner blobRestoreStatus()
Get the blobRestoreStatus property: Blob restore status.
Returns:
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: Gets the creation date and time of the storage account in UTC.
Returns:
customDomain
public CustomDomain customDomain()
Get the customDomain property: Gets the custom domain the user assigned to this storage account.
Returns:
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:
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:
enableExtendedGroups
public Boolean enableExtendedGroups()
Get the enableExtendedGroups property: Enables extended group support with local users feature, if set to true.
Returns:
enableHttpsTrafficOnly
public Boolean enableHttpsTrafficOnly()
Get the enableHttpsTrafficOnly property: Allows https traffic only to storage service if sets to true.
Returns:
enableNfsV3
public Boolean enableNfsV3()
Get the enableNfsV3 property: NFS 3.0 protocol support enabled if set to true.
Returns:
encryption
public Encryption encryption()
Get the encryption property: Encryption settings to be used for server-side encryption for the storage account.
Returns:
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:
fromJson
public static StorageAccountPropertiesInner fromJson(JsonReader jsonReader)
Reads an instance of StorageAccountPropertiesInner from the JsonReader.
Parameters:
Returns:
Throws:
geoReplicationStats
public GeoReplicationStats geoReplicationStats()
Get the geoReplicationStats property: Geo Replication Stats.
Returns:
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:
isHnsEnabled
public Boolean isHnsEnabled()
Get the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true.
Returns:
isLocalUserEnabled
public Boolean isLocalUserEnabled()
Get the isLocalUserEnabled property: Enables local users feature, if set to true.
Returns:
isSftpEnabled
public Boolean isSftpEnabled()
Get the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true.
Returns:
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:
keyCreationTime
public KeyCreationTime keyCreationTime()
Get the keyCreationTime property: Storage account keys creation time.
Returns:
keyPolicy
public KeyPolicy keyPolicy()
Get the keyPolicy property: KeyPolicy assigned to the storage account.
Returns:
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:
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:
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:
networkRuleSet
public NetworkRuleSet networkRuleSet()
Get the networkRuleSet property: Network rule set.
Returns:
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:
primaryLocation
public String primaryLocation()
Get the primaryLocation property: Gets the location of the primary data center for the storage account.
Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: List of private endpoint connection associated with the specified storage account.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Gets the status of the storage account at the time the operation was called.
Returns:
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:
routingPreference
public RoutingPreference routingPreference()
Get the routingPreference property: Maintains information about the network routing choice opted by the user for data transfer.
Returns:
sasPolicy
public SasPolicy sasPolicy()
Get the sasPolicy property: SasPolicy assigned to the storage account.
Returns:
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:
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:
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:
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:
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:
toJson
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withAzureFilesIdentityBasedAuthentication
public StorageAccountPropertiesInner withAzureFilesIdentityBasedAuthentication(AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication)
Set the azureFilesIdentityBasedAuthentication property: Provides the identity based authentication settings for Azure Files.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withEnableExtendedGroups
public StorageAccountPropertiesInner withEnableExtendedGroups(Boolean enableExtendedGroups)
Set the enableExtendedGroups property: Enables extended group support with local users feature, if set to true.
Parameters:
Returns:
withEnableHttpsTrafficOnly
public StorageAccountPropertiesInner withEnableHttpsTrafficOnly(Boolean enableHttpsTrafficOnly)
Set the enableHttpsTrafficOnly property: Allows https traffic only to storage service if sets to true.
Parameters:
Returns:
withEnableNfsV3
public StorageAccountPropertiesInner withEnableNfsV3(Boolean enableNfsV3)
Set the enableNfsV3 property: NFS 3.0 protocol support enabled if set to true.
Parameters:
Returns:
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:
Returns:
withIsHnsEnabled
public StorageAccountPropertiesInner withIsHnsEnabled(Boolean isHnsEnabled)
Set the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true.
Parameters:
Returns:
withIsLocalUserEnabled
public StorageAccountPropertiesInner withIsLocalUserEnabled(Boolean isLocalUserEnabled)
Set the isLocalUserEnabled property: Enables local users feature, if set to true.
Parameters:
Returns:
withIsSftpEnabled
public StorageAccountPropertiesInner withIsSftpEnabled(Boolean isSftpEnabled)
Set the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true.
Parameters:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns: