VirtualMachinePatchParameters Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. VirtualMachinePatchParameters
- com.
Implements
public final class VirtualMachinePatchParameters
implements JsonSerializable<VirtualMachinePatchParameters>
VirtualMachinePatchParameters represents the body of the request to patch the virtual machine.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachinePatchParameters() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
|
Managed |
identity()
Get the identity property: The identity for the resource. |
| Map<String,String> |
tags()
Get the tags property: The Azure resource tags that will replace the existing ones. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Image |
vmImageRepositoryCredentials()
Get the vm |
|
Virtual |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity for the resource. |
|
Virtual |
withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones. |
|
Virtual |
withVmImageRepositoryCredentials(ImageRepositoryCredentials vmImageRepositoryCredentials)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachinePatchParameters
public VirtualMachinePatchParameters()
Creates an instance of VirtualMachinePatchParameters class.
Method Details
fromJson
public static VirtualMachinePatchParameters fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachinePatchParameters from the JsonReader.
Parameters:
Returns:
Throws:
identity
public ManagedServiceIdentity identity()
Get the identity property: The identity for the resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: The Azure resource tags that will replace the existing ones.
Returns:
toJson
validate
public void validate()
Validates the instance.
vmImageRepositoryCredentials
public ImageRepositoryCredentials vmImageRepositoryCredentials()
Get the vmImageRepositoryCredentials property: The credentials used to login to the image repository that has access to the specified image.
Returns:
withIdentity
public VirtualMachinePatchParameters withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity for the resource.
Parameters:
Returns:
withTags
public VirtualMachinePatchParameters withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones.
Parameters:
Returns:
withVmImageRepositoryCredentials
public VirtualMachinePatchParameters withVmImageRepositoryCredentials(ImageRepositoryCredentials vmImageRepositoryCredentials)
Set the vmImageRepositoryCredentials property: The credentials used to login to the image repository that has access to the specified image.
Parameters:
Returns: