ContentTemplateOperations interface

Interface representing a ContentTemplate operations.

Properties

delete

Delete an installed template.

get

Gets a template byt its identifier. Expandable properties:

  • properties/mainTemplate
  • properties/dependantTemplates
install

Install a template.

Property Details

delete

Delete an installed template.

delete: (resourceGroupName: string, workspaceName: string, templateId: string, options?: ContentTemplateDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, workspaceName: string, templateId: string, options?: ContentTemplateDeleteOptionalParams) => Promise<void>

get

Gets a template byt its identifier. Expandable properties:

  • properties/mainTemplate
  • properties/dependantTemplates
get: (resourceGroupName: string, workspaceName: string, templateId: string, options?: ContentTemplateGetOptionalParams) => Promise<TemplateModel>

Property Value

(resourceGroupName: string, workspaceName: string, templateId: string, options?: ContentTemplateGetOptionalParams) => Promise<TemplateModel>

install

Install a template.

install: (resourceGroupName: string, workspaceName: string, templateId: string, templateInstallationProperties: TemplateModel, options?: ContentTemplateInstallOptionalParams) => Promise<TemplateModel>

Property Value

(resourceGroupName: string, workspaceName: string, templateId: string, templateInstallationProperties: TemplateModel, options?: ContentTemplateInstallOptionalParams) => Promise<TemplateModel>