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:

ResourceGroupName string

The name of the resource group. The name is case insensitive.

TemplateSpecName string

Name of the Template Spec.

TemplateSpecVersion string

The version of the Template Spec.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

TemplateSpecName string

Name of the Template Spec.

TemplateSpecVersion string

The version of the Template Spec.

resourceGroupName String

The name of the resource group. The name is case insensitive.

templateSpecName String

Name of the Template Spec.

templateSpecVersion String

The version of the Template Spec.

resourceGroupName string

The name of the resource group. The name is case insensitive.

templateSpecName string

Name of the Template Spec.

templateSpecVersion string

The version of the Template Spec.

resource_group_name str

The name of the resource group. The name is case insensitive.

template_spec_name str

Name of the Template Spec.

template_spec_version str

The version of the Template Spec.

resourceGroupName String

The name of the resource group. The name is case insensitive.

templateSpecName String

Name of the Template Spec.

templateSpecVersion String

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.AzureNative.Resources.Outputs.SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Type string

Type of this resource.

Description string

Template Spec version description.

LinkedTemplates List<Pulumi.AzureNative.Resources.Outputs.LinkedTemplateArtifactResponse>

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.

Tags Dictionary<string, string>

Resource tags.

UiFormDefinition object

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 SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Type string

Type of this resource.

Description string

Template Spec version description.

LinkedTemplates []LinkedTemplateArtifactResponse

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.

Tags map[string]string

Resource tags.

UiFormDefinition interface{}

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 SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type String

Type of this resource.

description String

Template Spec version description.

linkedTemplates List<LinkedTemplateArtifactResponse>

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.

tags Map<String,String>

Resource tags.

uiFormDefinition Object

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 SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type string

Type of this resource.

description string

Template Spec version description.

linkedTemplates LinkedTemplateArtifactResponse[]

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.

tags {[key: string]: string}

Resource tags.

uiFormDefinition any

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 SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type str

Type of this resource.

description str

Template Spec version description.

linked_templates Sequence[LinkedTemplateArtifactResponse]

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.

tags Mapping[str, str]

Resource tags.

ui_form_definition Any

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.

tags Map<String>

Resource tags.

uiFormDefinition Any

The Azure Resource Manager template UI definition content.

Supporting Types

LinkedTemplateArtifactResponse

Path string

A filesystem safe relative path of the artifact.

Template object

The Azure Resource Manager template.

Path string

A filesystem safe relative path of the artifact.

Template interface{}

The Azure Resource Manager template.

path String

A filesystem safe relative path of the artifact.

template Object

The Azure Resource Manager template.

path string

A filesystem safe relative path of the artifact.

template any

The Azure Resource Manager template.

path str

A filesystem safe relative path of the artifact.

template Any

The Azure Resource Manager template.

path String

A filesystem safe relative path of the artifact.

template Any

The Azure Resource Manager template.

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

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.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

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.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

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.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

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_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

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.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0