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
Compute |
innerModel()
Gets the inner com. |
abstract
Compute |
listKeys()
Gets secrets related to Machine Learning compute (storage keys, service credentials, etc). |
abstract
Response<Compute |
listKeysWithResponse(Context context)
Gets secrets related to Machine Learning compute (storage keys, service credentials, etc). |
abstract
Paged |
listNodes()
Get the details (e. |
abstract
Paged |
listNodes(Context context)
Get the details (e. |
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
Compute |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Compute |
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
System |
systemData()
Gets the system |
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 Compute |
Method Details
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
identity
public abstract Identity identity()
Gets the identity property: The identity of the resource.
Returns:
innerModel
public abstract ComputeResourceInner innerModel()
Gets the inner com.azure.resourcemanager.machinelearningservices.fluent.models.ComputeResourceInner object.
Returns:
listKeys
public abstract ComputeSecrets listKeys()
Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).
Returns:
listKeysWithResponse
public abstract Response
Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).
Parameters:
Returns:
listNodes
public abstract PagedIterable
Get the details (e.g IP address, port etc) of all the compute nodes in the compute.
Returns:
listNodes
public abstract PagedIterable
Get the details (e.g IP address, port etc) of all the compute nodes in the compute.
Parameters:
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
properties
public abstract Compute properties()
Gets the properties property: Compute properties.
Returns:
refresh
public abstract ComputeResource refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract ComputeResource refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
restart
public abstract void restart()
Posts a restart action to a compute instance.
restartWithResponse
public abstract Response
Posts a restart action to a compute instance.
Parameters:
Returns:
sku
public abstract Sku sku()
Gets the sku property: The sku of the workspace.
Returns:
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:
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:
systemData
public abstract SystemData systemData()
Gets the systemData property: Read only system data.
Returns:
tags
public abstract Map
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract ComputeResource.Update update()
Begins update for the ComputeResource resource.
Returns:
Applies to
Azure SDK for Java