NetworkSecurityRule.DefinitionStages.WithDirectionAccess<ParentT> Interface

Type Parameters

ParentT

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

public interface 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
NetworkSecurityRule.DefinitionStages.WithSourceAddress<ParentT> allowInbound()

Allows inbound traffic.

NetworkSecurityRule.DefinitionStages.WithSourceAddress<ParentT> allowOutbound()

Allows outbound traffic.

NetworkSecurityRule.DefinitionStages.WithSourceAddress<ParentT> denyInbound()

Blocks inbound traffic.

NetworkSecurityRule.DefinitionStages.WithSourceAddress<ParentT> denyOutbound()

Blocks outbound traffic.

Method Details

allowInbound

public WithSourceAddress allowInbound()

Allows inbound traffic.

Returns:

the next stage of the definition

allowOutbound

public WithSourceAddress allowOutbound()

Allows outbound traffic.

Returns:

the next stage of the definition

denyInbound

public WithSourceAddress denyInbound()

Blocks inbound traffic.

Returns:

the next stage of the definition

denyOutbound

public WithSourceAddress denyOutbound()

Blocks outbound traffic.

Returns:

the next stage of the definition

Applies to