getPrivateCloud

Use this data source to access information about an existing VMware Private Cloud.

Example Usage

NOTE : Normal pulumi up could ignore this note. Please disable correlation request id for continuous operations in one build (like acctest). The continuous operations like update or delete could not be triggered when it shares the same correlation-id with its previous operation.

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.avs.AvsFunctions;
import com.pulumi.azure.avs.inputs.GetPrivateCloudArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AvsFunctions.getPrivateCloud(GetPrivateCloudArgs.builder()
.name("existing-vmware-private-cloud")
.resourceGroupName("existing-resgroup")
.build());
ctx.export("id", example.applyValue(getPrivateCloudResult -> getPrivateCloudResult.id()));
}
}

Return

A collection of values returned by getPrivateCloud.

Parameters

argument

A collection of arguments for invoking getPrivateCloud.


suspend fun getPrivateCloud(name: String, resourceGroupName: String): GetPrivateCloudResult

Return

A collection of values returned by getPrivateCloud.

See also

Parameters

name

The name of this VMware Private Cloud.

resourceGroupName

The name of the Resource Group where the VMware Private Cloud exists.


Return

A collection of values returned by getPrivateCloud.

See also

Parameters

argument

Builder for com.pulumi.azure.avs.kotlin.inputs.GetPrivateCloudPlainArgs.