com.pulumi.azurenative.azurestackhci.outputs.GetClusterResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.azurestackhci.outputs;
import com.pulumi.azurenative.azurestackhci.outputs.ClusterDesiredPropertiesResponse;
import com.pulumi.azurenative.azurestackhci.outputs.ClusterReportedPropertiesResponse;
import com.pulumi.azurenative.azurestackhci.outputs.SoftwareAssurancePropertiesResponse;
import com.pulumi.azurenative.azurestackhci.outputs.SystemDataResponse;
import com.pulumi.azurenative.azurestackhci.outputs.UserAssignedIdentityResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetClusterResult {
/**
* @return Object id of cluster AAD identity.
*
*/
private @Nullable String aadApplicationObjectId;
/**
* @return App id of cluster AAD identity.
*
*/
private @Nullable String aadClientId;
/**
* @return Id of cluster identity service principal.
*
*/
private @Nullable String aadServicePrincipalObjectId;
/**
* @return Tenant id of cluster AAD identity.
*
*/
private @Nullable String aadTenantId;
/**
* @return Type of billing applied to the resource.
*
*/
private String billingModel;
/**
* @return Unique, immutable resource id.
*
*/
private String cloudId;
/**
* @return Endpoint configured for management from the Azure portal.
*
*/
private @Nullable String cloudManagementEndpoint;
/**
* @return Desired properties of the cluster.
*
*/
private @Nullable ClusterDesiredPropertiesResponse desiredProperties;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Most recent billing meter timestamp.
*
*/
private String lastBillingTimestamp;
/**
* @return Most recent cluster sync timestamp.
*
*/
private String lastSyncTimestamp;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
*
*/
private String principalId;
/**
* @return Provisioning state.
*
*/
private String provisioningState;
/**
* @return First cluster sync timestamp.
*
*/
private String registrationTimestamp;
/**
* @return Properties reported by cluster agent.
*
*/
private ClusterReportedPropertiesResponse reportedProperties;
/**
* @return Object id of RP Service Principal
*
*/
private String resourceProviderObjectId;
/**
* @return Region specific DataPath Endpoint of the cluster.
*
*/
private String serviceEndpoint;
/**
* @return Software Assurance properties of the cluster.
*
*/
private @Nullable SoftwareAssurancePropertiesResponse softwareAssuranceProperties;
/**
* @return Status of the cluster agent.
*
*/
private String status;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
*
*/
private String tenantId;
/**
* @return Number of days remaining in the trial period.
*
*/
private Double trialDaysRemaining;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
*
*/
private @Nullable Map userAssignedIdentities;
private GetClusterResult() {}
/**
* @return Object id of cluster AAD identity.
*
*/
public Optional aadApplicationObjectId() {
return Optional.ofNullable(this.aadApplicationObjectId);
}
/**
* @return App id of cluster AAD identity.
*
*/
public Optional aadClientId() {
return Optional.ofNullable(this.aadClientId);
}
/**
* @return Id of cluster identity service principal.
*
*/
public Optional aadServicePrincipalObjectId() {
return Optional.ofNullable(this.aadServicePrincipalObjectId);
}
/**
* @return Tenant id of cluster AAD identity.
*
*/
public Optional aadTenantId() {
return Optional.ofNullable(this.aadTenantId);
}
/**
* @return Type of billing applied to the resource.
*
*/
public String billingModel() {
return this.billingModel;
}
/**
* @return Unique, immutable resource id.
*
*/
public String cloudId() {
return this.cloudId;
}
/**
* @return Endpoint configured for management from the Azure portal.
*
*/
public Optional cloudManagementEndpoint() {
return Optional.ofNullable(this.cloudManagementEndpoint);
}
/**
* @return Desired properties of the cluster.
*
*/
public Optional desiredProperties() {
return Optional.ofNullable(this.desiredProperties);
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Most recent billing meter timestamp.
*
*/
public String lastBillingTimestamp() {
return this.lastBillingTimestamp;
}
/**
* @return Most recent cluster sync timestamp.
*
*/
public String lastSyncTimestamp() {
return this.lastSyncTimestamp;
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
*
*/
public String principalId() {
return this.principalId;
}
/**
* @return Provisioning state.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return First cluster sync timestamp.
*
*/
public String registrationTimestamp() {
return this.registrationTimestamp;
}
/**
* @return Properties reported by cluster agent.
*
*/
public ClusterReportedPropertiesResponse reportedProperties() {
return this.reportedProperties;
}
/**
* @return Object id of RP Service Principal
*
*/
public String resourceProviderObjectId() {
return this.resourceProviderObjectId;
}
/**
* @return Region specific DataPath Endpoint of the cluster.
*
*/
public String serviceEndpoint() {
return this.serviceEndpoint;
}
/**
* @return Software Assurance properties of the cluster.
*
*/
public Optional softwareAssuranceProperties() {
return Optional.ofNullable(this.softwareAssuranceProperties);
}
/**
* @return Status of the cluster agent.
*
*/
public String status() {
return this.status;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
*
*/
public String tenantId() {
return this.tenantId;
}
/**
* @return Number of days remaining in the trial period.
*
*/
public Double trialDaysRemaining() {
return this.trialDaysRemaining;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
*
*/
public Map userAssignedIdentities() {
return this.userAssignedIdentities == null ? Map.of() : this.userAssignedIdentities;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetClusterResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String aadApplicationObjectId;
private @Nullable String aadClientId;
private @Nullable String aadServicePrincipalObjectId;
private @Nullable String aadTenantId;
private String billingModel;
private String cloudId;
private @Nullable String cloudManagementEndpoint;
private @Nullable ClusterDesiredPropertiesResponse desiredProperties;
private String id;
private String lastBillingTimestamp;
private String lastSyncTimestamp;
private String location;
private String name;
private String principalId;
private String provisioningState;
private String registrationTimestamp;
private ClusterReportedPropertiesResponse reportedProperties;
private String resourceProviderObjectId;
private String serviceEndpoint;
private @Nullable SoftwareAssurancePropertiesResponse softwareAssuranceProperties;
private String status;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String tenantId;
private Double trialDaysRemaining;
private String type;
private @Nullable Map userAssignedIdentities;
public Builder() {}
public Builder(GetClusterResult defaults) {
Objects.requireNonNull(defaults);
this.aadApplicationObjectId = defaults.aadApplicationObjectId;
this.aadClientId = defaults.aadClientId;
this.aadServicePrincipalObjectId = defaults.aadServicePrincipalObjectId;
this.aadTenantId = defaults.aadTenantId;
this.billingModel = defaults.billingModel;
this.cloudId = defaults.cloudId;
this.cloudManagementEndpoint = defaults.cloudManagementEndpoint;
this.desiredProperties = defaults.desiredProperties;
this.id = defaults.id;
this.lastBillingTimestamp = defaults.lastBillingTimestamp;
this.lastSyncTimestamp = defaults.lastSyncTimestamp;
this.location = defaults.location;
this.name = defaults.name;
this.principalId = defaults.principalId;
this.provisioningState = defaults.provisioningState;
this.registrationTimestamp = defaults.registrationTimestamp;
this.reportedProperties = defaults.reportedProperties;
this.resourceProviderObjectId = defaults.resourceProviderObjectId;
this.serviceEndpoint = defaults.serviceEndpoint;
this.softwareAssuranceProperties = defaults.softwareAssuranceProperties;
this.status = defaults.status;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.tenantId = defaults.tenantId;
this.trialDaysRemaining = defaults.trialDaysRemaining;
this.type = defaults.type;
this.userAssignedIdentities = defaults.userAssignedIdentities;
}
@CustomType.Setter
public Builder aadApplicationObjectId(@Nullable String aadApplicationObjectId) {
this.aadApplicationObjectId = aadApplicationObjectId;
return this;
}
@CustomType.Setter
public Builder aadClientId(@Nullable String aadClientId) {
this.aadClientId = aadClientId;
return this;
}
@CustomType.Setter
public Builder aadServicePrincipalObjectId(@Nullable String aadServicePrincipalObjectId) {
this.aadServicePrincipalObjectId = aadServicePrincipalObjectId;
return this;
}
@CustomType.Setter
public Builder aadTenantId(@Nullable String aadTenantId) {
this.aadTenantId = aadTenantId;
return this;
}
@CustomType.Setter
public Builder billingModel(String billingModel) {
if (billingModel == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "billingModel");
}
this.billingModel = billingModel;
return this;
}
@CustomType.Setter
public Builder cloudId(String cloudId) {
if (cloudId == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "cloudId");
}
this.cloudId = cloudId;
return this;
}
@CustomType.Setter
public Builder cloudManagementEndpoint(@Nullable String cloudManagementEndpoint) {
this.cloudManagementEndpoint = cloudManagementEndpoint;
return this;
}
@CustomType.Setter
public Builder desiredProperties(@Nullable ClusterDesiredPropertiesResponse desiredProperties) {
this.desiredProperties = desiredProperties;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder lastBillingTimestamp(String lastBillingTimestamp) {
if (lastBillingTimestamp == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "lastBillingTimestamp");
}
this.lastBillingTimestamp = lastBillingTimestamp;
return this;
}
@CustomType.Setter
public Builder lastSyncTimestamp(String lastSyncTimestamp) {
if (lastSyncTimestamp == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "lastSyncTimestamp");
}
this.lastSyncTimestamp = lastSyncTimestamp;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder principalId(String principalId) {
if (principalId == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "principalId");
}
this.principalId = principalId;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder registrationTimestamp(String registrationTimestamp) {
if (registrationTimestamp == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "registrationTimestamp");
}
this.registrationTimestamp = registrationTimestamp;
return this;
}
@CustomType.Setter
public Builder reportedProperties(ClusterReportedPropertiesResponse reportedProperties) {
if (reportedProperties == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "reportedProperties");
}
this.reportedProperties = reportedProperties;
return this;
}
@CustomType.Setter
public Builder resourceProviderObjectId(String resourceProviderObjectId) {
if (resourceProviderObjectId == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "resourceProviderObjectId");
}
this.resourceProviderObjectId = resourceProviderObjectId;
return this;
}
@CustomType.Setter
public Builder serviceEndpoint(String serviceEndpoint) {
if (serviceEndpoint == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "serviceEndpoint");
}
this.serviceEndpoint = serviceEndpoint;
return this;
}
@CustomType.Setter
public Builder softwareAssuranceProperties(@Nullable SoftwareAssurancePropertiesResponse softwareAssuranceProperties) {
this.softwareAssuranceProperties = softwareAssuranceProperties;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder tenantId(String tenantId) {
if (tenantId == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "tenantId");
}
this.tenantId = tenantId;
return this;
}
@CustomType.Setter
public Builder trialDaysRemaining(Double trialDaysRemaining) {
if (trialDaysRemaining == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "trialDaysRemaining");
}
this.trialDaysRemaining = trialDaysRemaining;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetClusterResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder userAssignedIdentities(@Nullable Map userAssignedIdentities) {
this.userAssignedIdentities = userAssignedIdentities;
return this;
}
public GetClusterResult build() {
final var _resultValue = new GetClusterResult();
_resultValue.aadApplicationObjectId = aadApplicationObjectId;
_resultValue.aadClientId = aadClientId;
_resultValue.aadServicePrincipalObjectId = aadServicePrincipalObjectId;
_resultValue.aadTenantId = aadTenantId;
_resultValue.billingModel = billingModel;
_resultValue.cloudId = cloudId;
_resultValue.cloudManagementEndpoint = cloudManagementEndpoint;
_resultValue.desiredProperties = desiredProperties;
_resultValue.id = id;
_resultValue.lastBillingTimestamp = lastBillingTimestamp;
_resultValue.lastSyncTimestamp = lastSyncTimestamp;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.principalId = principalId;
_resultValue.provisioningState = provisioningState;
_resultValue.registrationTimestamp = registrationTimestamp;
_resultValue.reportedProperties = reportedProperties;
_resultValue.resourceProviderObjectId = resourceProviderObjectId;
_resultValue.serviceEndpoint = serviceEndpoint;
_resultValue.softwareAssuranceProperties = softwareAssuranceProperties;
_resultValue.status = status;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.tenantId = tenantId;
_resultValue.trialDaysRemaining = trialDaysRemaining;
_resultValue.type = type;
_resultValue.userAssignedIdentities = userAssignedIdentities;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy