Azure Native v1.103.0, Jun 2 23
Azure Native v1.103.0, Jun 2 23
azure-native.resources.getTemplateSpecVersion
Explore with Pulumi AI
Gets a Template Spec version from a specific Template Spec. API Version: 2022-02-01.
Using getTemplateSpecVersion
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 getTemplateSpecVersion(args: GetTemplateSpecVersionArgs, opts?: InvokeOptions): Promise<GetTemplateSpecVersionResult>
function getTemplateSpecVersionOutput(args: GetTemplateSpecVersionOutputArgs, opts?: InvokeOptions): Output<GetTemplateSpecVersionResult>
def get_template_spec_version(resource_group_name: Optional[str] = None,
template_spec_name: Optional[str] = None,
template_spec_version: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTemplateSpecVersionResult
def get_template_spec_version_output(resource_group_name: Optional[pulumi.Input[str]] = None,
template_spec_name: Optional[pulumi.Input[str]] = None,
template_spec_version: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTemplateSpecVersionResult]
func LookupTemplateSpecVersion(ctx *Context, args *LookupTemplateSpecVersionArgs, opts ...InvokeOption) (*LookupTemplateSpecVersionResult, error)
func LookupTemplateSpecVersionOutput(ctx *Context, args *LookupTemplateSpecVersionOutputArgs, opts ...InvokeOption) LookupTemplateSpecVersionResultOutput
> Note: This function is named LookupTemplateSpecVersion
in the Go SDK.
public static class GetTemplateSpecVersion
{
public static Task<GetTemplateSpecVersionResult> InvokeAsync(GetTemplateSpecVersionArgs args, InvokeOptions? opts = null)
public static Output<GetTemplateSpecVersionResult> Invoke(GetTemplateSpecVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTemplateSpecVersionResult> getTemplateSpecVersion(GetTemplateSpecVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:resources:getTemplateSpecVersion
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Template
Spec stringName Name of the Template Spec.
- Template
Spec stringVersion The version of the Template Spec.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Template
Spec stringName Name of the Template Spec.
- Template
Spec stringVersion The version of the Template Spec.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- template
Spec StringName Name of the Template Spec.
- template
Spec StringVersion The version of the Template Spec.
- resource
Group stringName The name of the resource group. The name is case insensitive.
- template
Spec stringName Name of the Template Spec.
- template
Spec stringVersion The version of the Template Spec.
- resource_
group_ strname The name of the resource group. The name is case insensitive.
- template_
spec_ strname Name of the Template Spec.
- template_
spec_ strversion The version of the Template Spec.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- template
Spec StringName Name of the Template Spec.
- template
Spec StringVersion The version of the Template Spec.
getTemplateSpecVersion Result
The following output properties are available:
- Id string
String Id used to locate any resource on Azure.
- Location string
The location of the Template Spec Version. It must match the location of the parent Template Spec.
- Name string
Name of this resource.
- System
Data Pulumi.Azure Native. Resources. Outputs. System Data Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
Type of this resource.
- Description string
Template Spec version description.
- Linked
Templates List<Pulumi.Azure Native. Resources. Outputs. Linked Template Artifact Response> An array of linked template artifacts.
- Main
Template object The main Azure Resource Manager template content.
- Metadata object
The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.
- Dictionary<string, string>
Resource tags.
- Ui
Form objectDefinition The Azure Resource Manager template UI definition content.
- Id string
String Id used to locate any resource on Azure.
- Location string
The location of the Template Spec Version. It must match the location of the parent Template Spec.
- Name string
Name of this resource.
- System
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
Type of this resource.
- Description string
Template Spec version description.
- Linked
Templates []LinkedTemplate Artifact Response An array of linked template artifacts.
- Main
Template interface{} The main Azure Resource Manager template content.
- Metadata interface{}
The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.
- map[string]string
Resource tags.
- Ui
Form interface{}Definition The Azure Resource Manager template UI definition content.
- id String
String Id used to locate any resource on Azure.
- location String
The location of the Template Spec Version. It must match the location of the parent Template Spec.
- name String
Name of this resource.
- system
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
Type of this resource.
- description String
Template Spec version description.
- linked
Templates List<LinkedTemplate Artifact Response> An array of linked template artifacts.
- main
Template Object The main Azure Resource Manager template content.
- metadata Object
The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.
- Map<String,String>
Resource tags.
- ui
Form ObjectDefinition The Azure Resource Manager template UI definition content.
- id string
String Id used to locate any resource on Azure.
- location string
The location of the Template Spec Version. It must match the location of the parent Template Spec.
- name string
Name of this resource.
- system
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
Type of this resource.
- description string
Template Spec version description.
- linked
Templates LinkedTemplate Artifact Response[] An array of linked template artifacts.
- main
Template any The main Azure Resource Manager template content.
- metadata any
The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.
- {[key: string]: string}
Resource tags.
- ui
Form anyDefinition The Azure Resource Manager template UI definition content.
- id str
String Id used to locate any resource on Azure.
- location str
The location of the Template Spec Version. It must match the location of the parent Template Spec.
- name str
Name of this resource.
- system_
data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
Type of this resource.
- description str
Template Spec version description.
- linked_
templates Sequence[LinkedTemplate Artifact Response] An array of linked template artifacts.
- main_
template Any The main Azure Resource Manager template content.
- metadata Any
The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.
- Mapping[str, str]
Resource tags.
- ui_
form_ Anydefinition The Azure Resource Manager template UI definition content.
- id String
String Id used to locate any resource on Azure.
- location String
The location of the Template Spec Version. It must match the location of the parent Template Spec.
- name String
Name of this resource.
- system
Data Property Map Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
Type of this resource.
- description String
Template Spec version description.
- linked
Templates List<Property Map> An array of linked template artifacts.
- main
Template Any The main Azure Resource Manager template content.
- metadata Any
The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.
- Map<String>
Resource tags.
- ui
Form AnyDefinition The Azure Resource Manager template UI definition content.
Supporting Types
LinkedTemplateArtifactResponse
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type The type of identity that last modified the resource.
- created_
at str The timestamp of resource creation (UTC).
- created_
by str The identity that created the resource.
- created_
by_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0