These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.resources.getTemplateSpec
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets a Template Spec with a given name. 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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Template
Spec stringName - Name of the Template Spec.
- Expand string
- Allows for expansion of additional Template Spec details in the response. Optional.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Template
Spec stringName - Name of the Template Spec.
- Expand string
- Allows for expansion of additional Template Spec details in the response. Optional.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- template
Spec StringName - Name of the Template Spec.
- expand String
- Allows for expansion of additional Template Spec details in the response. Optional.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- template
Spec stringName - Name of the Template Spec.
- expand string
- Allows for expansion of additional Template Spec details in the response. Optional.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- template_
spec_ strname - Name of the Template Spec.
- expand str
- Allows for expansion of additional Template Spec details in the response. Optional.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- template
Spec StringName - 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.
- 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.
- Versions
Dictionary<string, Pulumi.
Azure Native. Resources. Outputs. Template Spec Version Info Response> - 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.
- Display
Name 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.
- 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.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Type of this resource.
- Versions
map[string]Template
Spec Version Info Response - 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.
- Display
Name 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.
- 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.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Type of this resource.
- versions
Map<String,Template
Spec Version Info Response> - 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.
- display
Name 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.
- 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.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- Type of this resource.
- versions
{[key: string]: Template
Spec Version Info Response} - 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.
- display
Name 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.
- {[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 SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- Type of this resource.
- versions
Mapping[str, Template
Spec Version Info Response] - 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.
- 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.
- system
Data 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.
- display
Name 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.
- Map<String>
- Resource tags.
Supporting Types
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.
TemplateSpecVersionInfoResponse
- Description string
- Template Spec version description.
- Time
Created string - The timestamp of when the version was created.
- Time
Modified string - The timestamp of when the version was last modified.
- Description string
- Template Spec version description.
- Time
Created string - The timestamp of when the version was created.
- Time
Modified string - The timestamp of when the version was last modified.
- description String
- Template Spec version description.
- time
Created String - The timestamp of when the version was created.
- time
Modified String - The timestamp of when the version was last modified.
- description string
- Template Spec version description.
- time
Created string - The timestamp of when the version was created.
- time
Modified 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.
- time
Created String - The timestamp of when the version was created.
- time
Modified String - The timestamp of when the version was last modified.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi