NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public static interface NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup
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
Modifier and Type | Method and Description |
---|---|
abstract
With |
toAddress(String cidr)
Specifies the traffic destination address range to which this rule applies. |
abstract
With |
toAddresses(String[] addresses)
Specifies the traffic destination address prefixes to which this rule applies. |
abstract
With |
toAnyAddress()
Makes the rule apply to any traffic destination address. |
abstract
With |
withDestinationApplicationSecurityGroup(String id)
Sets the application security group specified as destination. |
Method Details
toAddress
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort
Specifies the traffic destination address range to which this rule applies.
Parameters:
Returns:
toAddresses
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort
Specifies the traffic destination address prefixes to which this rule applies.
Parameters:
Returns:
toAnyAddress
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort
Makes the rule apply to any traffic destination address.
Returns:
withDestinationApplicationSecurityGroup
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort
Sets the application security group specified as destination.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor