azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.s...

222 строки
17 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate"
name: "HardwareProfileUpdate"
nameWithType: "HardwareProfileUpdate"
summary: "Defines the resource update properties."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **HardwareProfileUpdate**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate?alt=com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate&text=HardwareProfileUpdate\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.HardwareProfileUpdate()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.HardwareProfileUpdate()"
name: "HardwareProfileUpdate()"
nameWithType: "HardwareProfileUpdate.HardwareProfileUpdate()"
summary: "Creates an instance of Hardware<wbr>Profile<wbr>Update class."
syntax: "public HardwareProfileUpdate()"
desc: "Creates an instance of HardwareProfileUpdate class."
methods:
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.cpuCount()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.cpuCount()"
name: "cpuCount()"
nameWithType: "HardwareProfileUpdate.cpuCount()"
summary: "Get the cpu<wbr>Count property: Gets or sets the number of v<wbr>CPUs for the vm."
syntax: "public Integer cpuCount()"
desc: "Get the cpuCount property: Gets or sets the number of vCPUs for the vm."
returns:
description: "the cpuCount value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.dynamicMemoryEnabled()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.dynamicMemoryEnabled()"
name: "dynamicMemoryEnabled()"
nameWithType: "HardwareProfileUpdate.dynamicMemoryEnabled()"
summary: "Get the dynamic<wbr>Memory<wbr>Enabled property: Gets or sets a value indicating whether to enable dynamic memory or not."
syntax: "public DynamicMemoryEnabled dynamicMemoryEnabled()"
desc: "Get the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not."
returns:
description: "the dynamicMemoryEnabled value."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled?alt=com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled&text=DynamicMemoryEnabled\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.dynamicMemoryMaxMB()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.dynamicMemoryMaxMB()"
name: "dynamicMemoryMaxMB()"
nameWithType: "HardwareProfileUpdate.dynamicMemoryMaxMB()"
summary: "Get the dynamic<wbr>Memory<wbr>MaxMB property: Gets or sets the max dynamic memory for the vm."
syntax: "public Integer dynamicMemoryMaxMB()"
desc: "Get the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm."
returns:
description: "the dynamicMemoryMaxMB value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.dynamicMemoryMinMB()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.dynamicMemoryMinMB()"
name: "dynamicMemoryMinMB()"
nameWithType: "HardwareProfileUpdate.dynamicMemoryMinMB()"
summary: "Get the dynamic<wbr>Memory<wbr>MinMB property: Gets or sets the min dynamic memory for the vm."
syntax: "public Integer dynamicMemoryMinMB()"
desc: "Get the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm."
returns:
description: "the dynamicMemoryMinMB value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "HardwareProfileUpdate.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Hardware<wbr>Profile<wbr>Update from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static HardwareProfileUpdate fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the HardwareProfileUpdate."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of HardwareProfileUpdate from the JsonReader."
returns:
description: "An instance of HardwareProfileUpdate if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate?alt=com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate&text=HardwareProfileUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.limitCpuForMigration()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.limitCpuForMigration()"
name: "limitCpuForMigration()"
nameWithType: "HardwareProfileUpdate.limitCpuForMigration()"
summary: "Get the limit<wbr>Cpu<wbr>For<wbr>Migration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs."
syntax: "public LimitCpuForMigration limitCpuForMigration()"
desc: "Get the limitCpuForMigration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs."
returns:
description: "the limitCpuForMigration value."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.LimitCpuForMigration?alt=com.azure.resourcemanager.scvmm.models.LimitCpuForMigration&text=LimitCpuForMigration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.memoryMB()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.memoryMB()"
name: "memoryMB()"
nameWithType: "HardwareProfileUpdate.memoryMB()"
summary: "Get the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB."
syntax: "public Integer memoryMB()"
desc: "Get the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB."
returns:
description: "the memoryMB value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "HardwareProfileUpdate.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.validate()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.validate()"
name: "validate()"
nameWithType: "HardwareProfileUpdate.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withCpuCount(java.lang.Integer)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withCpuCount(Integer cpuCount)"
name: "withCpuCount(Integer cpuCount)"
nameWithType: "HardwareProfileUpdate.withCpuCount(Integer cpuCount)"
summary: "Set the cpu<wbr>Count property: Gets or sets the number of v<wbr>CPUs for the vm."
parameters:
- description: "the cpuCount value to set."
name: "cpuCount"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public HardwareProfileUpdate withCpuCount(Integer cpuCount)"
desc: "Set the cpuCount property: Gets or sets the number of vCPUs for the vm."
returns:
description: "the HardwareProfileUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate?alt=com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate&text=HardwareProfileUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withDynamicMemoryEnabled(com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withDynamicMemoryEnabled(DynamicMemoryEnabled dynamicMemoryEnabled)"
name: "withDynamicMemoryEnabled(DynamicMemoryEnabled dynamicMemoryEnabled)"
nameWithType: "HardwareProfileUpdate.withDynamicMemoryEnabled(DynamicMemoryEnabled dynamicMemoryEnabled)"
summary: "Set the dynamic<wbr>Memory<wbr>Enabled property: Gets or sets a value indicating whether to enable dynamic memory or not."
parameters:
- description: "the dynamicMemoryEnabled value to set."
name: "dynamicMemoryEnabled"
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled?alt=com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled&text=DynamicMemoryEnabled\" data-throw-if-not-resolved=\"False\" />"
syntax: "public HardwareProfileUpdate withDynamicMemoryEnabled(DynamicMemoryEnabled dynamicMemoryEnabled)"
desc: "Set the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not."
returns:
description: "the HardwareProfileUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate?alt=com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate&text=HardwareProfileUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withDynamicMemoryMaxMB(java.lang.Integer)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withDynamicMemoryMaxMB(Integer dynamicMemoryMaxMB)"
name: "withDynamicMemoryMaxMB(Integer dynamicMemoryMaxMB)"
nameWithType: "HardwareProfileUpdate.withDynamicMemoryMaxMB(Integer dynamicMemoryMaxMB)"
summary: "Set the dynamic<wbr>Memory<wbr>MaxMB property: Gets or sets the max dynamic memory for the vm."
parameters:
- description: "the dynamicMemoryMaxMB value to set."
name: "dynamicMemoryMaxMB"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public HardwareProfileUpdate withDynamicMemoryMaxMB(Integer dynamicMemoryMaxMB)"
desc: "Set the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm."
returns:
description: "the HardwareProfileUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate?alt=com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate&text=HardwareProfileUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withDynamicMemoryMinMB(java.lang.Integer)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withDynamicMemoryMinMB(Integer dynamicMemoryMinMB)"
name: "withDynamicMemoryMinMB(Integer dynamicMemoryMinMB)"
nameWithType: "HardwareProfileUpdate.withDynamicMemoryMinMB(Integer dynamicMemoryMinMB)"
summary: "Set the dynamic<wbr>Memory<wbr>MinMB property: Gets or sets the min dynamic memory for the vm."
parameters:
- description: "the dynamicMemoryMinMB value to set."
name: "dynamicMemoryMinMB"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public HardwareProfileUpdate withDynamicMemoryMinMB(Integer dynamicMemoryMinMB)"
desc: "Set the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm."
returns:
description: "the HardwareProfileUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate?alt=com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate&text=HardwareProfileUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withLimitCpuForMigration(com.azure.resourcemanager.scvmm.models.LimitCpuForMigration)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withLimitCpuForMigration(LimitCpuForMigration limitCpuForMigration)"
name: "withLimitCpuForMigration(LimitCpuForMigration limitCpuForMigration)"
nameWithType: "HardwareProfileUpdate.withLimitCpuForMigration(LimitCpuForMigration limitCpuForMigration)"
summary: "Set the limit<wbr>Cpu<wbr>For<wbr>Migration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs."
parameters:
- description: "the limitCpuForMigration value to set."
name: "limitCpuForMigration"
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.LimitCpuForMigration?alt=com.azure.resourcemanager.scvmm.models.LimitCpuForMigration&text=LimitCpuForMigration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public HardwareProfileUpdate withLimitCpuForMigration(LimitCpuForMigration limitCpuForMigration)"
desc: "Set the limitCpuForMigration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs."
returns:
description: "the HardwareProfileUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate?alt=com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate&text=HardwareProfileUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withMemoryMB(java.lang.Integer)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate.withMemoryMB(Integer memoryMB)"
name: "withMemoryMB(Integer memoryMB)"
nameWithType: "HardwareProfileUpdate.withMemoryMB(Integer memoryMB)"
summary: "Set the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB."
parameters:
- description: "the memoryMB value to set."
name: "memoryMB"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public HardwareProfileUpdate withMemoryMB(Integer memoryMB)"
desc: "Set the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB."
returns:
description: "the HardwareProfileUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate?alt=com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate&text=HardwareProfileUpdate\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Defines the resource update properties."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate?alt=com.azure.resourcemanager.scvmm.models.HardwareProfileUpdate&text=HardwareProfileUpdate\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.scvmm.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-scvmm:1.0.0