Interface HasSubnet.DefinitionStages.WithSubnet<ReturnT>

Type Parameters:
ReturnT - the next stage of the definition
Enclosing interface:
HasSubnet.DefinitionStages

public static interface HasSubnet.DefinitionStages.WithSubnet<ReturnT>
The stage of a definition allowing to associate a subnet with a resource.
  • Method Summary

    Modifier and Type
    Method
    Description
    withExistingSubnet(String parentNetworkResourceId, String subnetName)
    Assigns the specified subnet to this resource.
  • Method Details

    • withExistingSubnet

      ReturnT withExistingSubnet(String parentNetworkResourceId, String subnetName)
      Assigns the specified subnet to this resource.
      Parameters:
      parentNetworkResourceId - the resource ID of the virtual network the subnet is part of
      subnetName - the name of the subnet
      Returns:
      the next stage of the definition