ManagedComputeDeploymentInner Class

public final class ManagedComputeDeploymentInner
extends ProxyResource

Cognitive Services account managed compute deployment, backed by managed compute (GPU) resources.

Constructor Summary

Constructor Description
ManagedComputeDeploymentInner()

Creates an instance of ManagedComputeDeploymentInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: Resource Etag.

static ManagedComputeDeploymentInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedComputeDeploymentInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

ManagedComputeDeploymentProperties properties()

Get the properties property: Properties of the Cognitive Services managed compute deployment.

Sku sku()

Get the sku property: The resource model definition representing SKU.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

ManagedComputeDeploymentInner withProperties(ManagedComputeDeploymentProperties properties)

Set the properties property: Properties of the Cognitive Services managed compute deployment.

ManagedComputeDeploymentInner withSku(Sku sku)

Set the sku property: The resource model definition representing SKU.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ManagedComputeDeploymentInner

public ManagedComputeDeploymentInner()

Creates an instance of ManagedComputeDeploymentInner class.

Method Details

etag

public String etag()

Get the etag property: Resource Etag.

Returns:

the etag value.

fromJson

public static ManagedComputeDeploymentInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedComputeDeploymentInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedComputeDeploymentInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

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

Overrides:

ManagedComputeDeploymentInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedComputeDeploymentInner.name()

Returns:

the name value.

properties

public ManagedComputeDeploymentProperties properties()

Get the properties property: Properties of the Cognitive Services managed compute deployment.

Returns:

the properties value.

sku

public Sku sku()

Get the sku property: The resource model definition representing SKU.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedComputeDeploymentInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedComputeDeploymentInner.type()

Returns:

the type value.

withProperties

public ManagedComputeDeploymentInner withProperties(ManagedComputeDeploymentProperties properties)

Set the properties property: Properties of the Cognitive Services managed compute deployment.

Parameters:

properties - the properties value to set.

Returns:

the ManagedComputeDeploymentInner object itself.

withSku

public ManagedComputeDeploymentInner withSku(Sku sku)

Set the sku property: The resource model definition representing SKU.

Parameters:

sku - the sku value to set.

Returns:

the ManagedComputeDeploymentInner object itself.

Applies to