Class HostPoolInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.desktopvirtualization.models.ResourceModelWithAllowedPropertySet
com.azure.resourcemanager.desktopvirtualization.fluent.models.HostPoolInner
Represents a HostPool definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the agentUpdate property: The session host configuration for updating agent, monitoring agent, and stack component.Get the applicationGroupReferences property: List of applicationGroup links.Get the cloudPcResource property: Is cloud pc resource.Get the customRdpProperty property: Custom rdp property of HostPool.Get the description property: Description of HostPool.Get the friendlyName property: Friendly name of HostPool.Get the hostPoolType property: HostPool type for desktop.Get the loadBalancerType property: The type of the load balancer.Get the maxSessionLimit property: The max session limit of HostPool.objectId()Get the objectId property: ObjectId of HostPool.Get the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.Get the preferredAppGroupType property: The type of preferred application group type, default to Desktop Application Group.Get the registrationInfo property: The registration info of HostPool.ring()Get the ring property: The ring number of HostPool.Get the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.Get the ssoClientId property: ClientId for the registered Relying Party used to issue WVD SSO certificates.Get the ssoClientSecretKeyVaultPath property: Path to Azure KeyVault storing the secret used for communication to ADFS.Get the ssoSecretType property: The type of single sign on Secret Type.Get the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.com.azure.core.management.SystemDataGet the systemData property: Metadata pertaining to creation and last modification of the resource.voidvalidate()Validates the instance.Get the validationEnvironment property: Is validation environment.Get the vmTemplate property: VM template for sessionhosts configuration within hostpool.withAgentUpdate(AgentUpdateProperties agentUpdate) Set the agentUpdate property: The session host configuration for updating agent, monitoring agent, and stack component.withCustomRdpProperty(String customRdpProperty) Set the customRdpProperty property: Custom rdp property of HostPool.withDescription(String description) Set the description property: Description of HostPool.withFriendlyName(String friendlyName) Set the friendlyName property: Friendly name of HostPool.withHostPoolType(HostPoolType hostPoolType) Set the hostPoolType property: HostPool type for desktop.Set the identity property: The identity property.Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.withLoadBalancerType(LoadBalancerType loadBalancerType) Set the loadBalancerType property: The type of the load balancer.withLocation(String location) withManagedBy(String managedBy) Set the managedBy property: The fully qualified resource ID of the resource that manages this resource.withMaxSessionLimit(Integer maxSessionLimit) Set the maxSessionLimit property: The max session limit of HostPool.withPersonalDesktopAssignmentType(PersonalDesktopAssignmentType personalDesktopAssignmentType) Set the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.Set the plan property: The plan property.withPreferredAppGroupType(PreferredAppGroupType preferredAppGroupType) Set the preferredAppGroupType property: The type of preferred application group type, default to Desktop Application Group.withRegistrationInfo(RegistrationInfoInner registrationInfo) Set the registrationInfo property: The registration info of HostPool.Set the ring property: The ring number of HostPool.Set the sku property: The sku property.withSsoadfsAuthority(String ssoadfsAuthority) Set the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.withSsoClientId(String ssoClientId) Set the ssoClientId property: ClientId for the registered Relying Party used to issue WVD SSO certificates.withSsoClientSecretKeyVaultPath(String ssoClientSecretKeyVaultPath) Set the ssoClientSecretKeyVaultPath property: Path to Azure KeyVault storing the secret used for communication to ADFS.withSsoSecretType(SsoSecretType ssoSecretType) Set the ssoSecretType property: The type of single sign on Secret Type.withStartVMOnConnect(Boolean startVMOnConnect) Set the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.withValidationEnvironment(Boolean validationEnvironment) Set the validationEnvironment property: Is validation environment.withVmTemplate(String vmTemplate) Set the vmTemplate property: VM template for sessionhosts configuration within hostpool.Methods inherited from class com.azure.resourcemanager.desktopvirtualization.models.ResourceModelWithAllowedPropertySet
etag, identity, kind, managedBy, plan, skuMethods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
HostPoolInner
public HostPoolInner()Creates an instance of HostPoolInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
withManagedBy
Set the managedBy property: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.- Overrides:
withManagedByin classResourceModelWithAllowedPropertySet- Parameters:
managedBy- the managedBy value to set.- Returns:
- the ResourceModelWithAllowedPropertySet object itself.
-
withKind
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.- Overrides:
withKindin classResourceModelWithAllowedPropertySet- Parameters:
kind- the kind value to set.- Returns:
- the ResourceModelWithAllowedPropertySet object itself.
-
withIdentity
Set the identity property: The identity property.- Overrides:
withIdentityin classResourceModelWithAllowedPropertySet- Parameters:
identity- the identity value to set.- Returns:
- the ResourceModelWithAllowedPropertySet object itself.
-
withSku
Set the sku property: The sku property.- Overrides:
withSkuin classResourceModelWithAllowedPropertySet- Parameters:
sku- the sku value to set.- Returns:
- the ResourceModelWithAllowedPropertySet object itself.
-
withPlan
Set the plan property: The plan property.- Overrides:
withPlanin classResourceModelWithAllowedPropertySet- Parameters:
plan- the plan value to set.- Returns:
- the ResourceModelWithAllowedPropertySet object itself.
-
withLocation
- Overrides:
withLocationin classResourceModelWithAllowedPropertySet
-
withTags
- Overrides:
withTagsin classResourceModelWithAllowedPropertySet
-
objectId
Get the objectId property: ObjectId of HostPool. (internal use).- Returns:
- the objectId value.
-
friendlyName
Get the friendlyName property: Friendly name of HostPool.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: Friendly name of HostPool.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the HostPoolInner object itself.
-
description
Get the description property: Description of HostPool.- Returns:
- the description value.
-
withDescription
Set the description property: Description of HostPool.- Parameters:
description- the description value to set.- Returns:
- the HostPoolInner object itself.
-
hostPoolType
Get the hostPoolType property: HostPool type for desktop.- Returns:
- the hostPoolType value.
-
withHostPoolType
Set the hostPoolType property: HostPool type for desktop.- Parameters:
hostPoolType- the hostPoolType value to set.- Returns:
- the HostPoolInner object itself.
-
personalDesktopAssignmentType
Get the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.- Returns:
- the personalDesktopAssignmentType value.
-
withPersonalDesktopAssignmentType
public HostPoolInner withPersonalDesktopAssignmentType(PersonalDesktopAssignmentType personalDesktopAssignmentType) Set the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.- Parameters:
personalDesktopAssignmentType- the personalDesktopAssignmentType value to set.- Returns:
- the HostPoolInner object itself.
-
customRdpProperty
Get the customRdpProperty property: Custom rdp property of HostPool.- Returns:
- the customRdpProperty value.
-
withCustomRdpProperty
Set the customRdpProperty property: Custom rdp property of HostPool.- Parameters:
customRdpProperty- the customRdpProperty value to set.- Returns:
- the HostPoolInner object itself.
-
maxSessionLimit
Get the maxSessionLimit property: The max session limit of HostPool.- Returns:
- the maxSessionLimit value.
-
withMaxSessionLimit
Set the maxSessionLimit property: The max session limit of HostPool.- Parameters:
maxSessionLimit- the maxSessionLimit value to set.- Returns:
- the HostPoolInner object itself.
-
loadBalancerType
Get the loadBalancerType property: The type of the load balancer.- Returns:
- the loadBalancerType value.
-
withLoadBalancerType
Set the loadBalancerType property: The type of the load balancer.- Parameters:
loadBalancerType- the loadBalancerType value to set.- Returns:
- the HostPoolInner object itself.
-
ring
Get the ring property: The ring number of HostPool.- Returns:
- the ring value.
-
withRing
Set the ring property: The ring number of HostPool.- Parameters:
ring- the ring value to set.- Returns:
- the HostPoolInner object itself.
-
validationEnvironment
Get the validationEnvironment property: Is validation environment.- Returns:
- the validationEnvironment value.
-
withValidationEnvironment
Set the validationEnvironment property: Is validation environment.- Parameters:
validationEnvironment- the validationEnvironment value to set.- Returns:
- the HostPoolInner object itself.
-
registrationInfo
Get the registrationInfo property: The registration info of HostPool.- Returns:
- the registrationInfo value.
-
withRegistrationInfo
Set the registrationInfo property: The registration info of HostPool.- Parameters:
registrationInfo- the registrationInfo value to set.- Returns:
- the HostPoolInner object itself.
-
vmTemplate
Get the vmTemplate property: VM template for sessionhosts configuration within hostpool.- Returns:
- the vmTemplate value.
-
withVmTemplate
Set the vmTemplate property: VM template for sessionhosts configuration within hostpool.- Parameters:
vmTemplate- the vmTemplate value to set.- Returns:
- the HostPoolInner object itself.
-
applicationGroupReferences
Get the applicationGroupReferences property: List of applicationGroup links.- Returns:
- the applicationGroupReferences value.
-
ssoadfsAuthority
Get the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.- Returns:
- the ssoadfsAuthority value.
-
withSsoadfsAuthority
Set the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.- Parameters:
ssoadfsAuthority- the ssoadfsAuthority value to set.- Returns:
- the HostPoolInner object itself.
-
ssoClientId
Get the ssoClientId property: ClientId for the registered Relying Party used to issue WVD SSO certificates.- Returns:
- the ssoClientId value.
-
withSsoClientId
Set the ssoClientId property: ClientId for the registered Relying Party used to issue WVD SSO certificates.- Parameters:
ssoClientId- the ssoClientId value to set.- Returns:
- the HostPoolInner object itself.
-
ssoClientSecretKeyVaultPath
Get the ssoClientSecretKeyVaultPath property: Path to Azure KeyVault storing the secret used for communication to ADFS.- Returns:
- the ssoClientSecretKeyVaultPath value.
-
withSsoClientSecretKeyVaultPath
Set the ssoClientSecretKeyVaultPath property: Path to Azure KeyVault storing the secret used for communication to ADFS.- Parameters:
ssoClientSecretKeyVaultPath- the ssoClientSecretKeyVaultPath value to set.- Returns:
- the HostPoolInner object itself.
-
ssoSecretType
Get the ssoSecretType property: The type of single sign on Secret Type.- Returns:
- the ssoSecretType value.
-
withSsoSecretType
Set the ssoSecretType property: The type of single sign on Secret Type.- Parameters:
ssoSecretType- the ssoSecretType value to set.- Returns:
- the HostPoolInner object itself.
-
preferredAppGroupType
Get the preferredAppGroupType property: The type of preferred application group type, default to Desktop Application Group.- Returns:
- the preferredAppGroupType value.
-
withPreferredAppGroupType
Set the preferredAppGroupType property: The type of preferred application group type, default to Desktop Application Group.- Parameters:
preferredAppGroupType- the preferredAppGroupType value to set.- Returns:
- the HostPoolInner object itself.
-
startVMOnConnect
Get the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.- Returns:
- the startVMOnConnect value.
-
withStartVMOnConnect
Set the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.- Parameters:
startVMOnConnect- the startVMOnConnect value to set.- Returns:
- the HostPoolInner object itself.
-
cloudPcResource
Get the cloudPcResource property: Is cloud pc resource.- Returns:
- the cloudPcResource value.
-
agentUpdate
Get the agentUpdate property: The session host configuration for updating agent, monitoring agent, and stack component.- Returns:
- the agentUpdate value.
-
withAgentUpdate
Set the agentUpdate property: The session host configuration for updating agent, monitoring agent, and stack component.- Parameters:
agentUpdate- the agentUpdate value to set.- Returns:
- the HostPoolInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classResourceModelWithAllowedPropertySet- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-