NetworkSecurityGroup.UpdateStages.WithRule Interface

public static interface NetworkSecurityGroup.UpdateStages.WithRule

The stage of the resource definition allowing to add or remove security rules.

Method Summary

Modifier and Type Method and Description
abstract Blank<Update> defineRule(String name)

Begins the definition of a new security rule to be added to this network security group.

abstract Update updateRule(String name)

Begins the description of an update of an existing security rule of this network security group.

abstract Update withoutRule(String name)

Removes an existing security rule.

Method Details

defineRule

public abstract NetworkSecurityRule.UpdateDefinitionStages.Blank defineRule(String name)

Begins the definition of a new security rule to be added to this network security group.

Parameters:

name - the name of the new security rule

Returns:

the first stage of the new security rule definition

updateRule

public abstract NetworkSecurityRule.Update updateRule(String name)

Begins the description of an update of an existing security rule of this network security group.

Parameters:

name - the name of an existing security rule

Returns:

the first stage of the security rule update description

withoutRule

public abstract NetworkSecurityGroup.Update withoutRule(String name)

Removes an existing security rule.

Parameters:

name - the name of the security rule to remove

Returns:

the next stage of the network security group description

Applies to