TargetResourceConfigurations Class

  • java.lang.Object
    • com.azure.developer.loadtesting.models.TargetResourceConfigurations

Implements

public class TargetResourceConfigurations
implements JsonSerializable<TargetResourceConfigurations>

Configurations of a target resource. This varies with the kind of resource.

Constructor Summary

Constructor Description
TargetResourceConfigurations()

Creates an instance of TargetResourceConfigurations class.

Method Summary

Modifier and Type Method and Description
static TargetResourceConfigurations fromJson(JsonReader jsonReader)

Reads an instance of TargetResourceConfigurations from the JsonReader.

ResourceKind getKind()

Get the kind property: Kind of the resource for which the configurations apply.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

TargetResourceConfigurations

public TargetResourceConfigurations()

Creates an instance of TargetResourceConfigurations class.

Method Details

fromJson

public static TargetResourceConfigurations fromJson(JsonReader jsonReader)

Reads an instance of TargetResourceConfigurations from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TargetResourceConfigurations 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 TargetResourceConfigurations.

getKind

public ResourceKind getKind()

Get the kind property: Kind of the resource for which the configurations apply.

Returns:

the kind value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to