Interface WebAppBase.UpdateStages.WithNetworkAccess<FluentT>
- All Known Subinterfaces:
DeploymentSlotBase.Update<FluentT>
,FunctionApp.Update
,WebApp.Update
,WebApp.UpdateStages.WithStartUpCommand
,WebAppBase.Update<FluentT>
- Enclosing interface:
- WebAppBase.UpdateStages
public static interface WebAppBase.UpdateStages.WithNetworkAccess<FluentT>
The stage of storage account update allowing to configure network access.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies that access to web app should be allowed from all networks.withAccessFromIpAddress
(String ipAddress, int priority) Specifies that access to the web app from the specific ip address should be allowed.withAccessFromIpAddressRange
(String ipAddressCidr, int priority) Specifies that access to the web app from the specific ip range should be allowed.withAccessFromNetworkSubnet
(String subnetId, int priority) Specifies that access to the web app from the specific virtual network subnet should be allowed.withAccessRule
(IpSecurityRestriction ipSecurityRule) Specifies that the ip security rule.withoutAccessRule
(IpSecurityRestriction ipSecurityRule) Specifies that the access rule 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.
-
Method Details
-
withAccessFromAllNetworks
WebAppBase.Update<FluentT> withAccessFromAllNetworks()Specifies that access to web app should be allowed from all networks.- Returns:
- the next stage of the update
-
withAccessFromNetworkSubnet
Specifies that access to the web app from the specific virtual network subnet should be allowed. Allowing any specific access will add a Deny Any rule with least priority.- Parameters:
subnetId
- the virtual network subnet idpriority
- the priority of the rule- Returns:
- the next stage of the update
-
withAccessFromIpAddress
Specifies that access to the web app from the specific ip address should be allowed. Allowing any specific access will add a Deny Any rule with least priority.- Parameters:
ipAddress
- the ip addresspriority
- the priority of the rule- Returns:
- the next stage of the update
-
withAccessFromIpAddressRange
Specifies that access to the web app from the specific ip range should be allowed. Allowing any specific access will add a Deny Any rule with least priority.- Parameters:
ipAddressCidr
- the ip address range expressed in cidr formatpriority
- the priority of the rule- Returns:
- the next stage of the update
-
withAccessRule
Specifies that the ip security rule. Allowing any specific access will add a Deny Any rule with least priority.- Parameters:
ipSecurityRule
- the ip security rule- Returns:
- the next stage of the update
-
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 the update
-
withoutIpAddressAccess
Specifies that previously allowed access from specific ip address should be removed.- Parameters:
ipAddress
- the ip address- Returns:
- the next stage of the update
-
withoutAccessRule
Specifies that the access rule should be removed.- Parameters:
ipSecurityRule
- the ip security rule- Returns:
- the next stage of the 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 the update
-