All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.artifactregistry.v1beta2.Artifactregistry_v1beta2Functions Maven / Gradle / Ivy

// *** 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.googlenative.artifactregistry.v1beta2;

import com.pulumi.core.Output;
import com.pulumi.core.TypeShape;
import com.pulumi.deployment.Deployment;
import com.pulumi.deployment.InvokeOptions;
import com.pulumi.googlenative.Utilities;
import com.pulumi.googlenative.artifactregistry.v1beta2.inputs.GetRepositoryArgs;
import com.pulumi.googlenative.artifactregistry.v1beta2.inputs.GetRepositoryIamPolicyArgs;
import com.pulumi.googlenative.artifactregistry.v1beta2.inputs.GetRepositoryIamPolicyPlainArgs;
import com.pulumi.googlenative.artifactregistry.v1beta2.inputs.GetRepositoryPlainArgs;
import com.pulumi.googlenative.artifactregistry.v1beta2.inputs.GetTagArgs;
import com.pulumi.googlenative.artifactregistry.v1beta2.inputs.GetTagPlainArgs;
import com.pulumi.googlenative.artifactregistry.v1beta2.outputs.GetRepositoryIamPolicyResult;
import com.pulumi.googlenative.artifactregistry.v1beta2.outputs.GetRepositoryResult;
import com.pulumi.googlenative.artifactregistry.v1beta2.outputs.GetTagResult;
import java.util.concurrent.CompletableFuture;

public final class Artifactregistry_v1beta2Functions {
    /**
     * Gets a repository.
     * 
     */
    public static Output getRepository(GetRepositoryArgs args) {
        return getRepository(args, InvokeOptions.Empty);
    }
    /**
     * Gets a repository.
     * 
     */
    public static CompletableFuture getRepositoryPlain(GetRepositoryPlainArgs args) {
        return getRepositoryPlain(args, InvokeOptions.Empty);
    }
    /**
     * Gets a repository.
     * 
     */
    public static Output getRepository(GetRepositoryArgs args, InvokeOptions options) {
        return Deployment.getInstance().invoke("google-native:artifactregistry/v1beta2:getRepository", TypeShape.of(GetRepositoryResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Gets a repository.
     * 
     */
    public static CompletableFuture getRepositoryPlain(GetRepositoryPlainArgs args, InvokeOptions options) {
        return Deployment.getInstance().invokeAsync("google-native:artifactregistry/v1beta2:getRepository", TypeShape.of(GetRepositoryResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Gets the IAM policy for a given resource.
     * 
     */
    public static Output getRepositoryIamPolicy(GetRepositoryIamPolicyArgs args) {
        return getRepositoryIamPolicy(args, InvokeOptions.Empty);
    }
    /**
     * Gets the IAM policy for a given resource.
     * 
     */
    public static CompletableFuture getRepositoryIamPolicyPlain(GetRepositoryIamPolicyPlainArgs args) {
        return getRepositoryIamPolicyPlain(args, InvokeOptions.Empty);
    }
    /**
     * Gets the IAM policy for a given resource.
     * 
     */
    public static Output getRepositoryIamPolicy(GetRepositoryIamPolicyArgs args, InvokeOptions options) {
        return Deployment.getInstance().invoke("google-native:artifactregistry/v1beta2:getRepositoryIamPolicy", TypeShape.of(GetRepositoryIamPolicyResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Gets the IAM policy for a given resource.
     * 
     */
    public static CompletableFuture getRepositoryIamPolicyPlain(GetRepositoryIamPolicyPlainArgs args, InvokeOptions options) {
        return Deployment.getInstance().invokeAsync("google-native:artifactregistry/v1beta2:getRepositoryIamPolicy", TypeShape.of(GetRepositoryIamPolicyResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Gets a tag.
     * 
     */
    public static Output getTag(GetTagArgs args) {
        return getTag(args, InvokeOptions.Empty);
    }
    /**
     * Gets a tag.
     * 
     */
    public static CompletableFuture getTagPlain(GetTagPlainArgs args) {
        return getTagPlain(args, InvokeOptions.Empty);
    }
    /**
     * Gets a tag.
     * 
     */
    public static Output getTag(GetTagArgs args, InvokeOptions options) {
        return Deployment.getInstance().invoke("google-native:artifactregistry/v1beta2:getTag", TypeShape.of(GetTagResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Gets a tag.
     * 
     */
    public static CompletableFuture getTagPlain(GetTagPlainArgs args, InvokeOptions options) {
        return Deployment.getInstance().invokeAsync("google-native:artifactregistry/v1beta2:getTag", TypeShape.of(GetTagResult.class), args, Utilities.withVersion(options));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy