Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Labs

Package version

Class representing a Labs.

Hierarchy

  • Labs

Index

Constructors

constructor

Methods

addUsers

  • addUsers(resourceGroupName: string, labAccountName: string, labName: string, addUsersPayload: AddUsersPayload, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • addUsers(resourceGroupName: string, labAccountName: string, labName: string, addUsersPayload: AddUsersPayload, callback: msRest.ServiceCallback<void>): void
  • addUsers(resourceGroupName: string, labAccountName: string, labName: string, addUsersPayload: AddUsersPayload, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Add users to a lab

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • addUsersPayload: AddUsersPayload

      Payload for Add Users operation on a Lab.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • addUsersPayload: AddUsersPayload

      Payload for Add Users operation on a Lab.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • addUsersPayload: AddUsersPayload

      Payload for Add Users operation on a Lab.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

beginDeleteMethod

  • beginDeleteMethod(resourceGroupName: string, labAccountName: string, labName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Delete lab. This operation can take a while to complete

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, labAccountName: string, labName: string, lab: Lab, options?: msRest.RequestOptionsBase): Promise<Models.LabsCreateOrUpdateResponse>
  • createOrUpdate(resourceGroupName: string, labAccountName: string, labName: string, lab: Lab, callback: msRest.ServiceCallback<Lab>): void
  • createOrUpdate(resourceGroupName: string, labAccountName: string, labName: string, lab: Lab, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Lab>): void
  • Create or replace an existing Lab.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • lab: Lab

      Represents a lab.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LabsCreateOrUpdateResponse>

    Promise<Models.LabsCreateOrUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • lab: Lab

      Represents a lab.

    • callback: msRest.ServiceCallback<Lab>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • lab: Lab

      Represents a lab.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Lab>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, labAccountName: string, labName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Delete lab. This operation can take a while to complete

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

get

  • get(resourceGroupName: string, labAccountName: string, labName: string, options?: Models.LabsGetOptionalParams): Promise<Models.LabsGetResponse>
  • get(resourceGroupName: string, labAccountName: string, labName: string, callback: msRest.ServiceCallback<Lab>): void
  • get(resourceGroupName: string, labAccountName: string, labName: string, options: LabsGetOptionalParams, callback: msRest.ServiceCallback<Lab>): void
  • Get lab

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • Optional options: Models.LabsGetOptionalParams

    Returns Promise<Models.LabsGetResponse>

    Promise<Models.LabsGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • callback: msRest.ServiceCallback<Lab>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • options: LabsGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<Lab>

      The callback

    Returns void

list

  • list(resourceGroupName: string, labAccountName: string, options?: Models.LabsListOptionalParams): Promise<Models.LabsListResponse>
  • list(resourceGroupName: string, labAccountName: string, callback: msRest.ServiceCallback<ResponseWithContinuationLab>): void
  • list(resourceGroupName: string, labAccountName: string, options: LabsListOptionalParams, callback: msRest.ServiceCallback<ResponseWithContinuationLab>): void
  • List labs in a given lab account.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • Optional options: Models.LabsListOptionalParams

    Returns Promise<Models.LabsListResponse>

    Promise<Models.LabsListResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • callback: msRest.ServiceCallback<ResponseWithContinuationLab>

      The callback

    Returns void

  • Parameters

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.LabsListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<ResponseWithContinuationLab>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ResponseWithContinuationLab>): void
  • List labs in a given lab account.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LabsListNextResponse>

    Promise<Models.LabsListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<ResponseWithContinuationLab>

      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<ResponseWithContinuationLab>

      The callback

    Returns void

register

  • register(resourceGroupName: string, labAccountName: string, labName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • register(resourceGroupName: string, labAccountName: string, labName: string, callback: msRest.ServiceCallback<void>): void
  • register(resourceGroupName: string, labAccountName: string, labName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Register to managed lab.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

update

  • update(resourceGroupName: string, labAccountName: string, labName: string, lab: LabFragment, options?: msRest.RequestOptionsBase): Promise<Models.LabsUpdateResponse>
  • update(resourceGroupName: string, labAccountName: string, labName: string, lab: LabFragment, callback: msRest.ServiceCallback<Lab>): void
  • update(resourceGroupName: string, labAccountName: string, labName: string, lab: LabFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Lab>): void
  • Modify properties of labs.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • lab: LabFragment

      Represents a lab.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LabsUpdateResponse>

    Promise<Models.LabsUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • lab: LabFragment

      Represents a lab.

    • callback: msRest.ServiceCallback<Lab>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labAccountName: string

      The name of the lab Account.

    • labName: string

      The name of the lab.

    • lab: LabFragment

      Represents a lab.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Lab>

      The callback

    Returns void

Generated using TypeDoc