共用方式為


TemplateSpecsOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a Template Spec.

public static Microsoft.Azure.Management.ResourceManager.Models.TemplateSpec CreateOrUpdate (this Microsoft.Azure.Management.ResourceManager.ITemplateSpecsOperations operations, string resourceGroupName, string templateSpecName, Microsoft.Azure.Management.ResourceManager.Models.TemplateSpec templateSpec);
static member CreateOrUpdate : Microsoft.Azure.Management.ResourceManager.ITemplateSpecsOperations * string * string * Microsoft.Azure.Management.ResourceManager.Models.TemplateSpec -> Microsoft.Azure.Management.ResourceManager.Models.TemplateSpec
<Extension()>
Public Function CreateOrUpdate (operations As ITemplateSpecsOperations, resourceGroupName As String, templateSpecName As String, templateSpec As TemplateSpec) As TemplateSpec

Parameters

operations
ITemplateSpecsOperations

The operations group for this extension method.

resourceGroupName
String

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

templateSpecName
String

Name of the Template Spec.

templateSpec
TemplateSpec

Template Spec supplied to the operation.

Returns

Applies to