NetworkSecurityRule.UpdateStages.WithSourceAddress Interface

public interface WithSourceAddress

The stage of the network rule description allowing the source address to be specified.

Method Summary

Modifier and Type Method and Description
NetworkSecurityRule.Update fromAddress(String cidr)

Specifies the traffic source address prefix to which this rule applies.

NetworkSecurityRule.Update fromAnyAddress()

Specifies that the rule applies to any traffic source address.

Method Details

fromAddress

public Update fromAddress(String cidr)

Specifies the traffic source address prefix to which this rule applies.

Parameters:

cidr - an IP address prefix expressed in the CIDR notation

Returns:

the next stage of the definition

fromAnyAddress

public Update fromAnyAddress()

Specifies that the rule applies to any traffic source address.

Returns:

the next stage of the definition

Applies to