Google Native

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

getSource

Gets details of a single Source.

Using getSource

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getSource(args: GetSourceArgs, opts?: InvokeOptions): Promise<GetSourceResult>
function getSourceOutput(args: GetSourceOutputArgs, opts?: InvokeOptions): Output<GetSourceResult>
def get_source(location: Optional[str] = None,
               project: Optional[str] = None,
               source_id: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetSourceResult
def get_source_output(location: Optional[pulumi.Input[str]] = None,
               project: Optional[pulumi.Input[str]] = None,
               source_id: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetSourceResult]
func LookupSource(ctx *Context, args *LookupSourceArgs, opts ...InvokeOption) (*LookupSourceResult, error)
func LookupSourceOutput(ctx *Context, args *LookupSourceOutputArgs, opts ...InvokeOption) LookupSourceResultOutput

> Note: This function is named LookupSource in the Go SDK.

public static class GetSource 
{
    public static Task<GetSourceResult> InvokeAsync(GetSourceArgs args, InvokeOptions? opts = null)
    public static Output<GetSourceResult> Invoke(GetSourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSourceResult> getSource(GetSourceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:vmmigration/v1alpha1:getSource
  arguments:
    # arguments dictionary

The following arguments are supported:

Location string
SourceId string
Project string
Location string
SourceId string
Project string
location String
sourceId String
project String
location string
sourceId string
project string
location String
sourceId String
project String

getSource Result

The following output properties are available:

CreateTime string

The create time timestamp.

Description string

User-provided description of the source.

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

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

Labels Dictionary<string, string>

The labels of the source.

Name string

The Source name.

UpdateTime string

The update time timestamp.

Vmware Pulumi.GoogleNative.Vmmigration.V1Alpha1.Outputs.VmwareSourceDetailsResponse

Vmware type source details.

CreateTime string

The create time timestamp.

Description string

User-provided description of the source.

Error StatusResponse

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

Labels map[string]string

The labels of the source.

Name string

The Source name.

UpdateTime string

The update time timestamp.

Vmware VmwareSourceDetailsResponse

Vmware type source details.

createTime String

The create time timestamp.

description String

User-provided description of the source.

error StatusResponse

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

labels Map<String,String>

The labels of the source.

name String

The Source name.

updateTime String

The update time timestamp.

vmware VmwareSourceDetailsResponse

Vmware type source details.

createTime string

The create time timestamp.

description string

User-provided description of the source.

error StatusResponse

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

labels {[key: string]: string}

The labels of the source.

name string

The Source name.

updateTime string

The update time timestamp.

vmware VmwareSourceDetailsResponse

Vmware type source details.

create_time str

The create time timestamp.

description str

User-provided description of the source.

error StatusResponse

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

labels Mapping[str, str]

The labels of the source.

name str

The Source name.

update_time str

The update time timestamp.

vmware VmwareSourceDetailsResponse

Vmware type source details.

createTime String

The create time timestamp.

description String

User-provided description of the source.

error Property Map

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

labels Map<String>

The labels of the source.

name String

The Source name.

updateTime String

The update time timestamp.

vmware Property Map

Vmware type source details.

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.

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