NetworkSecurityRule.UpdateDefinitionStages.WithSourceAddressOrSecurityGroup<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public static interface NetworkSecurityRule.UpdateDefinitionStages.WithSourceAddressOrSecurityGroup
The stage of the network rule definition 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
Modifier and Type | Method and Description |
---|---|
abstract
With |
fromAddress(String cidr)
Specifies the traffic source address prefix to which this rule applies. |
abstract
With |
fromAddresses(String[] addresses)
Specifies the traffic source address prefixes to which this rule applies. |
abstract
With |
fromAnyAddress()
Specifies that the rule applies to any traffic source address. |
abstract
With |
withSourceApplicationSecurityGroup(String id)
Sets the application security group specified as source. |
Method Details
fromAddress
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithSourcePort
Specifies the traffic source address prefix to which this rule applies.
Parameters:
Returns:
fromAddresses
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithSourcePort
Specifies the traffic source address prefixes to which this rule applies.
Parameters:
Returns:
fromAnyAddress
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithSourcePort
Specifies that the rule applies to any traffic source address.
Returns:
withSourceApplicationSecurityGroup
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithSourcePort
Sets the application security group specified as source.
Parameters:
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin