NetworkSecurityRule.DefinitionStages.WithSourceAddress<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public interface WithSourceAddress

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

Method Summary

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> fromAnyAddress()

Specifies that the rule applies to any traffic source address.

Method Details

fromAddress

public WithSourcePort 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 WithSourcePort fromAnyAddress()

Specifies that the rule applies to any traffic source address.

Returns:

the next stage of the definition

Applies to