Class FunctionServiceConfigSecretVolumeArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.cloudfunctionsv2.inputs.FunctionServiceConfigSecretVolumeArgs
-
public final class FunctionServiceConfigSecretVolumeArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionServiceConfigSecretVolumeArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static FunctionServiceConfigSecretVolumeArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FunctionServiceConfigSecretVolumeArgs.Builder
builder()
static FunctionServiceConfigSecretVolumeArgs.Builder
builder(FunctionServiceConfigSecretVolumeArgs defaults)
com.pulumi.core.Output<java.lang.String>
mountPath()
com.pulumi.core.Output<java.lang.String>
projectId()
com.pulumi.core.Output<java.lang.String>
secret()
java.util.Optional<com.pulumi.core.Output<java.util.List<FunctionServiceConfigSecretVolumeVersionArgs>>>
versions()
-
-
-
Field Detail
-
Empty
public static final FunctionServiceConfigSecretVolumeArgs Empty
-
-
Method Detail
-
mountPath
public com.pulumi.core.Output<java.lang.String> mountPath()
- Returns:
- The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets
-
projectId
public com.pulumi.core.Output<java.lang.String> projectId()
- Returns:
- Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
-
secret
public com.pulumi.core.Output<java.lang.String> secret()
- Returns:
- Name of the secret in secret manager (not the full resource name).
-
versions
public java.util.Optional<com.pulumi.core.Output<java.util.List<FunctionServiceConfigSecretVolumeVersionArgs>>> versions()
- Returns:
- List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.' Structure is documented below.
-
builder
public static FunctionServiceConfigSecretVolumeArgs.Builder builder()
-
builder
public static FunctionServiceConfigSecretVolumeArgs.Builder builder(FunctionServiceConfigSecretVolumeArgs defaults)
-
-