NetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT> Interface

Type Parameters

ParentT

the return type of attach()

public interface WithAttach extends Attachable.InUpdate

The final stage of the security rule definition.

At this stage, any remaining optional settings can be specified, or the security rule definition can be attached to the parent network security group definition using attach().

Method Summary

Modifier and Type Method and Description
NetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT> withDescription(String descrtiption)

Specifies a description for this security rule.

NetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT> withPriority(int priority)

Specifies the priority to assign to this rule.

Security rules are applied in the order of their assigned priority.

Inherited Members

Method Details

withDescription

public WithAttach withDescription(String descrtiption)

Specifies a description for this security rule.

Parameters:

descrtiption - a text description to associate with the security rule

Returns:

the next stage

withPriority

public WithAttach withPriority(int priority)

Specifies the priority to assign to this rule.

Security rules are applied in the order of their assigned priority.

Parameters:

priority - the priority number in the range 100 to 4096

Returns:

the next stage of the update

Applies to