DevicePoolPatch Class

  • java.lang.Object
    • com.azure.resourcemanager.azurestackhci.models.DevicePoolPatch

Implements

public final class DevicePoolPatch
implements JsonSerializable<DevicePoolPatch>

Properties for patching Device Pool.

Constructor Summary

Constructor Description
DevicePoolPatch()

Creates an instance of DevicePoolPatch class.

Method Summary

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

Reads an instance of DevicePoolPatch from the JsonReader.

ManagedServiceIdentity identity()

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

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
DevicePoolPatch withIdentity(ManagedServiceIdentity identity)

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

DevicePoolPatch withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

DevicePoolPatch

public DevicePoolPatch()

Creates an instance of DevicePoolPatch class.

Method Details

fromJson

public static DevicePoolPatch fromJson(JsonReader jsonReader)

Reads an instance of DevicePoolPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

identity

public ManagedServiceIdentity identity()

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

Returns:

the identity value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withIdentity

public DevicePoolPatch withIdentity(ManagedServiceIdentity identity)

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

Parameters:

identity - the identity value to set.

Returns:

the DevicePoolPatch object itself.

withTags

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the DevicePoolPatch object itself.

Applies to