VCenter Args
    data class VCenterArgs(val credentials: Output<VICredentialArgs>? = null, val extendedLocation: Output<ExtendedLocationArgs>? = null, val fqdn: Output<String>? = null, val kind: Output<String>? = null, val location: Output<String>? = null, val port: Output<Int>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val vcenterName: Output<String>? = null) : ConvertibleToJava<VCenterArgs> 
Defines the vCenter. Azure REST API version: 2022-07-15-preview. Prior API version in Azure Native 1.x: 2020-10-01-preview. Other available API versions: 2023-03-01-preview, 2023-10-01.
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",
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-azure-native-sdk/connectedvmwarevsphere/v2"
	"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
	})
}Content copied to clipboard
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 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(Map.ofEntries(
                Map.entry("password", "<password>"),
                Map.entry("username", "tempuser")
            ))
            .extendedLocation(Map.ofEntries(
                Map.entry("name", "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso"),
                Map.entry("type", "customLocation")
            ))
            .fqdn("ContosoVMware.contoso.com")
            .location("East US")
            .port(1234)
            .resourceGroupName("testrg")
            .vcenterName("ContosoVCenter")
            .build());
    }
}Content copied to clipboard
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}Content copied to clipboard
Constructors
Link copied to clipboard
                fun VCenterArgs(credentials: Output<VICredentialArgs>? = null, extendedLocation: Output<ExtendedLocationArgs>? = null, fqdn: Output<String>? = null, kind: Output<String>? = null, location: Output<String>? = null, port: Output<Int>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, vcenterName: Output<String>? = null)