WorkloadSpacesOperations interface

Interface representing a WorkloadSpaces operations.

Properties

createOrUpdate

Creates or replaces a workload space.

delete

Deletes a workload space and its owned resources.

get

Gets a workload space.

listByResourceGroup

Lists workload spaces in a resource group.

listBySubscription

Lists workload spaces in a subscription.

update

Updates mutable workload space properties.

Property Details

createOrUpdate

Creates or replaces a workload space.

createOrUpdate: (resourceGroupName: string, spaceName: string, resource: WorkloadSpace, options?: WorkloadSpacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<WorkloadSpace>, WorkloadSpace>

Property Value

(resourceGroupName: string, spaceName: string, resource: WorkloadSpace, options?: WorkloadSpacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<WorkloadSpace>, WorkloadSpace>

delete

Deletes a workload space and its owned resources.

delete: (resourceGroupName: string, spaceName: string, options?: WorkloadSpacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, spaceName: string, options?: WorkloadSpacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a workload space.

get: (resourceGroupName: string, spaceName: string, options?: WorkloadSpacesGetOptionalParams) => Promise<WorkloadSpace>

Property Value

(resourceGroupName: string, spaceName: string, options?: WorkloadSpacesGetOptionalParams) => Promise<WorkloadSpace>

listByResourceGroup

Lists workload spaces in a resource group.

listByResourceGroup: (resourceGroupName: string, options?: WorkloadSpacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<WorkloadSpace, WorkloadSpace[], PageSettings>

Property Value

(resourceGroupName: string, options?: WorkloadSpacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<WorkloadSpace, WorkloadSpace[], PageSettings>

listBySubscription

Lists workload spaces in a subscription.

listBySubscription: (options?: WorkloadSpacesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<WorkloadSpace, WorkloadSpace[], PageSettings>

Property Value

(options?: WorkloadSpacesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<WorkloadSpace, WorkloadSpace[], PageSettings>

update

Updates mutable workload space properties.

update: (resourceGroupName: string, spaceName: string, properties: WorkloadSpaceUpdate, options?: WorkloadSpacesUpdateOptionalParams) => PollerLike<OperationState<WorkloadSpace>, WorkloadSpace>

Property Value

(resourceGroupName: string, spaceName: string, properties: WorkloadSpaceUpdate, options?: WorkloadSpacesUpdateOptionalParams) => PollerLike<OperationState<WorkloadSpace>, WorkloadSpace>