TemplateSpecVersions interface

Interface representing a TemplateSpecVersions.

Methods

createOrUpdate(string, string, string, TemplateSpecVersion, TemplateSpecVersionsCreateOrUpdateOptionalParams)

Creates or updates a Template Spec version.

delete(string, string, string, TemplateSpecVersionsDeleteOptionalParams)

Deletes a specific version from a Template Spec. When operation completes, status code 200 returned without content.

get(string, string, string, TemplateSpecVersionsGetOptionalParams)

Gets a Template Spec version from a specific Template Spec.

list(string, string, TemplateSpecVersionsListOptionalParams)

Lists all the Template Spec versions in the specified Template Spec.

update(string, string, string, TemplateSpecVersionsUpdateOptionalParams)

Updates Template Spec Version tags with specified values.

Method Details

createOrUpdate(string, string, string, TemplateSpecVersion, TemplateSpecVersionsCreateOrUpdateOptionalParams)

Creates or updates a Template Spec version.

function createOrUpdate(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, templateSpecVersionModel: TemplateSpecVersion, options?: TemplateSpecVersionsCreateOrUpdateOptionalParams): Promise<TemplateSpecVersion>

Parameters

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.

templateSpecVersionModel
TemplateSpecVersion

Template Spec Version supplied to the operation.

options
TemplateSpecVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, TemplateSpecVersionsDeleteOptionalParams)

Deletes a specific version from a Template Spec. When operation completes, status code 200 returned without content.

function delete(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, options?: TemplateSpecVersionsDeleteOptionalParams): Promise<void>

Parameters

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.

options
TemplateSpecVersionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, TemplateSpecVersionsGetOptionalParams)

Gets a Template Spec version from a specific Template Spec.

function get(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, options?: TemplateSpecVersionsGetOptionalParams): Promise<TemplateSpecVersion>

Parameters

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.

options
TemplateSpecVersionsGetOptionalParams

The options parameters.

Returns

list(string, string, TemplateSpecVersionsListOptionalParams)

Lists all the Template Spec versions in the specified Template Spec.

function list(resourceGroupName: string, templateSpecName: string, options?: TemplateSpecVersionsListOptionalParams): PagedAsyncIterableIterator<TemplateSpecVersion, TemplateSpecVersion[], PageSettings>

Parameters

resourceGroupName

string

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

templateSpecName

string

Name of the Template Spec.

options
TemplateSpecVersionsListOptionalParams

The options parameters.

Returns

update(string, string, string, TemplateSpecVersionsUpdateOptionalParams)

Updates Template Spec Version tags with specified values.

function update(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, options?: TemplateSpecVersionsUpdateOptionalParams): Promise<TemplateSpecVersion>

Parameters

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.

options
TemplateSpecVersionsUpdateOptionalParams

The options parameters.

Returns