HostPoolInner Class
- 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
- com.
- com.
- com.
- com.
public final class HostPoolInner
extends ResourceModelWithAllowedPropertySet
Represents a HostPool definition.
Constructor Summary
| Constructor | Description |
|---|---|
| HostPoolInner() |
Creates an instance of Host |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Agent |
agentUpdate()
Get the agent |
| List<String> |
appAttachPackageReferences()
Get the app |
| List<String> |
applicationGroupReferences()
Get the application |
| Boolean |
cloudPcResource()
Get the cloud |
| String |
customRdpProperty()
Get the custom |
| String |
description()
Get the description property: Description of Host |
| String |
etag()
Get the etag property: The etag field is *not* required. |
| String |
friendlyName()
Get the friendly |
|
static
Host |
fromJson(JsonReader jsonReader)
Reads an instance of Host |
|
Host |
hostPoolType()
Get the 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. |
| String |
objectId()
Get the object |
|
Personal |
personalDesktopAssignmentType()
Get the personal |
|
Preferred |
preferredAppGroupType()
Get the preferred |
|
List<Private |
privateEndpointConnections()
Get the private |
|
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 |
|
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(AgentUpdateProperties 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 |
withHostPoolType(HostPoolType hostPoolType)
Set the host |
|
Host |
withIdentity(ResourceModelWithAllowedPropertySetIdentity identity)
Set the identity property: The identity property. |
|
Host |
withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. |
|
Host |
withLoadBalancerType(LoadBalancerType loadBalancerType)
Set the load |
|
Host |
withLocation(String location) |
|
Host |
withManagedBy(String managedBy)
Set the managed |
|
Host |
withMaxSessionLimit(Integer maxSessionLimit)
Set the max |
|
Host |
withPersonalDesktopAssignmentType(PersonalDesktopAssignmentType personalDesktopAssignmentType)
Set the personal |
|
Host |
withPlan(ResourceModelWithAllowedPropertySetPlan plan)
Set the plan property: The plan property. |
|
Host |
withPreferredAppGroupType(PreferredAppGroupType preferredAppGroupType)
Set the preferred |
|
Host |
withPublicNetworkAccess(HostpoolPublicNetworkAccess publicNetworkAccess)
Set the public |
|
Host |
withRegistrationInfo(RegistrationInfoInner registrationInfo)
Set the registration |
|
Host |
withRing(Integer ring)
Set the ring property: The ring number of Host |
|
Host |
withSku(ResourceModelWithAllowedPropertySetSku sku)
Set the sku property: The sku property. |
|
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) |
|
Host |
withValidationEnvironment(Boolean validationEnvironment)
Set the validation |
|
Host |
withVmTemplate(String vmTemplate)
Set the vm |
Methods inherited from Resource
Methods inherited from ResourceModelWithAllowedPropertySet
Methods inherited from java.lang.Object
Constructor Details
HostPoolInner
public HostPoolInner()
Creates an instance of HostPoolInner class.
Method Details
agentUpdate
public AgentUpdateProperties agentUpdate()
Get the agentUpdate property: The session host configuration for updating agent, monitoring agent, and stack component.
Returns:
appAttachPackageReferences
public List<String> appAttachPackageReferences()
Get the appAttachPackageReferences property: List of App Attach Package links.
Returns:
applicationGroupReferences
public List<String> applicationGroupReferences()
Get the applicationGroupReferences property: List of applicationGroup links.
Returns:
cloudPcResource
public Boolean cloudPcResource()
Get the cloudPcResource property: Is cloud pc resource.
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:
etag
public String etag()
Get 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.
Overrides:
HostPoolInner.etag()Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of HostPool.
Returns:
fromJson
public static HostPoolInner fromJson(JsonReader jsonReader)
Reads an instance of HostPoolInner from the JsonReader.
Parameters:
Returns:
Throws:
hostPoolType
public HostPoolType hostPoolType()
Get the hostPoolType property: HostPool type for desktop.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
HostPoolInner.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:
HostPoolInner.name()Returns:
objectId
public String objectId()
Get the objectId property: ObjectId of HostPool. (internal use).
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:
privateEndpointConnections
public List<PrivateEndpointConnection> privateEndpointConnections()
Get the privateEndpointConnections property: List of private endpoint connection associated with the specified resource.
Returns:
publicNetworkAccess
public HostpoolPublicNetworkAccess publicNetworkAccess()
Get 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:
registrationInfo
public RegistrationInfoInner 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.
Overrides:
HostPoolInner.systemData()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
HostPoolInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
HostPoolInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
HostPoolInner.validate()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 HostPoolInner withAgentUpdate(AgentUpdateProperties agentUpdate)
Set the agentUpdate property: The session host configuration for updating agent, monitoring agent, and stack component.
Parameters:
Returns:
withCustomRdpProperty
public HostPoolInner withCustomRdpProperty(String customRdpProperty)
Set the customRdpProperty property: Custom rdp property of HostPool.
Parameters:
Returns:
withDescription
public HostPoolInner withDescription(String description)
Set the description property: Description of HostPool.
Parameters:
Returns:
withFriendlyName
public HostPoolInner withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of HostPool.
Parameters:
Returns:
withHostPoolType
public HostPoolInner withHostPoolType(HostPoolType hostPoolType)
Set the hostPoolType property: HostPool type for desktop.
Parameters:
Returns:
withIdentity
public HostPoolInner withIdentity(ResourceModelWithAllowedPropertySetIdentity identity)
Set the identity property: The identity property.
Overrides:
HostPoolInner.withIdentity(ResourceModelWithAllowedPropertySetIdentity identity)Parameters:
withKind
public HostPoolInner withKind(String kind)
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:
HostPoolInner.withKind(String kind)Parameters:
withLoadBalancerType
public HostPoolInner withLoadBalancerType(LoadBalancerType loadBalancerType)
Set the loadBalancerType property: The type of the load balancer.
Parameters:
Returns:
withLocation
public HostPoolInner withLocation(String location)
Overrides:
HostPoolInner.withLocation(String location)Parameters:
withManagedBy
public HostPoolInner withManagedBy(String managedBy)
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:
HostPoolInner.withManagedBy(String managedBy)Parameters:
withMaxSessionLimit
public HostPoolInner withMaxSessionLimit(Integer maxSessionLimit)
Set the maxSessionLimit property: The max session limit of HostPool.
Parameters:
Returns:
withPersonalDesktopAssignmentType
public HostPoolInner withPersonalDesktopAssignmentType(PersonalDesktopAssignmentType personalDesktopAssignmentType)
Set the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.
Parameters:
Returns:
withPlan
public HostPoolInner withPlan(ResourceModelWithAllowedPropertySetPlan plan)
Set the plan property: The plan property.
Overrides:
HostPoolInner.withPlan(ResourceModelWithAllowedPropertySetPlan plan)Parameters:
withPreferredAppGroupType
public HostPoolInner withPreferredAppGroupType(PreferredAppGroupType preferredAppGroupType)
Set the preferredAppGroupType property: The type of preferred application group type, default to Desktop Application Group.
Parameters:
Returns:
withPublicNetworkAccess
public HostPoolInner withPublicNetworkAccess(HostpoolPublicNetworkAccess publicNetworkAccess)
Set 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.
Parameters:
Returns:
withRegistrationInfo
public HostPoolInner withRegistrationInfo(RegistrationInfoInner registrationInfo)
Set the registrationInfo property: The registration info of HostPool.
Parameters:
Returns:
withRing
public HostPoolInner withRing(Integer ring)
Set the ring property: The ring number of HostPool.
Parameters:
Returns:
withSku
public HostPoolInner withSku(ResourceModelWithAllowedPropertySetSku sku)
Set the sku property: The sku property.
Overrides:
HostPoolInner.withSku(ResourceModelWithAllowedPropertySetSku sku)Parameters:
withSsoadfsAuthority
public HostPoolInner withSsoadfsAuthority(String ssoadfsAuthority)
Set the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.
Parameters:
Returns:
withSsoClientId
public HostPoolInner withSsoClientId(String ssoClientId)
Set the ssoClientId property: ClientId for the registered Relying Party used to issue WVD SSO certificates.
Parameters:
Returns:
withSsoClientSecretKeyVaultPath
public HostPoolInner withSsoClientSecretKeyVaultPath(String ssoClientSecretKeyVaultPath)
Set the ssoClientSecretKeyVaultPath property: Path to Azure KeyVault storing the secret used for communication to ADFS.
Parameters:
Returns:
withSsoSecretType
public HostPoolInner withSsoSecretType(SsoSecretType ssoSecretType)
Set the ssoSecretType property: The type of single sign on Secret Type.
Parameters:
Returns:
withStartVMOnConnect
public HostPoolInner withStartVMOnConnect(Boolean startVMOnConnect)
Set the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.
Parameters:
Returns:
withTags
public HostPoolInner withTags(Map<String,String> tags)
Overrides:
HostPoolInner.withTags(Map<String,String> tags)Parameters:
withValidationEnvironment
public HostPoolInner withValidationEnvironment(Boolean validationEnvironment)
Set the validationEnvironment property: Is validation environment.
Parameters:
Returns:
withVmTemplate
public HostPoolInner withVmTemplate(String vmTemplate)
Set the vmTemplate property: VM template for sessionhosts configuration within hostpool.
Parameters:
Returns: