com.pulumi.azurenative.hybridcontainerservice.outputs.ArcAgentStatusResponse 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.hybridcontainerservice.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ArcAgentStatusResponse {
/**
* @return Version of the Arc agents currently running on the Provisioned cluster resource.
*
*/
private @Nullable String agentVersion;
/**
* @return Number of CPU cores present in the Provisioned cluster resource
*
*/
private @Nullable Double coreCount;
/**
* @return Observed deployment state of the Arc Agents on the target cluster. Possible values include: 'pending', 'provisioning', 'provisioned', 'deleting', 'failed', 'upgrading'
*
*/
private @Nullable String deploymentState;
/**
* @return Error messages while onboarding/upgrading/uninstalling the Arc agents
*
*/
private @Nullable String errorMessage;
/**
* @return Last connected timestamp of the Provisioned cluster resource.
*
*/
private @Nullable String lastConnectivityTime;
/**
* @return ManagedIdentity certificate expiration time (ValidUntil).
*
*/
private @Nullable String managedIdentityCertificateExpirationTime;
/**
* @return Onboarding public key for provisioning the Managed identity for the HybridAKS cluster. Will be used to create the hybridIdentityMetadata proxy resource and will not be persisted.
*
*/
private @Nullable String onboardingPublicKey;
private ArcAgentStatusResponse() {}
/**
* @return Version of the Arc agents currently running on the Provisioned cluster resource.
*
*/
public Optional agentVersion() {
return Optional.ofNullable(this.agentVersion);
}
/**
* @return Number of CPU cores present in the Provisioned cluster resource
*
*/
public Optional coreCount() {
return Optional.ofNullable(this.coreCount);
}
/**
* @return Observed deployment state of the Arc Agents on the target cluster. Possible values include: 'pending', 'provisioning', 'provisioned', 'deleting', 'failed', 'upgrading'
*
*/
public Optional deploymentState() {
return Optional.ofNullable(this.deploymentState);
}
/**
* @return Error messages while onboarding/upgrading/uninstalling the Arc agents
*
*/
public Optional errorMessage() {
return Optional.ofNullable(this.errorMessage);
}
/**
* @return Last connected timestamp of the Provisioned cluster resource.
*
*/
public Optional lastConnectivityTime() {
return Optional.ofNullable(this.lastConnectivityTime);
}
/**
* @return ManagedIdentity certificate expiration time (ValidUntil).
*
*/
public Optional managedIdentityCertificateExpirationTime() {
return Optional.ofNullable(this.managedIdentityCertificateExpirationTime);
}
/**
* @return Onboarding public key for provisioning the Managed identity for the HybridAKS cluster. Will be used to create the hybridIdentityMetadata proxy resource and will not be persisted.
*
*/
public Optional onboardingPublicKey() {
return Optional.ofNullable(this.onboardingPublicKey);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ArcAgentStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String agentVersion;
private @Nullable Double coreCount;
private @Nullable String deploymentState;
private @Nullable String errorMessage;
private @Nullable String lastConnectivityTime;
private @Nullable String managedIdentityCertificateExpirationTime;
private @Nullable String onboardingPublicKey;
public Builder() {}
public Builder(ArcAgentStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.agentVersion = defaults.agentVersion;
this.coreCount = defaults.coreCount;
this.deploymentState = defaults.deploymentState;
this.errorMessage = defaults.errorMessage;
this.lastConnectivityTime = defaults.lastConnectivityTime;
this.managedIdentityCertificateExpirationTime = defaults.managedIdentityCertificateExpirationTime;
this.onboardingPublicKey = defaults.onboardingPublicKey;
}
@CustomType.Setter
public Builder agentVersion(@Nullable String agentVersion) {
this.agentVersion = agentVersion;
return this;
}
@CustomType.Setter
public Builder coreCount(@Nullable Double coreCount) {
this.coreCount = coreCount;
return this;
}
@CustomType.Setter
public Builder deploymentState(@Nullable String deploymentState) {
this.deploymentState = deploymentState;
return this;
}
@CustomType.Setter
public Builder errorMessage(@Nullable String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
@CustomType.Setter
public Builder lastConnectivityTime(@Nullable String lastConnectivityTime) {
this.lastConnectivityTime = lastConnectivityTime;
return this;
}
@CustomType.Setter
public Builder managedIdentityCertificateExpirationTime(@Nullable String managedIdentityCertificateExpirationTime) {
this.managedIdentityCertificateExpirationTime = managedIdentityCertificateExpirationTime;
return this;
}
@CustomType.Setter
public Builder onboardingPublicKey(@Nullable String onboardingPublicKey) {
this.onboardingPublicKey = onboardingPublicKey;
return this;
}
public ArcAgentStatusResponse build() {
final var _resultValue = new ArcAgentStatusResponse();
_resultValue.agentVersion = agentVersion;
_resultValue.coreCount = coreCount;
_resultValue.deploymentState = deploymentState;
_resultValue.errorMessage = errorMessage;
_resultValue.lastConnectivityTime = lastConnectivityTime;
_resultValue.managedIdentityCertificateExpirationTime = managedIdentityCertificateExpirationTime;
_resultValue.onboardingPublicKey = onboardingPublicKey;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy