Interface NetworkInterface.DefinitionStages.WithNetworkSecurityGroup

    • Method Detail

      • withNewNetworkSecurityGroup

        NetworkInterface.DefinitionStages.WithCreate withNewNetworkSecurityGroup​(com.microsoft.azure.management.resources.fluentcore.model.Creatable<NetworkSecurityGroup> creatable)
        Create a new network security group to associate with network interface, based on the provided definition.
        Parameters:
        creatable - a creatable definition for a new network security group
        Returns:
        the next stage of the definition
      • withExistingNetworkSecurityGroup

        NetworkInterface.DefinitionStages.WithCreate withExistingNetworkSecurityGroup​(NetworkSecurityGroup networkSecurityGroup)
        Associates an existing network security group with the network interface.
        Parameters:
        networkSecurityGroup - an existing network security group
        Returns:
        the next stage of the definition