Class HostPoolPatch


  • public final class HostPoolPatch
    extends com.azure.core.management.ProxyResource
    HostPool properties that can be patched.
    • Constructor Detail

      • HostPoolPatch

        public HostPoolPatch()
    • Method Detail

      • tags

        public Map<String,​String> tags()
        Get the tags property: tags to be updated.
        Returns:
        the tags value.
      • withTags

        public HostPoolPatch withTags​(Map<String,​String> tags)
        Set the tags property: tags to be updated.
        Parameters:
        tags - the tags value to set.
        Returns:
        the HostPoolPatch object itself.
      • friendlyName

        public String friendlyName()
        Get the friendlyName property: Friendly name of HostPool.
        Returns:
        the friendlyName value.
      • withFriendlyName

        public HostPoolPatch withFriendlyName​(String friendlyName)
        Set the friendlyName property: Friendly name of HostPool.
        Parameters:
        friendlyName - the friendlyName value to set.
        Returns:
        the HostPoolPatch object itself.
      • description

        public String description()
        Get the description property: Description of HostPool.
        Returns:
        the description value.
      • withDescription

        public HostPoolPatch withDescription​(String description)
        Set the description property: Description of HostPool.
        Parameters:
        description - the description value to set.
        Returns:
        the HostPoolPatch object itself.
      • customRdpProperty

        public String customRdpProperty()
        Get the customRdpProperty property: Custom rdp property of HostPool.
        Returns:
        the customRdpProperty value.
      • withCustomRdpProperty

        public HostPoolPatch withCustomRdpProperty​(String customRdpProperty)
        Set the customRdpProperty property: Custom rdp property of HostPool.
        Parameters:
        customRdpProperty - the customRdpProperty value to set.
        Returns:
        the HostPoolPatch object itself.
      • maxSessionLimit

        public Integer maxSessionLimit()
        Get the maxSessionLimit property: The max session limit of HostPool.
        Returns:
        the maxSessionLimit value.
      • withMaxSessionLimit

        public HostPoolPatch withMaxSessionLimit​(Integer maxSessionLimit)
        Set the maxSessionLimit property: The max session limit of HostPool.
        Parameters:
        maxSessionLimit - the maxSessionLimit value to set.
        Returns:
        the HostPoolPatch object itself.
      • personalDesktopAssignmentType

        public PersonalDesktopAssignmentType personalDesktopAssignmentType()
        Get the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.
        Returns:
        the personalDesktopAssignmentType value.
      • withPersonalDesktopAssignmentType

        public HostPoolPatch withPersonalDesktopAssignmentType​(PersonalDesktopAssignmentType personalDesktopAssignmentType)
        Set the personalDesktopAssignmentType property: PersonalDesktopAssignment type for HostPool.
        Parameters:
        personalDesktopAssignmentType - the personalDesktopAssignmentType value to set.
        Returns:
        the HostPoolPatch object itself.
      • loadBalancerType

        public LoadBalancerType loadBalancerType()
        Get the loadBalancerType property: The type of the load balancer.
        Returns:
        the loadBalancerType value.
      • withLoadBalancerType

        public HostPoolPatch withLoadBalancerType​(LoadBalancerType loadBalancerType)
        Set the loadBalancerType property: The type of the load balancer.
        Parameters:
        loadBalancerType - the loadBalancerType value to set.
        Returns:
        the HostPoolPatch object itself.
      • ring

        public Integer ring()
        Get the ring property: The ring number of HostPool.
        Returns:
        the ring value.
      • withRing

        public HostPoolPatch withRing​(Integer ring)
        Set the ring property: The ring number of HostPool.
        Parameters:
        ring - the ring value to set.
        Returns:
        the HostPoolPatch object itself.
      • validationEnvironment

        public Boolean validationEnvironment()
        Get the validationEnvironment property: Is validation environment.
        Returns:
        the validationEnvironment value.
      • withValidationEnvironment

        public HostPoolPatch withValidationEnvironment​(Boolean validationEnvironment)
        Set the validationEnvironment property: Is validation environment.
        Parameters:
        validationEnvironment - the validationEnvironment value to set.
        Returns:
        the HostPoolPatch object itself.
      • registrationInfo

        public RegistrationInfoPatch registrationInfo()
        Get the registrationInfo property: The registration info of HostPool.
        Returns:
        the registrationInfo value.
      • withRegistrationInfo

        public HostPoolPatch withRegistrationInfo​(RegistrationInfoPatch registrationInfo)
        Set the registrationInfo property: The registration info of HostPool.
        Parameters:
        registrationInfo - the registrationInfo value to set.
        Returns:
        the HostPoolPatch object itself.
      • vmTemplate

        public String vmTemplate()
        Get the vmTemplate property: VM template for sessionhosts configuration within hostpool.
        Returns:
        the vmTemplate value.
      • withVmTemplate

        public HostPoolPatch withVmTemplate​(String vmTemplate)
        Set the vmTemplate property: VM template for sessionhosts configuration within hostpool.
        Parameters:
        vmTemplate - the vmTemplate value to set.
        Returns:
        the HostPoolPatch object itself.
      • ssoadfsAuthority

        public String ssoadfsAuthority()
        Get the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.
        Returns:
        the ssoadfsAuthority value.
      • withSsoadfsAuthority

        public HostPoolPatch withSsoadfsAuthority​(String ssoadfsAuthority)
        Set the ssoadfsAuthority property: URL to customer ADFS server for signing WVD SSO certificates.
        Parameters:
        ssoadfsAuthority - the ssoadfsAuthority value to set.
        Returns:
        the HostPoolPatch object itself.
      • ssoClientId

        public String ssoClientId()
        Get the ssoClientId property: ClientId for the registered Relying Party used to issue WVD SSO certificates.
        Returns:
        the ssoClientId value.
      • withSsoClientId

        public HostPoolPatch withSsoClientId​(String ssoClientId)
        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 HostPoolPatch object itself.
      • ssoClientSecretKeyVaultPath

        public String ssoClientSecretKeyVaultPath()
        Get the ssoClientSecretKeyVaultPath property: Path to Azure KeyVault storing the secret used for communication to ADFS.
        Returns:
        the ssoClientSecretKeyVaultPath value.
      • withSsoClientSecretKeyVaultPath

        public HostPoolPatch withSsoClientSecretKeyVaultPath​(String ssoClientSecretKeyVaultPath)
        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 HostPoolPatch object itself.
      • ssoSecretType

        public SsoSecretType ssoSecretType()
        Get the ssoSecretType property: The type of single sign on Secret Type.
        Returns:
        the ssoSecretType value.
      • withSsoSecretType

        public HostPoolPatch withSsoSecretType​(SsoSecretType ssoSecretType)
        Set the ssoSecretType property: The type of single sign on Secret Type.
        Parameters:
        ssoSecretType - the ssoSecretType value to set.
        Returns:
        the HostPoolPatch object itself.
      • preferredAppGroupType

        public PreferredAppGroupType preferredAppGroupType()
        Get the preferredAppGroupType property: The type of preferred application group type, default to Desktop Application Group.
        Returns:
        the preferredAppGroupType value.
      • withPreferredAppGroupType

        public HostPoolPatch withPreferredAppGroupType​(PreferredAppGroupType preferredAppGroupType)
        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 HostPoolPatch object itself.
      • startVMOnConnect

        public Boolean startVMOnConnect()
        Get the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.
        Returns:
        the startVMOnConnect value.
      • withStartVMOnConnect

        public HostPoolPatch withStartVMOnConnect​(Boolean startVMOnConnect)
        Set the startVMOnConnect property: The flag to turn on/off StartVMOnConnect feature.
        Parameters:
        startVMOnConnect - the startVMOnConnect value to set.
        Returns:
        the HostPoolPatch object itself.
      • publicNetworkAccess

        public PublicNetworkAccess publicNetworkAccess()
        Get the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.
        Returns:
        the publicNetworkAccess value.
      • withPublicNetworkAccess

        public HostPoolPatch withPublicNetworkAccess​(PublicNetworkAccess publicNetworkAccess)
        Set the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.
        Parameters:
        publicNetworkAccess - the publicNetworkAccess value to set.
        Returns:
        the HostPoolPatch object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.