Azure Native

Pulumi Official
Package maintained by Pulumi
v1.68.2 published on Tuesday, Aug 16, 2022 by Pulumi

getTemplateSpec

Template Spec object. API Version: 2022-02-01.

Using getTemplateSpec

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 getTemplateSpec(args: GetTemplateSpecArgs, opts?: InvokeOptions): Promise<GetTemplateSpecResult>
function getTemplateSpecOutput(args: GetTemplateSpecOutputArgs, opts?: InvokeOptions): Output<GetTemplateSpecResult>
def get_template_spec(expand: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      template_spec_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetTemplateSpecResult
def get_template_spec_output(expand: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      template_spec_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetTemplateSpecResult]
func LookupTemplateSpec(ctx *Context, args *LookupTemplateSpecArgs, opts ...InvokeOption) (*LookupTemplateSpecResult, error)
func LookupTemplateSpecOutput(ctx *Context, args *LookupTemplateSpecOutputArgs, opts ...InvokeOption) LookupTemplateSpecResultOutput

> Note: This function is named LookupTemplateSpec in the Go SDK.

public static class GetTemplateSpec 
{
    public static Task<GetTemplateSpecResult> InvokeAsync(GetTemplateSpecArgs args, InvokeOptions? opts = null)
    public static Output<GetTemplateSpecResult> Invoke(GetTemplateSpecInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTemplateSpecResult> getTemplateSpec(GetTemplateSpecArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure-native:resources:getTemplateSpec
  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.

Expand string

Allows for expansion of additional Template Spec details in the response. Optional.

ResourceGroupName string

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

TemplateSpecName string

Name of the Template Spec.

Expand string

Allows for expansion of additional Template Spec details in the response. Optional.

resourceGroupName String

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

templateSpecName String

Name of the Template Spec.

expand String

Allows for expansion of additional Template Spec details in the response. Optional.

resourceGroupName string

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

templateSpecName string

Name of the Template Spec.

expand string

Allows for expansion of additional Template Spec details in the response. Optional.

resource_group_name str

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

template_spec_name str

Name of the Template Spec.

expand str

Allows for expansion of additional Template Spec details in the response. Optional.

resourceGroupName String

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

templateSpecName String

Name of the Template Spec.

expand String

Allows for expansion of additional Template Spec details in the response. Optional.

getTemplateSpec 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. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.

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.

Versions Dictionary<string, Pulumi.AzureNative.Resources.Outputs.TemplateSpecVersionInfoResponse>

High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'.

Description string

Template Spec description.

DisplayName string

Template Spec display name.

Metadata object

The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.

Tags Dictionary<string, string>

Resource tags.

Id string

String Id used to locate any resource on Azure.

Location string

The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.

Name string

Name of this resource.

SystemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Type string

Type of this resource.

Versions map[string]TemplateSpecVersionInfoResponse

High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'.

Description string

Template Spec description.

DisplayName string

Template Spec display name.

Metadata interface{}

The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.

Tags map[string]string

Resource tags.

id String

String Id used to locate any resource on Azure.

location String

The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.

name String

Name of this resource.

systemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type String

Type of this resource.

versions Map<String,TemplateSpecVersionInfoResponse>

High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'.

description String

Template Spec description.

displayName String

Template Spec display name.

metadata Object

The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.

tags Map<String,String>

Resource tags.

id string

String Id used to locate any resource on Azure.

location string

The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.

name string

Name of this resource.

systemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type string

Type of this resource.

versions {[key: string]: TemplateSpecVersionInfoResponse}

High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'.

description string

Template Spec description.

displayName string

Template Spec display name.

metadata any

The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.

tags {[key: string]: string}

Resource tags.

id str

String Id used to locate any resource on Azure.

location str

The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.

name str

Name of this resource.

system_data SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type str

Type of this resource.

versions Mapping[str, TemplateSpecVersionInfoResponse]

High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'.

description str

Template Spec description.

display_name str

Template Spec display name.

metadata Any

The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.

tags Mapping[str, str]

Resource tags.

id String

String Id used to locate any resource on Azure.

location String

The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.

name String

Name of this resource.

systemData Property Map

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type String

Type of this resource.

versions Map<Property Map>

High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'.

description String

Template Spec description.

displayName String

Template Spec display name.

metadata Any

The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.

tags Map<String>

Resource tags.

Supporting Types

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.

TemplateSpecVersionInfoResponse

Description string

Template Spec version description.

TimeCreated string

The timestamp of when the version was created.

TimeModified string

The timestamp of when the version was last modified.

Description string

Template Spec version description.

TimeCreated string

The timestamp of when the version was created.

TimeModified string

The timestamp of when the version was last modified.

description String

Template Spec version description.

timeCreated String

The timestamp of when the version was created.

timeModified String

The timestamp of when the version was last modified.

description string

Template Spec version description.

timeCreated string

The timestamp of when the version was created.

timeModified string

The timestamp of when the version was last modified.

description str

Template Spec version description.

time_created str

The timestamp of when the version was created.

time_modified str

The timestamp of when the version was last modified.

description String

Template Spec version description.

timeCreated String

The timestamp of when the version was created.

timeModified String

The timestamp of when the version was last modified.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0