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.dataflow/v1b3.getTemplate
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
Get the template associated with a template.
Using getTemplate
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 getTemplate(args: GetTemplateArgs, opts?: InvokeOptions): Promise<GetTemplateResult>
function getTemplateOutput(args: GetTemplateOutputArgs, opts?: InvokeOptions): Output<GetTemplateResult>
def get_template(gcs_path: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
view: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTemplateResult
def get_template_output(gcs_path: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
view: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTemplateResult]
func LookupTemplate(ctx *Context, args *LookupTemplateArgs, opts ...InvokeOption) (*LookupTemplateResult, error)
func LookupTemplateOutput(ctx *Context, args *LookupTemplateOutputArgs, opts ...InvokeOption) LookupTemplateResultOutput
> Note: This function is named LookupTemplate
in the Go SDK.
public static class GetTemplate
{
public static Task<GetTemplateResult> InvokeAsync(GetTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetTemplateResult> Invoke(GetTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:dataflow/v1b3:getTemplate
arguments:
# arguments dictionary
The following arguments are supported:
getTemplate Result
The following output properties are available:
- Metadata
Pulumi.
Google Native. Dataflow. V1b3. Outputs. Template Metadata Response - The template metadata describing the template name, available parameters, etc.
- Runtime
Metadata Pulumi.Google Native. Dataflow. V1b3. Outputs. Runtime Metadata Response - Describes the runtime metadata with SDKInfo and available parameters.
- Status
Pulumi.
Google Native. Dataflow. V1b3. Outputs. Status Response - The status of the get template request. Any problems with the request will be indicated in the error_details.
- Template
Type string - Template Type.
- Metadata
Template
Metadata Response - The template metadata describing the template name, available parameters, etc.
- Runtime
Metadata RuntimeMetadata Response - Describes the runtime metadata with SDKInfo and available parameters.
- Status
Status
Response - The status of the get template request. Any problems with the request will be indicated in the error_details.
- Template
Type string - Template Type.
- metadata
Template
Metadata Response - The template metadata describing the template name, available parameters, etc.
- runtime
Metadata RuntimeMetadata Response - Describes the runtime metadata with SDKInfo and available parameters.
- status
Status
Response - The status of the get template request. Any problems with the request will be indicated in the error_details.
- template
Type String - Template Type.
- metadata
Template
Metadata Response - The template metadata describing the template name, available parameters, etc.
- runtime
Metadata RuntimeMetadata Response - Describes the runtime metadata with SDKInfo and available parameters.
- status
Status
Response - The status of the get template request. Any problems with the request will be indicated in the error_details.
- template
Type string - Template Type.
- metadata
Template
Metadata Response - The template metadata describing the template name, available parameters, etc.
- runtime_
metadata RuntimeMetadata Response - Describes the runtime metadata with SDKInfo and available parameters.
- status
Status
Response - The status of the get template request. Any problems with the request will be indicated in the error_details.
- template_
type str - Template Type.
- metadata Property Map
- The template metadata describing the template name, available parameters, etc.
- runtime
Metadata Property Map - Describes the runtime metadata with SDKInfo and available parameters.
- status Property Map
- The status of the get template request. Any problems with the request will be indicated in the error_details.
- template
Type String - Template Type.
Supporting Types
ParameterMetadataEnumOptionResponse
- Description string
- Optional. The description to display for the enum option.
- Label string
- Optional. The label to display for the enum option.
- Value string
- The value of the enum option.
- Description string
- Optional. The description to display for the enum option.
- Label string
- Optional. The label to display for the enum option.
- Value string
- The value of the enum option.
- description String
- Optional. The description to display for the enum option.
- label String
- Optional. The label to display for the enum option.
- value String
- The value of the enum option.
- description string
- Optional. The description to display for the enum option.
- label string
- Optional. The label to display for the enum option.
- value string
- The value of the enum option.
- description str
- Optional. The description to display for the enum option.
- label str
- Optional. The label to display for the enum option.
- value str
- The value of the enum option.
- description String
- Optional. The description to display for the enum option.
- label String
- Optional. The label to display for the enum option.
- value String
- The value of the enum option.
ParameterMetadataResponse
- Custom
Metadata Dictionary<string, string> - Optional. Additional metadata for describing this parameter.
- Default
Value string - Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.
- Enum
Options List<Pulumi.Google Native. Dataflow. V1b3. Inputs. Parameter Metadata Enum Option Response> - Optional. The options shown when ENUM ParameterType is specified.
- Group
Name string - Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.
- Help
Text string - The help text to display for the parameter.
- Is
Optional bool - Optional. Whether the parameter is optional. Defaults to false.
- Label string
- The label to display for the parameter.
- Name string
- The name of the parameter.
- Param
Type string - Optional. The type of the parameter. Used for selecting input picker.
- Parent
Name string - Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.
- Parent
Trigger List<string>Values - Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
- Regexes List<string>
- Optional. Regexes that the parameter must match.
- Custom
Metadata map[string]string - Optional. Additional metadata for describing this parameter.
- Default
Value string - Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.
- Enum
Options []ParameterMetadata Enum Option Response - Optional. The options shown when ENUM ParameterType is specified.
- Group
Name string - Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.
- Help
Text string - The help text to display for the parameter.
- Is
Optional bool - Optional. Whether the parameter is optional. Defaults to false.
- Label string
- The label to display for the parameter.
- Name string
- The name of the parameter.
- Param
Type string - Optional. The type of the parameter. Used for selecting input picker.
- Parent
Name string - Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.
- Parent
Trigger []stringValues - Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
- Regexes []string
- Optional. Regexes that the parameter must match.
- custom
Metadata Map<String,String> - Optional. Additional metadata for describing this parameter.
- default
Value String - Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.
- enum
Options List<ParameterMetadata Enum Option Response> - Optional. The options shown when ENUM ParameterType is specified.
- group
Name String - Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.
- help
Text String - The help text to display for the parameter.
- is
Optional Boolean - Optional. Whether the parameter is optional. Defaults to false.
- label String
- The label to display for the parameter.
- name String
- The name of the parameter.
- param
Type String - Optional. The type of the parameter. Used for selecting input picker.
- parent
Name String - Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.
- parent
Trigger List<String>Values - Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
- regexes List<String>
- Optional. Regexes that the parameter must match.
- custom
Metadata {[key: string]: string} - Optional. Additional metadata for describing this parameter.
- default
Value string - Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.
- enum
Options ParameterMetadata Enum Option Response[] - Optional. The options shown when ENUM ParameterType is specified.
- group
Name string - Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.
- help
Text string - The help text to display for the parameter.
- is
Optional boolean - Optional. Whether the parameter is optional. Defaults to false.
- label string
- The label to display for the parameter.
- name string
- The name of the parameter.
- param
Type string - Optional. The type of the parameter. Used for selecting input picker.
- parent
Name string - Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.
- parent
Trigger string[]Values - Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
- regexes string[]
- Optional. Regexes that the parameter must match.
- custom_
metadata Mapping[str, str] - Optional. Additional metadata for describing this parameter.
- default_
value str - Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.
- enum_
options Sequence[ParameterMetadata Enum Option Response] - Optional. The options shown when ENUM ParameterType is specified.
- group_
name str - Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.
- help_
text str - The help text to display for the parameter.
- is_
optional bool - Optional. Whether the parameter is optional. Defaults to false.
- label str
- The label to display for the parameter.
- name str
- The name of the parameter.
- param_
type str - Optional. The type of the parameter. Used for selecting input picker.
- parent_
name str - Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.
- parent_
trigger_ Sequence[str]values - Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
- regexes Sequence[str]
- Optional. Regexes that the parameter must match.
- custom
Metadata Map<String> - Optional. Additional metadata for describing this parameter.
- default
Value String - Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.
- enum
Options List<Property Map> - Optional. The options shown when ENUM ParameterType is specified.
- group
Name String - Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.
- help
Text String - The help text to display for the parameter.
- is
Optional Boolean - Optional. Whether the parameter is optional. Defaults to false.
- label String
- The label to display for the parameter.
- name String
- The name of the parameter.
- param
Type String - Optional. The type of the parameter. Used for selecting input picker.
- parent
Name String - Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.
- parent
Trigger List<String>Values - Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).
- regexes List<String>
- Optional. Regexes that the parameter must match.
RuntimeMetadataResponse
- Parameters
List<Pulumi.
Google Native. Dataflow. V1b3. Inputs. Parameter Metadata Response> - The parameters for the template.
- Sdk
Info Pulumi.Google Native. Dataflow. V1b3. Inputs. SDKInfo Response - SDK Info for the template.
- Parameters
[]Parameter
Metadata Response - The parameters for the template.
- Sdk
Info SDKInfoResponse - SDK Info for the template.
- parameters
List<Parameter
Metadata Response> - The parameters for the template.
- sdk
Info SDKInfoResponse - SDK Info for the template.
- parameters
Parameter
Metadata Response[] - The parameters for the template.
- sdk
Info SDKInfoResponse - SDK Info for the template.
- parameters
Sequence[Parameter
Metadata Response] - The parameters for the template.
- sdk_
info SDKInfoResponse - SDK Info for the template.
- parameters List<Property Map>
- The parameters for the template.
- sdk
Info Property Map - SDK Info for the template.
SDKInfoResponse
StatusResponse
- 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.
TemplateMetadataResponse
- Description string
- Optional. A description of the template.
- Name string
- The name of the template.
- Parameters
List<Pulumi.
Google Native. Dataflow. V1b3. Inputs. Parameter Metadata Response> - The parameters for the template.
- Description string
- Optional. A description of the template.
- Name string
- The name of the template.
- Parameters
[]Parameter
Metadata Response - The parameters for the template.
- description String
- Optional. A description of the template.
- name String
- The name of the template.
- parameters
List<Parameter
Metadata Response> - The parameters for the template.
- description string
- Optional. A description of the template.
- name string
- The name of the template.
- parameters
Parameter
Metadata Response[] - The parameters for the template.
- description str
- Optional. A description of the template.
- name str
- The name of the template.
- parameters
Sequence[Parameter
Metadata Response] - The parameters for the template.
- description String
- Optional. A description of the template.
- name String
- The name of the template.
- parameters List<Property Map>
- The parameters for the template.
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