1. Packages
  2. Google Cloud Native
  3. API Docs
  4. vmmigration
  5. vmmigration/v1
  6. DatacenterConnector

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.vmmigration/v1.DatacenterConnector

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new DatacenterConnector in a given Source. Auto-naming is currently not supported for this resource.

    Create DatacenterConnector Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DatacenterConnector(name: string, args: DatacenterConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def DatacenterConnector(resource_name: str,
                            args: DatacenterConnectorArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatacenterConnector(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            datacenter_connector_id: Optional[str] = None,
                            source_id: Optional[str] = None,
                            location: Optional[str] = None,
                            project: Optional[str] = None,
                            registration_id: Optional[str] = None,
                            request_id: Optional[str] = None,
                            service_account: Optional[str] = None,
                            version: Optional[str] = None)
    func NewDatacenterConnector(ctx *Context, name string, args DatacenterConnectorArgs, opts ...ResourceOption) (*DatacenterConnector, error)
    public DatacenterConnector(string name, DatacenterConnectorArgs args, CustomResourceOptions? opts = null)
    public DatacenterConnector(String name, DatacenterConnectorArgs args)
    public DatacenterConnector(String name, DatacenterConnectorArgs args, CustomResourceOptions options)
    
    type: google-native:vmmigration/v1:DatacenterConnector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var datacenterConnectorResource = new GoogleNative.VMMigration.V1.DatacenterConnector("datacenterConnectorResource", new()
    {
        DatacenterConnectorId = "string",
        SourceId = "string",
        Location = "string",
        Project = "string",
        RegistrationId = "string",
        RequestId = "string",
        ServiceAccount = "string",
        Version = "string",
    });
    
    example, err := vmmigration.NewDatacenterConnector(ctx, "datacenterConnectorResource", &vmmigration.DatacenterConnectorArgs{
    	DatacenterConnectorId: pulumi.String("string"),
    	SourceId:              pulumi.String("string"),
    	Location:              pulumi.String("string"),
    	Project:               pulumi.String("string"),
    	RegistrationId:        pulumi.String("string"),
    	RequestId:             pulumi.String("string"),
    	ServiceAccount:        pulumi.String("string"),
    	Version:               pulumi.String("string"),
    })
    
    var datacenterConnectorResource = new DatacenterConnector("datacenterConnectorResource", DatacenterConnectorArgs.builder()
        .datacenterConnectorId("string")
        .sourceId("string")
        .location("string")
        .project("string")
        .registrationId("string")
        .requestId("string")
        .serviceAccount("string")
        .version("string")
        .build());
    
    datacenter_connector_resource = google_native.vmmigration.v1.DatacenterConnector("datacenterConnectorResource",
        datacenter_connector_id="string",
        source_id="string",
        location="string",
        project="string",
        registration_id="string",
        request_id="string",
        service_account="string",
        version="string")
    
    const datacenterConnectorResource = new google_native.vmmigration.v1.DatacenterConnector("datacenterConnectorResource", {
        datacenterConnectorId: "string",
        sourceId: "string",
        location: "string",
        project: "string",
        registrationId: "string",
        requestId: "string",
        serviceAccount: "string",
        version: "string",
    });
    
    type: google-native:vmmigration/v1:DatacenterConnector
    properties:
        datacenterConnectorId: string
        location: string
        project: string
        registrationId: string
        requestId: string
        serviceAccount: string
        sourceId: string
        version: string
    

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

    DatacenterConnectorId string
    Required. The datacenterConnector identifier.
    SourceId string
    Location string
    Project string
    RegistrationId string
    Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.
    RequestId string
    A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    ServiceAccount string
    The service account to use in the connector when communicating with the cloud.
    Version string
    The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.
    DatacenterConnectorId string
    Required. The datacenterConnector identifier.
    SourceId string
    Location string
    Project string
    RegistrationId string
    Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.
    RequestId string
    A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    ServiceAccount string
    The service account to use in the connector when communicating with the cloud.
    Version string
    The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.
    datacenterConnectorId String
    Required. The datacenterConnector identifier.
    sourceId String
    location String
    project String
    registrationId String
    Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.
    requestId String
    A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    serviceAccount String
    The service account to use in the connector when communicating with the cloud.
    version String
    The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.
    datacenterConnectorId string
    Required. The datacenterConnector identifier.
    sourceId string
    location string
    project string
    registrationId string
    Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.
    requestId string
    A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    serviceAccount string
    The service account to use in the connector when communicating with the cloud.
    version string
    The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.
    datacenter_connector_id str
    Required. The datacenterConnector identifier.
    source_id str
    location str
    project str
    registration_id str
    Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.
    request_id str
    A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    service_account str
    The service account to use in the connector when communicating with the cloud.
    version str
    The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.
    datacenterConnectorId String
    Required. The datacenterConnector identifier.
    sourceId String
    location String
    project String
    registrationId String
    Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.
    requestId String
    A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    serviceAccount String
    The service account to use in the connector when communicating with the cloud.
    version String
    The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.

    Outputs

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

    ApplianceInfrastructureVersion string
    Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.
    ApplianceSoftwareVersion string
    Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
    AvailableVersions Pulumi.GoogleNative.VMMigration.V1.Outputs.AvailableUpdatesResponse
    The available versions for updating this appliance.
    Bucket string
    The communication channel between the datacenter connector and Google Cloud.
    CreateTime string
    The time the connector was created (as an API call, not when it was actually installed).
    Error Pulumi.GoogleNative.VMMigration.V1.Outputs.StatusResponse
    Provides details on the state of the Datacenter Connector in case of an error.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The connector's name.
    State string
    State of the DatacenterConnector, as determined by the health checks.
    StateTime string
    The time the state was last set.
    UpdateTime string
    The last time the connector was updated with an API call.
    UpgradeStatus Pulumi.GoogleNative.VMMigration.V1.Outputs.UpgradeStatusResponse
    The status of the current / last upgradeAppliance operation.
    ApplianceInfrastructureVersion string
    Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.
    ApplianceSoftwareVersion string
    Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
    AvailableVersions AvailableUpdatesResponse
    The available versions for updating this appliance.
    Bucket string
    The communication channel between the datacenter connector and Google Cloud.
    CreateTime string
    The time the connector was created (as an API call, not when it was actually installed).
    Error StatusResponse
    Provides details on the state of the Datacenter Connector in case of an error.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The connector's name.
    State string
    State of the DatacenterConnector, as determined by the health checks.
    StateTime string
    The time the state was last set.
    UpdateTime string
    The last time the connector was updated with an API call.
    UpgradeStatus UpgradeStatusResponse
    The status of the current / last upgradeAppliance operation.
    applianceInfrastructureVersion String
    Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.
    applianceSoftwareVersion String
    Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
    availableVersions AvailableUpdatesResponse
    The available versions for updating this appliance.
    bucket String
    The communication channel between the datacenter connector and Google Cloud.
    createTime String
    The time the connector was created (as an API call, not when it was actually installed).
    error StatusResponse
    Provides details on the state of the Datacenter Connector in case of an error.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The connector's name.
    state String
    State of the DatacenterConnector, as determined by the health checks.
    stateTime String
    The time the state was last set.
    updateTime String
    The last time the connector was updated with an API call.
    upgradeStatus UpgradeStatusResponse
    The status of the current / last upgradeAppliance operation.
    applianceInfrastructureVersion string
    Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.
    applianceSoftwareVersion string
    Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
    availableVersions AvailableUpdatesResponse
    The available versions for updating this appliance.
    bucket string
    The communication channel between the datacenter connector and Google Cloud.
    createTime string
    The time the connector was created (as an API call, not when it was actually installed).
    error StatusResponse
    Provides details on the state of the Datacenter Connector in case of an error.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The connector's name.
    state string
    State of the DatacenterConnector, as determined by the health checks.
    stateTime string
    The time the state was last set.
    updateTime string
    The last time the connector was updated with an API call.
    upgradeStatus UpgradeStatusResponse
    The status of the current / last upgradeAppliance operation.
    appliance_infrastructure_version str
    Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.
    appliance_software_version str
    Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
    available_versions AvailableUpdatesResponse
    The available versions for updating this appliance.
    bucket str
    The communication channel between the datacenter connector and Google Cloud.
    create_time str
    The time the connector was created (as an API call, not when it was actually installed).
    error StatusResponse
    Provides details on the state of the Datacenter Connector in case of an error.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The connector's name.
    state str
    State of the DatacenterConnector, as determined by the health checks.
    state_time str
    The time the state was last set.
    update_time str
    The last time the connector was updated with an API call.
    upgrade_status UpgradeStatusResponse
    The status of the current / last upgradeAppliance operation.
    applianceInfrastructureVersion String
    Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.
    applianceSoftwareVersion String
    Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
    availableVersions Property Map
    The available versions for updating this appliance.
    bucket String
    The communication channel between the datacenter connector and Google Cloud.
    createTime String
    The time the connector was created (as an API call, not when it was actually installed).
    error Property Map
    Provides details on the state of the Datacenter Connector in case of an error.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The connector's name.
    state String
    State of the DatacenterConnector, as determined by the health checks.
    stateTime String
    The time the state was last set.
    updateTime String
    The last time the connector was updated with an API call.
    upgradeStatus Property Map
    The status of the current / last upgradeAppliance operation.

    Supporting Types

    ApplianceVersionResponse, ApplianceVersionResponseArgs

    Critical bool
    Determine whether it's critical to upgrade the appliance to this version.
    ReleaseNotesUri string
    Link to a page that contains the version release notes.
    Uri string
    A link for downloading the version.
    Version string
    The appliance version.
    Critical bool
    Determine whether it's critical to upgrade the appliance to this version.
    ReleaseNotesUri string
    Link to a page that contains the version release notes.
    Uri string
    A link for downloading the version.
    Version string
    The appliance version.
    critical Boolean
    Determine whether it's critical to upgrade the appliance to this version.
    releaseNotesUri String
    Link to a page that contains the version release notes.
    uri String
    A link for downloading the version.
    version String
    The appliance version.
    critical boolean
    Determine whether it's critical to upgrade the appliance to this version.
    releaseNotesUri string
    Link to a page that contains the version release notes.
    uri string
    A link for downloading the version.
    version string
    The appliance version.
    critical bool
    Determine whether it's critical to upgrade the appliance to this version.
    release_notes_uri str
    Link to a page that contains the version release notes.
    uri str
    A link for downloading the version.
    version str
    The appliance version.
    critical Boolean
    Determine whether it's critical to upgrade the appliance to this version.
    releaseNotesUri String
    Link to a page that contains the version release notes.
    uri String
    A link for downloading the version.
    version String
    The appliance version.

    AvailableUpdatesResponse, AvailableUpdatesResponseArgs

    InPlaceUpdate Pulumi.GoogleNative.VMMigration.V1.Inputs.ApplianceVersionResponse
    The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
    NewDeployableAppliance Pulumi.GoogleNative.VMMigration.V1.Inputs.ApplianceVersionResponse
    The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance.
    InPlaceUpdate ApplianceVersionResponse
    The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
    NewDeployableAppliance ApplianceVersionResponse
    The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance.
    inPlaceUpdate ApplianceVersionResponse
    The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
    newDeployableAppliance ApplianceVersionResponse
    The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance.
    inPlaceUpdate ApplianceVersionResponse
    The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
    newDeployableAppliance ApplianceVersionResponse
    The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance.
    in_place_update ApplianceVersionResponse
    The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
    new_deployable_appliance ApplianceVersionResponse
    The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance.
    inPlaceUpdate Property Map
    The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
    newDeployableAppliance Property Map
    The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance.

    StatusResponse, StatusResponseArgs

    Code int
    The status code, which should be an enum value of google.rpc.Code.
    Details List<ImmutableDictionary<string, string>>
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    Message string
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    Code int
    The status code, which should be an enum value of google.rpc.Code.
    Details []map[string]string
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    Message string
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code Integer
    The status code, which should be an enum value of google.rpc.Code.
    details List<Map<String,String>>
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message String
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code number
    The status code, which should be an enum value of google.rpc.Code.
    details {[key: string]: string}[]
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message string
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code int
    The status code, which should be an enum value of google.rpc.Code.
    details Sequence[Mapping[str, str]]
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message str
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code Number
    The status code, which should be an enum value of google.rpc.Code.
    details List<Map<String>>
    A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message String
    A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

    UpgradeStatusResponse, UpgradeStatusResponseArgs

    Error Pulumi.GoogleNative.VMMigration.V1.Inputs.StatusResponse
    Provides details on the state of the upgrade operation in case of an error.
    PreviousVersion string
    The version from which we upgraded.
    StartTime string
    The time the operation was started.
    State string
    The state of the upgradeAppliance operation.
    Version string
    The version to upgrade to.
    Error StatusResponse
    Provides details on the state of the upgrade operation in case of an error.
    PreviousVersion string
    The version from which we upgraded.
    StartTime string
    The time the operation was started.
    State string
    The state of the upgradeAppliance operation.
    Version string
    The version to upgrade to.
    error StatusResponse
    Provides details on the state of the upgrade operation in case of an error.
    previousVersion String
    The version from which we upgraded.
    startTime String
    The time the operation was started.
    state String
    The state of the upgradeAppliance operation.
    version String
    The version to upgrade to.
    error StatusResponse
    Provides details on the state of the upgrade operation in case of an error.
    previousVersion string
    The version from which we upgraded.
    startTime string
    The time the operation was started.
    state string
    The state of the upgradeAppliance operation.
    version string
    The version to upgrade to.
    error StatusResponse
    Provides details on the state of the upgrade operation in case of an error.
    previous_version str
    The version from which we upgraded.
    start_time str
    The time the operation was started.
    state str
    The state of the upgradeAppliance operation.
    version str
    The version to upgrade to.
    error Property Map
    Provides details on the state of the upgrade operation in case of an error.
    previousVersion String
    The version from which we upgraded.
    startTime String
    The time the operation was started.
    state String
    The state of the upgradeAppliance operation.
    version String
    The version to upgrade to.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi