ParentT
- the stage of the parent definition to return to after attaching this definitionpublic static interface NetworkSecurityRule.DefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT>
Modifier and Type | Method and Description |
---|---|
NetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT> |
toAddress(String cidr)
Specifies the traffic destination address range to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT> |
toAddresses(String... addresses)
Specifies the traffic destination address prefixes to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT> |
toAnyAddress()
Makes the rule apply to any traffic destination address.
|
NetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT> |
withDestinationApplicationSecurityGroup(String id)
Sets the application security group specified as destination.
|
NetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT> toAddress(String cidr)
cidr
- an IP address range expressed in the CIDR notationNetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT> toAddresses(String... addresses)
addresses
- IP address prefixes in CIDR notation or IP addressesNetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT> toAnyAddress()
NetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT> withDestinationApplicationSecurityGroup(String id)
id
- application security group idCopyright © 2019. All rights reserved.