NetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT> Interface

Type Parameters

ParentT

the return type of WithAttach#attach()

Implements

InUpdate<ParentT>

public static interface NetworkSecurityRule.UpdateDefinitionStages.WithAttach
extends InUpdate<ParentT>

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 WithAttach#attach().

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ParentT> withDescription(String descrtiption)

Specifies a description for this security rule.

abstract WithAttach<ParentT> withPriority(int priority)

Specifies the priority to assign to this rule.

Method Details

withDescription

public abstract NetworkSecurityRule.UpdateDefinitionStages.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 abstract NetworkSecurityRule.UpdateDefinitionStages.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