Interface NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
NetworkSecurityRule.UpdateDefinition<ParentT>
- Enclosing interface:
- NetworkSecurityRule.UpdateDefinitionStages
public static interface NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT>The stage of the network rule definition allowing the destination address to be specified. Note: network security rule must specify a non empty value for exactly one of: DestinationAddressPrefixes, DestinationAddressPrefix, DestinationApplicationSecurityGroups.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT>toAddress(String cidr)Specifies the traffic destination address range to which this rule applies.NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT>toAddresses(String... addresses)Specifies the traffic destination address prefixes to which this rule applies.NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT>toAnyAddress()Makes the rule apply to any traffic destination address.NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT>withDestinationApplicationSecurityGroup(String id)Sets the application security group specified as destination.NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT>withDestinationApplicationSecurityGroup(String... ids)Sets the application security group specified as destination.
-
-
-
Method Detail
-
toAddress
NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT> toAddress(String cidr)
Specifies the traffic destination address range to which this rule applies.- Parameters:
cidr- an IP address range expressed in the CIDR notation- Returns:
- the next stage of the definition
-
toAddresses
NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT> toAddresses(String... addresses)
Specifies the traffic destination 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
-
toAnyAddress
NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT> toAnyAddress()
Makes the rule apply to any traffic destination address.- Returns:
- the next stage of the definition
-
withDestinationApplicationSecurityGroup
NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT> withDestinationApplicationSecurityGroup(String id)
Sets the application security group specified as destination.- Parameters:
id- application security group id- Returns:
- the next stage of the definition
-
withDestinationApplicationSecurityGroup
NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT> withDestinationApplicationSecurityGroup(String... ids)
Sets the application security group specified as destination.- Parameters:
ids- the collection of application security group ID- Returns:
- the next stage of the definition
-
-