Interface NetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT>
-
- Type Parameters:
ParentT- the return type ofAttachable.InUpdate.attach()
- All Superinterfaces:
Attachable.InUpdate<ParentT>
- All Known Subinterfaces:
NetworkSecurityRule.UpdateDefinition<ParentT>
- Enclosing interface:
- NetworkSecurityRule.UpdateDefinitionStages
public static interface NetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT> extends Attachable.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
Attachable.InUpdate.attach().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Attachable.InUpdate
attach
-
-
-
-
Method Detail
-
withPriority
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.
- Parameters:
priority- the priority number in the range 100 to 4096- Returns:
- the next stage of the update
-
withDescription
NetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT> 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
-
-