Class ClusterProperties
- java.lang.Object
-
- com.azure.resourcemanager.azurestackhci.fluent.models.ClusterProperties
-
public final class ClusterProperties extends Object
Cluster properties.
-
-
Constructor Summary
Constructors Constructor Description ClusterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
aadClientId()
Get the aadClientId property: App id of cluster AAD identity.String
aadTenantId()
Get the aadTenantId property: Tenant id of cluster AAD identity.String
billingModel()
Get the billingModel property: Type of billing applied to the resource.String
cloudId()
Get the cloudId property: Unique, immutable resource id.String
cloudManagementEndpoint()
Get the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.ClusterDesiredProperties
desiredProperties()
Get the desiredProperties property: Desired properties of the cluster.OffsetDateTime
lastBillingTimestamp()
Get the lastBillingTimestamp property: Most recent billing meter timestamp.OffsetDateTime
lastSyncTimestamp()
Get the lastSyncTimestamp property: Most recent cluster sync timestamp.ProvisioningState
provisioningState()
Get the provisioningState property: Provisioning state.OffsetDateTime
registrationTimestamp()
Get the registrationTimestamp property: First cluster sync timestamp.ClusterReportedProperties
reportedProperties()
Get the reportedProperties property: Properties reported by cluster agent.Status
status()
Get the status property: Status of the cluster agent.Float
trialDaysRemaining()
Get the trialDaysRemaining property: Number of days remaining in the trial period.void
validate()
Validates the instance.ClusterProperties
withAadClientId(String aadClientId)
Set the aadClientId property: App id of cluster AAD identity.ClusterProperties
withAadTenantId(String aadTenantId)
Set the aadTenantId property: Tenant id of cluster AAD identity.ClusterProperties
withCloudManagementEndpoint(String cloudManagementEndpoint)
Set the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.ClusterProperties
withDesiredProperties(ClusterDesiredProperties desiredProperties)
Set the desiredProperties property: Desired properties of the cluster.
-
-
-
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.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-