HasSubnet.UpdateDefinitionStages.WithSubnet<ReturnT> Interface

Type Parameters

ReturnT

the next stage of the definition

public interface WithSubnet

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

Method Summary

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

Assigns the specified subnet to this resource.

Method Details

withExistingSubnet

public 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