HasSubnet.UpdateDefinitionStages.WithSubnet<ReturnT> Interface

Type Parameters

ReturnT

the next stage of the definition

public static interface HasSubnet.UpdateDefinitionStages.WithSubnet

The stage of a definition allowing to associate a subnet with a resource.

Method Summary

Modifier and Type Method and Description
abstract ReturnT withExistingSubnet(String parentNetworkResourceId, String subnetName)

Assigns the specified subnet to this resource.

Method Details

withExistingSubnet

public abstract 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

Applies to