Class ClusterInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.azurestackhci.fluent.models.ClusterInner
-
public final class ClusterInner extends com.azure.core.management.Resource
Cluster details.
-
-
Constructor Summary
Constructors Constructor Description ClusterInner()
-
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.com.azure.core.management.SystemData
systemData()
Get the systemData property: System data of Cluster resource.Float
trialDaysRemaining()
Get the trialDaysRemaining property: Number of days remaining in the trial period.void
validate()
Validates the instance.ClusterInner
withAadApplicationObjectId(String aadApplicationObjectId)
Set the aadApplicationObjectId property: Object id of cluster AAD identity.ClusterInner
withAadClientId(String aadClientId)
Set the aadClientId property: App id of cluster AAD identity.ClusterInner
withAadServicePrincipalObjectId(String aadServicePrincipalObjectId)
Set the aadServicePrincipalObjectId property: Id of cluster identity service principal.ClusterInner
withAadTenantId(String aadTenantId)
Set the aadTenantId property: Tenant id of cluster AAD identity.ClusterInner
withCloudManagementEndpoint(String cloudManagementEndpoint)
Set the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.ClusterInner
withDesiredProperties(ClusterDesiredProperties desiredProperties)
Set the desiredProperties property: Desired properties of the cluster.ClusterInner
withLocation(String location)
ClusterInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: System data of Cluster resource.- Returns:
- the systemData value.
-
withLocation
public ClusterInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public ClusterInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 ClusterInner withCloudManagementEndpoint(String cloudManagementEndpoint)
Set the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.- Parameters:
cloudManagementEndpoint
- the cloudManagementEndpoint value to set.- Returns:
- the ClusterInner object itself.
-
aadClientId
public String aadClientId()
Get the aadClientId property: App id of cluster AAD identity.- Returns:
- the aadClientId value.
-
withAadClientId
public ClusterInner withAadClientId(String aadClientId)
Set the aadClientId property: App id of cluster AAD identity.- Parameters:
aadClientId
- the aadClientId value to set.- Returns:
- the ClusterInner object itself.
-
aadTenantId
public String aadTenantId()
Get the aadTenantId property: Tenant id of cluster AAD identity.- Returns:
- the aadTenantId value.
-
withAadTenantId
public ClusterInner withAadTenantId(String aadTenantId)
Set the aadTenantId property: Tenant id of cluster AAD identity.- Parameters:
aadTenantId
- the aadTenantId value to set.- Returns:
- the ClusterInner object itself.
-
aadApplicationObjectId
public String aadApplicationObjectId()
Get the aadApplicationObjectId property: Object id of cluster AAD identity.- Returns:
- the aadApplicationObjectId value.
-
withAadApplicationObjectId
public ClusterInner withAadApplicationObjectId(String aadApplicationObjectId)
Set the aadApplicationObjectId property: Object id of cluster AAD identity.- Parameters:
aadApplicationObjectId
- the aadApplicationObjectId value to set.- Returns:
- the ClusterInner object itself.
-
aadServicePrincipalObjectId
public String aadServicePrincipalObjectId()
Get the aadServicePrincipalObjectId property: Id of cluster identity service principal.- Returns:
- the aadServicePrincipalObjectId value.
-
withAadServicePrincipalObjectId
public ClusterInner withAadServicePrincipalObjectId(String aadServicePrincipalObjectId)
Set the aadServicePrincipalObjectId property: Id of cluster identity service principal.- Parameters:
aadServicePrincipalObjectId
- the aadServicePrincipalObjectId value to set.- Returns:
- the ClusterInner object itself.
-
desiredProperties
public ClusterDesiredProperties desiredProperties()
Get the desiredProperties property: Desired properties of the cluster.- Returns:
- the desiredProperties value.
-
withDesiredProperties
public ClusterInner withDesiredProperties(ClusterDesiredProperties desiredProperties)
Set the desiredProperties property: Desired properties of the cluster.- Parameters:
desiredProperties
- the desiredProperties value to set.- Returns:
- the ClusterInner 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.
-
-