com.pulumi.azurenative.azurestackhci.outputs.GetArcSettingResult 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.ArcConnectivityPropertiesResponse;
import com.pulumi.azurenative.azurestackhci.outputs.DefaultExtensionDetailsResponse;
import com.pulumi.azurenative.azurestackhci.outputs.PerNodeStateResponse;
import com.pulumi.azurenative.azurestackhci.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetArcSettingResult {
/**
* @return Aggregate state of Arc agent across the nodes in this HCI cluster.
*
*/
private String aggregateState;
/**
* @return App id of arc AAD identity.
*
*/
private @Nullable String arcApplicationClientId;
/**
* @return Object id of arc AAD identity.
*
*/
private @Nullable String arcApplicationObjectId;
/**
* @return Tenant id of arc AAD identity.
*
*/
private @Nullable String arcApplicationTenantId;
/**
* @return The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
*
*/
private @Nullable String arcInstanceResourceGroup;
/**
* @return Object id of arc AAD service principal.
*
*/
private @Nullable String arcServicePrincipalObjectId;
/**
* @return contains connectivity related configuration for ARC resources
*
*/
private @Nullable List connectivityProperties;
/**
* @return Properties for each of the default extensions category
*
*/
private List defaultExtensions;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return State of Arc agent in each of the nodes.
*
*/
private List perNodeDetails;
/**
* @return Provisioning state of the ArcSetting proxy resource.
*
*/
private String provisioningState;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetArcSettingResult() {}
/**
* @return Aggregate state of Arc agent across the nodes in this HCI cluster.
*
*/
public String aggregateState() {
return this.aggregateState;
}
/**
* @return App id of arc AAD identity.
*
*/
public Optional arcApplicationClientId() {
return Optional.ofNullable(this.arcApplicationClientId);
}
/**
* @return Object id of arc AAD identity.
*
*/
public Optional arcApplicationObjectId() {
return Optional.ofNullable(this.arcApplicationObjectId);
}
/**
* @return Tenant id of arc AAD identity.
*
*/
public Optional arcApplicationTenantId() {
return Optional.ofNullable(this.arcApplicationTenantId);
}
/**
* @return The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
*
*/
public Optional arcInstanceResourceGroup() {
return Optional.ofNullable(this.arcInstanceResourceGroup);
}
/**
* @return Object id of arc AAD service principal.
*
*/
public Optional arcServicePrincipalObjectId() {
return Optional.ofNullable(this.arcServicePrincipalObjectId);
}
/**
* @return contains connectivity related configuration for ARC resources
*
*/
public List connectivityProperties() {
return this.connectivityProperties == null ? List.of() : this.connectivityProperties;
}
/**
* @return Properties for each of the default extensions category
*
*/
public List defaultExtensions() {
return this.defaultExtensions;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return State of Arc agent in each of the nodes.
*
*/
public List perNodeDetails() {
return this.perNodeDetails;
}
/**
* @return Provisioning state of the ArcSetting proxy resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @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(GetArcSettingResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String aggregateState;
private @Nullable String arcApplicationClientId;
private @Nullable String arcApplicationObjectId;
private @Nullable String arcApplicationTenantId;
private @Nullable String arcInstanceResourceGroup;
private @Nullable String arcServicePrincipalObjectId;
private @Nullable List connectivityProperties;
private List defaultExtensions;
private String id;
private String name;
private List perNodeDetails;
private String provisioningState;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetArcSettingResult defaults) {
Objects.requireNonNull(defaults);
this.aggregateState = defaults.aggregateState;
this.arcApplicationClientId = defaults.arcApplicationClientId;
this.arcApplicationObjectId = defaults.arcApplicationObjectId;
this.arcApplicationTenantId = defaults.arcApplicationTenantId;
this.arcInstanceResourceGroup = defaults.arcInstanceResourceGroup;
this.arcServicePrincipalObjectId = defaults.arcServicePrincipalObjectId;
this.connectivityProperties = defaults.connectivityProperties;
this.defaultExtensions = defaults.defaultExtensions;
this.id = defaults.id;
this.name = defaults.name;
this.perNodeDetails = defaults.perNodeDetails;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder aggregateState(String aggregateState) {
if (aggregateState == null) {
throw new MissingRequiredPropertyException("GetArcSettingResult", "aggregateState");
}
this.aggregateState = aggregateState;
return this;
}
@CustomType.Setter
public Builder arcApplicationClientId(@Nullable String arcApplicationClientId) {
this.arcApplicationClientId = arcApplicationClientId;
return this;
}
@CustomType.Setter
public Builder arcApplicationObjectId(@Nullable String arcApplicationObjectId) {
this.arcApplicationObjectId = arcApplicationObjectId;
return this;
}
@CustomType.Setter
public Builder arcApplicationTenantId(@Nullable String arcApplicationTenantId) {
this.arcApplicationTenantId = arcApplicationTenantId;
return this;
}
@CustomType.Setter
public Builder arcInstanceResourceGroup(@Nullable String arcInstanceResourceGroup) {
this.arcInstanceResourceGroup = arcInstanceResourceGroup;
return this;
}
@CustomType.Setter
public Builder arcServicePrincipalObjectId(@Nullable String arcServicePrincipalObjectId) {
this.arcServicePrincipalObjectId = arcServicePrincipalObjectId;
return this;
}
@CustomType.Setter
public Builder connectivityProperties(@Nullable List connectivityProperties) {
this.connectivityProperties = connectivityProperties;
return this;
}
public Builder connectivityProperties(ArcConnectivityPropertiesResponse... connectivityProperties) {
return connectivityProperties(List.of(connectivityProperties));
}
@CustomType.Setter
public Builder defaultExtensions(List defaultExtensions) {
if (defaultExtensions == null) {
throw new MissingRequiredPropertyException("GetArcSettingResult", "defaultExtensions");
}
this.defaultExtensions = defaultExtensions;
return this;
}
public Builder defaultExtensions(DefaultExtensionDetailsResponse... defaultExtensions) {
return defaultExtensions(List.of(defaultExtensions));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetArcSettingResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetArcSettingResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder perNodeDetails(List perNodeDetails) {
if (perNodeDetails == null) {
throw new MissingRequiredPropertyException("GetArcSettingResult", "perNodeDetails");
}
this.perNodeDetails = perNodeDetails;
return this;
}
public Builder perNodeDetails(PerNodeStateResponse... perNodeDetails) {
return perNodeDetails(List.of(perNodeDetails));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetArcSettingResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetArcSettingResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetArcSettingResult", "type");
}
this.type = type;
return this;
}
public GetArcSettingResult build() {
final var _resultValue = new GetArcSettingResult();
_resultValue.aggregateState = aggregateState;
_resultValue.arcApplicationClientId = arcApplicationClientId;
_resultValue.arcApplicationObjectId = arcApplicationObjectId;
_resultValue.arcApplicationTenantId = arcApplicationTenantId;
_resultValue.arcInstanceResourceGroup = arcInstanceResourceGroup;
_resultValue.arcServicePrincipalObjectId = arcServicePrincipalObjectId;
_resultValue.connectivityProperties = connectivityProperties;
_resultValue.defaultExtensions = defaultExtensions;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.perNodeDetails = perNodeDetails;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy