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

141 строка
12 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties"
name: "AgentUpdateProperties"
nameWithType: "AgentUpdateProperties"
summary: "The session host configuration for updating agent, monitoring agent, and stack component."
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 **AgentUpdateProperties**"
constructors:
- uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.AgentUpdateProperties()"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.AgentUpdateProperties()"
name: "AgentUpdateProperties()"
nameWithType: "AgentUpdateProperties.AgentUpdateProperties()"
summary: "Creates an instance of Agent<wbr>Update<wbr>Properties class."
syntax: "public AgentUpdateProperties()"
desc: "Creates an instance of AgentUpdateProperties class."
methods:
- uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.maintenanceWindowTimeZone()"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.maintenanceWindowTimeZone()"
name: "maintenanceWindowTimeZone()"
nameWithType: "AgentUpdateProperties.maintenanceWindowTimeZone()"
summary: "Get the maintenance<wbr>Window<wbr>Time<wbr>Zone property: Time zone for maintenance as defined in https://docs.<wbr>microsoft.<wbr>com/en-us/dotnet/api/system.<wbr>timezoneinfo.<wbr>findsystemtimezonebyid?view=net-5.0."
syntax: "public String maintenanceWindowTimeZone()"
desc: "Get the maintenanceWindowTimeZone property: Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true."
returns:
description: "the maintenanceWindowTimeZone value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.maintenanceWindows()"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.maintenanceWindows()"
name: "maintenanceWindows()"
nameWithType: "AgentUpdateProperties.maintenanceWindows()"
summary: "Get the maintenance<wbr>Windows property: List of maintenance windows."
syntax: "public List<MaintenanceWindowProperties> maintenanceWindows()"
desc: "Get the maintenanceWindows property: List of maintenance windows. Maintenance windows are 2 hours long."
returns:
description: "the maintenanceWindows value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.desktopvirtualization.models.MaintenanceWindowProperties?alt=com.azure.resourcemanager.desktopvirtualization.models.MaintenanceWindowProperties&text=MaintenanceWindowProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.type()"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.type()"
name: "type()"
nameWithType: "AgentUpdateProperties.type()"
summary: "Get the type property: The type of maintenance for session host components."
syntax: "public SessionHostComponentUpdateType type()"
desc: "Get the type property: The type of maintenance for session host components."
returns:
description: "the type value."
type: "<xref href=\"com.azure.resourcemanager.desktopvirtualization.models.SessionHostComponentUpdateType?alt=com.azure.resourcemanager.desktopvirtualization.models.SessionHostComponentUpdateType&text=SessionHostComponentUpdateType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.useSessionHostLocalTime()"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.useSessionHostLocalTime()"
name: "useSessionHostLocalTime()"
nameWithType: "AgentUpdateProperties.useSessionHostLocalTime()"
summary: "Get the use<wbr>Session<wbr>Host<wbr>Local<wbr>Time property: Whether to use local<wbr>Time of the virtual machine."
syntax: "public Boolean useSessionHostLocalTime()"
desc: "Get the useSessionHostLocalTime property: Whether to use localTime of the virtual machine."
returns:
description: "the useSessionHostLocalTime value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.validate()"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.validate()"
name: "validate()"
nameWithType: "AgentUpdateProperties.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.withMaintenanceWindowTimeZone(java.lang.String)"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.withMaintenanceWindowTimeZone(String maintenanceWindowTimeZone)"
name: "withMaintenanceWindowTimeZone(String maintenanceWindowTimeZone)"
nameWithType: "AgentUpdateProperties.withMaintenanceWindowTimeZone(String maintenanceWindowTimeZone)"
summary: "Set the maintenance<wbr>Window<wbr>Time<wbr>Zone property: Time zone for maintenance as defined in https://docs.<wbr>microsoft.<wbr>com/en-us/dotnet/api/system.<wbr>timezoneinfo.<wbr>findsystemtimezonebyid?view=net-5.0."
parameters:
- description: "the maintenanceWindowTimeZone value to set."
name: "maintenanceWindowTimeZone"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public AgentUpdateProperties withMaintenanceWindowTimeZone(String maintenanceWindowTimeZone)"
desc: "Set the maintenanceWindowTimeZone property: Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true."
returns:
description: "the AgentUpdateProperties object itself."
type: "<xref href=\"com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties?alt=com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties&text=AgentUpdateProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.withMaintenanceWindows(java.util.List<com.azure.resourcemanager.desktopvirtualization.models.MaintenanceWindowProperties>)"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.withMaintenanceWindows(List<MaintenanceWindowProperties> maintenanceWindows)"
name: "withMaintenanceWindows(List<MaintenanceWindowProperties> maintenanceWindows)"
nameWithType: "AgentUpdateProperties.withMaintenanceWindows(List<MaintenanceWindowProperties> maintenanceWindows)"
summary: "Set the maintenance<wbr>Windows property: List of maintenance windows."
parameters:
- description: "the maintenanceWindows value to set."
name: "maintenanceWindows"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.desktopvirtualization.models.MaintenanceWindowProperties?alt=com.azure.resourcemanager.desktopvirtualization.models.MaintenanceWindowProperties&text=MaintenanceWindowProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public AgentUpdateProperties withMaintenanceWindows(List<MaintenanceWindowProperties> maintenanceWindows)"
desc: "Set the maintenanceWindows property: List of maintenance windows. Maintenance windows are 2 hours long."
returns:
description: "the AgentUpdateProperties object itself."
type: "<xref href=\"com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties?alt=com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties&text=AgentUpdateProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.withType(com.azure.resourcemanager.desktopvirtualization.models.SessionHostComponentUpdateType)"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.withType(SessionHostComponentUpdateType type)"
name: "withType(SessionHostComponentUpdateType type)"
nameWithType: "AgentUpdateProperties.withType(SessionHostComponentUpdateType type)"
summary: "Set the type property: The type of maintenance for session host components."
parameters:
- description: "the type value to set."
name: "type"
type: "<xref href=\"com.azure.resourcemanager.desktopvirtualization.models.SessionHostComponentUpdateType?alt=com.azure.resourcemanager.desktopvirtualization.models.SessionHostComponentUpdateType&text=SessionHostComponentUpdateType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AgentUpdateProperties withType(SessionHostComponentUpdateType type)"
desc: "Set the type property: The type of maintenance for session host components."
returns:
description: "the AgentUpdateProperties object itself."
type: "<xref href=\"com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties?alt=com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties&text=AgentUpdateProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.withUseSessionHostLocalTime(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties.withUseSessionHostLocalTime(Boolean useSessionHostLocalTime)"
name: "withUseSessionHostLocalTime(Boolean useSessionHostLocalTime)"
nameWithType: "AgentUpdateProperties.withUseSessionHostLocalTime(Boolean useSessionHostLocalTime)"
summary: "Set the use<wbr>Session<wbr>Host<wbr>Local<wbr>Time property: Whether to use local<wbr>Time of the virtual machine."
parameters:
- description: "the useSessionHostLocalTime value to set."
name: "useSessionHostLocalTime"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public AgentUpdateProperties withUseSessionHostLocalTime(Boolean useSessionHostLocalTime)"
desc: "Set the useSessionHostLocalTime property: Whether to use localTime of the virtual machine."
returns:
description: "the AgentUpdateProperties object itself."
type: "<xref href=\"com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties?alt=com.azure.resourcemanager.desktopvirtualization.models.AgentUpdateProperties&text=AgentUpdateProperties\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The session host configuration for updating agent, monitoring agent, and stack component."
metadata: {}
package: "com.azure.resourcemanager.desktopvirtualization.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-desktopvirtualization:1.1.0