NetworkSecurityRule.Update Interface

Implements

public static interface NetworkSecurityRule.Update
extends WithDirectionAccess, WithSourceAddressOrSecurityGroup, WithSourcePort, WithDestinationAddressOrSecurityGroup, WithDestinationPort, WithProtocol, Settable<Update>

The entirety of a security rule update as part of a network security group update.

Method Summary

Modifier and Type Method and Description
abstract Update withDescription(String description)

Specifies a description for this security rule.

abstract Update withPriority(int priority)

Specifies the priority to assign to this security rule.

Method Details

withDescription

public abstract NetworkSecurityRule.Update withDescription(String description)

Specifies a description for this security rule.

Parameters:

description - a text description to associate with this security rule

Returns:

the next stage

withPriority

public abstract NetworkSecurityRule.Update withPriority(int priority)

Specifies the priority to assign to this security 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