NetworkSecurityRule.DefinitionStages.WithDirectionAccess<ParentT> Interface

Type Parameters

ParentT

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

public static interface NetworkSecurityRule.DefinitionStages.WithDirectionAccess

The stage of the network rule definition allowing the direction and the access type to be specified.

Method Summary

Modifier and Type Method and Description
abstract WithSourceAddressOrSecurityGroup<ParentT> allowInbound()

Allows inbound traffic.

abstract WithSourceAddressOrSecurityGroup<ParentT> allowOutbound()

Allows outbound traffic.

abstract WithSourceAddressOrSecurityGroup<ParentT> denyInbound()

Blocks inbound traffic.

abstract WithSourceAddressOrSecurityGroup<ParentT> denyOutbound()

Blocks outbound traffic.

Method Details

allowInbound

public abstract NetworkSecurityRule.DefinitionStages.WithSourceAddressOrSecurityGroup allowInbound()

Allows inbound traffic.

Returns:

the next stage of the definition

allowOutbound

public abstract NetworkSecurityRule.DefinitionStages.WithSourceAddressOrSecurityGroup allowOutbound()

Allows outbound traffic.

Returns:

the next stage of the definition

denyInbound

public abstract NetworkSecurityRule.DefinitionStages.WithSourceAddressOrSecurityGroup denyInbound()

Blocks inbound traffic.

Returns:

the next stage of the definition

denyOutbound

public abstract NetworkSecurityRule.DefinitionStages.WithSourceAddressOrSecurityGroup denyOutbound()

Blocks outbound traffic.

Returns:

the next stage of the definition

Applies to