Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ComputeOperations

Package version

Interface representing a ComputeOperations.

Hierarchy

  • ComputeOperations

Implemented by

Index

Methods

beginCreateOrUpdate

beginCreateOrUpdateAndWait

  • Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • parameters: ComputeResource

      Payload with Machine Learning compute definition.

    • Optional options: ComputeCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<ComputeCreateOrUpdateResponse>

beginDelete

  • Deletes specified Machine Learning compute.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • underlyingResourceAction: UnderlyingResourceAction

      Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.

    • Optional options: ComputeDeleteOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginDeleteAndWait

  • Deletes specified Machine Learning compute.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • underlyingResourceAction: UnderlyingResourceAction

      Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.

    • Optional options: ComputeDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

beginRestart

  • beginRestart(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeRestartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
  • Posts a restart action to a compute instance

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • Optional options: ComputeRestartOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginRestartAndWait

  • beginRestartAndWait(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeRestartOptionalParams): Promise<void>
  • Posts a restart action to a compute instance

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • Optional options: ComputeRestartOptionalParams

      The options parameters.

    Returns Promise<void>

beginStart

  • beginStart(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
  • Posts a start action to a compute instance

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • Optional options: ComputeStartOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginStartAndWait

  • beginStartAndWait(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStartOptionalParams): Promise<void>
  • Posts a start action to a compute instance

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • Optional options: ComputeStartOptionalParams

      The options parameters.

    Returns Promise<void>

beginStop

  • beginStop(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
  • Posts a stop action to a compute instance

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • Optional options: ComputeStopOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginStopAndWait

  • beginStopAndWait(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStopOptionalParams): Promise<void>
  • Posts a stop action to a compute instance

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • Optional options: ComputeStopOptionalParams

      The options parameters.

    Returns Promise<void>

beginUpdate

beginUpdateAndWait

  • Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • parameters: ClusterUpdateParameters

      Additional parameters for cluster update.

    • Optional options: ComputeUpdateOptionalParams

      The options parameters.

    Returns Promise<ComputeUpdateResponse>

get

  • Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • Optional options: ComputeGetOptionalParams

      The options parameters.

    Returns Promise<ComputeGetResponse>

list

listKeys

  • Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • Optional options: ComputeListKeysOptionalParams

      The options parameters.

    Returns Promise<ComputeListKeysResponse>

listNodes

  • Get the details (e.g IP address, port etc) of all the compute nodes in the compute.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • workspaceName: string

      Name of Azure Machine Learning workspace.

    • computeName: string

      Name of the Azure Machine Learning compute.

    • Optional options: ComputeListNodesOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<AmlComputeNodeInformation>

Generated using TypeDoc