HostPoolPatch Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. desktopvirtualization. models. HostPoolPatch
- com.
- com.
public final class HostPoolPatch
extends ProxyResource
HostPool properties that can be patched.
Constructor Summary
| Constructor | Description |
|---|---|
| HostPoolPatch() |
Creates an instance of Host |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Agent |
agentUpdate()
Get the agent |
| String |
customRdpProperty()
Get the custom |
| String |
description()
Get the description property: Description of Host |
| String |
friendlyName()
Get the friendly |
|
static
Host |
fromJson(JsonReader jsonReader)
Reads an instance of Host |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Load |
loadBalancerType()
Get the load |
| Integer |
maxSessionLimit()
Get the max |
| String |
name()
Get the name property: The name of the resource. |
|
Personal |
personalDesktopAssignmentType()
Get the personal |
|
Preferred |
preferredAppGroupType()
Get the preferred |
|
Hostpool |
publicNetworkAccess()
Get the public |
|
Registration |
registrationInfo()
Get the registration |
| Integer |
ring()
Get the ring property: The ring number of Host |
| String |
ssoadfsAuthority()
Get the ssoadfs |
| String |
ssoClientId()
Get the sso |
| String |
ssoClientSecretKeyVaultPath()
Get the sso |
|
Sso |
ssoSecretType()
Get the sso |
| Boolean |
startVMOnConnect()
Get the start |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: tags to be updated. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
| Boolean |
validationEnvironment()
Get the validation |
| String |
vmTemplate()
Get the vm |
|
Host |
withAgentUpdate(AgentUpdatePatchProperties agentUpdate)
Set the agent |
|
Host |
withCustomRdpProperty(String customRdpProperty)
Set the custom |
|
Host |
withDescription(String description)
Set the description property: Description of Host |
|
Host |
withFriendlyName(String friendlyName)
Set the friendly |
|
Host |
withLoadBalancerType(LoadBalancerType loadBalancerType)
Set the load |
|
Host |
withMaxSessionLimit(Integer maxSessionLimit)
Set the max |
|
Host |
withPersonalDesktopAssignmentType(PersonalDesktopAssignmentType personalDesktopAssignmentType)
Set the personal |
|
Host |
withPreferredAppGroupType(PreferredAppGroupType preferredAppGroupType)
Set the preferred |
|
Host |
withPublicNetworkAccess(HostpoolPublicNetworkAccess publicNetworkAccess)
Set the public |
|
Host |
withRegistrationInfo(RegistrationInfoPatch registrationInfo)
Set the registration |
|
Host |
withRing(Integer ring)
Set the ring property: The ring number of Host |
|
Host |
withSsoadfsAuthority(String ssoadfsAuthority)
Set the ssoadfs |
|
Host |
withSsoClientId(String ssoClientId)
Set the sso |
|
Host |
withSsoClientSecretKeyVaultPath(String ssoClientSecretKeyVaultPath)
Set the sso |
|
Host |
withSsoSecretType(SsoSecretType ssoSecretType)
Set the sso |
|
Host |
withStartVMOnConnect(Boolean startVMOnConnect)
Set the start |
|
Host |
withTags(Map<String,String> tags)
Set the tags property: tags to be updated. |
|
Host |
withValidationEnvironment(Boolean validationEnvironment)
Set the validation |
|
Host |
withVmTemplate(String vmTemplate)
Set the vm |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
HostPoolPatch
public HostPoolPatch()
Creates an instance of HostPoolPatch class.
Method Details
agentUpdate
public AgentUpdatePatchProperties agentUpdate()
Get the agentUpdate property: The session host configuration for updating agent, monitoring agent, and stack component.
Returns:
customRdpProperty
public String customRdpProperty()
Get the customRdpProperty property: Custom rdp property of HostPool.
Returns:
description
public String description()
Get the description property: Description of HostPool.
Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of HostPool.
Returns:
fromJson
public static HostPoolPatch fromJson(JsonReader jsonReader)
Reads an instance of HostPoolPatch from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
HostPoolPatch.id()Returns:
loadBalancerType
public LoadBalancerType loadBalancerType()
Get the loadBalancerType property: The type of the load balancer.
Returns:
maxSessionLimit
public Integer maxSessionLimit()
Get the maxSessionLimit property: The max session limit of HostPool.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
HostPoolPatch.name()Returns:
personalDesktopAssignmentType
public PersonalDesktopAssignmentType personalDesktopAssignmentType()
Get the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.
Returns:
preferredAppGroupType
public PreferredAppGroupType preferredAppGroupType()
Get the preferredAppGroupType property: The type of preferred application group type, default to Desktop Application Group.
Returns:
publicNetworkAccess
public HostpoolPublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.
Returns:
registrationInfo
public RegistrationInfoPatch registrationInfo()
Get the registrationInfo property: The registration info of HostPool.
Returns:
ring
public Integer ring()
Get the ring property: The ring number of HostPool.
Returns:
ssoadfsAuthority
public String ssoadfsAuthority()
Get the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.
Returns:
ssoClientId
public String ssoClientId()
Get the ssoClientId property: ClientId for the registered Relying Party used to issue WVD SSO certificates.
Returns:
ssoClientSecretKeyVaultPath
public String ssoClientSecretKeyVaultPath()
Get the ssoClientSecretKeyVaultPath property: Path to Azure KeyVault storing the secret used for communication to ADFS.
Returns:
ssoSecretType
public SsoSecretType ssoSecretType()
Get the ssoSecretType property: The type of single sign on Secret Type.
Returns:
startVMOnConnect
public Boolean startVMOnConnect()
Get the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: tags to be updated.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
HostPoolPatch.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
HostPoolPatch.type()Returns:
validate
public void validate()
Validates the instance.
validationEnvironment
public Boolean validationEnvironment()
Get the validationEnvironment property: Is validation environment.
Returns:
vmTemplate
public String vmTemplate()
Get the vmTemplate property: VM template for sessionhosts configuration within hostpool.
Returns:
withAgentUpdate
public HostPoolPatch withAgentUpdate(AgentUpdatePatchProperties agentUpdate)
Set the agentUpdate property: The session host configuration for updating agent, monitoring agent, and stack component.
Parameters:
Returns:
withCustomRdpProperty
public HostPoolPatch withCustomRdpProperty(String customRdpProperty)
Set the customRdpProperty property: Custom rdp property of HostPool.
Parameters:
Returns:
withDescription
public HostPoolPatch withDescription(String description)
Set the description property: Description of HostPool.
Parameters:
Returns:
withFriendlyName
public HostPoolPatch withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of HostPool.
Parameters:
Returns:
withLoadBalancerType
public HostPoolPatch withLoadBalancerType(LoadBalancerType loadBalancerType)
Set the loadBalancerType property: The type of the load balancer.
Parameters:
Returns:
withMaxSessionLimit
public HostPoolPatch withMaxSessionLimit(Integer maxSessionLimit)
Set the maxSessionLimit property: The max session limit of HostPool.
Parameters:
Returns:
withPersonalDesktopAssignmentType
public HostPoolPatch withPersonalDesktopAssignmentType(PersonalDesktopAssignmentType personalDesktopAssignmentType)
Set the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.
Parameters:
Returns:
withPreferredAppGroupType
public HostPoolPatch withPreferredAppGroupType(PreferredAppGroupType preferredAppGroupType)
Set the preferredAppGroupType property: The type of preferred application group type, default to Desktop Application Group.
Parameters:
Returns:
withPublicNetworkAccess
public HostPoolPatch withPublicNetworkAccess(HostpoolPublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.
Parameters:
Returns:
withRegistrationInfo
public HostPoolPatch withRegistrationInfo(RegistrationInfoPatch registrationInfo)
Set the registrationInfo property: The registration info of HostPool.
Parameters:
Returns:
withRing
public HostPoolPatch withRing(Integer ring)
Set the ring property: The ring number of HostPool.
Parameters:
Returns:
withSsoadfsAuthority
public HostPoolPatch withSsoadfsAuthority(String ssoadfsAuthority)
Set the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.
Parameters:
Returns:
withSsoClientId
public HostPoolPatch withSsoClientId(String ssoClientId)
Set the ssoClientId property: ClientId for the registered Relying Party used to issue WVD SSO certificates.
Parameters:
Returns:
withSsoClientSecretKeyVaultPath
public HostPoolPatch withSsoClientSecretKeyVaultPath(String ssoClientSecretKeyVaultPath)
Set the ssoClientSecretKeyVaultPath property: Path to Azure KeyVault storing the secret used for communication to ADFS.
Parameters:
Returns:
withSsoSecretType
public HostPoolPatch withSsoSecretType(SsoSecretType ssoSecretType)
Set the ssoSecretType property: The type of single sign on Secret Type.
Parameters:
Returns:
withStartVMOnConnect
public HostPoolPatch withStartVMOnConnect(Boolean startVMOnConnect)
Set the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.
Parameters:
Returns:
withTags
public HostPoolPatch withTags(Map<String,String> tags)
Set the tags property: tags to be updated.
Parameters:
Returns:
withValidationEnvironment
public HostPoolPatch withValidationEnvironment(Boolean validationEnvironment)
Set the validationEnvironment property: Is validation environment.
Parameters:
Returns:
withVmTemplate
public HostPoolPatch withVmTemplate(String vmTemplate)
Set the vmTemplate property: VM template for sessionhosts configuration within hostpool.
Parameters:
Returns: