Dela via


ComputeOperationValueInner Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.fluent.models.ComputeOperationValueInner

Implements

public final class ComputeOperationValueInner
implements JsonSerializable<ComputeOperationValueInner>

Describes the properties of a Compute Operation value.

Constructor Summary

Constructor Description
ComputeOperationValueInner()

Creates an instance of ComputeOperationValueInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description of the operation.

static ComputeOperationValueInner fromJson(JsonReader jsonReader)

Reads an instance of ComputeOperationValueInner from the JsonReader.

String name()

Get the name property: The name of the compute operation.

String operation()

Get the operation property: The display name of the compute operation.

String origin()

Get the origin property: The origin of the compute operation.

String provider()

Get the provider property: The resource provider for the operation.

String resource()

Get the resource property: The display name of the resource the operation applies to.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ComputeOperationValueInner

public ComputeOperationValueInner()

Creates an instance of ComputeOperationValueInner class.

Method Details

description

public String description()

Get the description property: The description of the operation.

Returns:

the description value.

fromJson

public static ComputeOperationValueInner fromJson(JsonReader jsonReader)

Reads an instance of ComputeOperationValueInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ComputeOperationValueInner.

name

public String name()

Get the name property: The name of the compute operation.

Returns:

the name value.

operation

public String operation()

Get the operation property: The display name of the compute operation.

Returns:

the operation value.

origin

public String origin()

Get the origin property: The origin of the compute operation.

Returns:

the origin value.

provider

public String provider()

Get the provider property: The resource provider for the operation.

Returns:

the provider value.

resource

public String resource()

Get the resource property: The display name of the resource the operation applies to.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to