@azure/arm-computeschedule package
Classes
| ComputeScheduleClient |
Interfaces
| CancelOccurrenceRequest |
The request to cancel an occurrence. |
| CancelOperationsRequest |
This is the request to cancel running operations in scheduled actions using the operation ids |
| CancelOperationsResponse |
This is the response from a cancel operations request |
| ComputeScheduleClientOptionalParams |
Optional parameters for the client. |
| CreateResourceOperationResponse |
The response from a create request |
| DeallocateResourceOperationResponse |
The response from a deallocate request |
| DelayRequest |
Request to ask for a delay in an occurrence, delay should be set to client local time eg (ACST) 2025-05-30T22:03:00+09:30, (PST) 2025-05-30T06:35:00-07:00 |
| DeleteResourceOperationResponse |
The response from a delete request |
| ErrorAdditionalInfo |
The resource management error additional info. |
| ErrorDetail |
The error detail. |
| ErrorResponse |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. |
| ExecuteCreateRequest |
The ExecuteCreateRequest request for create operations |
| ExecuteDeallocateRequest |
The ExecuteDeallocateRequest request for executeDeallocate operations |
| ExecuteDeleteRequest |
The ExecuteDeleteRequest for delete VM operation |
| ExecuteHibernateRequest |
The ExecuteHibernateRequest request for executeHibernate operations |
| ExecuteStartRequest |
The ExecuteStartRequest request for executeStart operations |
| ExecutionParameters |
Extra details needed to run the user's request |
| ExtensionResource |
The base extension resource. |
| GetOperationErrorsRequest |
This is the request to get errors per vm operations |
| GetOperationErrorsResponse |
This is the response from a get operations errors request |
| GetOperationStatusRequest |
This is the request to get operation status using operationids |
| GetOperationStatusResponse |
This is the response from a get operations status request |
| HibernateResourceOperationResponse |
The response from a Hibernate request |
| NotificationProperties |
The information about notifications to be send to about upcoming operations. |
| Occurrence |
Concrete proxy resource types can be created by aliasing this type using a specific property type. |
| OccurrenceExtensionListOccurrenceByVmsOptionalParams |
Optional parameters. |
| OccurrenceExtensionOperations |
Interface representing a OccurrenceExtension operations. |
| OccurrenceExtensionProperties |
The properties of the occurrence extension |
| OccurrenceExtensionResource |
The scheduled action extension |
| OccurrenceProperties |
Properties for an occurrence |
| OccurrenceResource |
Represents an scheduled action resource metadata. |
| OccurrenceResultSummary |
The summarized provisioning result of an occurrence |
| OccurrencesCancelOptionalParams |
Optional parameters. |
| OccurrencesDelayOptionalParams |
Optional parameters. |
| OccurrencesGetOptionalParams |
Optional parameters. |
| OccurrencesListByScheduledActionOptionalParams |
Optional parameters. |
| OccurrencesListResourcesOptionalParams |
Optional parameters. |
| OccurrencesOperations |
Interface representing a Occurrences operations. |
| Operation |
Details of a REST API operation, returned from the Resource Provider Operations API |
| OperationDisplay |
Localized display information for and operation. |
| OperationErrorDetails |
This defines a list of operation errors associated with a unique operationId |
| OperationErrorsResult |
This is the first level of operation errors from the request when clients get errors per vm operation |
| OperationsListOptionalParams |
Optional parameters. |
| OperationsOperations |
Interface representing a Operations operations. |
| PageSettings |
Options for the byPage method |
| PagedAsyncIterableIterator |
An interface that allows async iterable iteration both to completion and by page. |
| ProxyResource |
The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location |
| RecurringActionsResourceOperationResult |
The response from scheduled action resource requests, which contains the status of each resource |
| Resource |
Common fields that are returned in the response for all Azure Resource Manager resources |
| ResourceAttachRequest |
Request model to attach a list of scheduled action resources. |
| ResourceDetachRequest |
Request model to detach a list of scheduled action resources. |
| ResourceOperation |
High level response from an operation on a resource |
| ResourceOperationDetails |
The details of a response from an operation on a resource |
| ResourceOperationError |
These describe errors that occur at the resource level |
| ResourcePatchRequest |
Request model perform a resource operation in a list of resources |
| ResourceProvisionPayload |
Resource creation data model |
| ResourceResultSummary |
The status of the resources |
| ResourceStatus |
The status of a resource after a resource level operation was performed |
| Resources |
The resources needed for the user request |
| RestorePollerOptions | |
| RetryPolicy |
The retry policy for the user request |
| Schedule |
The schedule details for the user request |
| ScheduledAction |
The scheduled action resource |
| ScheduledActionExtensionListByVmsOptionalParams |
Optional parameters. |
| ScheduledActionExtensionOperations |
Interface representing a ScheduledActionExtension operations. |
| ScheduledActionProperties |
Scheduled action properties |
| ScheduledActionResource |
Represents an scheduled action resource metadata. |
| ScheduledActionResourceCreate |
Represents an scheduled action resource metadata. |
| ScheduledActionResources |
The scheduled action extension |
| ScheduledActionUpdate |
The type used for update operations of the ScheduledAction. |
| ScheduledActionUpdateProperties |
The updatable properties of the ScheduledAction. |
| ScheduledActionsAttachResourcesOptionalParams |
Optional parameters. |
| ScheduledActionsCancelNextOccurrenceOptionalParams |
Optional parameters. |
| ScheduledActionsCreateOrUpdateOptionalParams |
Optional parameters. |
| ScheduledActionsDeleteOptionalParams |
Optional parameters. |
| ScheduledActionsDetachResourcesOptionalParams |
Optional parameters. |
| ScheduledActionsDisableOptionalParams |
Optional parameters. |
| ScheduledActionsEnableOptionalParams |
Optional parameters. |
| ScheduledActionsGetOptionalParams |
Optional parameters. |
| ScheduledActionsListByResourceGroupOptionalParams |
Optional parameters. |
| ScheduledActionsListBySubscriptionOptionalParams |
Optional parameters. |
| ScheduledActionsListResourcesOptionalParams |
Optional parameters. |
| ScheduledActionsOperations |
Interface representing a ScheduledActions operations. |
| ScheduledActionsPatchResourcesOptionalParams |
Optional parameters. |
| ScheduledActionsSchedule |
Specify the schedule in which the scheduled action is supposed to follow |
| ScheduledActionsTriggerManualOccurrenceOptionalParams |
Optional parameters. |
| ScheduledActionsUpdateOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesCancelOperationsOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesExecuteCreateOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesExecuteDeallocateOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesExecuteDeleteOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesExecuteHibernateOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesExecuteStartOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesGetOperationErrorsOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesGetOperationStatusOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesSubmitDeallocateOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesSubmitHibernateOptionalParams |
Optional parameters. |
| ScheduledActionsVirtualMachinesSubmitStartOptionalParams |
Optional parameters. |
| StartResourceOperationResponse |
The response from a start request |
| SubmitDeallocateRequest |
The deallocate request for resources |
| SubmitHibernateRequest |
This is the request for hibernate |
| SubmitStartRequest |
This is the request for start |
| SystemData |
Metadata pertaining to creation and last modification of the resource. |
| TrackedResource |
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' |
Type Aliases
| ActionType |
Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. Known values supported by the serviceInternal: Actions are for internal-only APIs. |
| AzureSupportedClouds |
The supported values for cloud setting as a string literal type |
| ContinuablePage |
An interface that describes a page of results. |
| CreatedByType |
The kind of entity that created the resource. Known values supported by the serviceUser: The entity was created by a user. |
| DeadlineType |
The types of deadlines supported by ScheduledActions Known values supported by the serviceUnknown: Default value of Unknown. |
| Language |
The notification languages currently supported Known values supported by the serviceen-us: American english language |
| Month |
Representation of the months available selection in a gregorian calendar Known values supported by the serviceJanuary: The January month. |
| NotificationType |
The type of notification supported Known values supported by the serviceEmail: Notify through e-mail |
| OccurrenceState |
The state the occurrence is at a given time Known values supported by the serviceCreated: The occurrence was created |
| OperationState |
Values that define the states of operations in Scheduled Actions Known values supported by the serviceUnknown: The default value for the operation state enum |
| OptimizationPreference |
The preferences customers can select to optimize their requests to ScheduledActions Known values supported by the serviceCost: Optimize while considering cost savings |
| Origin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" Known values supported by the serviceuser: Indicates the operation is initiated by a user. |
| ProvisioningState |
Provisioning state Known values supported by the serviceSucceeded: Resource has been created. |
| ResourceOperationStatus |
The state the resource is on after the resource operation is applied Known values supported by the serviceSucceeded: The resource operation was successful |
| ResourceOperationType |
The kind of operation types that can be performed on resources using ScheduledActions Known values supported by the serviceUnknown: The default value for this enum type |
| ResourceProvisioningState |
The provisioning state of a resource type. Known values supported by the serviceSucceeded: Resource has been created. |
| ResourceType |
The type of resource being targeted Known values supported by the serviceVirtualMachine: Resources defined are Virtual Machines |
| ScheduledActionType |
Specify which action user wants to be performed on the resources Known values supported by the serviceStart: Perform a start action on the specified resources |
| WeekDay |
Representation of the possible selection of days in a week in a gregorian calendar Known values supported by the serviceMonday: Monday weekday. |
Enums
| AzureClouds |
An enum to describe Azure Cloud. |
| KnownActionType |
Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. |
| KnownCreatedByType |
The kind of entity that created the resource. |
| KnownDeadlineType |
The types of deadlines supported by ScheduledActions |
| KnownLanguage |
The notification languages currently supported |
| KnownMonth |
Representation of the months available selection in a gregorian calendar |
| KnownNotificationType |
The type of notification supported |
| KnownOccurrenceState |
The state the occurrence is at a given time |
| KnownOperationState |
Values that define the states of operations in Scheduled Actions |
| KnownOptimizationPreference |
The preferences customers can select to optimize their requests to ScheduledActions |
| KnownOrigin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" |
| KnownProvisioningState |
Provisioning state |
| KnownResourceOperationStatus |
The state the resource is on after the resource operation is applied |
| KnownResourceOperationType |
The kind of operation types that can be performed on resources using ScheduledActions |
| KnownResourceProvisioningState |
The provisioning state of a resource type. |
| KnownResourceType |
The type of resource being targeted |
| KnownScheduledActionType |
Specify which action user wants to be performed on the resources |
| KnownVersions |
ComputeSchedule API versions |
| KnownWeekDay |
Representation of the possible selection of days in a week in a gregorian calendar |
Functions
| restore |
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope. |
Function Details
restorePoller<TResponse, TResult>(ComputeScheduleClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.
function restorePoller<TResponse, TResult>(client: ComputeScheduleClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>
Parameters
- client
- ComputeScheduleClient
- serializedState
-
string
- sourceOperation
-
(args: any[]) => PollerLike<OperationState<TResult>, TResult>
- options
-
RestorePollerOptions<TResult, PathUncheckedResponse>
Returns
PollerLike<OperationState<TResult>, TResult>