DevicePoolPatch Class
- java.
lang. Object - com.
azure. resourcemanager. azurestackhci. models. DevicePoolPatch
- com.
Implements
public final class DevicePoolPatch
implements JsonSerializable<DevicePoolPatch>
Properties for patching Device Pool.
Constructor Summary
| Constructor | Description |
|---|---|
| DevicePoolPatch() |
Creates an instance of Device |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Device |
fromJson(JsonReader jsonReader)
Reads an instance of Device |
|
Managed |
identity()
Get the identity property: The managed service identities assigned to this resource. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Device |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identities assigned to this resource. |
|
Device |
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:
Returns:
Throws:
identity
public ManagedServiceIdentity identity()
Get the identity property: The managed service identities assigned to this resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
withIdentity
public DevicePoolPatch withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identities assigned to this resource.
Parameters:
Returns:
withTags
public DevicePoolPatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: