Class ClusterProperties


  • public final class ClusterProperties
    extends Object
    Cluster properties.
    • Constructor Detail

      • ClusterProperties

        public ClusterProperties()
    • Method Detail

      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: Provisioning state.
        Returns:
        the provisioningState value.
      • status

        public Status status()
        Get the status property: Status of the cluster agent.
        Returns:
        the status value.
      • cloudId

        public String cloudId()
        Get the cloudId property: Unique, immutable resource id.
        Returns:
        the cloudId value.
      • cloudManagementEndpoint

        public String cloudManagementEndpoint()
        Get the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.
        Returns:
        the cloudManagementEndpoint value.
      • withCloudManagementEndpoint

        public ClusterProperties withCloudManagementEndpoint​(String cloudManagementEndpoint)
        Set the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.
        Parameters:
        cloudManagementEndpoint - the cloudManagementEndpoint value to set.
        Returns:
        the ClusterProperties object itself.
      • aadClientId

        public String aadClientId()
        Get the aadClientId property: App id of cluster AAD identity.
        Returns:
        the aadClientId value.
      • withAadClientId

        public ClusterProperties withAadClientId​(String aadClientId)
        Set the aadClientId property: App id of cluster AAD identity.
        Parameters:
        aadClientId - the aadClientId value to set.
        Returns:
        the ClusterProperties object itself.
      • aadTenantId

        public String aadTenantId()
        Get the aadTenantId property: Tenant id of cluster AAD identity.
        Returns:
        the aadTenantId value.
      • withAadTenantId

        public ClusterProperties withAadTenantId​(String aadTenantId)
        Set the aadTenantId property: Tenant id of cluster AAD identity.
        Parameters:
        aadTenantId - the aadTenantId value to set.
        Returns:
        the ClusterProperties object itself.
      • aadApplicationObjectId

        public String aadApplicationObjectId()
        Get the aadApplicationObjectId property: Object id of cluster AAD identity.
        Returns:
        the aadApplicationObjectId value.
      • withAadApplicationObjectId

        public ClusterProperties withAadApplicationObjectId​(String aadApplicationObjectId)
        Set the aadApplicationObjectId property: Object id of cluster AAD identity.
        Parameters:
        aadApplicationObjectId - the aadApplicationObjectId value to set.
        Returns:
        the ClusterProperties object itself.
      • aadServicePrincipalObjectId

        public String aadServicePrincipalObjectId()
        Get the aadServicePrincipalObjectId property: Id of cluster identity service principal.
        Returns:
        the aadServicePrincipalObjectId value.
      • withAadServicePrincipalObjectId

        public ClusterProperties withAadServicePrincipalObjectId​(String aadServicePrincipalObjectId)
        Set the aadServicePrincipalObjectId property: Id of cluster identity service principal.
        Parameters:
        aadServicePrincipalObjectId - the aadServicePrincipalObjectId value to set.
        Returns:
        the ClusterProperties object itself.
      • desiredProperties

        public ClusterDesiredProperties desiredProperties()
        Get the desiredProperties property: Desired properties of the cluster.
        Returns:
        the desiredProperties value.
      • withDesiredProperties

        public ClusterProperties withDesiredProperties​(ClusterDesiredProperties desiredProperties)
        Set the desiredProperties property: Desired properties of the cluster.
        Parameters:
        desiredProperties - the desiredProperties value to set.
        Returns:
        the ClusterProperties object itself.
      • reportedProperties

        public ClusterReportedProperties reportedProperties()
        Get the reportedProperties property: Properties reported by cluster agent.
        Returns:
        the reportedProperties value.
      • trialDaysRemaining

        public Float trialDaysRemaining()
        Get the trialDaysRemaining property: Number of days remaining in the trial period.
        Returns:
        the trialDaysRemaining value.
      • billingModel

        public String billingModel()
        Get the billingModel property: Type of billing applied to the resource.
        Returns:
        the billingModel value.
      • registrationTimestamp

        public OffsetDateTime registrationTimestamp()
        Get the registrationTimestamp property: First cluster sync timestamp.
        Returns:
        the registrationTimestamp value.
      • lastSyncTimestamp

        public OffsetDateTime lastSyncTimestamp()
        Get the lastSyncTimestamp property: Most recent cluster sync timestamp.
        Returns:
        the lastSyncTimestamp value.
      • lastBillingTimestamp

        public OffsetDateTime lastBillingTimestamp()
        Get the lastBillingTimestamp property: Most recent billing meter timestamp.
        Returns:
        the lastBillingTimestamp value.
      • serviceEndpoint

        public String serviceEndpoint()
        Get the serviceEndpoint property: Region specific DataPath Endpoint of the cluster.
        Returns:
        the serviceEndpoint value.
      • validate

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