All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.azurearcdata.outputs.DataControllerPropertiesResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.azurearcdata.outputs;

import com.pulumi.azurenative.azurearcdata.outputs.BasicLoginInformationResponse;
import com.pulumi.azurenative.azurearcdata.outputs.LogAnalyticsWorkspaceConfigResponse;
import com.pulumi.azurenative.azurearcdata.outputs.OnPremisePropertyResponse;
import com.pulumi.azurenative.azurearcdata.outputs.UploadServicePrincipalResponse;
import com.pulumi.azurenative.azurearcdata.outputs.UploadWatermarkResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DataControllerPropertiesResponse {
    /**
     * @return Deprecated. Azure Arc Data Services data controller no longer expose any endpoint. All traffic are exposed through Kubernetes native API.
     * 
     */
    private @Nullable BasicLoginInformationResponse basicLoginInformation;
    /**
     * @return If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.
     * 
     */
    private @Nullable String clusterId;
    /**
     * @return If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.
     * 
     */
    private @Nullable String extensionId;
    /**
     * @return The infrastructure the data controller is running on.
     * 
     */
    private @Nullable String infrastructure;
    /**
     * @return The raw kubernetes information
     * 
     */
    private @Nullable Object k8sRaw;
    /**
     * @return Last uploaded date from Kubernetes cluster. Defaults to current date time
     * 
     */
    private @Nullable String lastUploadedDate;
    /**
     * @return Log analytics workspace id and primary key
     * 
     */
    private @Nullable LogAnalyticsWorkspaceConfigResponse logAnalyticsWorkspaceConfig;
    /**
     * @return Login credential for logs dashboard on the Kubernetes cluster.
     * 
     */
    private @Nullable BasicLoginInformationResponse logsDashboardCredential;
    /**
     * @return Login credential for metrics dashboard on the Kubernetes cluster.
     * 
     */
    private @Nullable BasicLoginInformationResponse metricsDashboardCredential;
    /**
     * @return Properties from the Kubernetes data controller
     * 
     */
    private @Nullable OnPremisePropertyResponse onPremiseProperty;
    /**
     * @return The provisioning state of the Arc Data Controller resource.
     * 
     */
    private String provisioningState;
    /**
     * @return Deprecated. Service principal is deprecated in favor of Arc Kubernetes service extension managed identity.
     * 
     */
    private @Nullable UploadServicePrincipalResponse uploadServicePrincipal;
    /**
     * @return Properties on upload watermark.  Mostly timestamp for each upload data type
     * 
     */
    private @Nullable UploadWatermarkResponse uploadWatermark;

    private DataControllerPropertiesResponse() {}
    /**
     * @return Deprecated. Azure Arc Data Services data controller no longer expose any endpoint. All traffic are exposed through Kubernetes native API.
     * 
     */
    public Optional basicLoginInformation() {
        return Optional.ofNullable(this.basicLoginInformation);
    }
    /**
     * @return If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.
     * 
     */
    public Optional clusterId() {
        return Optional.ofNullable(this.clusterId);
    }
    /**
     * @return If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.
     * 
     */
    public Optional extensionId() {
        return Optional.ofNullable(this.extensionId);
    }
    /**
     * @return The infrastructure the data controller is running on.
     * 
     */
    public Optional infrastructure() {
        return Optional.ofNullable(this.infrastructure);
    }
    /**
     * @return The raw kubernetes information
     * 
     */
    public Optional k8sRaw() {
        return Optional.ofNullable(this.k8sRaw);
    }
    /**
     * @return Last uploaded date from Kubernetes cluster. Defaults to current date time
     * 
     */
    public Optional lastUploadedDate() {
        return Optional.ofNullable(this.lastUploadedDate);
    }
    /**
     * @return Log analytics workspace id and primary key
     * 
     */
    public Optional logAnalyticsWorkspaceConfig() {
        return Optional.ofNullable(this.logAnalyticsWorkspaceConfig);
    }
    /**
     * @return Login credential for logs dashboard on the Kubernetes cluster.
     * 
     */
    public Optional logsDashboardCredential() {
        return Optional.ofNullable(this.logsDashboardCredential);
    }
    /**
     * @return Login credential for metrics dashboard on the Kubernetes cluster.
     * 
     */
    public Optional metricsDashboardCredential() {
        return Optional.ofNullable(this.metricsDashboardCredential);
    }
    /**
     * @return Properties from the Kubernetes data controller
     * 
     */
    public Optional onPremiseProperty() {
        return Optional.ofNullable(this.onPremiseProperty);
    }
    /**
     * @return The provisioning state of the Arc Data Controller resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Deprecated. Service principal is deprecated in favor of Arc Kubernetes service extension managed identity.
     * 
     */
    public Optional uploadServicePrincipal() {
        return Optional.ofNullable(this.uploadServicePrincipal);
    }
    /**
     * @return Properties on upload watermark.  Mostly timestamp for each upload data type
     * 
     */
    public Optional uploadWatermark() {
        return Optional.ofNullable(this.uploadWatermark);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(DataControllerPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable BasicLoginInformationResponse basicLoginInformation;
        private @Nullable String clusterId;
        private @Nullable String extensionId;
        private @Nullable String infrastructure;
        private @Nullable Object k8sRaw;
        private @Nullable String lastUploadedDate;
        private @Nullable LogAnalyticsWorkspaceConfigResponse logAnalyticsWorkspaceConfig;
        private @Nullable BasicLoginInformationResponse logsDashboardCredential;
        private @Nullable BasicLoginInformationResponse metricsDashboardCredential;
        private @Nullable OnPremisePropertyResponse onPremiseProperty;
        private String provisioningState;
        private @Nullable UploadServicePrincipalResponse uploadServicePrincipal;
        private @Nullable UploadWatermarkResponse uploadWatermark;
        public Builder() {}
        public Builder(DataControllerPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.basicLoginInformation = defaults.basicLoginInformation;
    	      this.clusterId = defaults.clusterId;
    	      this.extensionId = defaults.extensionId;
    	      this.infrastructure = defaults.infrastructure;
    	      this.k8sRaw = defaults.k8sRaw;
    	      this.lastUploadedDate = defaults.lastUploadedDate;
    	      this.logAnalyticsWorkspaceConfig = defaults.logAnalyticsWorkspaceConfig;
    	      this.logsDashboardCredential = defaults.logsDashboardCredential;
    	      this.metricsDashboardCredential = defaults.metricsDashboardCredential;
    	      this.onPremiseProperty = defaults.onPremiseProperty;
    	      this.provisioningState = defaults.provisioningState;
    	      this.uploadServicePrincipal = defaults.uploadServicePrincipal;
    	      this.uploadWatermark = defaults.uploadWatermark;
        }

        @CustomType.Setter
        public Builder basicLoginInformation(@Nullable BasicLoginInformationResponse basicLoginInformation) {

            this.basicLoginInformation = basicLoginInformation;
            return this;
        }
        @CustomType.Setter
        public Builder clusterId(@Nullable String clusterId) {

            this.clusterId = clusterId;
            return this;
        }
        @CustomType.Setter
        public Builder extensionId(@Nullable String extensionId) {

            this.extensionId = extensionId;
            return this;
        }
        @CustomType.Setter
        public Builder infrastructure(@Nullable String infrastructure) {

            this.infrastructure = infrastructure;
            return this;
        }
        @CustomType.Setter
        public Builder k8sRaw(@Nullable Object k8sRaw) {

            this.k8sRaw = k8sRaw;
            return this;
        }
        @CustomType.Setter
        public Builder lastUploadedDate(@Nullable String lastUploadedDate) {

            this.lastUploadedDate = lastUploadedDate;
            return this;
        }
        @CustomType.Setter
        public Builder logAnalyticsWorkspaceConfig(@Nullable LogAnalyticsWorkspaceConfigResponse logAnalyticsWorkspaceConfig) {

            this.logAnalyticsWorkspaceConfig = logAnalyticsWorkspaceConfig;
            return this;
        }
        @CustomType.Setter
        public Builder logsDashboardCredential(@Nullable BasicLoginInformationResponse logsDashboardCredential) {

            this.logsDashboardCredential = logsDashboardCredential;
            return this;
        }
        @CustomType.Setter
        public Builder metricsDashboardCredential(@Nullable BasicLoginInformationResponse metricsDashboardCredential) {

            this.metricsDashboardCredential = metricsDashboardCredential;
            return this;
        }
        @CustomType.Setter
        public Builder onPremiseProperty(@Nullable OnPremisePropertyResponse onPremiseProperty) {

            this.onPremiseProperty = onPremiseProperty;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("DataControllerPropertiesResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder uploadServicePrincipal(@Nullable UploadServicePrincipalResponse uploadServicePrincipal) {

            this.uploadServicePrincipal = uploadServicePrincipal;
            return this;
        }
        @CustomType.Setter
        public Builder uploadWatermark(@Nullable UploadWatermarkResponse uploadWatermark) {

            this.uploadWatermark = uploadWatermark;
            return this;
        }
        public DataControllerPropertiesResponse build() {
            final var _resultValue = new DataControllerPropertiesResponse();
            _resultValue.basicLoginInformation = basicLoginInformation;
            _resultValue.clusterId = clusterId;
            _resultValue.extensionId = extensionId;
            _resultValue.infrastructure = infrastructure;
            _resultValue.k8sRaw = k8sRaw;
            _resultValue.lastUploadedDate = lastUploadedDate;
            _resultValue.logAnalyticsWorkspaceConfig = logAnalyticsWorkspaceConfig;
            _resultValue.logsDashboardCredential = logsDashboardCredential;
            _resultValue.metricsDashboardCredential = metricsDashboardCredential;
            _resultValue.onPremiseProperty = onPremiseProperty;
            _resultValue.provisioningState = provisioningState;
            _resultValue.uploadServicePrincipal = uploadServicePrincipal;
            _resultValue.uploadWatermark = uploadWatermark;
            return _resultValue;
        }
    }
}