NetworkSecurityGroup.DefinitionStages.WithRule Interface

public interface WithRule

The stage allowing to define a new security rule.

When the security rule description is complete enough, use attach() to attach it to this network security group.

Method Summary

Modifier and Type Method and Description
NetworkSecurityRule.DefinitionStages.Blank<NetworkSecurityGroup.DefinitionStages.WithCreate> defineRule(String name)

Starts the definition of a new security rule.

Method Details

defineRule

public NetworkSecurityRule.DefinitionStages.Blank defineRule(String name)

Starts the definition of a new security rule.

Parameters:

name - the name for the new security rule

Returns:

the first stage of the security rule definition

Applies to