NetworkSecurityRule.UpdateStages.WithSourceAddressOrSecurityGroup Interface
public static interface NetworkSecurityRule.UpdateStages.WithSourceAddressOrSecurityGroup
The stage of the network rule description 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 Update |
fromAddress(String cidr)
Specifies the traffic source address prefix to which this rule applies. |
abstract Update |
fromAddresses(String[] addresses)
Specifies the traffic source address prefixes to which this rule applies. |
abstract Update |
fromAnyAddress()
Specifies that the rule applies to any traffic source address. |
abstract Update |
withSourceApplicationSecurityGroup(String id)
Sets the application security group specified as source. |
Method Details
fromAddress
public abstract NetworkSecurityRule.Update fromAddress(String cidr)
Specifies the traffic source address prefix to which this rule applies.
Parameters:
Returns:
fromAddresses
public abstract NetworkSecurityRule.Update fromAddresses(String[] addresses)
Specifies the traffic source address prefixes to which this rule applies.
Parameters:
Returns:
fromAnyAddress
public abstract NetworkSecurityRule.Update fromAnyAddress()
Specifies that the rule applies to any traffic source address.
Returns:
withSourceApplicationSecurityGroup
public abstract NetworkSecurityRule.Update withSourceApplicationSecurityGroup(String id)
Sets the application security group specified as source.
Parameters:
Returns:
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per