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
aadApplicationObjectId()
Get the aadApplicationObjectId property: Object id of cluster AAD identity.String
aadClientId()
Get the aadClientId property: App id of cluster AAD identity.String
aadServicePrincipalObjectId()
Get the aadServicePrincipalObjectId property: Id of cluster identity service principal.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.String
serviceEndpoint()
Get the serviceEndpoint property: Region specific DataPath Endpoint of the cluster.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
withAadApplicationObjectId(String aadApplicationObjectId)
Set the aadApplicationObjectId property: Object id of cluster AAD identity.ClusterProperties
withAadClientId(String aadClientId)
Set the aadClientId property: App id of cluster AAD identity.ClusterProperties
withAadServicePrincipalObjectId(String aadServicePrincipalObjectId)
Set the aadServicePrincipalObjectId property: Id of cluster identity service principal.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.
-
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.
-
-