NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddress<ParentT> Interface

Type Parameters

ParentT

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

public interface WithDestinationAddress

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

Method Summary

Modifier and Type Method and Description
NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT> toAddress(String cidr)

Specifies the traffic destination address range to which this rule applies.

NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT> toAnyAddress()

Makes the rule apply to any traffic destination address.

Method Details

toAddress

public WithDestinationPort toAddress(String cidr)

Specifies the traffic destination address range to which this rule applies.

Parameters:

cidr - an IP address range expressed in the CIDR notation

Returns:

the next stage of the definition

toAnyAddress

public WithDestinationPort toAnyAddress()

Makes the rule apply to any traffic destination address.

Returns:

the next stage of the definition

Applies to