Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MachineGroups

Package version

Class representing a MachineGroups.

Hierarchy

  • MachineGroups

Index

Constructors

constructor

Methods

create

  • create(resourceGroupName: string, workspaceName: string, machineGroup: MachineGroup, options?: msRest.RequestOptionsBase): Promise<Models.MachineGroupsCreateResponse>
  • create(resourceGroupName: string, workspaceName: string, machineGroup: MachineGroup, callback: msRest.ServiceCallback<MachineGroup>): void
  • create(resourceGroupName: string, workspaceName: string, machineGroup: MachineGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<MachineGroup>): void
  • Creates a new machine group.

    Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroup: MachineGroup

      Machine Group resource to create.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.MachineGroupsCreateResponse>

    Promise<Models.MachineGroupsCreateResponse>

  • Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroup: MachineGroup

      Machine Group resource to create.

    • callback: msRest.ServiceCallback<MachineGroup>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroup: MachineGroup

      Machine Group resource to create.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<MachineGroup>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, workspaceName: string, machineGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, workspaceName: string, machineGroupName: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, workspaceName: string, machineGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Deletes the specified Machine Group.

    Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroupName: string

      Machine Group resource name.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroupName: string

      Machine Group resource name.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroupName: string

      Machine Group resource name.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, workspaceName: string, machineGroupName: string, options?: Models.MachineGroupsGetOptionalParams): Promise<Models.MachineGroupsGetResponse>
  • get(resourceGroupName: string, workspaceName: string, machineGroupName: string, callback: msRest.ServiceCallback<MachineGroup>): void
  • get(resourceGroupName: string, workspaceName: string, machineGroupName: string, options: MachineGroupsGetOptionalParams, callback: msRest.ServiceCallback<MachineGroup>): void
  • Returns the specified machine group as it existed during the specified time interval.

    Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroupName: string

      Machine Group resource name.

    • Optional options: Models.MachineGroupsGetOptionalParams

    Returns Promise<Models.MachineGroupsGetResponse>

    Promise<Models.MachineGroupsGetResponse>

  • Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroupName: string

      Machine Group resource name.

    • callback: msRest.ServiceCallback<MachineGroup>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroupName: string

      Machine Group resource name.

    • options: MachineGroupsGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<MachineGroup>

      The callback

    Returns void

listByWorkspace

  • listByWorkspace(resourceGroupName: string, workspaceName: string, options?: Models.MachineGroupsListByWorkspaceOptionalParams): Promise<Models.MachineGroupsListByWorkspaceResponse>
  • listByWorkspace(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback<MachineGroupCollection>): void
  • listByWorkspace(resourceGroupName: string, workspaceName: string, options: MachineGroupsListByWorkspaceOptionalParams, callback: msRest.ServiceCallback<MachineGroupCollection>): void
  • Returns all machine groups during the specified time interval.

    Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • Optional options: Models.MachineGroupsListByWorkspaceOptionalParams

    Returns Promise<Models.MachineGroupsListByWorkspaceResponse>

    Promise<Models.MachineGroupsListByWorkspaceResponse>

  • Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • callback: msRest.ServiceCallback<MachineGroupCollection>

      The callback

    Returns void

  • Parameters

    Returns void

listByWorkspaceNext

  • listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.MachineGroupsListByWorkspaceNextResponse>
  • listByWorkspaceNext(nextPageLink: string, callback: msRest.ServiceCallback<MachineGroupCollection>): void
  • listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<MachineGroupCollection>): void
  • Returns all machine groups during the specified time interval.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.MachineGroupsListByWorkspaceNextResponse>

    Promise<Models.MachineGroupsListByWorkspaceNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<MachineGroupCollection>

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

      The callback

    Returns void

update

  • update(resourceGroupName: string, workspaceName: string, machineGroupName: string, machineGroup: MachineGroup, options?: msRest.RequestOptionsBase): Promise<Models.MachineGroupsUpdateResponse>
  • update(resourceGroupName: string, workspaceName: string, machineGroupName: string, machineGroup: MachineGroup, callback: msRest.ServiceCallback<MachineGroup>): void
  • update(resourceGroupName: string, workspaceName: string, machineGroupName: string, machineGroup: MachineGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<MachineGroup>): void
  • Updates a machine group.

    Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroupName: string

      Machine Group resource name.

    • machineGroup: MachineGroup

      Machine Group resource to update.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.MachineGroupsUpdateResponse>

    Promise<Models.MachineGroupsUpdateResponse>

  • Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroupName: string

      Machine Group resource name.

    • machineGroup: MachineGroup

      Machine Group resource to update.

    • callback: msRest.ServiceCallback<MachineGroup>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      Resource group name within the specified subscriptionId.

    • workspaceName: string

      OMS workspace containing the resources of interest.

    • machineGroupName: string

      Machine Group resource name.

    • machineGroup: MachineGroup

      Machine Group resource to update.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<MachineGroup>

      The callback

    Returns void

Generated using TypeDoc