VCenter

class VCenter : KotlinCustomResource

Defines the vCenter. Uses Azure REST API version 2023-12-01. In version 2.x of the Azure Native provider, it used API version 2022-07-15-preview. Other available API versions: 2022-07-15-preview, 2023-03-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native connectedvmwarevsphere [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

CreateVCenter

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var vCenter = new AzureNative.ConnectedVMwarevSphere.VCenter("vCenter", new()
{
Credentials = new AzureNative.ConnectedVMwarevSphere.Inputs.VICredentialArgs
{
Password = "<password>",
Username = "tempuser",
},
ExtendedLocation = new AzureNative.ConnectedVMwarevSphere.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso",
Type = "customLocation",
},
Fqdn = "ContosoVMware.contoso.com",
Location = "East US",
Port = 1234,
ResourceGroupName = "testrg",
VcenterName = "ContosoVCenter",
});
});
package main
import (
connectedvmwarevsphere "github.com/pulumi/pulumi-azure-native-sdk/connectedvmwarevsphere/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connectedvmwarevsphere.NewVCenter(ctx, "vCenter", &connectedvmwarevsphere.VCenterArgs{
Credentials: &connectedvmwarevsphere.VICredentialArgs{
Password: pulumi.String("<password>"),
Username: pulumi.String("tempuser"),
},
ExtendedLocation: &connectedvmwarevsphere.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso"),
Type: pulumi.String("customLocation"),
},
Fqdn: pulumi.String("ContosoVMware.contoso.com"),
Location: pulumi.String("East US"),
Port: pulumi.Int(1234),
ResourceGroupName: pulumi.String("testrg"),
VcenterName: pulumi.String("ContosoVCenter"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.connectedvmwarevsphere.VCenter;
import com.pulumi.azurenative.connectedvmwarevsphere.VCenterArgs;
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.VICredentialArgs;
import com.pulumi.azurenative.connectedvmwarevsphere.inputs.ExtendedLocationArgs;
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) {
var vCenter = new VCenter("vCenter", VCenterArgs.builder()
.credentials(VICredentialArgs.builder()
.password("<password>")
.username("tempuser")
.build())
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso")
.type("customLocation")
.build())
.fqdn("ContosoVMware.contoso.com")
.location("East US")
.port(1234)
.resourceGroupName("testrg")
.vcenterName("ContosoVCenter")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:connectedvmwarevsphere:VCenter ContosoVCenter /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/vcenters/{vcenterName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Gets or sets the connection status to the vCenter.

Link copied to clipboard

Username / Password Credentials to connect to vcenter.

Link copied to clipboard

Gets the name of the corresponding resource in Kubernetes.

Link copied to clipboard

Gets or sets the extended location.

Link copied to clipboard
val fqdn: Output<String>

Gets or sets the FQDN/IPAddress of the vCenter.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceUuid: Output<String>

Gets or sets the instance UUID of the vCenter.

Link copied to clipboard
val kind: Output<String>?

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Link copied to clipboard
val location: Output<String>

Gets or sets the location.

Link copied to clipboard
val name: Output<String>

Gets or sets the name.

Link copied to clipboard
val port: Output<Int>?

Gets or sets the port of the vCenter.

Link copied to clipboard

Gets the provisioning state.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The resource status information.

Link copied to clipboard

The system data.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Gets or sets the Resource tags.

Link copied to clipboard
val type: Output<String>

Gets or sets the type of the resource.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val uuid: Output<String>

Gets or sets a unique identifier for this resource.

Link copied to clipboard
val version: Output<String>

Gets or sets the version of the vCenter.