Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.vmmigration/v1alpha1.DatacenterConnector
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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/v1alpha1: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 google_nativeDatacenterConnectorResource = new GoogleNative.VMMigration.V1Alpha1.DatacenterConnector("google-nativeDatacenterConnectorResource", new()
{
DatacenterConnectorId = "string",
SourceId = "string",
Location = "string",
Project = "string",
RegistrationId = "string",
RequestId = "string",
ServiceAccount = "string",
Version = "string",
});
example, err := vmmigrationv1alpha1.NewDatacenterConnector(ctx, "google-nativeDatacenterConnectorResource", &vmmigrationv1alpha1.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 google_nativeDatacenterConnectorResource = new DatacenterConnector("google-nativeDatacenterConnectorResource", DatacenterConnectorArgs.builder()
.datacenterConnectorId("string")
.sourceId("string")
.location("string")
.project("string")
.registrationId("string")
.requestId("string")
.serviceAccount("string")
.version("string")
.build());
google_native_datacenter_connector_resource = google_native.vmmigration.v1alpha1.DatacenterConnector("google-nativeDatacenterConnectorResource",
datacenter_connector_id="string",
source_id="string",
location="string",
project="string",
registration_id="string",
request_id="string",
service_account="string",
version="string")
const google_nativeDatacenterConnectorResource = new google_native.vmmigration.v1alpha1.DatacenterConnector("google-nativeDatacenterConnectorResource", {
datacenterConnectorId: "string",
sourceId: "string",
location: "string",
project: "string",
registrationId: "string",
requestId: "string",
serviceAccount: "string",
version: "string",
});
type: google-native:vmmigration/v1alpha1: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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DatacenterConnector resource accepts the following input properties:
- Datacenter
Connector stringId - Required. The datacenterConnector identifier.
- Source
Id string - Location string
- Project string
- Registration
Id 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.
- Request
Id 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).
- Service
Account 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 stringId - Required. The datacenterConnector identifier.
- Source
Id string - Location string
- Project string
- Registration
Id 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.
- Request
Id 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).
- Service
Account 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 StringId - Required. The datacenterConnector identifier.
- source
Id String - location String
- project String
- registration
Id 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.
- request
Id 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).
- service
Account 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 stringId - Required. The datacenterConnector identifier.
- source
Id string - location string
- project string
- registration
Id 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.
- request
Id 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).
- service
Account 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_ strid - 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.
- datacenter
Connector StringId - Required. The datacenterConnector identifier.
- source
Id String - location String
- project String
- registration
Id 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.
- request
Id 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).
- service
Account 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:
- Appliance
Infrastructure stringVersion - 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 stringVersion - Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
- Available
Versions Pulumi.Google Native. VMMigration. V1Alpha1. Outputs. Available Updates Response - The available versions for updating this appliance.
- Bucket string
- The communication channel between the datacenter connector and Google Cloud.
- Create
Time string - The time the connector was created (as an API call, not when it was actually installed).
- Error
Pulumi.
Google Native. VMMigration. V1Alpha1. Outputs. Status Response - 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.
- State
Time string - The time the state was last set.
- Update
Time string - The last time the connector was updated with an API call.
- Upgrade
Status Pulumi.Google Native. VMMigration. V1Alpha1. Outputs. Upgrade Status Response - The status of the current / last upgradeAppliance operation.
- Appliance
Infrastructure stringVersion - 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 stringVersion - Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
- Available
Versions AvailableUpdates Response - The available versions for updating this appliance.
- Bucket string
- The communication channel between the datacenter connector and Google Cloud.
- Create
Time string - The time the connector was created (as an API call, not when it was actually installed).
- Error
Status
Response - 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.
- State
Time string - The time the state was last set.
- Update
Time string - The last time the connector was updated with an API call.
- Upgrade
Status UpgradeStatus Response - The status of the current / last upgradeAppliance operation.
- appliance
Infrastructure StringVersion - 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 StringVersion - Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
- available
Versions AvailableUpdates Response - The available versions for updating this appliance.
- bucket String
- The communication channel between the datacenter connector and Google Cloud.
- create
Time String - The time the connector was created (as an API call, not when it was actually installed).
- error
Status
Response - 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.
- state
Time String - The time the state was last set.
- update
Time String - The last time the connector was updated with an API call.
- upgrade
Status UpgradeStatus Response - The status of the current / last upgradeAppliance operation.
- appliance
Infrastructure stringVersion - 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 stringVersion - Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
- available
Versions AvailableUpdates Response - The available versions for updating this appliance.
- bucket string
- The communication channel between the datacenter connector and Google Cloud.
- create
Time string - The time the connector was created (as an API call, not when it was actually installed).
- error
Status
Response - 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.
- state
Time string - The time the state was last set.
- update
Time string - The last time the connector was updated with an API call.
- upgrade
Status UpgradeStatus Response - The status of the current / last upgradeAppliance operation.
- appliance_
infrastructure_ strversion - 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_ strversion - Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
- available_
versions AvailableUpdates Response - 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
Status
Response - 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 UpgradeStatus Response - The status of the current / last upgradeAppliance operation.
- appliance
Infrastructure StringVersion - 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 StringVersion - Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
- available
Versions Property Map - The available versions for updating this appliance.
- bucket String
- The communication channel between the datacenter connector and Google Cloud.
- create
Time 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.
- state
Time String - The time the state was last set.
- update
Time String - The last time the connector was updated with an API call.
- upgrade
Status 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.
- Release
Notes stringUri - 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 stringUri - 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.
- release
Notes StringUri - 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.
- release
Notes stringUri - 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_ struri - 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.
- release
Notes StringUri - 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
- In
Place Pulumi.Update Google Native. VMMigration. V1Alpha1. Inputs. Appliance Version Response - The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
- New
Deployable Pulumi.Appliance Google Native. VMMigration. V1Alpha1. Inputs. Appliance Version Response - 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 ApplianceUpdate Version Response - The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
- New
Deployable ApplianceAppliance Version Response - 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 ApplianceUpdate Version Response - The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
- new
Deployable ApplianceAppliance Version Response - 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 ApplianceUpdate Version Response - The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
- new
Deployable ApplianceAppliance Version Response - 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_ Applianceupdate Version Response - The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
- new_
deployable_ Applianceappliance Version Response - 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 Property MapUpdate - The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
- new
Deployable Property MapAppliance - 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<Immutable
Dictionary<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.
Google Native. VMMigration. V1Alpha1. Inputs. Status Response - Provides details on the state of the upgrade operation in case of an error.
- Previous
Version string - The version from which we upgraded.
- Start
Time string - The time the operation was started.
- State string
- The state of the upgradeAppliance operation.
- Version string
- The version to upgrade to.
- Error
Status
Response - Provides details on the state of the upgrade operation in case of an error.
- Previous
Version string - The version from which we upgraded.
- Start
Time string - The time the operation was started.
- State string
- The state of the upgradeAppliance operation.
- Version string
- The version to upgrade to.
- error
Status
Response - Provides details on the state of the upgrade operation in case of an error.
- previous
Version String - The version from which we upgraded.
- start
Time String - The time the operation was started.
- state String
- The state of the upgradeAppliance operation.
- version String
- The version to upgrade to.
- error
Status
Response - Provides details on the state of the upgrade operation in case of an error.
- previous
Version string - The version from which we upgraded.
- start
Time string - The time the operation was started.
- state string
- The state of the upgradeAppliance operation.
- version string
- The version to upgrade to.
- error
Status
Response - 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.
- previous
Version String - The version from which we upgraded.
- start
Time 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 Cloud Native is in preview. Google Cloud Classic is fully supported.