
com.pulumi.azurenative.hdinsight.outputs.GetClusterPoolResult 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.hdinsight.outputs;
import com.pulumi.azurenative.hdinsight.outputs.ClusterPoolResourcePropertiesResponseAksClusterProfile;
import com.pulumi.azurenative.hdinsight.outputs.ClusterPoolResourcePropertiesResponseClusterPoolProfile;
import com.pulumi.azurenative.hdinsight.outputs.ClusterPoolResourcePropertiesResponseComputeProfile;
import com.pulumi.azurenative.hdinsight.outputs.ClusterPoolResourcePropertiesResponseLogAnalyticsProfile;
import com.pulumi.azurenative.hdinsight.outputs.ClusterPoolResourcePropertiesResponseNetworkProfile;
import com.pulumi.azurenative.hdinsight.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetClusterPoolResult {
/**
* @return Properties of underlying AKS cluster.
*
*/
private ClusterPoolResourcePropertiesResponseAksClusterProfile aksClusterProfile;
/**
* @return A resource group created by AKS, to hold the infrastructure resources created by AKS on-behalf of customers. It is generated by cluster pool name and managed resource group name by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}
*
*/
private String aksManagedResourceGroupName;
/**
* @return CLuster pool profile.
*
*/
private @Nullable ClusterPoolResourcePropertiesResponseClusterPoolProfile clusterPoolProfile;
/**
* @return CLuster pool compute profile.
*
*/
private ClusterPoolResourcePropertiesResponseComputeProfile computeProfile;
/**
* @return A unique id generated by the RP to identify the resource.
*
*/
private String deploymentId;
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
private String id;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return Cluster pool log analytics profile to enable OMS agent for AKS cluster.
*
*/
private @Nullable ClusterPoolResourcePropertiesResponseLogAnalyticsProfile logAnalyticsProfile;
/**
* @return A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction.
*
*/
private @Nullable String managedResourceGroupName;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Cluster pool network profile.
*
*/
private @Nullable ClusterPoolResourcePropertiesResponseNetworkProfile networkProfile;
/**
* @return Provisioning state of the resource.
*
*/
private String provisioningState;
/**
* @return Business status of the resource.
*
*/
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 type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetClusterPoolResult() {}
/**
* @return Properties of underlying AKS cluster.
*
*/
public ClusterPoolResourcePropertiesResponseAksClusterProfile aksClusterProfile() {
return this.aksClusterProfile;
}
/**
* @return A resource group created by AKS, to hold the infrastructure resources created by AKS on-behalf of customers. It is generated by cluster pool name and managed resource group name by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}
*
*/
public String aksManagedResourceGroupName() {
return this.aksManagedResourceGroupName;
}
/**
* @return CLuster pool profile.
*
*/
public Optional clusterPoolProfile() {
return Optional.ofNullable(this.clusterPoolProfile);
}
/**
* @return CLuster pool compute profile.
*
*/
public ClusterPoolResourcePropertiesResponseComputeProfile computeProfile() {
return this.computeProfile;
}
/**
* @return A unique id generated by the RP to identify the resource.
*
*/
public String deploymentId() {
return this.deploymentId;
}
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
public String id() {
return this.id;
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return Cluster pool log analytics profile to enable OMS agent for AKS cluster.
*
*/
public Optional logAnalyticsProfile() {
return Optional.ofNullable(this.logAnalyticsProfile);
}
/**
* @return A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction.
*
*/
public Optional managedResourceGroupName() {
return Optional.ofNullable(this.managedResourceGroupName);
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Cluster pool network profile.
*
*/
public Optional networkProfile() {
return Optional.ofNullable(this.networkProfile);
}
/**
* @return Provisioning state of the resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Business status of the resource.
*
*/
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 type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetClusterPoolResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private ClusterPoolResourcePropertiesResponseAksClusterProfile aksClusterProfile;
private String aksManagedResourceGroupName;
private @Nullable ClusterPoolResourcePropertiesResponseClusterPoolProfile clusterPoolProfile;
private ClusterPoolResourcePropertiesResponseComputeProfile computeProfile;
private String deploymentId;
private String id;
private String location;
private @Nullable ClusterPoolResourcePropertiesResponseLogAnalyticsProfile logAnalyticsProfile;
private @Nullable String managedResourceGroupName;
private String name;
private @Nullable ClusterPoolResourcePropertiesResponseNetworkProfile networkProfile;
private String provisioningState;
private String status;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetClusterPoolResult defaults) {
Objects.requireNonNull(defaults);
this.aksClusterProfile = defaults.aksClusterProfile;
this.aksManagedResourceGroupName = defaults.aksManagedResourceGroupName;
this.clusterPoolProfile = defaults.clusterPoolProfile;
this.computeProfile = defaults.computeProfile;
this.deploymentId = defaults.deploymentId;
this.id = defaults.id;
this.location = defaults.location;
this.logAnalyticsProfile = defaults.logAnalyticsProfile;
this.managedResourceGroupName = defaults.managedResourceGroupName;
this.name = defaults.name;
this.networkProfile = defaults.networkProfile;
this.provisioningState = defaults.provisioningState;
this.status = defaults.status;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder aksClusterProfile(ClusterPoolResourcePropertiesResponseAksClusterProfile aksClusterProfile) {
if (aksClusterProfile == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "aksClusterProfile");
}
this.aksClusterProfile = aksClusterProfile;
return this;
}
@CustomType.Setter
public Builder aksManagedResourceGroupName(String aksManagedResourceGroupName) {
if (aksManagedResourceGroupName == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "aksManagedResourceGroupName");
}
this.aksManagedResourceGroupName = aksManagedResourceGroupName;
return this;
}
@CustomType.Setter
public Builder clusterPoolProfile(@Nullable ClusterPoolResourcePropertiesResponseClusterPoolProfile clusterPoolProfile) {
this.clusterPoolProfile = clusterPoolProfile;
return this;
}
@CustomType.Setter
public Builder computeProfile(ClusterPoolResourcePropertiesResponseComputeProfile computeProfile) {
if (computeProfile == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "computeProfile");
}
this.computeProfile = computeProfile;
return this;
}
@CustomType.Setter
public Builder deploymentId(String deploymentId) {
if (deploymentId == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "deploymentId");
}
this.deploymentId = deploymentId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder logAnalyticsProfile(@Nullable ClusterPoolResourcePropertiesResponseLogAnalyticsProfile logAnalyticsProfile) {
this.logAnalyticsProfile = logAnalyticsProfile;
return this;
}
@CustomType.Setter
public Builder managedResourceGroupName(@Nullable String managedResourceGroupName) {
this.managedResourceGroupName = managedResourceGroupName;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder networkProfile(@Nullable ClusterPoolResourcePropertiesResponseNetworkProfile networkProfile) {
this.networkProfile = networkProfile;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetClusterPoolResult", "type");
}
this.type = type;
return this;
}
public GetClusterPoolResult build() {
final var _resultValue = new GetClusterPoolResult();
_resultValue.aksClusterProfile = aksClusterProfile;
_resultValue.aksManagedResourceGroupName = aksManagedResourceGroupName;
_resultValue.clusterPoolProfile = clusterPoolProfile;
_resultValue.computeProfile = computeProfile;
_resultValue.deploymentId = deploymentId;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.logAnalyticsProfile = logAnalyticsProfile;
_resultValue.managedResourceGroupName = managedResourceGroupName;
_resultValue.name = name;
_resultValue.networkProfile = networkProfile;
_resultValue.provisioningState = provisioningState;
_resultValue.status = status;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy