public class StorageAccountInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
StorageAccountInner() |
| Modifier and Type | Method and Description |
|---|---|
AccessTier |
accessTier()
Get the accessTier property: Required for storage accounts where kind = BlobStorage.
|
Boolean |
allowBlobPublicAccess()
Get the allowBlobPublicAccess property: Allow or disallow public access to all blobs or containers in the storage
account.
|
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 |
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: Gets the encryption settings on the account.
|
ExtendedLocation |
extendedLocation()
Get the extendedLocation property: The extendedLocation of the resource.
|
Boolean |
failoverInProgress()
Get the failoverInProgress property: If the failover is in progress, the value will be true, otherwise, it will
be null.
|
GeoReplicationStats |
geoReplicationStats()
Get the geoReplicationStats property: Geo Replication Stats.
|
Identity |
identity()
Get the identity property: The identity of the resource.
|
Boolean |
isHnsEnabled()
Get the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true.
|
KeyCreationTime |
keyCreationTime()
Get the keyCreationTime property: Storage account keys creation time.
|
KeyPolicy |
keyPolicy()
Get the keyPolicy property: KeyPolicy assigned to the storage account.
|
Kind |
kind()
Get the kind property: Gets the Kind.
|
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.
|
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.
|
Sku |
sku()
Get the sku property: Gets the SKU.
|
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.
|
void |
validate()
Validates the instance.
|
StorageAccountInner |
withAllowBlobPublicAccess(Boolean allowBlobPublicAccess)
Set the allowBlobPublicAccess property: Allow or disallow public access to all blobs or containers in the storage
account.
|
StorageAccountInner |
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.
|
StorageAccountInner |
withAzureFilesIdentityBasedAuthentication(AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication)
Set the azureFilesIdentityBasedAuthentication property: Provides the identity based authentication settings for
Azure Files.
|
StorageAccountInner |
withEnableHttpsTrafficOnly(Boolean enableHttpsTrafficOnly)
Set the enableHttpsTrafficOnly property: Allows https traffic only to storage service if sets to true.
|
StorageAccountInner |
withEnableNfsV3(Boolean enableNfsV3)
Set the enableNfsV3 property: NFS 3.0 protocol support enabled if set to true.
|
StorageAccountInner |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extendedLocation of the resource.
|
StorageAccountInner |
withIdentity(Identity identity)
Set the identity property: The identity of the resource.
|
StorageAccountInner |
withIsHnsEnabled(Boolean isHnsEnabled)
Set the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true.
|
StorageAccountInner |
withLargeFileSharesState(LargeFileSharesState largeFileSharesState)
Set the largeFileSharesState property: Allow large file shares if sets to Enabled.
|
StorageAccountInner |
withLocation(String location) |
StorageAccountInner |
withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)
Set the minimumTlsVersion property: Set the minimum TLS version to be permitted on requests to storage.
|
StorageAccountInner |
withRoutingPreference(RoutingPreference routingPreference)
Set the routingPreference property: Maintains information about the network routing choice opted by the user for
data transfer.
|
StorageAccountInner |
withTags(Map<String,String> tags) |
public Sku sku()
public Kind kind()
public Identity identity()
public StorageAccountInner withIdentity(Identity identity)
identity - the identity value to set.public ExtendedLocation extendedLocation()
public StorageAccountInner withExtendedLocation(ExtendedLocation extendedLocation)
extendedLocation - the extendedLocation value to set.public ProvisioningState provisioningState()
public Endpoints primaryEndpoints()
public String primaryLocation()
public AccountStatus statusOfPrimary()
public OffsetDateTime lastGeoFailoverTime()
public String secondaryLocation()
public AccountStatus statusOfSecondary()
public OffsetDateTime creationTime()
public CustomDomain customDomain()
public SasPolicy sasPolicy()
public KeyPolicy keyPolicy()
public KeyCreationTime keyCreationTime()
public Endpoints secondaryEndpoints()
public Encryption encryption()
public AccessTier accessTier()
public AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication()
public StorageAccountInner withAzureFilesIdentityBasedAuthentication(AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication)
azureFilesIdentityBasedAuthentication - the azureFilesIdentityBasedAuthentication value to set.public Boolean enableHttpsTrafficOnly()
public StorageAccountInner withEnableHttpsTrafficOnly(Boolean enableHttpsTrafficOnly)
enableHttpsTrafficOnly - the enableHttpsTrafficOnly value to set.public NetworkRuleSet networkRuleSet()
public Boolean isHnsEnabled()
public StorageAccountInner withIsHnsEnabled(Boolean isHnsEnabled)
isHnsEnabled - the isHnsEnabled value to set.public GeoReplicationStats geoReplicationStats()
public Boolean failoverInProgress()
public LargeFileSharesState largeFileSharesState()
public StorageAccountInner withLargeFileSharesState(LargeFileSharesState largeFileSharesState)
largeFileSharesState - the largeFileSharesState value to set.public List<PrivateEndpointConnectionInner> privateEndpointConnections()
public RoutingPreference routingPreference()
public StorageAccountInner withRoutingPreference(RoutingPreference routingPreference)
routingPreference - the routingPreference value to set.public BlobRestoreStatusInner blobRestoreStatus()
public Boolean allowBlobPublicAccess()
public StorageAccountInner withAllowBlobPublicAccess(Boolean allowBlobPublicAccess)
allowBlobPublicAccess - the allowBlobPublicAccess value to set.public MinimumTlsVersion minimumTlsVersion()
public StorageAccountInner withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)
minimumTlsVersion - the minimumTlsVersion value to set.public Boolean allowSharedKeyAccess()
public StorageAccountInner withAllowSharedKeyAccess(Boolean allowSharedKeyAccess)
allowSharedKeyAccess - the allowSharedKeyAccess value to set.public Boolean enableNfsV3()
public StorageAccountInner withEnableNfsV3(Boolean enableNfsV3)
enableNfsV3 - the enableNfsV3 value to set.public StorageAccountInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic StorageAccountInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.