Class UpdateSapVirtualInstanceRequest
java.lang.Object
com.azure.resourcemanager.workloads.models.UpdateSapVirtualInstanceRequest
Defines the request body for updating Virtual Instance for SAP.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: Managed service identity (user assigned identities).tags()
Get the tags property: Gets or sets the Resource tags.void
validate()
Validates the instance.withIdentity
(UserAssignedServiceIdentity identity) Set the identity property: Managed service identity (user assigned identities).Set the tags property: Gets or sets the Resource tags.
-
Constructor Details
-
UpdateSapVirtualInstanceRequest
public UpdateSapVirtualInstanceRequest()
-
-
Method Details
-
tags
Get the tags property: Gets or sets the Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Gets or sets the Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the UpdateSapVirtualInstanceRequest object itself.
-
identity
Get the identity property: Managed service identity (user assigned identities).- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed service identity (user assigned identities).- Parameters:
identity
- the identity value to set.- Returns:
- the UpdateSapVirtualInstanceRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-