GoalAssignmentsOperations interface

Interface representing a GoalAssignments operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginRecommendCapacity
beginRecommendCapacityAndWait
beginRefreshGoalResources
beginRefreshGoalResourcesAndWait
beginUpdate
beginUpdateAndWait
beginUpdateGoalResources
beginUpdateGoalResourcesAndWait
createOrUpdate

Create a GoalAssignment

delete

Delete a GoalAssignment

get

Get a GoalAssignment

list

List GoalAssignment resources by tenant

recommendCapacity

Recommends capacity improvements for resources under the goal assignments scope. Returns AI-powered capacity assessments and recommendations.

refreshGoalResources

Refreshes the goal resources under a goal assignment. This operation scans for new resources under the scope of the assignment.

update

Update a GoalAssignment

updateGoalResources

Action to exclude a resource from goal assignment.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (serviceGroupName: string, goalAssignmentName: string, resource: GoalAssignment, options?: GoalAssignmentsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(serviceGroupName: string, goalAssignmentName: string, resource: GoalAssignment, options?: GoalAssignmentsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (serviceGroupName: string, goalAssignmentName: string, resource: GoalAssignment, options?: GoalAssignmentsCreateOrUpdateOptionalParams) => Promise<void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, resource: GoalAssignment, options?: GoalAssignmentsCreateOrUpdateOptionalParams) => Promise<void>

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

(serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsDeleteOptionalParams) => Promise<void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsDeleteOptionalParams) => Promise<void>

beginRecommendCapacity

Warning

This API is now deprecated.

use recommendCapacity instead

beginRecommendCapacity: (serviceGroupName: string, goalAssignmentName: string, body: RecommendCapacityRequest, options?: GoalAssignmentsRecommendCapacityOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(serviceGroupName: string, goalAssignmentName: string, body: RecommendCapacityRequest, options?: GoalAssignmentsRecommendCapacityOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginRecommendCapacityAndWait

Warning

This API is now deprecated.

use recommendCapacity instead

beginRecommendCapacityAndWait: (serviceGroupName: string, goalAssignmentName: string, body: RecommendCapacityRequest, options?: GoalAssignmentsRecommendCapacityOptionalParams) => Promise<void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, body: RecommendCapacityRequest, options?: GoalAssignmentsRecommendCapacityOptionalParams) => Promise<void>

beginRefreshGoalResources

Warning

This API is now deprecated.

use refreshGoalResources instead

beginRefreshGoalResources: (serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsRefreshGoalResourcesOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsRefreshGoalResourcesOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginRefreshGoalResourcesAndWait

Warning

This API is now deprecated.

use refreshGoalResources instead

beginRefreshGoalResourcesAndWait: (serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsRefreshGoalResourcesOptionalParams) => Promise<void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsRefreshGoalResourcesOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (serviceGroupName: string, goalAssignmentName: string, properties: GoalAssignment, options?: GoalAssignmentsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(serviceGroupName: string, goalAssignmentName: string, properties: GoalAssignment, options?: GoalAssignmentsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (serviceGroupName: string, goalAssignmentName: string, properties: GoalAssignment, options?: GoalAssignmentsUpdateOptionalParams) => Promise<void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, properties: GoalAssignment, options?: GoalAssignmentsUpdateOptionalParams) => Promise<void>

beginUpdateGoalResources

Warning

This API is now deprecated.

use updateGoalResources instead

beginUpdateGoalResources: (serviceGroupName: string, goalAssignmentName: string, body: UpdateGoalResourceRequest, options?: GoalAssignmentsUpdateGoalResourcesOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(serviceGroupName: string, goalAssignmentName: string, body: UpdateGoalResourceRequest, options?: GoalAssignmentsUpdateGoalResourcesOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginUpdateGoalResourcesAndWait

Warning

This API is now deprecated.

use updateGoalResources instead

beginUpdateGoalResourcesAndWait: (serviceGroupName: string, goalAssignmentName: string, body: UpdateGoalResourceRequest, options?: GoalAssignmentsUpdateGoalResourcesOptionalParams) => Promise<void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, body: UpdateGoalResourceRequest, options?: GoalAssignmentsUpdateGoalResourcesOptionalParams) => Promise<void>

createOrUpdate

Create a GoalAssignment

createOrUpdate: (serviceGroupName: string, goalAssignmentName: string, resource: GoalAssignment, options?: GoalAssignmentsCreateOrUpdateOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, resource: GoalAssignment, options?: GoalAssignmentsCreateOrUpdateOptionalParams) => PollerLike<OperationState<void>, void>

delete

Delete a GoalAssignment

delete: (serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get a GoalAssignment

get: (serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsGetOptionalParams) => Promise<GoalAssignment>

Property Value

(serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsGetOptionalParams) => Promise<GoalAssignment>

list

List GoalAssignment resources by tenant

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

Property Value

(serviceGroupName: string, options?: GoalAssignmentsListOptionalParams) => PagedAsyncIterableIterator<GoalAssignment, GoalAssignment[], PageSettings>

recommendCapacity

Recommends capacity improvements for resources under the goal assignments scope. Returns AI-powered capacity assessments and recommendations.

recommendCapacity: (serviceGroupName: string, goalAssignmentName: string, body: RecommendCapacityRequest, options?: GoalAssignmentsRecommendCapacityOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, body: RecommendCapacityRequest, options?: GoalAssignmentsRecommendCapacityOptionalParams) => PollerLike<OperationState<void>, void>

refreshGoalResources

Refreshes the goal resources under a goal assignment. This operation scans for new resources under the scope of the assignment.

refreshGoalResources: (serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsRefreshGoalResourcesOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, options?: GoalAssignmentsRefreshGoalResourcesOptionalParams) => PollerLike<OperationState<void>, void>

update

Update a GoalAssignment

update: (serviceGroupName: string, goalAssignmentName: string, properties: GoalAssignment, options?: GoalAssignmentsUpdateOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, properties: GoalAssignment, options?: GoalAssignmentsUpdateOptionalParams) => PollerLike<OperationState<void>, void>

updateGoalResources

Action to exclude a resource from goal assignment.

updateGoalResources: (serviceGroupName: string, goalAssignmentName: string, body: UpdateGoalResourceRequest, options?: GoalAssignmentsUpdateGoalResourcesOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(serviceGroupName: string, goalAssignmentName: string, body: UpdateGoalResourceRequest, options?: GoalAssignmentsUpdateGoalResourcesOptionalParams) => PollerLike<OperationState<void>, void>