azure-native.connectedvmwarevsphere.VCenter

Defines the vCenter. API Version: 2020-10-01-preview.

Example Usage

CreateVCenter

using System.Collections.Generic;
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/go/azure/connectedvmwarevsphere"
	"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 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());

    }
}
import pulumi
import pulumi_azure_native as azure_native

v_center = azure_native.connectedvmwarevsphere.VCenter("vCenter",
    credentials=azure_native.connectedvmwarevsphere.VICredentialArgs(
        password="<password>",
        username="tempuser",
    ),
    extended_location=azure_native.connectedvmwarevsphere.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,
    resource_group_name="testrg",
    vcenter_name="ContosoVCenter")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const vCenter = new azure_native.connectedvmwarevsphere.VCenter("vCenter", {
    credentials: {
        password: "<password>",
        username: "tempuser",
    },
    extendedLocation: {
        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",
});
resources:
  vCenter:
    type: azure-native:connectedvmwarevsphere:VCenter
    properties:
      credentials:
        password: <password>
        username: tempuser
      extendedLocation:
        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

Create VCenter Resource

new VCenter(name: string, args: VCenterArgs, opts?: CustomResourceOptions);
@overload
def VCenter(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            credentials: Optional[VICredentialArgs] = None,
            extended_location: Optional[ExtendedLocationArgs] = None,
            fqdn: Optional[str] = None,
            kind: Optional[str] = None,
            location: Optional[str] = None,
            port: Optional[int] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            vcenter_name: Optional[str] = None)
@overload
def VCenter(resource_name: str,
            args: VCenterArgs,
            opts: Optional[ResourceOptions] = None)
func NewVCenter(ctx *Context, name string, args VCenterArgs, opts ...ResourceOption) (*VCenter, error)
public VCenter(string name, VCenterArgs args, CustomResourceOptions? opts = null)
public VCenter(String name, VCenterArgs args)
public VCenter(String name, VCenterArgs args, CustomResourceOptions options)
type: azure-native:connectedvmwarevsphere:VCenter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args VCenterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args VCenterArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args VCenterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args VCenterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args VCenterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

VCenter Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The VCenter resource accepts the following input properties:

Fqdn string

Gets or sets the FQDN/IPAddress of the vCenter.

ResourceGroupName string

The Resource Group Name.

Credentials Pulumi.AzureNative.ConnectedVMwarevSphere.Inputs.VICredentialArgs

Username / Password Credentials to connect to vcenter.

ExtendedLocation Pulumi.AzureNative.ConnectedVMwarevSphere.Inputs.ExtendedLocationArgs

Gets or sets the extended location.

Kind 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.

Location string

Gets or sets the location.

Port int

Gets or sets the port of the vCenter.

Tags Dictionary<string, string>

Gets or sets the Resource tags.

VcenterName string

Name of the vCenter.

Fqdn string

Gets or sets the FQDN/IPAddress of the vCenter.

ResourceGroupName string

The Resource Group Name.

Credentials VICredentialArgs

Username / Password Credentials to connect to vcenter.

ExtendedLocation ExtendedLocationArgs

Gets or sets the extended location.

Kind 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.

Location string

Gets or sets the location.

Port int

Gets or sets the port of the vCenter.

Tags map[string]string

Gets or sets the Resource tags.

VcenterName string

Name of the vCenter.

fqdn String

Gets or sets the FQDN/IPAddress of the vCenter.

resourceGroupName String

The Resource Group Name.

credentials VICredentialArgs

Username / Password Credentials to connect to vcenter.

extendedLocation ExtendedLocationArgs

Gets or sets the extended location.

kind 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.

location String

Gets or sets the location.

port Integer

Gets or sets the port of the vCenter.

tags Map<String,String>

Gets or sets the Resource tags.

vcenterName String

Name of the vCenter.

fqdn string

Gets or sets the FQDN/IPAddress of the vCenter.

resourceGroupName string

The Resource Group Name.

credentials VICredentialArgs

Username / Password Credentials to connect to vcenter.

extendedLocation ExtendedLocationArgs

Gets or sets the extended location.

kind 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.

location string

Gets or sets the location.

port number

Gets or sets the port of the vCenter.

tags {[key: string]: string}

Gets or sets the Resource tags.

vcenterName string

Name of the vCenter.

fqdn str

Gets or sets the FQDN/IPAddress of the vCenter.

resource_group_name str

The Resource Group Name.

credentials VICredentialArgs

Username / Password Credentials to connect to vcenter.

extended_location ExtendedLocationArgs

Gets or sets the extended location.

kind str

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.

location str

Gets or sets the location.

port int

Gets or sets the port of the vCenter.

tags Mapping[str, str]

Gets or sets the Resource tags.

vcenter_name str

Name of the vCenter.

fqdn String

Gets or sets the FQDN/IPAddress of the vCenter.

resourceGroupName String

The Resource Group Name.

credentials Property Map

Username / Password Credentials to connect to vcenter.

extendedLocation Property Map

Gets or sets the extended location.

kind 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.

location String

Gets or sets the location.

port Number

Gets or sets the port of the vCenter.

tags Map<String>

Gets or sets the Resource tags.

vcenterName String

Name of the vCenter.

Outputs

All input properties are implicitly available as output properties. Additionally, the VCenter resource produces the following output properties:

ConnectionStatus string

Gets or sets the connection status to the vCenter.

CustomResourceName string

Gets the name of the corresponding resource in Kubernetes.

Id string

The provider-assigned unique ID for this managed resource.

InstanceUuid string

Gets or sets the instance UUID of the vCenter.

Name string

Gets or sets the name.

ProvisioningState string

Gets or sets the provisioning state.

Statuses List<Pulumi.AzureNative.ConnectedVMwarevSphere.Outputs.ResourceStatusResponse>

The resource status information.

SystemData Pulumi.AzureNative.ConnectedVMwarevSphere.Outputs.SystemDataResponse

The system data.

Type string

Gets or sets the type of the resource.

Uuid string

Gets or sets a unique identifier for this resource.

Version string

Gets or sets the version of the vCenter.

ConnectionStatus string

Gets or sets the connection status to the vCenter.

CustomResourceName string

Gets the name of the corresponding resource in Kubernetes.

Id string

The provider-assigned unique ID for this managed resource.

InstanceUuid string

Gets or sets the instance UUID of the vCenter.

Name string

Gets or sets the name.

ProvisioningState string

Gets or sets the provisioning state.

Statuses []ResourceStatusResponse

The resource status information.

SystemData SystemDataResponse

The system data.

Type string

Gets or sets the type of the resource.

Uuid string

Gets or sets a unique identifier for this resource.

Version string

Gets or sets the version of the vCenter.

connectionStatus String

Gets or sets the connection status to the vCenter.

customResourceName String

Gets the name of the corresponding resource in Kubernetes.

id String

The provider-assigned unique ID for this managed resource.

instanceUuid String

Gets or sets the instance UUID of the vCenter.

name String

Gets or sets the name.

provisioningState String

Gets or sets the provisioning state.

statuses List<ResourceStatusResponse>

The resource status information.

systemData SystemDataResponse

The system data.

type String

Gets or sets the type of the resource.

uuid String

Gets or sets a unique identifier for this resource.

version String

Gets or sets the version of the vCenter.

connectionStatus string

Gets or sets the connection status to the vCenter.

customResourceName string

Gets the name of the corresponding resource in Kubernetes.

id string

The provider-assigned unique ID for this managed resource.

instanceUuid string

Gets or sets the instance UUID of the vCenter.

name string

Gets or sets the name.

provisioningState string

Gets or sets the provisioning state.

statuses ResourceStatusResponse[]

The resource status information.

systemData SystemDataResponse

The system data.

type string

Gets or sets the type of the resource.

uuid string

Gets or sets a unique identifier for this resource.

version string

Gets or sets the version of the vCenter.

connection_status str

Gets or sets the connection status to the vCenter.

custom_resource_name str

Gets the name of the corresponding resource in Kubernetes.

id str

The provider-assigned unique ID for this managed resource.

instance_uuid str

Gets or sets the instance UUID of the vCenter.

name str

Gets or sets the name.

provisioning_state str

Gets or sets the provisioning state.

statuses Sequence[ResourceStatusResponse]

The resource status information.

system_data SystemDataResponse

The system data.

type str

Gets or sets the type of the resource.

uuid str

Gets or sets a unique identifier for this resource.

version str

Gets or sets the version of the vCenter.

connectionStatus String

Gets or sets the connection status to the vCenter.

customResourceName String

Gets the name of the corresponding resource in Kubernetes.

id String

The provider-assigned unique ID for this managed resource.

instanceUuid String

Gets or sets the instance UUID of the vCenter.

name String

Gets or sets the name.

provisioningState String

Gets or sets the provisioning state.

statuses List<Property Map>

The resource status information.

systemData Property Map

The system data.

type String

Gets or sets the type of the resource.

uuid String

Gets or sets a unique identifier for this resource.

version String

Gets or sets the version of the vCenter.

Supporting Types

ExtendedLocation

Name string

The extended location name.

Type string

The extended location type.

Name string

The extended location name.

Type string

The extended location type.

name String

The extended location name.

type String

The extended location type.

name string

The extended location name.

type string

The extended location type.

name str

The extended location name.

type str

The extended location type.

name String

The extended location name.

type String

The extended location type.

ExtendedLocationResponse

Name string

The extended location name.

Type string

The extended location type.

Name string

The extended location name.

Type string

The extended location type.

name String

The extended location name.

type String

The extended location type.

name string

The extended location name.

type string

The extended location type.

name str

The extended location name.

type str

The extended location type.

name String

The extended location name.

type String

The extended location type.

ResourceStatusResponse

LastUpdatedAt string

The last update time for this condition.

Message string

A human readable message indicating details about the status.

Reason string

The reason for the condition's status.

Severity string

Severity with which to treat failures of this type of condition.

Status string

Status of the condition.

Type string

The type of the condition.

LastUpdatedAt string

The last update time for this condition.

Message string

A human readable message indicating details about the status.

Reason string

The reason for the condition's status.

Severity string

Severity with which to treat failures of this type of condition.

Status string

Status of the condition.

Type string

The type of the condition.

lastUpdatedAt String

The last update time for this condition.

message String

A human readable message indicating details about the status.

reason String

The reason for the condition's status.

severity String

Severity with which to treat failures of this type of condition.

status String

Status of the condition.

type String

The type of the condition.

lastUpdatedAt string

The last update time for this condition.

message string

A human readable message indicating details about the status.

reason string

The reason for the condition's status.

severity string

Severity with which to treat failures of this type of condition.

status string

Status of the condition.

type string

The type of the condition.

last_updated_at str

The last update time for this condition.

message str

A human readable message indicating details about the status.

reason str

The reason for the condition's status.

severity str

Severity with which to treat failures of this type of condition.

status str

Status of the condition.

type str

The type of the condition.

lastUpdatedAt String

The last update time for this condition.

message String

A human readable message indicating details about the status.

reason String

The reason for the condition's status.

severity String

Severity with which to treat failures of this type of condition.

status String

Status of the condition.

type String

The type of the condition.

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

VICredential

Password string

Gets or sets the password to connect with the vCenter.

Username string

Gets or sets username to connect with the vCenter.

Password string

Gets or sets the password to connect with the vCenter.

Username string

Gets or sets username to connect with the vCenter.

password String

Gets or sets the password to connect with the vCenter.

username String

Gets or sets username to connect with the vCenter.

password string

Gets or sets the password to connect with the vCenter.

username string

Gets or sets username to connect with the vCenter.

password str

Gets or sets the password to connect with the vCenter.

username str

Gets or sets username to connect with the vCenter.

password String

Gets or sets the password to connect with the vCenter.

username String

Gets or sets username to connect with the vCenter.

VICredentialResponse

Username string

Gets or sets username to connect with the vCenter.

Username string

Gets or sets username to connect with the vCenter.

username String

Gets or sets username to connect with the vCenter.

username string

Gets or sets username to connect with the vCenter.

username str

Gets or sets username to connect with the vCenter.

username String

Gets or sets username to connect with the vCenter.

Import

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

$ pulumi import azure-native:connectedvmwarevsphere:VCenter ContosoVCenter /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/ContosoVCenter 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0