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

150 строки
15 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.LinuxPatchSettings"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings"
name: "LinuxPatchSettings"
nameWithType: "LinuxPatchSettings"
summary: "Specifies settings related to VM Guest Patching on Linux."
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 **LinuxPatchSettings**</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.compute.models.LinuxPatchSettings?alt=com.azure.resourcemanager.compute.models.LinuxPatchSettings&text=LinuxPatchSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.LinuxPatchSettings()"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.LinuxPatchSettings()"
name: "LinuxPatchSettings()"
nameWithType: "LinuxPatchSettings.LinuxPatchSettings()"
summary: "Creates an instance of Linux<wbr>Patch<wbr>Settings class."
syntax: "public LinuxPatchSettings()"
desc: "Creates an instance of LinuxPatchSettings class."
methods:
- uid: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.assessmentMode()"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.assessmentMode()"
name: "assessmentMode()"
nameWithType: "LinuxPatchSettings.assessmentMode()"
summary: "Get the assessment<wbr>Mode property: Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> \\*\\*Image<wbr>Default\\*\\* - You control the timing of patch assessments on a virtual machine."
syntax: "public LinuxPatchAssessmentMode assessmentMode()"
desc: "Get the assessmentMode property: Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> \\*\\*ImageDefault\\*\\* - You control the timing of patch assessments on a virtual machine. <br /><br /> \\*\\*AutomaticByPlatform\\*\\* - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true."
returns:
description: "the assessmentMode value."
type: "<xref href=\"com.azure.resourcemanager.compute.models.LinuxPatchAssessmentMode?alt=com.azure.resourcemanager.compute.models.LinuxPatchAssessmentMode&text=LinuxPatchAssessmentMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.automaticByPlatformSettings()"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.automaticByPlatformSettings()"
name: "automaticByPlatformSettings()"
nameWithType: "LinuxPatchSettings.automaticByPlatformSettings()"
summary: "Get the automatic<wbr>ByPlatform<wbr>Settings property: Specifies additional settings for patch mode Automatic<wbr>ByPlatform in VM Guest Patching on Linux."
syntax: "public LinuxVMGuestPatchAutomaticByPlatformSettings automaticByPlatformSettings()"
desc: "Get the automaticByPlatformSettings property: Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux."
returns:
description: "the automaticByPlatformSettings value."
type: "<xref href=\"com.azure.resourcemanager.compute.models.LinuxVMGuestPatchAutomaticByPlatformSettings?alt=com.azure.resourcemanager.compute.models.LinuxVMGuestPatchAutomaticByPlatformSettings&text=LinuxVMGuestPatchAutomaticByPlatformSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "LinuxPatchSettings.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Linux<wbr>Patch<wbr>Settings 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 LinuxPatchSettings fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the LinuxPatchSettings."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of LinuxPatchSettings from the JsonReader."
returns:
description: "An instance of LinuxPatchSettings if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.compute.models.LinuxPatchSettings?alt=com.azure.resourcemanager.compute.models.LinuxPatchSettings&text=LinuxPatchSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.patchMode()"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.patchMode()"
name: "patchMode()"
nameWithType: "LinuxPatchSettings.patchMode()"
summary: "Get the patch<wbr>Mode property: Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with Orchestration<wbr>Mode as Flexible.<br /><br /> Possible values are:<br /><br /> \\*\\*Image<wbr>Default\\*\\* - The virtual machine's default patching configuration is used."
syntax: "public LinuxVMGuestPatchMode patchMode()"
desc: "Get the patchMode property: Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> \\*\\*ImageDefault\\*\\* - The virtual machine's default patching configuration is used. <br /><br /> \\*\\*AutomaticByPlatform\\*\\* - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true."
returns:
description: "the patchMode value."
type: "<xref href=\"com.azure.resourcemanager.compute.models.LinuxVMGuestPatchMode?alt=com.azure.resourcemanager.compute.models.LinuxVMGuestPatchMode&text=LinuxVMGuestPatchMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "LinuxPatchSettings.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.compute.models.LinuxPatchSettings.validate()"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.validate()"
name: "validate()"
nameWithType: "LinuxPatchSettings.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.withAssessmentMode(com.azure.resourcemanager.compute.models.LinuxPatchAssessmentMode)"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.withAssessmentMode(LinuxPatchAssessmentMode assessmentMode)"
name: "withAssessmentMode(LinuxPatchAssessmentMode assessmentMode)"
nameWithType: "LinuxPatchSettings.withAssessmentMode(LinuxPatchAssessmentMode assessmentMode)"
summary: "Set the assessment<wbr>Mode property: Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> \\*\\*Image<wbr>Default\\*\\* - You control the timing of patch assessments on a virtual machine."
parameters:
- description: "the assessmentMode value to set."
name: "assessmentMode"
type: "<xref href=\"com.azure.resourcemanager.compute.models.LinuxPatchAssessmentMode?alt=com.azure.resourcemanager.compute.models.LinuxPatchAssessmentMode&text=LinuxPatchAssessmentMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public LinuxPatchSettings withAssessmentMode(LinuxPatchAssessmentMode assessmentMode)"
desc: "Set the assessmentMode property: Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> \\*\\*ImageDefault\\*\\* - You control the timing of patch assessments on a virtual machine. <br /><br /> \\*\\*AutomaticByPlatform\\*\\* - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true."
returns:
description: "the LinuxPatchSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.LinuxPatchSettings?alt=com.azure.resourcemanager.compute.models.LinuxPatchSettings&text=LinuxPatchSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.withAutomaticByPlatformSettings(com.azure.resourcemanager.compute.models.LinuxVMGuestPatchAutomaticByPlatformSettings)"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.withAutomaticByPlatformSettings(LinuxVMGuestPatchAutomaticByPlatformSettings automaticByPlatformSettings)"
name: "withAutomaticByPlatformSettings(LinuxVMGuestPatchAutomaticByPlatformSettings automaticByPlatformSettings)"
nameWithType: "LinuxPatchSettings.withAutomaticByPlatformSettings(LinuxVMGuestPatchAutomaticByPlatformSettings automaticByPlatformSettings)"
summary: "Set the automatic<wbr>ByPlatform<wbr>Settings property: Specifies additional settings for patch mode Automatic<wbr>ByPlatform in VM Guest Patching on Linux."
parameters:
- description: "the automaticByPlatformSettings value to set."
name: "automaticByPlatformSettings"
type: "<xref href=\"com.azure.resourcemanager.compute.models.LinuxVMGuestPatchAutomaticByPlatformSettings?alt=com.azure.resourcemanager.compute.models.LinuxVMGuestPatchAutomaticByPlatformSettings&text=LinuxVMGuestPatchAutomaticByPlatformSettings\" data-throw-if-not-resolved=\"False\" />"
syntax: "public LinuxPatchSettings withAutomaticByPlatformSettings(LinuxVMGuestPatchAutomaticByPlatformSettings automaticByPlatformSettings)"
desc: "Set the automaticByPlatformSettings property: Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux."
returns:
description: "the LinuxPatchSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.LinuxPatchSettings?alt=com.azure.resourcemanager.compute.models.LinuxPatchSettings&text=LinuxPatchSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.withPatchMode(com.azure.resourcemanager.compute.models.LinuxVMGuestPatchMode)"
fullName: "com.azure.resourcemanager.compute.models.LinuxPatchSettings.withPatchMode(LinuxVMGuestPatchMode patchMode)"
name: "withPatchMode(LinuxVMGuestPatchMode patchMode)"
nameWithType: "LinuxPatchSettings.withPatchMode(LinuxVMGuestPatchMode patchMode)"
summary: "Set the patch<wbr>Mode property: Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with Orchestration<wbr>Mode as Flexible.<br /><br /> Possible values are:<br /><br /> \\*\\*Image<wbr>Default\\*\\* - The virtual machine's default patching configuration is used."
parameters:
- description: "the patchMode value to set."
name: "patchMode"
type: "<xref href=\"com.azure.resourcemanager.compute.models.LinuxVMGuestPatchMode?alt=com.azure.resourcemanager.compute.models.LinuxVMGuestPatchMode&text=LinuxVMGuestPatchMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public LinuxPatchSettings withPatchMode(LinuxVMGuestPatchMode patchMode)"
desc: "Set the patchMode property: Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> \\*\\*ImageDefault\\*\\* - The virtual machine's default patching configuration is used. <br /><br /> \\*\\*AutomaticByPlatform\\*\\* - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true."
returns:
description: "the LinuxPatchSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.LinuxPatchSettings?alt=com.azure.resourcemanager.compute.models.LinuxPatchSettings&text=LinuxPatchSettings\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Specifies settings related to VM Guest Patching on Linux."
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.compute.models.LinuxPatchSettings?alt=com.azure.resourcemanager.compute.models.LinuxPatchSettings&text=LinuxPatchSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0