com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryIPRestrictionsManagementArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH 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.ovhcloud.pulumi.ovh.CloudProject.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;
public final class GetContainerRegistryIPRestrictionsManagementArgs extends com.pulumi.resources.InvokeArgs {
public static final GetContainerRegistryIPRestrictionsManagementArgs Empty = new GetContainerRegistryIPRestrictionsManagementArgs();
/**
* The id of the Managed Private Registry.
*
*/
@Import(name="registryId", required=true)
private Output registryId;
/**
* @return The id of the Managed Private Registry.
*
*/
public Output registryId() {
return this.registryId;
}
/**
* The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
*
*/
@Import(name="serviceName", required=true)
private Output serviceName;
/**
* @return The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
*
*/
public Output serviceName() {
return this.serviceName;
}
private GetContainerRegistryIPRestrictionsManagementArgs() {}
private GetContainerRegistryIPRestrictionsManagementArgs(GetContainerRegistryIPRestrictionsManagementArgs $) {
this.registryId = $.registryId;
this.serviceName = $.serviceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetContainerRegistryIPRestrictionsManagementArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetContainerRegistryIPRestrictionsManagementArgs $;
public Builder() {
$ = new GetContainerRegistryIPRestrictionsManagementArgs();
}
public Builder(GetContainerRegistryIPRestrictionsManagementArgs defaults) {
$ = new GetContainerRegistryIPRestrictionsManagementArgs(Objects.requireNonNull(defaults));
}
/**
* @param registryId The id of the Managed Private Registry.
*
* @return builder
*
*/
public Builder registryId(Output registryId) {
$.registryId = registryId;
return this;
}
/**
* @param registryId The id of the Managed Private Registry.
*
* @return builder
*
*/
public Builder registryId(String registryId) {
return registryId(Output.of(registryId));
}
/**
* @param serviceName The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
*
* @return builder
*
*/
public Builder serviceName(Output serviceName) {
$.serviceName = serviceName;
return this;
}
/**
* @param serviceName The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
*
* @return builder
*
*/
public Builder serviceName(String serviceName) {
return serviceName(Output.of(serviceName));
}
public GetContainerRegistryIPRestrictionsManagementArgs build() {
if ($.registryId == null) {
throw new MissingRequiredPropertyException("GetContainerRegistryIPRestrictionsManagementArgs", "registryId");
}
if ($.serviceName == null) {
throw new MissingRequiredPropertyException("GetContainerRegistryIPRestrictionsManagementArgs", "serviceName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy