HostPool Interface

public interface HostPool

An immutable client-side representation of HostPool.

Method Summary

Modifier and Type Method and Description
abstract AgentUpdateProperties agentUpdate()

Gets the agentUpdate property: The session host configuration for updating agent, monitoring agent, and stack component.

abstract List<String> appAttachPackageReferences()

Gets the appAttachPackageReferences property: List of App Attach Package links.

abstract List<String> applicationGroupReferences()

Gets the applicationGroupReferences property: List of applicationGroup links.

abstract Boolean cloudPcResource()

Gets the cloudPcResource property: Is cloud pc resource.

abstract String customRdpProperty()

Gets the customRdpProperty property: Custom rdp property of HostPool.

abstract String description()

Gets the description property: Description of HostPool.

abstract String etag()

Gets the etag property: The etag field is *not* required.

abstract String friendlyName()

Gets the friendlyName property: Friendly name of HostPool.

abstract HostPoolType hostPoolType()

Gets the hostPoolType property: HostPool type for desktop.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract ResourceModelWithAllowedPropertySetIdentity identity()

Gets the identity property: The identity property.

abstract HostPoolInner innerModel()

Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.HostPoolInner object.

abstract String kind()

Gets the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.

abstract RegistrationTokenList listRegistrationTokens()

Operation to list the RegistrationTokens associated with the HostPool.

abstract Response<RegistrationTokenList> listRegistrationTokensWithResponse(Context context)

Operation to list the RegistrationTokens associated with the HostPool.

abstract LoadBalancerType loadBalancerType()

Gets the loadBalancerType property: The type of the load balancer.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String managedBy()

Gets the managedBy property: The fully qualified resource ID of the resource that manages this resource.

abstract Integer maxSessionLimit()

Gets the maxSessionLimit property: The max session limit of HostPool.

abstract String name()

Gets the name property: The name of the resource.

abstract String objectId()

Gets the objectId property: ObjectId of HostPool.

abstract PersonalDesktopAssignmentType personalDesktopAssignmentType()

Gets the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.

abstract ResourceModelWithAllowedPropertySetPlan plan()

Gets the plan property: The plan property.

abstract PreferredAppGroupType preferredAppGroupType()

Gets the preferredAppGroupType property: The type of preferred application group type, default to Desktop Application Group.

abstract List<PrivateEndpointConnection> privateEndpointConnections()

Gets the privateEndpointConnections property: List of private endpoint connection associated with the specified resource.

abstract HostpoolPublicNetworkAccess publicNetworkAccess()

Gets the publicNetworkAccess property: Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints.

abstract HostPool refresh()

Refreshes the resource to sync with Azure.

abstract HostPool refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract RegistrationInfo registrationInfo()

Gets the registrationInfo property: The registration info of HostPool.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract RegistrationInfo retrieveRegistrationToken()

Registration token of the host pool.

abstract Response<RegistrationInfo> retrieveRegistrationTokenWithResponse(Context context)

Registration token of the host pool.

abstract Integer ring()

Gets the ring property: The ring number of HostPool.

abstract ResourceModelWithAllowedPropertySetSku sku()

Gets the sku property: The sku property.

abstract String ssoadfsAuthority()

Gets the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.

abstract String ssoClientId()

Gets the ssoClientId property: ClientId for the registered Relying Party used to issue WVD SSO certificates.

abstract String ssoClientSecretKeyVaultPath()

Gets the ssoClientSecretKeyVaultPath property: Path to Azure KeyVault storing the secret used for communication to ADFS.

abstract SsoSecretType ssoSecretType()

Gets the ssoSecretType property: The type of single sign on Secret Type.

abstract Boolean startVMOnConnect()

Gets the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the HostPool resource.

abstract Boolean validationEnvironment()

Gets the validationEnvironment property: Is validation environment.

abstract String vmTemplate()

Gets the vmTemplate property: VM template for sessionhosts configuration within hostpool.

Method Details

agentUpdate

public abstract AgentUpdateProperties agentUpdate()

Gets the agentUpdate property: The session host configuration for updating agent, monitoring agent, and stack component.

Returns:

the agentUpdate value.

appAttachPackageReferences

public abstract List<String> appAttachPackageReferences()

Gets the appAttachPackageReferences property: List of App Attach Package links.

Returns:

the appAttachPackageReferences value.

applicationGroupReferences

public abstract List<String> applicationGroupReferences()

Gets the applicationGroupReferences property: List of applicationGroup links.

Returns:

the applicationGroupReferences value.

cloudPcResource

public abstract Boolean cloudPcResource()

Gets the cloudPcResource property: Is cloud pc resource.

Returns:

the cloudPcResource value.

customRdpProperty

public abstract String customRdpProperty()

Gets the customRdpProperty property: Custom rdp property of HostPool.

Returns:

the customRdpProperty value.

description

public abstract String description()

Gets the description property: Description of HostPool.

Returns:

the description value.

etag

public abstract String etag()

Gets the etag property: The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.

Returns:

the etag value.

friendlyName

public abstract String friendlyName()

Gets the friendlyName property: Friendly name of HostPool.

Returns:

the friendlyName value.

hostPoolType

public abstract HostPoolType hostPoolType()

Gets the hostPoolType property: HostPool type for desktop.

Returns:

the hostPoolType value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

identity

public abstract ResourceModelWithAllowedPropertySetIdentity identity()

Gets the identity property: The identity property.

Returns:

the identity value.

innerModel

public abstract HostPoolInner innerModel()

Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.HostPoolInner object.

Returns:

the inner object.

kind

public abstract String kind()

Gets 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.

Returns:

the kind value.

listRegistrationTokens

public abstract RegistrationTokenList listRegistrationTokens()

Operation to list the RegistrationTokens associated with the HostPool.

Returns:

registrationTokenList.

listRegistrationTokensWithResponse

public abstract Response<RegistrationTokenList> listRegistrationTokensWithResponse(Context context)

Operation to list the RegistrationTokens associated with the HostPool.

Parameters:

context - The context to associate with this operation.

Returns:

registrationTokenList along with Response<T>.

loadBalancerType

public abstract LoadBalancerType loadBalancerType()

Gets the loadBalancerType property: The type of the load balancer.

Returns:

the loadBalancerType value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

managedBy

public abstract String managedBy()

Gets 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.

Returns:

the managedBy value.

maxSessionLimit

public abstract Integer maxSessionLimit()

Gets the maxSessionLimit property: The max session limit of HostPool.

Returns:

the maxSessionLimit value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

objectId

public abstract String objectId()

Gets the objectId property: ObjectId of HostPool. (internal use).

Returns:

the objectId value.

personalDesktopAssignmentType

public abstract PersonalDesktopAssignmentType personalDesktopAssignmentType()

Gets the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.

Returns:

the personalDesktopAssignmentType value.

plan

public abstract ResourceModelWithAllowedPropertySetPlan plan()

Gets the plan property: The plan property.

Returns:

the plan value.

preferredAppGroupType

public abstract PreferredAppGroupType preferredAppGroupType()

Gets the preferredAppGroupType property: The type of preferred application group type, default to Desktop Application Group.

Returns:

the preferredAppGroupType value.

privateEndpointConnections

public abstract List<PrivateEndpointConnection> privateEndpointConnections()

Gets the privateEndpointConnections property: List of private endpoint connection associated with the specified resource.

Returns:

the privateEndpointConnections value.

publicNetworkAccess

public abstract HostpoolPublicNetworkAccess publicNetworkAccess()

Gets the publicNetworkAccess property: Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints.

Returns:

the publicNetworkAccess value.

refresh

public abstract HostPool refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract HostPool refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

registrationInfo

public abstract RegistrationInfo registrationInfo()

Gets the registrationInfo property: The registration info of HostPool.

Returns:

the registrationInfo value.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

retrieveRegistrationToken

public abstract RegistrationInfo retrieveRegistrationToken()

Registration token of the host pool.

Returns:

represents a RegistrationInfo definition.

retrieveRegistrationTokenWithResponse

public abstract Response<RegistrationInfo> retrieveRegistrationTokenWithResponse(Context context)

Registration token of the host pool.

Parameters:

context - The context to associate with this operation.

Returns:

represents a RegistrationInfo definition along with Response<T>.

ring

public abstract Integer ring()

Gets the ring property: The ring number of HostPool.

Returns:

the ring value.

sku

public abstract ResourceModelWithAllowedPropertySetSku sku()

Gets the sku property: The sku property.

Returns:

the sku value.

ssoadfsAuthority

public abstract String ssoadfsAuthority()

Gets the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.

Returns:

the ssoadfsAuthority value.

ssoClientId

public abstract String ssoClientId()

Gets the ssoClientId property: ClientId for the registered Relying Party used to issue WVD SSO certificates.

Returns:

the ssoClientId value.

ssoClientSecretKeyVaultPath

public abstract String ssoClientSecretKeyVaultPath()

Gets the ssoClientSecretKeyVaultPath property: Path to Azure KeyVault storing the secret used for communication to ADFS.

Returns:

the ssoClientSecretKeyVaultPath value.

ssoSecretType

public abstract SsoSecretType ssoSecretType()

Gets the ssoSecretType property: The type of single sign on Secret Type.

Returns:

the ssoSecretType value.

startVMOnConnect

public abstract Boolean startVMOnConnect()

Gets the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.

Returns:

the startVMOnConnect value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract HostPool.Update update()

Begins update for the HostPool resource.

Returns:

the stage of resource update.

validationEnvironment

public abstract Boolean validationEnvironment()

Gets the validationEnvironment property: Is validation environment.

Returns:

the validationEnvironment value.

vmTemplate

public abstract String vmTemplate()

Gets the vmTemplate property: VM template for sessionhosts configuration within hostpool.

Returns:

the vmTemplate value.

Applies to