ParentT
- the stage of the parent definition to return to after attaching this definitionpublic static interface NetworkSecurityRule.DefinitionStages.WithSourceAddressOrSecurityGroup<ParentT>
Modifier and Type | Method and Description |
---|---|
NetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT> |
fromAddress(String cidr)
Specifies the traffic source address prefix to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT> |
fromAddresses(String... addresses)
Specifies the traffic source address prefixes to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT> |
fromAnyAddress()
Specifies that the rule applies to any traffic source address.
|
NetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT> |
withSourceApplicationSecurityGroup(String id)
Sets the application security group specified as source.
|
NetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT> fromAddress(String cidr)
cidr
- an IP address prefix expressed in the CIDR notationNetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT> fromAnyAddress()
NetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT> fromAddresses(String... addresses)
addresses
- IP address prefixes in CIDR notation or IP addressesNetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT> withSourceApplicationSecurityGroup(String id)
id
- application security group idCopyright © 2019. All rights reserved.