UpdateSapVirtualInstanceRequest Class
- java.
lang. Object - com.
azure. resourcemanager. workloads. models. UpdateSapVirtualInstanceRequest
- com.
Implements
public final class UpdateSapVirtualInstanceRequest
implements JsonSerializable<UpdateSapVirtualInstanceRequest>
Defines the request body for updating Virtual Instance for SAP.
Constructor Summary
| Constructor | Description |
|---|---|
| UpdateSapVirtualInstanceRequest() |
Creates an instance of Update |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Update |
fromJson(JsonReader jsonReader)
Reads an instance of Update |
|
User |
identity()
Get the identity property: A pre-created user assigned identity with appropriate roles assigned. |
| Map<String,String> |
tags()
Get the tags property: Gets or sets the Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Update |
withIdentity(UserAssignedServiceIdentity identity)
Set the identity property: A pre-created user assigned identity with appropriate roles assigned. |
|
Update |
withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
UpdateSapVirtualInstanceRequest
public UpdateSapVirtualInstanceRequest()
Creates an instance of UpdateSapVirtualInstanceRequest class.
Method Details
fromJson
public static UpdateSapVirtualInstanceRequest fromJson(JsonReader jsonReader)
Reads an instance of UpdateSapVirtualInstanceRequest from the JsonReader.
Parameters:
Returns:
Throws:
identity
public UserAssignedServiceIdentity identity()
Get the identity property: A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Gets or sets the Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIdentity
public UpdateSapVirtualInstanceRequest withIdentity(UserAssignedServiceIdentity identity)
Set the identity property: A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.
Parameters:
Returns:
withTags
public UpdateSapVirtualInstanceRequest withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags.
Parameters:
Returns: