Interface NetworkSecurityRule.UpdateStages.WithSourceAddressOrSecurityGroup
-
- All Known Subinterfaces:
NetworkSecurityRule.Update
- Enclosing interface:
- NetworkSecurityRule.UpdateStages
public static interface NetworkSecurityRule.UpdateStages.WithSourceAddressOrSecurityGroupThe stage of the network rule description allowing the source address to be specified. Note: network security rule must specify a non empty value for exactly one of: SourceAddressPrefixes, SourceAddressPrefix, SourceApplicationSecurityGroups.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkSecurityRule.UpdatefromAddress(String cidr)Specifies the traffic source address prefix to which this rule applies.NetworkSecurityRule.UpdatefromAddresses(String... addresses)Specifies the traffic source address prefixes to which this rule applies.NetworkSecurityRule.UpdatefromAnyAddress()Specifies that the rule applies to any traffic source address.NetworkSecurityRule.UpdatewithoutSourceApplicationSecurityGroup(String id)Removes the application security group specified as source.NetworkSecurityRule.UpdatewithSourceApplicationSecurityGroup(String id)Sets the application security group specified as source.
-
-
-
Method Detail
-
fromAddress
NetworkSecurityRule.Update fromAddress(String cidr)
Specifies the traffic source address prefix to which this rule applies.- Parameters:
cidr- an IP address prefix expressed in the CIDR notation- Returns:
- the next stage of the definition
-
fromAddresses
NetworkSecurityRule.Update fromAddresses(String... addresses)
Specifies the traffic source address prefixes to which this rule applies.- Parameters:
addresses- IP address prefixes in CIDR notation or IP addresses- Returns:
- the next stage of the definition
-
fromAnyAddress
NetworkSecurityRule.Update fromAnyAddress()
Specifies that the rule applies to any traffic source address.- Returns:
- the next stage of the definition
-
withSourceApplicationSecurityGroup
NetworkSecurityRule.Update withSourceApplicationSecurityGroup(String id)
Sets the application security group specified as source.- Parameters:
id- application security group id- Returns:
- the next stage of the update
-
withoutSourceApplicationSecurityGroup
NetworkSecurityRule.Update withoutSourceApplicationSecurityGroup(String id)
Removes the application security group specified as source.- Parameters:
id- application security group id- Returns:
- the next stage of the update
-
-