This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.3 published on Thursday, Mar 20, 2025 by Pulumi
azure-native.resources.getTemplateSpecVersion
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.3 published on Thursday, Mar 20, 2025 by Pulumi
Gets a Template Spec version from a specific Template Spec. Azure REST API version: 2022-02-01.
Other available API versions: 2019-06-01-preview.
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)
public static Output<GetTemplateSpecVersionResult> getTemplateSpecVersion(GetTemplateSpecVersionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:resources:getTemplateSpecVersion
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- TemplateSpec stringName 
- Name of the Template Spec.
- TemplateSpec stringVersion 
- The version of the Template Spec.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- TemplateSpec stringName 
- Name of the Template Spec.
- TemplateSpec stringVersion 
- The version of the Template Spec.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- templateSpec StringName 
- Name of the Template Spec.
- templateSpec StringVersion 
- The version of the Template Spec.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- templateSpec stringName 
- Name of the Template Spec.
- templateSpec 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.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- templateSpec StringName 
- Name of the Template Spec.
- templateSpec 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.
- SystemData 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.
- LinkedTemplates List<Pulumi.Azure Native. Resources. Outputs. Linked Template Artifact Response> 
- An array of linked template artifacts.
- MainTemplate 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.
- UiForm 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.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Type of this resource.
- Description string
- Template Spec version description.
- LinkedTemplates []LinkedTemplate Artifact Response 
- An array of linked template artifacts.
- MainTemplate 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.
- UiForm 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.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Type of this resource.
- description String
- Template Spec version description.
- linkedTemplates List<LinkedTemplate Artifact Response> 
- An array of linked template artifacts.
- mainTemplate 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.
- uiForm 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.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- Type of this resource.
- description string
- Template Spec version description.
- linkedTemplates LinkedTemplate Artifact Response[] 
- An array of linked template artifacts.
- mainTemplate 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.
- uiForm 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.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Type of this resource.
- description String
- Template Spec version description.
- linkedTemplates List<Property Map>
- An array of linked template artifacts.
- mainTemplate 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.
- uiForm AnyDefinition 
- The Azure Resource Manager template UI definition content.
Supporting Types
LinkedTemplateArtifactResponse   
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.3 published on Thursday, Mar 20, 2025 by Pulumi