TemplateSpecs interface
Interface representing a TemplateSpecs.
Methods
create |
Creates or updates a Template Spec. |
delete(string, string, Template |
Deletes a Template Spec by name. When operation completes, status code 200 returned without content. |
get(string, string, Template |
Gets a Template Spec with a given name. |
list |
Lists all the Template Specs within the specified resource group. |
list |
Lists all the Template Specs within the specified subscriptions. |
update(string, string, Template |
Updates Template Spec tags with specified values. |
Method Details
createOrUpdate(string, string, TemplateSpec, TemplateSpecsCreateOrUpdateOptionalParams)
Creates or updates a Template Spec.
function createOrUpdate(resourceGroupName: string, templateSpecName: string, templateSpec: TemplateSpec, options?: TemplateSpecsCreateOrUpdateOptionalParams): Promise<TemplateSpec>
Parameters
- 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.
The options parameters.
Returns
Promise<TemplateSpec>
delete(string, string, TemplateSpecsDeleteOptionalParams)
Deletes a Template Spec by name. When operation completes, status code 200 returned without content.
function delete(resourceGroupName: string, templateSpecName: string, options?: TemplateSpecsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- templateSpecName
-
string
Name of the Template Spec.
The options parameters.
Returns
Promise<void>
get(string, string, TemplateSpecsGetOptionalParams)
Gets a Template Spec with a given name.
function get(resourceGroupName: string, templateSpecName: string, options?: TemplateSpecsGetOptionalParams): Promise<TemplateSpec>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- templateSpecName
-
string
Name of the Template Spec.
- options
- TemplateSpecsGetOptionalParams
The options parameters.
Returns
Promise<TemplateSpec>
listByResourceGroup(string, TemplateSpecsListByResourceGroupOptionalParams)
Lists all the Template Specs within the specified resource group.
function listByResourceGroup(resourceGroupName: string, options?: TemplateSpecsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<TemplateSpec, TemplateSpec[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(TemplateSpecsListBySubscriptionOptionalParams)
Lists all the Template Specs within the specified subscriptions.
function listBySubscription(options?: TemplateSpecsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<TemplateSpec, TemplateSpec[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, TemplateSpecsUpdateOptionalParams)
Updates Template Spec tags with specified values.
function update(resourceGroupName: string, templateSpecName: string, options?: TemplateSpecsUpdateOptionalParams): Promise<TemplateSpec>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- templateSpecName
-
string
Name of the Template Spec.
The options parameters.
Returns
Promise<TemplateSpec>