Interface StorageAccount.DefinitionStages.WithNetworkAccess
- All Known Subinterfaces:
StorageAccount.Definition, StorageAccount.DefinitionStages.WithCreate, StorageAccount.DefinitionStages.WithCreateAndAccessTier
- Enclosing interface:
StorageAccount.DefinitionStages
public static interface StorageAccount.DefinitionStages.WithNetworkAccess
The stage of storage account definition allowing to configure network access settings.
-
Method Summary
Modifier and TypeMethodDescriptionDisables 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 the specific ip address should be allowed.withAccessFromIpAddressRange(String ipAddressCidr) Specifies that access to the storage account from the specific ip range should be allowed.withAccessFromNetworkSubnet(String subnetId) Specifies that access to the storage account from the 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).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
-
disablePublicNetworkAccess
StorageAccount.DefinitionStages.WithCreate disablePublicNetworkAccess()Disables public network access for the storage account.- Returns:
- the next stage of the definition
-
withAccessFromAllNetworks
StorageAccount.DefinitionStages.WithCreate withAccessFromAllNetworks()Specifies that by default access to storage account should be allowed from all networks.- Returns:
- the next stage of storage account definition
-
withAccessFromSelectedNetworks
StorageAccount.DefinitionStages.WithCreate 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 definition
-
withAccessFromNetworkSubnet
Specifies that access to the storage account from the specific virtual network subnet should be allowed.- Parameters:
subnetId- the virtual network subnet id- Returns:
- the next stage of storage account definition
-
withAccessFromIpAddress
Specifies that access to the storage account from the specific ip address should be allowed.- Parameters:
ipAddress- the ip address- Returns:
- the next stage of storage account definition
-
withAccessFromIpAddressRange
Specifies that access to the storage account from the specific ip range should be allowed.- Parameters:
ipAddressCidr- the ip address range expressed in cidr format- Returns:
- the next stage of storage account definition
-
withReadAccessToLogEntriesFromAnyNetwork
StorageAccount.DefinitionStages.WithCreate 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.DefinitionStages.WithCreate 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.DefinitionStages.WithCreate 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
-