GoalTemplatesOperations interface

Interface representing a GoalTemplates operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

Create a GoalTemplate

delete

Delete a GoalTemplate

get

Get a GoalTemplate

list

List GoalTemplate resources by tenant

update

Update a GoalTemplate

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (serviceGroupName: string, goalTemplateName: string, resource: GoalTemplate, options?: GoalTemplatesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<GoalTemplate>, GoalTemplate>>

Property Value

(serviceGroupName: string, goalTemplateName: string, resource: GoalTemplate, options?: GoalTemplatesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<GoalTemplate>, GoalTemplate>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (serviceGroupName: string, goalTemplateName: string, resource: GoalTemplate, options?: GoalTemplatesCreateOrUpdateOptionalParams) => Promise<GoalTemplate>

Property Value

(serviceGroupName: string, goalTemplateName: string, resource: GoalTemplate, options?: GoalTemplatesCreateOrUpdateOptionalParams) => Promise<GoalTemplate>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (serviceGroupName: string, goalTemplateName: string, options?: GoalTemplatesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(serviceGroupName: string, goalTemplateName: string, options?: GoalTemplatesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (serviceGroupName: string, goalTemplateName: string, options?: GoalTemplatesDeleteOptionalParams) => Promise<void>

Property Value

(serviceGroupName: string, goalTemplateName: string, options?: GoalTemplatesDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (serviceGroupName: string, goalTemplateName: string, properties: GoalTemplate, options?: GoalTemplatesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(serviceGroupName: string, goalTemplateName: string, properties: GoalTemplate, options?: GoalTemplatesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (serviceGroupName: string, goalTemplateName: string, properties: GoalTemplate, options?: GoalTemplatesUpdateOptionalParams) => Promise<void>

Property Value

(serviceGroupName: string, goalTemplateName: string, properties: GoalTemplate, options?: GoalTemplatesUpdateOptionalParams) => Promise<void>

createOrUpdate

Create a GoalTemplate

createOrUpdate: (serviceGroupName: string, goalTemplateName: string, resource: GoalTemplate, options?: GoalTemplatesCreateOrUpdateOptionalParams) => PollerLike<OperationState<GoalTemplate>, GoalTemplate>

Property Value

(serviceGroupName: string, goalTemplateName: string, resource: GoalTemplate, options?: GoalTemplatesCreateOrUpdateOptionalParams) => PollerLike<OperationState<GoalTemplate>, GoalTemplate>

delete

Delete a GoalTemplate

delete: (serviceGroupName: string, goalTemplateName: string, options?: GoalTemplatesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(serviceGroupName: string, goalTemplateName: string, options?: GoalTemplatesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get a GoalTemplate

get: (serviceGroupName: string, goalTemplateName: string, options?: GoalTemplatesGetOptionalParams) => Promise<GoalTemplate>

Property Value

(serviceGroupName: string, goalTemplateName: string, options?: GoalTemplatesGetOptionalParams) => Promise<GoalTemplate>

list

List GoalTemplate resources by tenant

list: (serviceGroupName: string, options?: GoalTemplatesListOptionalParams) => PagedAsyncIterableIterator<GoalTemplate, GoalTemplate[], PageSettings>

Property Value

(serviceGroupName: string, options?: GoalTemplatesListOptionalParams) => PagedAsyncIterableIterator<GoalTemplate, GoalTemplate[], PageSettings>

update

Update a GoalTemplate

update: (serviceGroupName: string, goalTemplateName: string, properties: GoalTemplate, options?: GoalTemplatesUpdateOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(serviceGroupName: string, goalTemplateName: string, properties: GoalTemplate, options?: GoalTemplatesUpdateOptionalParams) => PollerLike<OperationState<void>, void>