
com.pulumi.azurenative.app.inputs.ContainerRegistryArgs 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.app.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Model representing a mapping from a container registry to the identity used to connect to it.
*
*/
public final class ContainerRegistryArgs extends com.pulumi.resources.ResourceArgs {
public static final ContainerRegistryArgs Empty = new ContainerRegistryArgs();
/**
* Login server of the container registry.
*
*/
@Import(name="containerRegistryServer", required=true)
private Output containerRegistryServer;
/**
* @return Login server of the container registry.
*
*/
public Output containerRegistryServer() {
return this.containerRegistryServer;
}
/**
* Resource ID of the managed identity.
*
*/
@Import(name="identityResourceId", required=true)
private Output identityResourceId;
/**
* @return Resource ID of the managed identity.
*
*/
public Output identityResourceId() {
return this.identityResourceId;
}
private ContainerRegistryArgs() {}
private ContainerRegistryArgs(ContainerRegistryArgs $) {
this.containerRegistryServer = $.containerRegistryServer;
this.identityResourceId = $.identityResourceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ContainerRegistryArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ContainerRegistryArgs $;
public Builder() {
$ = new ContainerRegistryArgs();
}
public Builder(ContainerRegistryArgs defaults) {
$ = new ContainerRegistryArgs(Objects.requireNonNull(defaults));
}
/**
* @param containerRegistryServer Login server of the container registry.
*
* @return builder
*
*/
public Builder containerRegistryServer(Output containerRegistryServer) {
$.containerRegistryServer = containerRegistryServer;
return this;
}
/**
* @param containerRegistryServer Login server of the container registry.
*
* @return builder
*
*/
public Builder containerRegistryServer(String containerRegistryServer) {
return containerRegistryServer(Output.of(containerRegistryServer));
}
/**
* @param identityResourceId Resource ID of the managed identity.
*
* @return builder
*
*/
public Builder identityResourceId(Output identityResourceId) {
$.identityResourceId = identityResourceId;
return this;
}
/**
* @param identityResourceId Resource ID of the managed identity.
*
* @return builder
*
*/
public Builder identityResourceId(String identityResourceId) {
return identityResourceId(Output.of(identityResourceId));
}
public ContainerRegistryArgs build() {
if ($.containerRegistryServer == null) {
throw new MissingRequiredPropertyException("ContainerRegistryArgs", "containerRegistryServer");
}
if ($.identityResourceId == null) {
throw new MissingRequiredPropertyException("ContainerRegistryArgs", "identityResourceId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy