Class ClusterProperties


  • public final class ClusterProperties
    extends Object
    The properties associated with a Stream Analytics cluster.
    • Constructor Detail

      • ClusterProperties

        public ClusterProperties()
    • Method Detail

      • createdDate

        public OffsetDateTime createdDate()
        Get the createdDate property: The date this cluster was created.
        Returns:
        the createdDate value.
      • clusterId

        public String clusterId()
        Get the clusterId property: Unique identifier for the cluster.
        Returns:
        the clusterId value.
      • provisioningState

        public ClusterProvisioningState provisioningState()
        Get the provisioningState property: The status of the cluster provisioning. The three terminal states are: Succeeded, Failed and Canceled.
        Returns:
        the provisioningState value.
      • capacityAllocated

        public Integer capacityAllocated()
        Get the capacityAllocated property: Represents the number of streaming units currently being used on the cluster.
        Returns:
        the capacityAllocated value.
      • capacityAssigned

        public Integer capacityAssigned()
        Get the capacityAssigned property: Represents the sum of the SUs of all streaming jobs associated with the cluster. If all of the jobs were running, this would be the capacity allocated.
        Returns:
        the capacityAssigned value.
      • validate

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