Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VirtualMachineSchedules

Package version

Class representing a VirtualMachineSchedules.

Hierarchy

  • VirtualMachineSchedules

Index

Constructors

constructor

Methods

beginExecute

  • beginExecute(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Execute a schedule. This operation can take a while to complete.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: Schedule, options?: msRest.RequestOptionsBase): Promise<Models.VirtualMachineSchedulesCreateOrUpdateResponse>
  • createOrUpdate(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: Schedule, callback: msRest.ServiceCallback<Schedule>): void
  • createOrUpdate(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: Schedule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Schedule>): void
  • Create or replace an existing schedule.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • schedule: Schedule

      A schedule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VirtualMachineSchedulesCreateOrUpdateResponse>

    Promise<Models.VirtualMachineSchedulesCreateOrUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • schedule: Schedule

      A schedule.

    • callback: msRest.ServiceCallback<Schedule>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • schedule: Schedule

      A schedule.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Schedule>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Delete schedule.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

execute

  • execute(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Execute a schedule. This operation can take a while to complete.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

get

  • get(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options?: Models.VirtualMachineSchedulesGetOptionalParams): Promise<Models.VirtualMachineSchedulesGetResponse>
  • get(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, callback: msRest.ServiceCallback<Schedule>): void
  • get(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, options: VirtualMachineSchedulesGetOptionalParams, callback: msRest.ServiceCallback<Schedule>): void
  • Get schedule.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • Optional options: Models.VirtualMachineSchedulesGetOptionalParams

    Returns Promise<Models.VirtualMachineSchedulesGetResponse>

    Promise<Models.VirtualMachineSchedulesGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • callback: msRest.ServiceCallback<Schedule>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • options: VirtualMachineSchedulesGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<Schedule>

      The callback

    Returns void

list

  • list(resourceGroupName: string, labName: string, virtualMachineName: string, options?: Models.VirtualMachineSchedulesListOptionalParams): Promise<Models.VirtualMachineSchedulesListResponse>
  • list(resourceGroupName: string, labName: string, virtualMachineName: string, callback: msRest.ServiceCallback<ScheduleList>): void
  • list(resourceGroupName: string, labName: string, virtualMachineName: string, options: VirtualMachineSchedulesListOptionalParams, callback: msRest.ServiceCallback<ScheduleList>): void
  • List schedules in a given virtual machine.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • Optional options: Models.VirtualMachineSchedulesListOptionalParams

    Returns Promise<Models.VirtualMachineSchedulesListResponse>

    Promise<Models.VirtualMachineSchedulesListResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • callback: msRest.ServiceCallback<ScheduleList>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • options: VirtualMachineSchedulesListOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<ScheduleList>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualMachineSchedulesListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<ScheduleList>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ScheduleList>): void
  • List schedules in a given virtual machine.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VirtualMachineSchedulesListNextResponse>

    Promise<Models.VirtualMachineSchedulesListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<ScheduleList>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ScheduleList>

      The callback

    Returns void

update

  • update(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: ScheduleFragment, options?: msRest.RequestOptionsBase): Promise<Models.VirtualMachineSchedulesUpdateResponse>
  • update(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: ScheduleFragment, callback: msRest.ServiceCallback<Schedule>): void
  • update(resourceGroupName: string, labName: string, virtualMachineName: string, name: string, schedule: ScheduleFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Schedule>): void
  • Modify properties of schedules.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • schedule: ScheduleFragment

      A schedule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VirtualMachineSchedulesUpdateResponse>

    Promise<Models.VirtualMachineSchedulesUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • schedule: ScheduleFragment

      A schedule.

    • callback: msRest.ServiceCallback<Schedule>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • virtualMachineName: string

      The name of the virtual machine.

    • name: string

      The name of the schedule.

    • schedule: ScheduleFragment

      A schedule.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Schedule>

      The callback

    Returns void

Generated using TypeDoc