ArmResourcesModelFactory.TemplateSpecData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TemplateSpecData.
public static Azure.ResourceManager.Resources.TemplateSpecData TemplateSpecData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, string displayName = default, BinaryData metadata = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.ResourceManager.Resources.Models.TemplateSpecVersionInfo> versions = default);
static member TemplateSpecData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.AzureLocation * System.Collections.Generic.IDictionary<string, string> * string * string * BinaryData * System.Collections.Generic.IReadOnlyDictionary<string, Azure.ResourceManager.Resources.Models.TemplateSpecVersionInfo> -> Azure.ResourceManager.Resources.TemplateSpecData
Public Shared Function TemplateSpecData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As AzureLocation = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional displayName As String = Nothing, Optional metadata As BinaryData = Nothing, Optional versions As IReadOnlyDictionary(Of String, TemplateSpecVersionInfo) = Nothing) As TemplateSpecData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- location
- AzureLocation
The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.
- tags
- IDictionary<String,String>
Resource tags.
- description
- String
Template Spec description.
- displayName
- String
Template Spec display name.
- metadata
- BinaryData
The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.
- versions
- IReadOnlyDictionary<String,TemplateSpecVersionInfo>
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'.
Returns
A new TemplateSpecData instance for mocking.