Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

Source

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

Create Source Resource

new Source(name: string, args: SourceArgs, opts?: CustomResourceOptions);
@overload
def Source(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           description: Optional[str] = None,
           labels: Optional[Mapping[str, str]] = None,
           location: Optional[str] = None,
           project: Optional[str] = None,
           request_id: Optional[str] = None,
           source_id: Optional[str] = None,
           vmware: Optional[VmwareSourceDetailsArgs] = None)
@overload
def Source(resource_name: str,
           args: SourceArgs,
           opts: Optional[ResourceOptions] = None)
func NewSource(ctx *Context, name string, args SourceArgs, opts ...ResourceOption) (*Source, error)
public Source(string name, SourceArgs args, CustomResourceOptions? opts = null)
public Source(String name, SourceArgs args)
public Source(String name, SourceArgs args, CustomResourceOptions options)
type: google-native:vmmigration/v1alpha1:Source
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

SourceId string

Required. The source identifier.

Description string

User-provided description of the source.

Labels Dictionary<string, string>

The labels of the source.

Location string
Project string
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 t he 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).

Vmware Pulumi.GoogleNative.Vmmigration.V1Alpha1.Inputs.VmwareSourceDetailsArgs

Vmware type source details.

SourceId string

Required. The source identifier.

Description string

User-provided description of the source.

Labels map[string]string

The labels of the source.

Location string
Project string
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 t he 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).

Vmware VmwareSourceDetailsArgs

Vmware type source details.

sourceId String

Required. The source identifier.

description String

User-provided description of the source.

labels Map<String,String>

The labels of the source.

location String
project String
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 t he 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).

vmware VmwareSourceDetailsArgs

Vmware type source details.

sourceId string

Required. The source identifier.

description string

User-provided description of the source.

labels {[key: string]: string}

The labels of the source.

location string
project string
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 t he 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).

vmware VmwareSourceDetailsArgs

Vmware type source details.

source_id str

Required. The source identifier.

description str

User-provided description of the source.

labels Mapping[str, str]

The labels of the source.

location str
project str
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 t he 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).

vmware VmwareSourceDetailsArgs

Vmware type source details.

sourceId String

Required. The source identifier.

description String

User-provided description of the source.

labels Map<String>

The labels of the source.

location String
project String
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 t he 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).

vmware Property Map

Vmware type source details.

Outputs

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

CreateTime string

The create time timestamp.

Error Pulumi.GoogleNative.Vmmigration.V1Alpha1.Outputs.StatusResponse

Provides details on the state of the Source in case of an error.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The Source name.

UpdateTime string

The update time timestamp.

CreateTime string

The create time timestamp.

Error StatusResponse

Provides details on the state of the Source in case of an error.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The Source name.

UpdateTime string

The update time timestamp.

createTime String

The create time timestamp.

error StatusResponse

Provides details on the state of the Source in case of an error.

id String

The provider-assigned unique ID for this managed resource.

name String

The Source name.

updateTime String

The update time timestamp.

createTime string

The create time timestamp.

error StatusResponse

Provides details on the state of the Source in case of an error.

id string

The provider-assigned unique ID for this managed resource.

name string

The Source name.

updateTime string

The update time timestamp.

create_time str

The create time timestamp.

error StatusResponse

Provides details on the state of the Source in case of an error.

id str

The provider-assigned unique ID for this managed resource.

name str

The Source name.

update_time str

The update time timestamp.

createTime String

The create time timestamp.

error Property Map

Provides details on the state of the Source in case of an error.

id String

The provider-assigned unique ID for this managed resource.

name String

The Source name.

updateTime String

The update time timestamp.

Supporting Types

StatusResponse

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.

VmwareSourceDetails

Password string

Input only. The credentials password. This is write only and can not be read in a GET operation.

Thumbprint string

The thumbprint representing the certificate for the vcenter.

Username string

The credentials username.

VcenterIp string

The ip address of the vcenter this Source represents.

Password string

Input only. The credentials password. This is write only and can not be read in a GET operation.

Thumbprint string

The thumbprint representing the certificate for the vcenter.

Username string

The credentials username.

VcenterIp string

The ip address of the vcenter this Source represents.

password String

Input only. The credentials password. This is write only and can not be read in a GET operation.

thumbprint String

The thumbprint representing the certificate for the vcenter.

username String

The credentials username.

vcenterIp String

The ip address of the vcenter this Source represents.

password string

Input only. The credentials password. This is write only and can not be read in a GET operation.

thumbprint string

The thumbprint representing the certificate for the vcenter.

username string

The credentials username.

vcenterIp string

The ip address of the vcenter this Source represents.

password str

Input only. The credentials password. This is write only and can not be read in a GET operation.

thumbprint str

The thumbprint representing the certificate for the vcenter.

username str

The credentials username.

vcenter_ip str

The ip address of the vcenter this Source represents.

password String

Input only. The credentials password. This is write only and can not be read in a GET operation.

thumbprint String

The thumbprint representing the certificate for the vcenter.

username String

The credentials username.

vcenterIp String

The ip address of the vcenter this Source represents.

VmwareSourceDetailsResponse

Password string

Input only. The credentials password. This is write only and can not be read in a GET operation.

Thumbprint string

The thumbprint representing the certificate for the vcenter.

Username string

The credentials username.

VcenterIp string

The ip address of the vcenter this Source represents.

Password string

Input only. The credentials password. This is write only and can not be read in a GET operation.

Thumbprint string

The thumbprint representing the certificate for the vcenter.

Username string

The credentials username.

VcenterIp string

The ip address of the vcenter this Source represents.

password String

Input only. The credentials password. This is write only and can not be read in a GET operation.

thumbprint String

The thumbprint representing the certificate for the vcenter.

username String

The credentials username.

vcenterIp String

The ip address of the vcenter this Source represents.

password string

Input only. The credentials password. This is write only and can not be read in a GET operation.

thumbprint string

The thumbprint representing the certificate for the vcenter.

username string

The credentials username.

vcenterIp string

The ip address of the vcenter this Source represents.

password str

Input only. The credentials password. This is write only and can not be read in a GET operation.

thumbprint str

The thumbprint representing the certificate for the vcenter.

username str

The credentials username.

vcenter_ip str

The ip address of the vcenter this Source represents.

password String

Input only. The credentials password. This is write only and can not be read in a GET operation.

thumbprint String

The thumbprint representing the certificate for the vcenter.

username String

The credentials username.

vcenterIp String

The ip address of the vcenter this Source represents.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0