com.pulumi.gitlab.UserGpgKeyArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gitlab Show documentation
Show all versions of gitlab Show documentation
A Pulumi package for creating and managing GitLab resources.
The newest version!
// *** 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.gitlab;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class UserGpgKeyArgs extends com.pulumi.resources.ResourceArgs {
public static final UserGpgKeyArgs Empty = new UserGpgKeyArgs();
/**
* The armored GPG public key.
*
*/
@Import(name="key", required=true)
private Output key;
/**
* @return The armored GPG public key.
*
*/
public Output key() {
return this.key;
}
/**
* The ID of the user to add the GPG key to. If this field is omitted, this resource manages a GPG key for the current user. Otherwise, this resource manages a GPG key for the specified user, and an admin token is required.
*
*/
@Import(name="userId")
private @Nullable Output userId;
/**
* @return The ID of the user to add the GPG key to. If this field is omitted, this resource manages a GPG key for the current user. Otherwise, this resource manages a GPG key for the specified user, and an admin token is required.
*
*/
public Optional