ComputeResource Interface

public interface ComputeResource

An immutable client-side representation of ComputeResource.

Method Summary

Modifier and Type Method and Description
abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract Identity identity()

Gets the identity property: The identity of the resource.

abstract ComputeResourceInner innerModel()

Gets the inner com.azure.resourcemanager.machinelearningservices.fluent.models.ComputeResourceInner object.

abstract ComputeSecrets listKeys()

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

abstract Response<ComputeSecrets> listKeysWithResponse(Context context)

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

abstract PagedIterable<AmlComputeNodeInformation> listNodes()

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

abstract PagedIterable<AmlComputeNodeInformation> listNodes(Context context)

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

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract Compute properties()

Gets the properties property: Compute properties.

abstract ComputeResource refresh()

Refreshes the resource to sync with Azure.

abstract ComputeResource refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract void restart()

Posts a restart action to a compute instance.

abstract Response<Void> restartWithResponse(Context context)

Posts a restart action to a compute instance.

abstract Sku sku()

Gets the sku property: The sku of the workspace.

abstract void start()

Posts a start action to a compute instance.

abstract void start(Context context)

Posts a start action to a compute instance.

abstract void stop()

Posts a stop action to a compute instance.

abstract void stop(Context context)

Posts a stop action to a compute instance.

abstract SystemData systemData()

Gets the systemData property: Read only system data.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the ComputeResource resource.

Method Details

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

identity

public abstract Identity identity()

Gets the identity property: The identity of the resource.

Returns:

the identity value.

innerModel

public abstract ComputeResourceInner innerModel()

Gets the inner com.azure.resourcemanager.machinelearningservices.fluent.models.ComputeResourceInner object.

Returns:

the inner object.

listKeys

public abstract ComputeSecrets listKeys()

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

Returns:

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

listKeysWithResponse

public abstract Response listKeysWithResponse(Context context)

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

Parameters:

context - The context to associate with this operation.

Returns:

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

listNodes

public abstract PagedIterable listNodes()

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

Returns:

the details (e.

listNodes

public abstract PagedIterable listNodes(Context context)

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

Parameters:

context - The context to associate with this operation.

Returns:

the details (e.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

properties

public abstract Compute properties()

Gets the properties property: Compute properties.

Returns:

the properties value.

refresh

public abstract ComputeResource refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract ComputeResource refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

restart

public abstract void restart()

Posts a restart action to a compute instance.

restartWithResponse

public abstract Response restartWithResponse(Context context)

Posts a restart action to a compute instance.

Parameters:

context - The context to associate with this operation.

Returns:

the response.

sku

public abstract Sku sku()

Gets the sku property: The sku of the workspace.

Returns:

the sku value.

start

public abstract void start()

Posts a start action to a compute instance.

start

public abstract void start(Context context)

Posts a start action to a compute instance.

Parameters:

context - The context to associate with this operation.

stop

public abstract void stop()

Posts a stop action to a compute instance.

stop

public abstract void stop(Context context)

Posts a stop action to a compute instance.

Parameters:

context - The context to associate with this operation.

systemData

public abstract SystemData systemData()

Gets the systemData property: Read only system data.

Returns:

the systemData value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract ComputeResource.Update update()

Begins update for the ComputeResource resource.

Returns:

the stage of resource update.

Applies to