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

com.pulumi.azure.arcmachine.outputs.GetResult Maven / Gradle / Ivy

// *** 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.azure.arcmachine.outputs;

import com.pulumi.azure.arcmachine.outputs.GetAgent;
import com.pulumi.azure.arcmachine.outputs.GetCloudMetadata;
import com.pulumi.azure.arcmachine.outputs.GetIdentity;
import com.pulumi.azure.arcmachine.outputs.GetLocationData;
import com.pulumi.azure.arcmachine.outputs.GetOsProfile;
import com.pulumi.azure.arcmachine.outputs.GetServiceStatus;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetResult {
    /**
     * @return Specifies the AD fully qualified display name.
     * 
     */
    private String activeDirectoryFqdn;
    /**
     * @return The Azure Arc machine agent full version.
     * 
     */
    private String agentVersion;
    /**
     * @return A `agent` block as defined below.
     * 
     */
    private List agents;
    /**
     * @return Public Key that the client provides to be used during initial resource onboarding.
     * 
     */
    private String clientPublicKey;
    /**
     * @return A `cloud_metadata` block as defined below.
     * 
     */
    private List cloudMetadatas;
    /**
     * @return A `detected_properties` block as defined below.
     * 
     */
    private Map detectedProperties;
    /**
     * @return Specifies the Azure Arc machine display name.
     * 
     */
    private String displayName;
    /**
     * @return Specifies the DNS fully qualified display name.
     * 
     */
    private String dnsFqdn;
    /**
     * @return Specifies the Windows domain name.
     * 
     */
    private String domainName;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return A `identity` block as defined below.
     * 
     */
    private List identities;
    /**
     * @return The time of the last status change.
     * 
     */
    private String lastStatusChangeTime;
    /**
     * @return The Azure Region where the Azure Arc machine exists.
     * 
     */
    private String location;
    /**
     * @return A `location_data` block as defined below.
     * 
     */
    private List locationDatas;
    /**
     * @return Specifies the Azure Arc machine fully qualified display name.
     * 
     */
    private String machineFqdn;
    /**
     * @return Specifies whether any MS SQL instance is discovered on the machine.
     * 
     */
    private Boolean mssqlDiscovered;
    /**
     * @return A canonical name for the geographic or physical location.
     * 
     */
    private String name;
    /**
     * @return The Operating System running on the Azure Arc machine.
     * 
     */
    private String osName;
    /**
     * @return A `os_profile` block as defined below.
     * 
     */
    private List osProfiles;
    /**
     * @return Specifies the Operating System product SKU.
     * 
     */
    private String osSku;
    /**
     * @return The type of Operating System. Possible values are `windows` and `linux`.
     * 
     */
    private String osType;
    /**
     * @return The version of Operating System running on the Azure Arc machine.
     * 
     */
    private String osVersion;
    /**
     * @return The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.
     * 
     */
    private String parentClusterResourceId;
    /**
     * @return The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.
     * 
     */
    private String privateLinkScopeResourceId;
    private String resourceGroupName;
    /**
     * @return A `service_status` block as defined below.
     * 
     */
    private List serviceStatuses;
    /**
     * @return The current status of the service.
     * 
     */
    private String status;
    /**
     * @return A mapping of tags assigned to the Hybrid Compute.
     * 
     */
    private Map tags;
    /**
     * @return Specifies the Azure Arc machine unique ID.
     * 
     */
    private String vmId;
    /**
     * @return Specifies the Arc Machine's unique SMBIOS ID.
     * 
     */
    private String vmUuid;

    private GetResult() {}
    /**
     * @return Specifies the AD fully qualified display name.
     * 
     */
    public String activeDirectoryFqdn() {
        return this.activeDirectoryFqdn;
    }
    /**
     * @return The Azure Arc machine agent full version.
     * 
     */
    public String agentVersion() {
        return this.agentVersion;
    }
    /**
     * @return A `agent` block as defined below.
     * 
     */
    public List agents() {
        return this.agents;
    }
    /**
     * @return Public Key that the client provides to be used during initial resource onboarding.
     * 
     */
    public String clientPublicKey() {
        return this.clientPublicKey;
    }
    /**
     * @return A `cloud_metadata` block as defined below.
     * 
     */
    public List cloudMetadatas() {
        return this.cloudMetadatas;
    }
    /**
     * @return A `detected_properties` block as defined below.
     * 
     */
    public Map detectedProperties() {
        return this.detectedProperties;
    }
    /**
     * @return Specifies the Azure Arc machine display name.
     * 
     */
    public String displayName() {
        return this.displayName;
    }
    /**
     * @return Specifies the DNS fully qualified display name.
     * 
     */
    public String dnsFqdn() {
        return this.dnsFqdn;
    }
    /**
     * @return Specifies the Windows domain name.
     * 
     */
    public String domainName() {
        return this.domainName;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return A `identity` block as defined below.
     * 
     */
    public List identities() {
        return this.identities;
    }
    /**
     * @return The time of the last status change.
     * 
     */
    public String lastStatusChangeTime() {
        return this.lastStatusChangeTime;
    }
    /**
     * @return The Azure Region where the Azure Arc machine exists.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return A `location_data` block as defined below.
     * 
     */
    public List locationDatas() {
        return this.locationDatas;
    }
    /**
     * @return Specifies the Azure Arc machine fully qualified display name.
     * 
     */
    public String machineFqdn() {
        return this.machineFqdn;
    }
    /**
     * @return Specifies whether any MS SQL instance is discovered on the machine.
     * 
     */
    public Boolean mssqlDiscovered() {
        return this.mssqlDiscovered;
    }
    /**
     * @return A canonical name for the geographic or physical location.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The Operating System running on the Azure Arc machine.
     * 
     */
    public String osName() {
        return this.osName;
    }
    /**
     * @return A `os_profile` block as defined below.
     * 
     */
    public List osProfiles() {
        return this.osProfiles;
    }
    /**
     * @return Specifies the Operating System product SKU.
     * 
     */
    public String osSku() {
        return this.osSku;
    }
    /**
     * @return The type of Operating System. Possible values are `windows` and `linux`.
     * 
     */
    public String osType() {
        return this.osType;
    }
    /**
     * @return The version of Operating System running on the Azure Arc machine.
     * 
     */
    public String osVersion() {
        return this.osVersion;
    }
    /**
     * @return The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.
     * 
     */
    public String parentClusterResourceId() {
        return this.parentClusterResourceId;
    }
    /**
     * @return The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.
     * 
     */
    public String privateLinkScopeResourceId() {
        return this.privateLinkScopeResourceId;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return A `service_status` block as defined below.
     * 
     */
    public List serviceStatuses() {
        return this.serviceStatuses;
    }
    /**
     * @return The current status of the service.
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return A mapping of tags assigned to the Hybrid Compute.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    /**
     * @return Specifies the Azure Arc machine unique ID.
     * 
     */
    public String vmId() {
        return this.vmId;
    }
    /**
     * @return Specifies the Arc Machine's unique SMBIOS ID.
     * 
     */
    public String vmUuid() {
        return this.vmUuid;
    }

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

    public static Builder builder(GetResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String activeDirectoryFqdn;
        private String agentVersion;
        private List agents;
        private String clientPublicKey;
        private List cloudMetadatas;
        private Map detectedProperties;
        private String displayName;
        private String dnsFqdn;
        private String domainName;
        private String id;
        private List identities;
        private String lastStatusChangeTime;
        private String location;
        private List locationDatas;
        private String machineFqdn;
        private Boolean mssqlDiscovered;
        private String name;
        private String osName;
        private List osProfiles;
        private String osSku;
        private String osType;
        private String osVersion;
        private String parentClusterResourceId;
        private String privateLinkScopeResourceId;
        private String resourceGroupName;
        private List serviceStatuses;
        private String status;
        private Map tags;
        private String vmId;
        private String vmUuid;
        public Builder() {}
        public Builder(GetResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.activeDirectoryFqdn = defaults.activeDirectoryFqdn;
    	      this.agentVersion = defaults.agentVersion;
    	      this.agents = defaults.agents;
    	      this.clientPublicKey = defaults.clientPublicKey;
    	      this.cloudMetadatas = defaults.cloudMetadatas;
    	      this.detectedProperties = defaults.detectedProperties;
    	      this.displayName = defaults.displayName;
    	      this.dnsFqdn = defaults.dnsFqdn;
    	      this.domainName = defaults.domainName;
    	      this.id = defaults.id;
    	      this.identities = defaults.identities;
    	      this.lastStatusChangeTime = defaults.lastStatusChangeTime;
    	      this.location = defaults.location;
    	      this.locationDatas = defaults.locationDatas;
    	      this.machineFqdn = defaults.machineFqdn;
    	      this.mssqlDiscovered = defaults.mssqlDiscovered;
    	      this.name = defaults.name;
    	      this.osName = defaults.osName;
    	      this.osProfiles = defaults.osProfiles;
    	      this.osSku = defaults.osSku;
    	      this.osType = defaults.osType;
    	      this.osVersion = defaults.osVersion;
    	      this.parentClusterResourceId = defaults.parentClusterResourceId;
    	      this.privateLinkScopeResourceId = defaults.privateLinkScopeResourceId;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.serviceStatuses = defaults.serviceStatuses;
    	      this.status = defaults.status;
    	      this.tags = defaults.tags;
    	      this.vmId = defaults.vmId;
    	      this.vmUuid = defaults.vmUuid;
        }

        @CustomType.Setter
        public Builder activeDirectoryFqdn(String activeDirectoryFqdn) {
            if (activeDirectoryFqdn == null) {
              throw new MissingRequiredPropertyException("GetResult", "activeDirectoryFqdn");
            }
            this.activeDirectoryFqdn = activeDirectoryFqdn;
            return this;
        }
        @CustomType.Setter
        public Builder agentVersion(String agentVersion) {
            if (agentVersion == null) {
              throw new MissingRequiredPropertyException("GetResult", "agentVersion");
            }
            this.agentVersion = agentVersion;
            return this;
        }
        @CustomType.Setter
        public Builder agents(List agents) {
            if (agents == null) {
              throw new MissingRequiredPropertyException("GetResult", "agents");
            }
            this.agents = agents;
            return this;
        }
        public Builder agents(GetAgent... agents) {
            return agents(List.of(agents));
        }
        @CustomType.Setter
        public Builder clientPublicKey(String clientPublicKey) {
            if (clientPublicKey == null) {
              throw new MissingRequiredPropertyException("GetResult", "clientPublicKey");
            }
            this.clientPublicKey = clientPublicKey;
            return this;
        }
        @CustomType.Setter
        public Builder cloudMetadatas(List cloudMetadatas) {
            if (cloudMetadatas == null) {
              throw new MissingRequiredPropertyException("GetResult", "cloudMetadatas");
            }
            this.cloudMetadatas = cloudMetadatas;
            return this;
        }
        public Builder cloudMetadatas(GetCloudMetadata... cloudMetadatas) {
            return cloudMetadatas(List.of(cloudMetadatas));
        }
        @CustomType.Setter
        public Builder detectedProperties(Map detectedProperties) {
            if (detectedProperties == null) {
              throw new MissingRequiredPropertyException("GetResult", "detectedProperties");
            }
            this.detectedProperties = detectedProperties;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(String displayName) {
            if (displayName == null) {
              throw new MissingRequiredPropertyException("GetResult", "displayName");
            }
            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder dnsFqdn(String dnsFqdn) {
            if (dnsFqdn == null) {
              throw new MissingRequiredPropertyException("GetResult", "dnsFqdn");
            }
            this.dnsFqdn = dnsFqdn;
            return this;
        }
        @CustomType.Setter
        public Builder domainName(String domainName) {
            if (domainName == null) {
              throw new MissingRequiredPropertyException("GetResult", "domainName");
            }
            this.domainName = domainName;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identities(List identities) {
            if (identities == null) {
              throw new MissingRequiredPropertyException("GetResult", "identities");
            }
            this.identities = identities;
            return this;
        }
        public Builder identities(GetIdentity... identities) {
            return identities(List.of(identities));
        }
        @CustomType.Setter
        public Builder lastStatusChangeTime(String lastStatusChangeTime) {
            if (lastStatusChangeTime == null) {
              throw new MissingRequiredPropertyException("GetResult", "lastStatusChangeTime");
            }
            this.lastStatusChangeTime = lastStatusChangeTime;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder locationDatas(List locationDatas) {
            if (locationDatas == null) {
              throw new MissingRequiredPropertyException("GetResult", "locationDatas");
            }
            this.locationDatas = locationDatas;
            return this;
        }
        public Builder locationDatas(GetLocationData... locationDatas) {
            return locationDatas(List.of(locationDatas));
        }
        @CustomType.Setter
        public Builder machineFqdn(String machineFqdn) {
            if (machineFqdn == null) {
              throw new MissingRequiredPropertyException("GetResult", "machineFqdn");
            }
            this.machineFqdn = machineFqdn;
            return this;
        }
        @CustomType.Setter
        public Builder mssqlDiscovered(Boolean mssqlDiscovered) {
            if (mssqlDiscovered == null) {
              throw new MissingRequiredPropertyException("GetResult", "mssqlDiscovered");
            }
            this.mssqlDiscovered = mssqlDiscovered;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder osName(String osName) {
            if (osName == null) {
              throw new MissingRequiredPropertyException("GetResult", "osName");
            }
            this.osName = osName;
            return this;
        }
        @CustomType.Setter
        public Builder osProfiles(List osProfiles) {
            if (osProfiles == null) {
              throw new MissingRequiredPropertyException("GetResult", "osProfiles");
            }
            this.osProfiles = osProfiles;
            return this;
        }
        public Builder osProfiles(GetOsProfile... osProfiles) {
            return osProfiles(List.of(osProfiles));
        }
        @CustomType.Setter
        public Builder osSku(String osSku) {
            if (osSku == null) {
              throw new MissingRequiredPropertyException("GetResult", "osSku");
            }
            this.osSku = osSku;
            return this;
        }
        @CustomType.Setter
        public Builder osType(String osType) {
            if (osType == null) {
              throw new MissingRequiredPropertyException("GetResult", "osType");
            }
            this.osType = osType;
            return this;
        }
        @CustomType.Setter
        public Builder osVersion(String osVersion) {
            if (osVersion == null) {
              throw new MissingRequiredPropertyException("GetResult", "osVersion");
            }
            this.osVersion = osVersion;
            return this;
        }
        @CustomType.Setter
        public Builder parentClusterResourceId(String parentClusterResourceId) {
            if (parentClusterResourceId == null) {
              throw new MissingRequiredPropertyException("GetResult", "parentClusterResourceId");
            }
            this.parentClusterResourceId = parentClusterResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder privateLinkScopeResourceId(String privateLinkScopeResourceId) {
            if (privateLinkScopeResourceId == null) {
              throw new MissingRequiredPropertyException("GetResult", "privateLinkScopeResourceId");
            }
            this.privateLinkScopeResourceId = privateLinkScopeResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder serviceStatuses(List serviceStatuses) {
            if (serviceStatuses == null) {
              throw new MissingRequiredPropertyException("GetResult", "serviceStatuses");
            }
            this.serviceStatuses = serviceStatuses;
            return this;
        }
        public Builder serviceStatuses(GetServiceStatus... serviceStatuses) {
            return serviceStatuses(List.of(serviceStatuses));
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetResult", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder vmId(String vmId) {
            if (vmId == null) {
              throw new MissingRequiredPropertyException("GetResult", "vmId");
            }
            this.vmId = vmId;
            return this;
        }
        @CustomType.Setter
        public Builder vmUuid(String vmUuid) {
            if (vmUuid == null) {
              throw new MissingRequiredPropertyException("GetResult", "vmUuid");
            }
            this.vmUuid = vmUuid;
            return this;
        }
        public GetResult build() {
            final var _resultValue = new GetResult();
            _resultValue.activeDirectoryFqdn = activeDirectoryFqdn;
            _resultValue.agentVersion = agentVersion;
            _resultValue.agents = agents;
            _resultValue.clientPublicKey = clientPublicKey;
            _resultValue.cloudMetadatas = cloudMetadatas;
            _resultValue.detectedProperties = detectedProperties;
            _resultValue.displayName = displayName;
            _resultValue.dnsFqdn = dnsFqdn;
            _resultValue.domainName = domainName;
            _resultValue.id = id;
            _resultValue.identities = identities;
            _resultValue.lastStatusChangeTime = lastStatusChangeTime;
            _resultValue.location = location;
            _resultValue.locationDatas = locationDatas;
            _resultValue.machineFqdn = machineFqdn;
            _resultValue.mssqlDiscovered = mssqlDiscovered;
            _resultValue.name = name;
            _resultValue.osName = osName;
            _resultValue.osProfiles = osProfiles;
            _resultValue.osSku = osSku;
            _resultValue.osType = osType;
            _resultValue.osVersion = osVersion;
            _resultValue.parentClusterResourceId = parentClusterResourceId;
            _resultValue.privateLinkScopeResourceId = privateLinkScopeResourceId;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.serviceStatuses = serviceStatuses;
            _resultValue.status = status;
            _resultValue.tags = tags;
            _resultValue.vmId = vmId;
            _resultValue.vmUuid = vmUuid;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy