1. Packages
  2. Google Cloud Native
  3. API Docs
  4. migrationcenter
  5. migrationcenter/v1alpha1
  6. getSource

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.migrationcenter/v1alpha1.getSource

Explore with Pulumi AI

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

Gets the details of a 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>
Copy
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]
Copy
func LookupSource(ctx *Context, args *LookupSourceArgs, opts ...InvokeOption) (*LookupSourceResult, error)
func LookupSourceOutput(ctx *Context, args *LookupSourceOutputArgs, opts ...InvokeOption) LookupSourceResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSourceResult> getSource(GetSourceArgs args, InvokeOptions options)
public static Output<GetSourceResult> getSource(GetSourceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:migrationcenter/v1alpha1:getSource
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
SourceId This property is required. string
Project string
Location This property is required. string
SourceId This property is required. string
Project string
location This property is required. String
sourceId This property is required. String
project String
location This property is required. string
sourceId This property is required. string
project string
location This property is required. str
source_id This property is required. str
project str
location This property is required. String
sourceId This property is required. String
project String

getSource Result

The following output properties are available:

CreateTime string
The timestamp when the source was created.
Description string
Free-text description.
DisplayName string
User-friendly display name.
ErrorFrameCount int
The number of frames that were reported by the source and contained errors.
IsManaged bool
If true, the source is managed by other service(s).
Name string
The full name of the source.
PendingFrameCount int
Number of frames that are still being processed.
Priority int
The information confidence of the source. The higher the value, the higher the confidence.
State string
The state of the source.
Type string
Data source type.
UpdateTime string
The timestamp when the source was last updated.
CreateTime string
The timestamp when the source was created.
Description string
Free-text description.
DisplayName string
User-friendly display name.
ErrorFrameCount int
The number of frames that were reported by the source and contained errors.
IsManaged bool
If true, the source is managed by other service(s).
Name string
The full name of the source.
PendingFrameCount int
Number of frames that are still being processed.
Priority int
The information confidence of the source. The higher the value, the higher the confidence.
State string
The state of the source.
Type string
Data source type.
UpdateTime string
The timestamp when the source was last updated.
createTime String
The timestamp when the source was created.
description String
Free-text description.
displayName String
User-friendly display name.
errorFrameCount Integer
The number of frames that were reported by the source and contained errors.
isManaged Boolean
If true, the source is managed by other service(s).
name String
The full name of the source.
pendingFrameCount Integer
Number of frames that are still being processed.
priority Integer
The information confidence of the source. The higher the value, the higher the confidence.
state String
The state of the source.
type String
Data source type.
updateTime String
The timestamp when the source was last updated.
createTime string
The timestamp when the source was created.
description string
Free-text description.
displayName string
User-friendly display name.
errorFrameCount number
The number of frames that were reported by the source and contained errors.
isManaged boolean
If true, the source is managed by other service(s).
name string
The full name of the source.
pendingFrameCount number
Number of frames that are still being processed.
priority number
The information confidence of the source. The higher the value, the higher the confidence.
state string
The state of the source.
type string
Data source type.
updateTime string
The timestamp when the source was last updated.
create_time str
The timestamp when the source was created.
description str
Free-text description.
display_name str
User-friendly display name.
error_frame_count int
The number of frames that were reported by the source and contained errors.
is_managed bool
If true, the source is managed by other service(s).
name str
The full name of the source.
pending_frame_count int
Number of frames that are still being processed.
priority int
The information confidence of the source. The higher the value, the higher the confidence.
state str
The state of the source.
type str
Data source type.
update_time str
The timestamp when the source was last updated.
createTime String
The timestamp when the source was created.
description String
Free-text description.
displayName String
User-friendly display name.
errorFrameCount Number
The number of frames that were reported by the source and contained errors.
isManaged Boolean
If true, the source is managed by other service(s).
name String
The full name of the source.
pendingFrameCount Number
Number of frames that are still being processed.
priority Number
The information confidence of the source. The higher the value, the higher the confidence.
state String
The state of the source.
type String
Data source type.
updateTime String
The timestamp when the source was last updated.

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.

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