LoadTestResourceInner Class

public final class LoadTestResourceInner
extends Resource

LoadTest details.

Constructor Summary

Constructor Description
LoadTestResourceInner()

Creates an instance of LoadTestResourceInner class.

Method Summary

Modifier and Type Method and Description
String dataPlaneUri()

Get the dataPlaneUri property: Resource data plane URI.

String description()

Get the description property: Description of the resource.

EncryptionProperties encryption()

Get the encryption property: CMK Encryption property.

static LoadTestResourceInner fromJson(JsonReader jsonReader)

Reads an instance of LoadTestResourceInner from the JsonReader.

String id()

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

ManagedServiceIdentity identity()

Get the identity property: The managed service identities assigned to this resource.

String name()

Get the name property: The name of the resource.

ResourceState provisioningState()

Get the provisioningState property: Resource provisioning state.

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.

void validate()

Validates the instance.

LoadTestResourceInner withDescription(String description)

Set the description property: Description of the resource.

LoadTestResourceInner withEncryption(EncryptionProperties encryption)

Set the encryption property: CMK Encryption property.

LoadTestResourceInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed service identities assigned to this resource.

LoadTestResourceInner withLocation(String location)
LoadTestResourceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

LoadTestResourceInner

public LoadTestResourceInner()

Creates an instance of LoadTestResourceInner class.

Method Details

dataPlaneUri

public String dataPlaneUri()

Get the dataPlaneUri property: Resource data plane URI.

Returns:

the dataPlaneUri value.

description

public String description()

Get the description property: Description of the resource.

Returns:

the description value.

encryption

public EncryptionProperties encryption()

Get the encryption property: CMK Encryption property.

Returns:

the encryption value.

fromJson

public static LoadTestResourceInner fromJson(JsonReader jsonReader)

Reads an instance of LoadTestResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LoadTestResourceInner 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:

LoadTestResourceInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The managed service identities assigned to this resource.

Returns:

the identity value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

LoadTestResourceInner.name()

Returns:

the name value.

provisioningState

public ResourceState provisioningState()

Get the provisioningState property: Resource provisioning state.

Returns:

the provisioningState 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:

LoadTestResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

LoadTestResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDescription

public LoadTestResourceInner withDescription(String description)

Set the description property: Description of the resource.

Parameters:

description - the description value to set.

Returns:

the LoadTestResourceInner object itself.

withEncryption

public LoadTestResourceInner withEncryption(EncryptionProperties encryption)

Set the encryption property: CMK Encryption property.

Parameters:

encryption - the encryption value to set.

Returns:

the LoadTestResourceInner object itself.

withIdentity

public LoadTestResourceInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed service identities assigned to this resource.

Parameters:

identity - the identity value to set.

Returns:

the LoadTestResourceInner object itself.

withLocation

public LoadTestResourceInner withLocation(String location)

Overrides:

LoadTestResourceInner.withLocation(String location)

Parameters:

location

withTags

public LoadTestResourceInner withTags(Map<String,String> tags)

Overrides:

LoadTestResourceInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to