ComputeNodeIdentityReference Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. ComputeNodeIdentityReference
- com.
Implements
public final class ComputeNodeIdentityReference
implements JsonSerializable<ComputeNodeIdentityReference>
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
Constructor Summary
| Constructor | Description |
|---|---|
| ComputeNodeIdentityReference() |
Creates an instance of Compute |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Compute |
fromJson(JsonReader jsonReader)
Reads an instance of Compute |
| String |
resourceId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Compute |
withResourceId(String resourceId)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
ComputeNodeIdentityReference
public ComputeNodeIdentityReference()
Creates an instance of ComputeNodeIdentityReference class.
Method Details
fromJson
public static ComputeNodeIdentityReference fromJson(JsonReader jsonReader)
Reads an instance of ComputeNodeIdentityReference from the JsonReader.
Parameters:
Returns:
Throws:
resourceId
public String resourceId()
Get the resourceId property: The ARM resource id of the user assigned identity.
Returns:
toJson
validate
public void validate()
Validates the instance.
withResourceId
public ComputeNodeIdentityReference withResourceId(String resourceId)
Set the resourceId property: The ARM resource id of the user assigned identity.
Parameters:
Returns: