Interface StorageAccount.UpdateStages.WithNetworkAccess
- All Known Subinterfaces:
StorageAccount.Update
- Enclosing interface:
StorageAccount.UpdateStages
public static interface StorageAccount.UpdateStages.WithNetworkAccess
The stage of storage account update allowing to configure network access.
-
Method Summary
Modifier and TypeMethodDescriptionDisables public network access for the storage account.Enables public network access for the storage account.Specifies that by default access to storage account should be allowed from all networks.Specifies that access to the storage account should be allowed from applications running on Microsoft Azure services.withAccessFromIpAddress(String ipAddress) Specifies that access to the storage account from a specific ip address should be allowed.withAccessFromIpAddressRange(String ipAddressCidr) Specifies that access to the storage account from a specific ip range should be allowed.withAccessFromNetworkSubnet(String subnetId) Specifies that access to the storage account from a specific virtual network subnet should be allowed.Specifies that by default access to storage account should be denied from all networks except from those networks specified viawithAccessFromNetworkSubnet(String),withAccessFromIpAddress(String)andwithAccessFromIpAddressRange(String).withAzureFilesAadIntegrationEnabled(boolean enabled) Specifies whether Files AAD integration will be enabled or not.Specifies that previously added access exception to the storage account from application running on azure should be removed.withoutIpAddressAccess(String ipAddress) Specifies that previously allowed access from specific ip address should be removed.withoutIpAddressRangeAccess(String ipAddressCidr) Specifies that previously allowed access from specific ip range should be removed.withoutNetworkSubnetAccess(String subnetId) Specifies that previously allowed access from specific virtual network subnet should be removed.Specifies that previously added read access exception to the storage logging from any network should be removed.Specifies that previously added read access exception to the storage metrics from any network should be removed.Specifies that read access to the storage logging should be allowed from any network.Specifies that read access to the storage metrics should be allowed from any network.
-
Method Details
-
enablePublicNetworkAccess
StorageAccount.Update enablePublicNetworkAccess()Enables public network access for the storage account.- Returns:
- the next stage of the update
-
disablePublicNetworkAccess
StorageAccount.Update disablePublicNetworkAccess()Disables public network access for the storage account.- Returns:
- the next stage of the update
-
withAccessFromAllNetworks
StorageAccount.Update withAccessFromAllNetworks()Specifies that by default access to storage account should be allowed from all networks.- Returns:
- the next stage of storage account update
-
withAccessFromSelectedNetworks
StorageAccount.Update withAccessFromSelectedNetworks()Specifies that by default access to storage account should be denied from all networks except from those networks specified viawithAccessFromNetworkSubnet(String),withAccessFromIpAddress(String)andwithAccessFromIpAddressRange(String).- Returns:
- the next stage of storage account update
-
withAccessFromNetworkSubnet
Specifies that access to the storage account from a specific virtual network subnet should be allowed.- Parameters:
subnetId- the virtual network subnet id- Returns:
- the next stage of storage account update
-
withAccessFromIpAddress
Specifies that access to the storage account from a specific ip address should be allowed.- Parameters:
ipAddress- the ip address- Returns:
- the next stage of storage account update
-
withAccessFromIpAddressRange
Specifies that access to the storage account from a specific ip range should be allowed.- Parameters:
ipAddressCidr- the ip address range expressed in cidr format- Returns:
- the next stage of storage account update
-
withReadAccessToLogEntriesFromAnyNetwork
StorageAccount.Update withReadAccessToLogEntriesFromAnyNetwork()Specifies that read access to the storage logging should be allowed from any network.- Returns:
- the next stage of storage account definition
-
withReadAccessToMetricsFromAnyNetwork
StorageAccount.Update withReadAccessToMetricsFromAnyNetwork()Specifies that read access to the storage metrics should be allowed from any network.- Returns:
- the next stage of storage account definition
-
withAccessFromAzureServices
StorageAccount.Update withAccessFromAzureServices()Specifies that access to the storage account should be allowed from applications running on Microsoft Azure services.- Returns:
- the next stage of storage account definition
-
withoutNetworkSubnetAccess
Specifies that previously allowed access from specific virtual network subnet should be removed.- Parameters:
subnetId- the virtual network subnet id- Returns:
- the next stage of storage account update
-
withoutIpAddressAccess
Specifies that previously allowed access from specific ip address should be removed.- Parameters:
ipAddress- the ip address- Returns:
- the next stage of storage account update
-
withoutIpAddressRangeAccess
Specifies that previously allowed access from specific ip range should be removed.- Parameters:
ipAddressCidr- the ip address range expressed in cidr format- Returns:
- the next stage of storage account update
-
withoutReadAccessToLoggingFromAnyNetwork
StorageAccount.Update withoutReadAccessToLoggingFromAnyNetwork()Specifies that previously added read access exception to the storage logging from any network should be removed.- Returns:
- the next stage of storage account update
-
withoutReadAccessToMetricsFromAnyNetwork
StorageAccount.Update withoutReadAccessToMetricsFromAnyNetwork()Specifies that previously added read access exception to the storage metrics from any network should be removed.- Returns:
- the next stage of storage account update
-
withoutAccessFromAzureServices
StorageAccount.Update withoutAccessFromAzureServices()Specifies that previously added access exception to the storage account from application running on azure should be removed.- Returns:
- the next stage of storage account update
-
withAzureFilesAadIntegrationEnabled
Specifies whether Files AAD integration will be enabled or not.- Parameters:
enabled- whether Files AAD integration will be enabled or not- Returns:
- the next stage of storage account update
-