
com.pulumi.azurenative.containerregistry.outputs.GetRegistryResult 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.containerregistry.outputs;
import com.pulumi.azurenative.containerregistry.outputs.EncryptionPropertyResponse;
import com.pulumi.azurenative.containerregistry.outputs.IdentityPropertiesResponse;
import com.pulumi.azurenative.containerregistry.outputs.NetworkRuleSetResponse;
import com.pulumi.azurenative.containerregistry.outputs.PoliciesResponse;
import com.pulumi.azurenative.containerregistry.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.containerregistry.outputs.SkuResponse;
import com.pulumi.azurenative.containerregistry.outputs.StatusResponse;
import com.pulumi.azurenative.containerregistry.outputs.SystemDataResponse;
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;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetRegistryResult {
/**
* @return The value that indicates whether the admin user is enabled.
*
*/
private @Nullable Boolean adminUserEnabled;
/**
* @return The creation date of the container registry in ISO8601 format.
*
*/
private String creationDate;
/**
* @return Enable a single data endpoint per region for serving data.
*
*/
private @Nullable Boolean dataEndpointEnabled;
/**
* @return List of host names that will serve data when dataEndpointEnabled is true.
*
*/
private List dataEndpointHostNames;
/**
* @return The encryption settings of container registry.
*
*/
private @Nullable EncryptionPropertyResponse encryption;
/**
* @return The resource ID.
*
*/
private String id;
/**
* @return The identity of the container registry.
*
*/
private @Nullable IdentityPropertiesResponse identity;
/**
* @return The location of the resource. This cannot be changed after the resource is created.
*
*/
private String location;
/**
* @return The URL that can be used to log into the container registry.
*
*/
private String loginServer;
/**
* @return The name of the resource.
*
*/
private String name;
/**
* @return Whether to allow trusted Azure services to access a network restricted registry.
*
*/
private @Nullable String networkRuleBypassOptions;
/**
* @return The network rule set for a container registry.
*
*/
private @Nullable NetworkRuleSetResponse networkRuleSet;
/**
* @return The policies for a container registry.
*
*/
private @Nullable PoliciesResponse policies;
/**
* @return List of private endpoint connections for a container registry.
*
*/
private List privateEndpointConnections;
/**
* @return The provisioning state of the container registry at the time the operation was called.
*
*/
private String provisioningState;
/**
* @return Whether or not public network access is allowed for the container registry.
*
*/
private @Nullable String publicNetworkAccess;
/**
* @return The SKU of the container registry.
*
*/
private SkuResponse sku;
/**
* @return The status of the container registry at the time the operation was called.
*
*/
private StatusResponse status;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
private SystemDataResponse systemData;
/**
* @return The tags of the resource.
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource.
*
*/
private String type;
/**
* @return Whether or not zone redundancy is enabled for this container registry
*
*/
private @Nullable String zoneRedundancy;
private GetRegistryResult() {}
/**
* @return The value that indicates whether the admin user is enabled.
*
*/
public Optional adminUserEnabled() {
return Optional.ofNullable(this.adminUserEnabled);
}
/**
* @return The creation date of the container registry in ISO8601 format.
*
*/
public String creationDate() {
return this.creationDate;
}
/**
* @return Enable a single data endpoint per region for serving data.
*
*/
public Optional dataEndpointEnabled() {
return Optional.ofNullable(this.dataEndpointEnabled);
}
/**
* @return List of host names that will serve data when dataEndpointEnabled is true.
*
*/
public List dataEndpointHostNames() {
return this.dataEndpointHostNames;
}
/**
* @return The encryption settings of container registry.
*
*/
public Optional encryption() {
return Optional.ofNullable(this.encryption);
}
/**
* @return The resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return The identity of the container registry.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The location of the resource. This cannot be changed after the resource is created.
*
*/
public String location() {
return this.location;
}
/**
* @return The URL that can be used to log into the container registry.
*
*/
public String loginServer() {
return this.loginServer;
}
/**
* @return The name of the resource.
*
*/
public String name() {
return this.name;
}
/**
* @return Whether to allow trusted Azure services to access a network restricted registry.
*
*/
public Optional networkRuleBypassOptions() {
return Optional.ofNullable(this.networkRuleBypassOptions);
}
/**
* @return The network rule set for a container registry.
*
*/
public Optional networkRuleSet() {
return Optional.ofNullable(this.networkRuleSet);
}
/**
* @return The policies for a container registry.
*
*/
public Optional policies() {
return Optional.ofNullable(this.policies);
}
/**
* @return List of private endpoint connections for a container registry.
*
*/
public List privateEndpointConnections() {
return this.privateEndpointConnections;
}
/**
* @return The provisioning state of the container registry at the time the operation was called.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Whether or not public network access is allowed for the container registry.
*
*/
public Optional publicNetworkAccess() {
return Optional.ofNullable(this.publicNetworkAccess);
}
/**
* @return The SKU of the container registry.
*
*/
public SkuResponse sku() {
return this.sku;
}
/**
* @return The status of the container registry at the time the operation was called.
*
*/
public StatusResponse status() {
return this.status;
}
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The tags of the resource.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource.
*
*/
public String type() {
return this.type;
}
/**
* @return Whether or not zone redundancy is enabled for this container registry
*
*/
public Optional zoneRedundancy() {
return Optional.ofNullable(this.zoneRedundancy);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRegistryResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean adminUserEnabled;
private String creationDate;
private @Nullable Boolean dataEndpointEnabled;
private List dataEndpointHostNames;
private @Nullable EncryptionPropertyResponse encryption;
private String id;
private @Nullable IdentityPropertiesResponse identity;
private String location;
private String loginServer;
private String name;
private @Nullable String networkRuleBypassOptions;
private @Nullable NetworkRuleSetResponse networkRuleSet;
private @Nullable PoliciesResponse policies;
private List privateEndpointConnections;
private String provisioningState;
private @Nullable String publicNetworkAccess;
private SkuResponse sku;
private StatusResponse status;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
private @Nullable String zoneRedundancy;
public Builder() {}
public Builder(GetRegistryResult defaults) {
Objects.requireNonNull(defaults);
this.adminUserEnabled = defaults.adminUserEnabled;
this.creationDate = defaults.creationDate;
this.dataEndpointEnabled = defaults.dataEndpointEnabled;
this.dataEndpointHostNames = defaults.dataEndpointHostNames;
this.encryption = defaults.encryption;
this.id = defaults.id;
this.identity = defaults.identity;
this.location = defaults.location;
this.loginServer = defaults.loginServer;
this.name = defaults.name;
this.networkRuleBypassOptions = defaults.networkRuleBypassOptions;
this.networkRuleSet = defaults.networkRuleSet;
this.policies = defaults.policies;
this.privateEndpointConnections = defaults.privateEndpointConnections;
this.provisioningState = defaults.provisioningState;
this.publicNetworkAccess = defaults.publicNetworkAccess;
this.sku = defaults.sku;
this.status = defaults.status;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
this.zoneRedundancy = defaults.zoneRedundancy;
}
@CustomType.Setter
public Builder adminUserEnabled(@Nullable Boolean adminUserEnabled) {
this.adminUserEnabled = adminUserEnabled;
return this;
}
@CustomType.Setter
public Builder creationDate(String creationDate) {
if (creationDate == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "creationDate");
}
this.creationDate = creationDate;
return this;
}
@CustomType.Setter
public Builder dataEndpointEnabled(@Nullable Boolean dataEndpointEnabled) {
this.dataEndpointEnabled = dataEndpointEnabled;
return this;
}
@CustomType.Setter
public Builder dataEndpointHostNames(List dataEndpointHostNames) {
if (dataEndpointHostNames == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "dataEndpointHostNames");
}
this.dataEndpointHostNames = dataEndpointHostNames;
return this;
}
public Builder dataEndpointHostNames(String... dataEndpointHostNames) {
return dataEndpointHostNames(List.of(dataEndpointHostNames));
}
@CustomType.Setter
public Builder encryption(@Nullable EncryptionPropertyResponse encryption) {
this.encryption = encryption;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable IdentityPropertiesResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder loginServer(String loginServer) {
if (loginServer == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "loginServer");
}
this.loginServer = loginServer;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder networkRuleBypassOptions(@Nullable String networkRuleBypassOptions) {
this.networkRuleBypassOptions = networkRuleBypassOptions;
return this;
}
@CustomType.Setter
public Builder networkRuleSet(@Nullable NetworkRuleSetResponse networkRuleSet) {
this.networkRuleSet = networkRuleSet;
return this;
}
@CustomType.Setter
public Builder policies(@Nullable PoliciesResponse policies) {
this.policies = policies;
return this;
}
@CustomType.Setter
public Builder privateEndpointConnections(List privateEndpointConnections) {
if (privateEndpointConnections == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "privateEndpointConnections");
}
this.privateEndpointConnections = privateEndpointConnections;
return this;
}
public Builder privateEndpointConnections(PrivateEndpointConnectionResponse... privateEndpointConnections) {
return privateEndpointConnections(List.of(privateEndpointConnections));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder publicNetworkAccess(@Nullable String publicNetworkAccess) {
this.publicNetworkAccess = publicNetworkAccess;
return this;
}
@CustomType.Setter
public Builder sku(SkuResponse sku) {
if (sku == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "sku");
}
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder status(StatusResponse status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetRegistryResult", "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("GetRegistryResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder zoneRedundancy(@Nullable String zoneRedundancy) {
this.zoneRedundancy = zoneRedundancy;
return this;
}
public GetRegistryResult build() {
final var _resultValue = new GetRegistryResult();
_resultValue.adminUserEnabled = adminUserEnabled;
_resultValue.creationDate = creationDate;
_resultValue.dataEndpointEnabled = dataEndpointEnabled;
_resultValue.dataEndpointHostNames = dataEndpointHostNames;
_resultValue.encryption = encryption;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.location = location;
_resultValue.loginServer = loginServer;
_resultValue.name = name;
_resultValue.networkRuleBypassOptions = networkRuleBypassOptions;
_resultValue.networkRuleSet = networkRuleSet;
_resultValue.policies = policies;
_resultValue.privateEndpointConnections = privateEndpointConnections;
_resultValue.provisioningState = provisioningState;
_resultValue.publicNetworkAccess = publicNetworkAccess;
_resultValue.sku = sku;
_resultValue.status = status;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.zoneRedundancy = zoneRedundancy;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy