Interface Subnet.DefinitionStages.WithNetworkSecurityGroup<ParentT>

  • Type Parameters:
    ParentT - the stage of the parent definition to return to after attaching this definition
    All Known Subinterfaces:
    Subnet.Definition<ParentT>, Subnet.DefinitionStages.WithAttach<ParentT>
    Enclosing interface:
    Subnet.DefinitionStages

    public static interface Subnet.DefinitionStages.WithNetworkSecurityGroup<ParentT>
    The stage of the subnet definition allowing to specify the network security group to assign to the subnet.
    • Method Detail

      • withExistingNetworkSecurityGroup

        Subnet.DefinitionStages.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