Share via


HasPublicIPAddress.UpdateDefinitionStages.WithExistingPublicIPAddress<ReturnT> Interface

Type Parameters

ReturnT

the next stage of the definition

public static interface HasPublicIPAddress.UpdateDefinitionStages.WithExistingPublicIPAddress

The stage of the definition allowing to associate the resource with an existing public IP address.

Method Summary

Modifier and Type Method and Description
abstract ReturnT withExistingPublicIPAddress(PublicIPAddress publicIPAddress)

Associates an existing public IP address with the resource.

abstract ReturnT withExistingPublicIPAddress(String resourceId)

Associates an existing public IP address with the resource.

Method Details

withExistingPublicIPAddress

public abstract ReturnT withExistingPublicIPAddress(PublicIPAddress publicIPAddress)

Associates an existing public IP address with the resource.

Parameters:

publicIPAddress - an existing public IP address

Returns:

the next stage of the definition

withExistingPublicIPAddress

public abstract ReturnT withExistingPublicIPAddress(String resourceId)

Associates an existing public IP address with the resource.

Parameters:

resourceId - the resource ID of an existing public IP address

Returns:

the next stage of the definition

Applies to