azure-native.recoveryservices.ReplicationvCenter

Explore with Pulumi AI

vCenter definition. API Version: 2018-07-10.

Example Usage

Add vCenter.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var replicationvCenter = new AzureNative.RecoveryServices.ReplicationvCenter("replicationvCenter", new()
    {
        FabricName = "MadhaviFabric",
        Properties = new AzureNative.RecoveryServices.Inputs.AddVCenterRequestPropertiesArgs
        {
            FriendlyName = "esx-78",
            IpAddress = "inmtest78",
            Port = "443",
            ProcessServerId = "5A720CAB-39CB-F445-BD1662B0B33164B5",
            RunAsAccountId = "2",
        },
        ResourceGroupName = "MadhaviVRG",
        ResourceName = "MadhaviVault",
        VCenterName = "esx-78",
    });

});
package main

import (
	recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := recoveryservices.NewReplicationvCenter(ctx, "replicationvCenter", &recoveryservices.ReplicationvCenterArgs{
			FabricName: pulumi.String("MadhaviFabric"),
			Properties: &recoveryservices.AddVCenterRequestPropertiesArgs{
				FriendlyName:    pulumi.String("esx-78"),
				IpAddress:       pulumi.String("inmtest78"),
				Port:            pulumi.String("443"),
				ProcessServerId: pulumi.String("5A720CAB-39CB-F445-BD1662B0B33164B5"),
				RunAsAccountId:  pulumi.String("2"),
			},
			ResourceGroupName: pulumi.String("MadhaviVRG"),
			ResourceName:      pulumi.String("MadhaviVault"),
			VCenterName:       pulumi.String("esx-78"),
		})
		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.recoveryservices.ReplicationvCenter;
import com.pulumi.azurenative.recoveryservices.ReplicationvCenterArgs;
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 replicationvCenter = new ReplicationvCenter("replicationvCenter", ReplicationvCenterArgs.builder()        
            .fabricName("MadhaviFabric")
            .properties(Map.ofEntries(
                Map.entry("friendlyName", "esx-78"),
                Map.entry("ipAddress", "inmtest78"),
                Map.entry("port", "443"),
                Map.entry("processServerId", "5A720CAB-39CB-F445-BD1662B0B33164B5"),
                Map.entry("runAsAccountId", "2")
            ))
            .resourceGroupName("MadhaviVRG")
            .resourceName("MadhaviVault")
            .vCenterName("esx-78")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

replicationv_center = azure_native.recoveryservices.ReplicationvCenter("replicationvCenter",
    fabric_name="MadhaviFabric",
    properties=azure_native.recoveryservices.AddVCenterRequestPropertiesArgs(
        friendly_name="esx-78",
        ip_address="inmtest78",
        port="443",
        process_server_id="5A720CAB-39CB-F445-BD1662B0B33164B5",
        run_as_account_id="2",
    ),
    resource_group_name="MadhaviVRG",
    resource_name_="MadhaviVault",
    v_center_name="esx-78")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const replicationvCenter = new azure_native.recoveryservices.ReplicationvCenter("replicationvCenter", {
    fabricName: "MadhaviFabric",
    properties: {
        friendlyName: "esx-78",
        ipAddress: "inmtest78",
        port: "443",
        processServerId: "5A720CAB-39CB-F445-BD1662B0B33164B5",
        runAsAccountId: "2",
    },
    resourceGroupName: "MadhaviVRG",
    resourceName: "MadhaviVault",
    vCenterName: "esx-78",
});
resources:
  replicationvCenter:
    type: azure-native:recoveryservices:ReplicationvCenter
    properties:
      fabricName: MadhaviFabric
      properties:
        friendlyName: esx-78
        ipAddress: inmtest78
        port: '443'
        processServerId: 5A720CAB-39CB-F445-BD1662B0B33164B5
        runAsAccountId: '2'
      resourceGroupName: MadhaviVRG
      resourceName: MadhaviVault
      vCenterName: esx-78

Create ReplicationvCenter Resource

new ReplicationvCenter(name: string, args: ReplicationvCenterArgs, opts?: CustomResourceOptions);
@overload
def ReplicationvCenter(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       fabric_name: Optional[str] = None,
                       properties: Optional[AddVCenterRequestPropertiesArgs] = None,
                       resource_group_name: Optional[str] = None,
                       resource_name_: Optional[str] = None,
                       v_center_name: Optional[str] = None)
@overload
def ReplicationvCenter(resource_name: str,
                       args: ReplicationvCenterArgs,
                       opts: Optional[ResourceOptions] = None)
func NewReplicationvCenter(ctx *Context, name string, args ReplicationvCenterArgs, opts ...ResourceOption) (*ReplicationvCenter, error)
public ReplicationvCenter(string name, ReplicationvCenterArgs args, CustomResourceOptions? opts = null)
public ReplicationvCenter(String name, ReplicationvCenterArgs args)
public ReplicationvCenter(String name, ReplicationvCenterArgs args, CustomResourceOptions options)
type: azure-native:recoveryservices:ReplicationvCenter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ReplicationvCenterArgs
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 ReplicationvCenterArgs
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 ReplicationvCenterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ReplicationvCenterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ReplicationvCenterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ReplicationvCenter 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 ReplicationvCenter resource accepts the following input properties:

FabricName string

Fabric name.

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

ResourceName string

The name of the recovery services vault.

Properties Pulumi.AzureNative.RecoveryServices.Inputs.AddVCenterRequestPropertiesArgs

The properties of an add vCenter request.

VCenterName string

vCenter name.

FabricName string

Fabric name.

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

ResourceName string

The name of the recovery services vault.

Properties AddVCenterRequestPropertiesArgs

The properties of an add vCenter request.

VCenterName string

vCenter name.

fabricName String

Fabric name.

resourceGroupName String

The name of the resource group where the recovery services vault is present.

resourceName String

The name of the recovery services vault.

properties AddVCenterRequestPropertiesArgs

The properties of an add vCenter request.

vCenterName String

vCenter name.

fabricName string

Fabric name.

resourceGroupName string

The name of the resource group where the recovery services vault is present.

resourceName string

The name of the recovery services vault.

properties AddVCenterRequestPropertiesArgs

The properties of an add vCenter request.

vCenterName string

vCenter name.

fabric_name str

Fabric name.

resource_group_name str

The name of the resource group where the recovery services vault is present.

resource_name str

The name of the recovery services vault.

properties AddVCenterRequestPropertiesArgs

The properties of an add vCenter request.

v_center_name str

vCenter name.

fabricName String

Fabric name.

resourceGroupName String

The name of the resource group where the recovery services vault is present.

resourceName String

The name of the recovery services vault.

properties Property Map

The properties of an add vCenter request.

vCenterName String

vCenter name.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource Name

Type string

Resource Type

Location string

Resource Location

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource Name

Type string

Resource Type

Location string

Resource Location

id String

The provider-assigned unique ID for this managed resource.

name String

Resource Name

type String

Resource Type

location String

Resource Location

id string

The provider-assigned unique ID for this managed resource.

name string

Resource Name

type string

Resource Type

location string

Resource Location

id str

The provider-assigned unique ID for this managed resource.

name str

Resource Name

type str

Resource Type

location str

Resource Location

id String

The provider-assigned unique ID for this managed resource.

name String

Resource Name

type String

Resource Type

location String

Resource Location

Supporting Types

AddVCenterRequestProperties

FriendlyName string

The friendly name of the vCenter.

IpAddress string

The IP address of the vCenter to be discovered.

Port string

The port number for discovery.

ProcessServerId string

The process server Id from where the discovery is orchestrated.

RunAsAccountId string

The account Id which has privileges to discover the vCenter.

FriendlyName string

The friendly name of the vCenter.

IpAddress string

The IP address of the vCenter to be discovered.

Port string

The port number for discovery.

ProcessServerId string

The process server Id from where the discovery is orchestrated.

RunAsAccountId string

The account Id which has privileges to discover the vCenter.

friendlyName String

The friendly name of the vCenter.

ipAddress String

The IP address of the vCenter to be discovered.

port String

The port number for discovery.

processServerId String

The process server Id from where the discovery is orchestrated.

runAsAccountId String

The account Id which has privileges to discover the vCenter.

friendlyName string

The friendly name of the vCenter.

ipAddress string

The IP address of the vCenter to be discovered.

port string

The port number for discovery.

processServerId string

The process server Id from where the discovery is orchestrated.

runAsAccountId string

The account Id which has privileges to discover the vCenter.

friendly_name str

The friendly name of the vCenter.

ip_address str

The IP address of the vCenter to be discovered.

port str

The port number for discovery.

process_server_id str

The process server Id from where the discovery is orchestrated.

run_as_account_id str

The account Id which has privileges to discover the vCenter.

friendlyName String

The friendly name of the vCenter.

ipAddress String

The IP address of the vCenter to be discovered.

port String

The port number for discovery.

processServerId String

The process server Id from where the discovery is orchestrated.

runAsAccountId String

The account Id which has privileges to discover the vCenter.

HealthErrorResponse

CreationTimeUtc string

Error creation time (UTC)

CustomerResolvability string

Value indicating whether the health error is customer resolvable.

EntityId string

ID of the entity.

ErrorCategory string

Category of error.

ErrorCode string

Error code.

ErrorId string

The health error unique id.

ErrorLevel string

Level of error.

ErrorMessage string

Error message.

ErrorSource string

Source of error.

ErrorType string

Type of error.

InnerHealthErrors List<Pulumi.AzureNative.RecoveryServices.Inputs.InnerHealthErrorResponse>

The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException.

PossibleCauses string

Possible causes of error.

RecommendedAction string

Recommended action to resolve error.

RecoveryProviderErrorMessage string

DRA error message.

SummaryMessage string

Summary message of the entity.

CreationTimeUtc string

Error creation time (UTC)

CustomerResolvability string

Value indicating whether the health error is customer resolvable.

EntityId string

ID of the entity.

ErrorCategory string

Category of error.

ErrorCode string

Error code.

ErrorId string

The health error unique id.

ErrorLevel string

Level of error.

ErrorMessage string

Error message.

ErrorSource string

Source of error.

ErrorType string

Type of error.

InnerHealthErrors []InnerHealthErrorResponse

The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException.

PossibleCauses string

Possible causes of error.

RecommendedAction string

Recommended action to resolve error.

RecoveryProviderErrorMessage string

DRA error message.

SummaryMessage string

Summary message of the entity.

creationTimeUtc String

Error creation time (UTC)

customerResolvability String

Value indicating whether the health error is customer resolvable.

entityId String

ID of the entity.

errorCategory String

Category of error.

errorCode String

Error code.

errorId String

The health error unique id.

errorLevel String

Level of error.

errorMessage String

Error message.

errorSource String

Source of error.

errorType String

Type of error.

innerHealthErrors List<InnerHealthErrorResponse>

The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException.

possibleCauses String

Possible causes of error.

recommendedAction String

Recommended action to resolve error.

recoveryProviderErrorMessage String

DRA error message.

summaryMessage String

Summary message of the entity.

creationTimeUtc string

Error creation time (UTC)

customerResolvability string

Value indicating whether the health error is customer resolvable.

entityId string

ID of the entity.

errorCategory string

Category of error.

errorCode string

Error code.

errorId string

The health error unique id.

errorLevel string

Level of error.

errorMessage string

Error message.

errorSource string

Source of error.

errorType string

Type of error.

innerHealthErrors InnerHealthErrorResponse[]

The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException.

possibleCauses string

Possible causes of error.

recommendedAction string

Recommended action to resolve error.

recoveryProviderErrorMessage string

DRA error message.

summaryMessage string

Summary message of the entity.

creation_time_utc str

Error creation time (UTC)

customer_resolvability str

Value indicating whether the health error is customer resolvable.

entity_id str

ID of the entity.

error_category str

Category of error.

error_code str

Error code.

error_id str

The health error unique id.

error_level str

Level of error.

error_message str

Error message.

error_source str

Source of error.

error_type str

Type of error.

inner_health_errors Sequence[InnerHealthErrorResponse]

The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException.

possible_causes str

Possible causes of error.

recommended_action str

Recommended action to resolve error.

recovery_provider_error_message str

DRA error message.

summary_message str

Summary message of the entity.

creationTimeUtc String

Error creation time (UTC)

customerResolvability String

Value indicating whether the health error is customer resolvable.

entityId String

ID of the entity.

errorCategory String

Category of error.

errorCode String

Error code.

errorId String

The health error unique id.

errorLevel String

Level of error.

errorMessage String

Error message.

errorSource String

Source of error.

errorType String

Type of error.

innerHealthErrors List<Property Map>

The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException.

possibleCauses String

Possible causes of error.

recommendedAction String

Recommended action to resolve error.

recoveryProviderErrorMessage String

DRA error message.

summaryMessage String

Summary message of the entity.

InnerHealthErrorResponse

CreationTimeUtc string

Error creation time (UTC)

EntityId string

ID of the entity.

ErrorCategory string

Category of error.

ErrorCode string

Error code.

ErrorLevel string

Level of error.

ErrorMessage string

Error message.

ErrorSource string

Source of error.

ErrorType string

Type of error.

PossibleCauses string

Possible causes of error.

RecommendedAction string

Recommended action to resolve error.

RecoveryProviderErrorMessage string

DRA error message.

SummaryMessage string

Summary message of the entity.

CreationTimeUtc string

Error creation time (UTC)

EntityId string

ID of the entity.

ErrorCategory string

Category of error.

ErrorCode string

Error code.

ErrorLevel string

Level of error.

ErrorMessage string

Error message.

ErrorSource string

Source of error.

ErrorType string

Type of error.

PossibleCauses string

Possible causes of error.

RecommendedAction string

Recommended action to resolve error.

RecoveryProviderErrorMessage string

DRA error message.

SummaryMessage string

Summary message of the entity.

creationTimeUtc String

Error creation time (UTC)

entityId String

ID of the entity.

errorCategory String

Category of error.

errorCode String

Error code.

errorLevel String

Level of error.

errorMessage String

Error message.

errorSource String

Source of error.

errorType String

Type of error.

possibleCauses String

Possible causes of error.

recommendedAction String

Recommended action to resolve error.

recoveryProviderErrorMessage String

DRA error message.

summaryMessage String

Summary message of the entity.

creationTimeUtc string

Error creation time (UTC)

entityId string

ID of the entity.

errorCategory string

Category of error.

errorCode string

Error code.

errorLevel string

Level of error.

errorMessage string

Error message.

errorSource string

Source of error.

errorType string

Type of error.

possibleCauses string

Possible causes of error.

recommendedAction string

Recommended action to resolve error.

recoveryProviderErrorMessage string

DRA error message.

summaryMessage string

Summary message of the entity.

creation_time_utc str

Error creation time (UTC)

entity_id str

ID of the entity.

error_category str

Category of error.

error_code str

Error code.

error_level str

Level of error.

error_message str

Error message.

error_source str

Source of error.

error_type str

Type of error.

possible_causes str

Possible causes of error.

recommended_action str

Recommended action to resolve error.

recovery_provider_error_message str

DRA error message.

summary_message str

Summary message of the entity.

creationTimeUtc String

Error creation time (UTC)

entityId String

ID of the entity.

errorCategory String

Category of error.

errorCode String

Error code.

errorLevel String

Level of error.

errorMessage String

Error message.

errorSource String

Source of error.

errorType String

Type of error.

possibleCauses String

Possible causes of error.

recommendedAction String

Recommended action to resolve error.

recoveryProviderErrorMessage String

DRA error message.

summaryMessage String

Summary message of the entity.

VCenterPropertiesResponse

DiscoveryStatus string

The VCenter discovery status.

FabricArmResourceName string

The ARM resource name of the fabric containing this VCenter.

FriendlyName string

Friendly name of the vCenter.

HealthErrors List<Pulumi.AzureNative.RecoveryServices.Inputs.HealthErrorResponse>

The health errors for this VCenter.

InfrastructureId string

The infrastructure Id of vCenter.

InternalId string

VCenter internal ID.

IpAddress string

The IP address of the vCenter.

LastHeartbeat string

The time when the last heartbeat was received by vCenter.

Port string

The port number for discovery.

ProcessServerId string

The process server Id.

RunAsAccountId string

The account Id which has privileges to discover the vCenter.

DiscoveryStatus string

The VCenter discovery status.

FabricArmResourceName string

The ARM resource name of the fabric containing this VCenter.

FriendlyName string

Friendly name of the vCenter.

HealthErrors []HealthErrorResponse

The health errors for this VCenter.

InfrastructureId string

The infrastructure Id of vCenter.

InternalId string

VCenter internal ID.

IpAddress string

The IP address of the vCenter.

LastHeartbeat string

The time when the last heartbeat was received by vCenter.

Port string

The port number for discovery.

ProcessServerId string

The process server Id.

RunAsAccountId string

The account Id which has privileges to discover the vCenter.

discoveryStatus String

The VCenter discovery status.

fabricArmResourceName String

The ARM resource name of the fabric containing this VCenter.

friendlyName String

Friendly name of the vCenter.

healthErrors List<HealthErrorResponse>

The health errors for this VCenter.

infrastructureId String

The infrastructure Id of vCenter.

internalId String

VCenter internal ID.

ipAddress String

The IP address of the vCenter.

lastHeartbeat String

The time when the last heartbeat was received by vCenter.

port String

The port number for discovery.

processServerId String

The process server Id.

runAsAccountId String

The account Id which has privileges to discover the vCenter.

discoveryStatus string

The VCenter discovery status.

fabricArmResourceName string

The ARM resource name of the fabric containing this VCenter.

friendlyName string

Friendly name of the vCenter.

healthErrors HealthErrorResponse[]

The health errors for this VCenter.

infrastructureId string

The infrastructure Id of vCenter.

internalId string

VCenter internal ID.

ipAddress string

The IP address of the vCenter.

lastHeartbeat string

The time when the last heartbeat was received by vCenter.

port string

The port number for discovery.

processServerId string

The process server Id.

runAsAccountId string

The account Id which has privileges to discover the vCenter.

discovery_status str

The VCenter discovery status.

fabric_arm_resource_name str

The ARM resource name of the fabric containing this VCenter.

friendly_name str

Friendly name of the vCenter.

health_errors Sequence[HealthErrorResponse]

The health errors for this VCenter.

infrastructure_id str

The infrastructure Id of vCenter.

internal_id str

VCenter internal ID.

ip_address str

The IP address of the vCenter.

last_heartbeat str

The time when the last heartbeat was received by vCenter.

port str

The port number for discovery.

process_server_id str

The process server Id.

run_as_account_id str

The account Id which has privileges to discover the vCenter.

discoveryStatus String

The VCenter discovery status.

fabricArmResourceName String

The ARM resource name of the fabric containing this VCenter.

friendlyName String

Friendly name of the vCenter.

healthErrors List<Property Map>

The health errors for this VCenter.

infrastructureId String

The infrastructure Id of vCenter.

internalId String

VCenter internal ID.

ipAddress String

The IP address of the vCenter.

lastHeartbeat String

The time when the last heartbeat was received by vCenter.

port String

The port number for discovery.

processServerId String

The process server Id.

runAsAccountId String

The account Id which has privileges to discover the vCenter.

Import

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

$ pulumi import azure-native:recoveryservices:ReplicationvCenter esx-78 /Subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/MadhaviVRG/providers/Microsoft.RecoveryServices/vaults/MadhaviVault/replicationFabrics/239f778f368e34f78216d81f030725cdf2033174b47879b9f2eeede06fdd9c4d/replicationvCenters/esx-78 

Package Details

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