Interface Subnet.UpdateDefinitionStages.WithNetworkSecurityGroup<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
Subnet.UpdateDefinition<ParentT>,Subnet.UpdateDefinitionStages.WithAttach<ParentT>
- Enclosing interface:
- Subnet.UpdateDefinitionStages
public static interface Subnet.UpdateDefinitionStages.WithNetworkSecurityGroup<ParentT>The stage of the subnet definition allowing to specify the network security group to assign to the subnet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subnet.UpdateDefinitionStages.WithAttach<ParentT>withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)Assigns an existing network security group to this subnet.Subnet.UpdateDefinitionStages.WithAttach<ParentT>withExistingNetworkSecurityGroup(String resourceId)Assigns an existing network security group to this subnet.
-
-
-
Method Detail
-
withExistingNetworkSecurityGroup
Subnet.UpdateDefinitionStages.WithAttach<ParentT> withExistingNetworkSecurityGroup(String resourceId)
Assigns an existing network security group to this subnet.- Parameters:
resourceId- the resource ID of the network security group- Returns:
- the next stage of the definition
-
withExistingNetworkSecurityGroup
Subnet.UpdateDefinitionStages.WithAttach<ParentT> withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)
Assigns an existing network security group to this subnet.- Parameters:
nsg- the network security group to assign- Returns:
- the next stage of the definition
-
-