1. Packages
  2. Ibm Provider
  3. API Docs
  4. getCodeEngineSecret
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getCodeEngineSecret

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a read-only data source to retrieve information about a code_engine_secret. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const codeEngineSecret = ibm.getCodeEngineSecret({
        projectId: data.ibm_code_engine_project.code_engine_project.project_id,
        name: "my-secret",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    code_engine_secret = ibm.get_code_engine_secret(project_id=data["ibm_code_engine_project"]["code_engine_project"]["project_id"],
        name="my-secret")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.LookupCodeEngineSecret(ctx, &ibm.LookupCodeEngineSecretArgs{
    			ProjectId: data.Ibm_code_engine_project.Code_engine_project.Project_id,
    			Name:      "my-secret",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var codeEngineSecret = Ibm.GetCodeEngineSecret.Invoke(new()
        {
            ProjectId = data.Ibm_code_engine_project.Code_engine_project.Project_id,
            Name = "my-secret",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetCodeEngineSecretArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var codeEngineSecret = IbmFunctions.getCodeEngineSecret(GetCodeEngineSecretArgs.builder()
                .projectId(data.ibm_code_engine_project().code_engine_project().project_id())
                .name("my-secret")
                .build());
    
        }
    }
    
    variables:
      codeEngineSecret:
        fn::invoke:
          function: ibm:getCodeEngineSecret
          arguments:
            projectId: ${data.ibm_code_engine_project.code_engine_project.project_id}
            name: my-secret
    

    Using getCodeEngineSecret

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCodeEngineSecret(args: GetCodeEngineSecretArgs, opts?: InvokeOptions): Promise<GetCodeEngineSecretResult>
    function getCodeEngineSecretOutput(args: GetCodeEngineSecretOutputArgs, opts?: InvokeOptions): Output<GetCodeEngineSecretResult>
    def get_code_engine_secret(id: Optional[str] = None,
                               name: Optional[str] = None,
                               project_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetCodeEngineSecretResult
    def get_code_engine_secret_output(id: Optional[pulumi.Input[str]] = None,
                               name: Optional[pulumi.Input[str]] = None,
                               project_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetCodeEngineSecretResult]
    func LookupCodeEngineSecret(ctx *Context, args *LookupCodeEngineSecretArgs, opts ...InvokeOption) (*LookupCodeEngineSecretResult, error)
    func LookupCodeEngineSecretOutput(ctx *Context, args *LookupCodeEngineSecretOutputArgs, opts ...InvokeOption) LookupCodeEngineSecretResultOutput

    > Note: This function is named LookupCodeEngineSecret in the Go SDK.

    public static class GetCodeEngineSecret 
    {
        public static Task<GetCodeEngineSecretResult> InvokeAsync(GetCodeEngineSecretArgs args, InvokeOptions? opts = null)
        public static Output<GetCodeEngineSecretResult> Invoke(GetCodeEngineSecretInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCodeEngineSecretResult> getCodeEngineSecret(GetCodeEngineSecretArgs args, InvokeOptions options)
    public static Output<GetCodeEngineSecretResult> getCodeEngineSecret(GetCodeEngineSecretArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getCodeEngineSecret:getCodeEngineSecret
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Name string
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name String
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name string
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name str
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    project_id str
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id str
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name String
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.

    getCodeEngineSecret Result

    The following output properties are available:

    CreatedAt string
    (String) The timestamp when the resource was created.
    Data Dictionary<string, string>
    (Map) Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters.
    EntityTag string
    (String) The version of the secret instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Format string
    (Forces new resource, String) Specify the format of the secret.

    • Constraints: Allowable values are: generic, ssh_auth, basic_auth, tls, service_access, registry, service_operator, other. The value must match regular expression /^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/.
    Href string
    (String) When you provision a new secret, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Name string
    (String) Role of the service credential.

    • Constraints: The default value is Writer.
    ProjectId string
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the secret.
    SecretId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    ServiceAccesses List<GetCodeEngineSecretServiceAccess>
    (Forces new resource, List) Properties for Service Access Secrets. Nested schema for service_access:
    ServiceOperators List<GetCodeEngineSecretServiceOperator>
    (List) Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
    CreatedAt string
    (String) The timestamp when the resource was created.
    Data map[string]string
    (Map) Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters.
    EntityTag string
    (String) The version of the secret instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Format string
    (Forces new resource, String) Specify the format of the secret.

    • Constraints: Allowable values are: generic, ssh_auth, basic_auth, tls, service_access, registry, service_operator, other. The value must match regular expression /^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/.
    Href string
    (String) When you provision a new secret, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Name string
    (String) Role of the service credential.

    • Constraints: The default value is Writer.
    ProjectId string
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the secret.
    SecretId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    ServiceAccesses []GetCodeEngineSecretServiceAccess
    (Forces new resource, List) Properties for Service Access Secrets. Nested schema for service_access:
    ServiceOperators []GetCodeEngineSecretServiceOperator
    (List) Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
    createdAt String
    (String) The timestamp when the resource was created.
    data Map<String,String>
    (Map) Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters.
    entityTag String
    (String) The version of the secret instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    format String
    (Forces new resource, String) Specify the format of the secret.

    • Constraints: Allowable values are: generic, ssh_auth, basic_auth, tls, service_access, registry, service_operator, other. The value must match regular expression /^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/.
    href String
    (String) When you provision a new secret, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name String
    (String) Role of the service credential.

    • Constraints: The default value is Writer.
    projectId String
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the secret.
    secretId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    serviceAccesses List<GetCodeEngineSecretServiceAccess>
    (Forces new resource, List) Properties for Service Access Secrets. Nested schema for service_access:
    serviceOperators List<GetCodeEngineSecretServiceOperator>
    (List) Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
    createdAt string
    (String) The timestamp when the resource was created.
    data {[key: string]: string}
    (Map) Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters.
    entityTag string
    (String) The version of the secret instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    format string
    (Forces new resource, String) Specify the format of the secret.

    • Constraints: Allowable values are: generic, ssh_auth, basic_auth, tls, service_access, registry, service_operator, other. The value must match regular expression /^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/.
    href string
    (String) When you provision a new secret, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name string
    (String) Role of the service credential.

    • Constraints: The default value is Writer.
    projectId string
    region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType string
    (String) The type of the secret.
    secretId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    serviceAccesses GetCodeEngineSecretServiceAccess[]
    (Forces new resource, List) Properties for Service Access Secrets. Nested schema for service_access:
    serviceOperators GetCodeEngineSecretServiceOperator[]
    (List) Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
    created_at str
    (String) The timestamp when the resource was created.
    data Mapping[str, str]
    (Map) Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters.
    entity_tag str
    (String) The version of the secret instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    format str
    (Forces new resource, String) Specify the format of the secret.

    • Constraints: Allowable values are: generic, ssh_auth, basic_auth, tls, service_access, registry, service_operator, other. The value must match regular expression /^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/.
    href str
    (String) When you provision a new secret, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id str
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name str
    (String) Role of the service credential.

    • Constraints: The default value is Writer.
    project_id str
    region str
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resource_type str
    (String) The type of the secret.
    secret_id str
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    service_accesses Sequence[GetCodeEngineSecretServiceAccess]
    (Forces new resource, List) Properties for Service Access Secrets. Nested schema for service_access:
    service_operators Sequence[GetCodeEngineSecretServiceOperator]
    (List) Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:
    createdAt String
    (String) The timestamp when the resource was created.
    data Map<String>
    (Map) Data container that allows to specify config parameters and their values as a key-value map. Each key field must consist of alphanumeric characters, -, _ or . and must not exceed a max length of 253 characters. Each value field can consists of any character and must not exceed a max length of 1048576 characters.
    entityTag String
    (String) The version of the secret instance, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    format String
    (Forces new resource, String) Specify the format of the secret.

    • Constraints: Allowable values are: generic, ssh_auth, basic_auth, tls, service_access, registry, service_operator, other. The value must match regular expression /^(generic|ssh_auth|basic_auth|tls|service_access|registry|service_operator|other)$/.
    href String
    (String) When you provision a new secret, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name String
    (String) Role of the service credential.

    • Constraints: The default value is Writer.
    projectId String
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the secret.
    secretId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    serviceAccesses List<Property Map>
    (Forces new resource, List) Properties for Service Access Secrets. Nested schema for service_access:
    serviceOperators List<Property Map>
    (List) Properties for the IBM Cloud Operator Secret. Nested schema for service_operator:

    Supporting Types

    GetCodeEngineSecretServiceAccess

    ResourceKeys List<GetCodeEngineSecretServiceAccessResourceKey>
    (List) The service credential associated with the secret. Nested schema for resource_key:
    Roles List<GetCodeEngineSecretServiceAccessRole>
    (List) A reference to the Role and Role CRN for service binding. Nested schema for role:
    ServiceInstances List<GetCodeEngineSecretServiceAccessServiceInstance>
    (List) The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
    Serviceids List<GetCodeEngineSecretServiceAccessServiceid>
    (List) A reference to a Service ID. Nested schema for serviceid:
    ResourceKeys []GetCodeEngineSecretServiceAccessResourceKey
    (List) The service credential associated with the secret. Nested schema for resource_key:
    Roles []GetCodeEngineSecretServiceAccessRole
    (List) A reference to the Role and Role CRN for service binding. Nested schema for role:
    ServiceInstances []GetCodeEngineSecretServiceAccessServiceInstance
    (List) The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
    Serviceids []GetCodeEngineSecretServiceAccessServiceid
    (List) A reference to a Service ID. Nested schema for serviceid:
    resourceKeys List<GetCodeEngineSecretServiceAccessResourceKey>
    (List) The service credential associated with the secret. Nested schema for resource_key:
    roles List<GetCodeEngineSecretServiceAccessRole>
    (List) A reference to the Role and Role CRN for service binding. Nested schema for role:
    serviceInstances List<GetCodeEngineSecretServiceAccessServiceInstance>
    (List) The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
    serviceids List<GetCodeEngineSecretServiceAccessServiceid>
    (List) A reference to a Service ID. Nested schema for serviceid:
    resourceKeys GetCodeEngineSecretServiceAccessResourceKey[]
    (List) The service credential associated with the secret. Nested schema for resource_key:
    roles GetCodeEngineSecretServiceAccessRole[]
    (List) A reference to the Role and Role CRN for service binding. Nested schema for role:
    serviceInstances GetCodeEngineSecretServiceAccessServiceInstance[]
    (List) The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
    serviceids GetCodeEngineSecretServiceAccessServiceid[]
    (List) A reference to a Service ID. Nested schema for serviceid:
    resource_keys Sequence[GetCodeEngineSecretServiceAccessResourceKey]
    (List) The service credential associated with the secret. Nested schema for resource_key:
    roles Sequence[GetCodeEngineSecretServiceAccessRole]
    (List) A reference to the Role and Role CRN for service binding. Nested schema for role:
    service_instances Sequence[GetCodeEngineSecretServiceAccessServiceInstance]
    (List) The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
    serviceids Sequence[GetCodeEngineSecretServiceAccessServiceid]
    (List) A reference to a Service ID. Nested schema for serviceid:
    resourceKeys List<Property Map>
    (List) The service credential associated with the secret. Nested schema for resource_key:
    roles List<Property Map>
    (List) A reference to the Role and Role CRN for service binding. Nested schema for role:
    serviceInstances List<Property Map>
    (List) The IBM Cloud service instance associated with the secret. Nested schema for service_instance:
    serviceids List<Property Map>
    (List) A reference to a Service ID. Nested schema for serviceid:

    GetCodeEngineSecretServiceAccessResourceKey

    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Name string
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Name string
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name String
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name string
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    id str
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name str
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    name String
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.

    GetCodeEngineSecretServiceAccessRole

    Crn string
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    Name string
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    Crn string
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    Name string
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    crn String
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    name String
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    crn string
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    name string
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    crn str
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    name str
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    crn String
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    name String
    The name of your secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.

    GetCodeEngineSecretServiceAccessServiceInstance

    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Type string
    (String) Type of IBM Cloud service associated with the secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^.*$/.
    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Type string
    (String) Type of IBM Cloud service associated with the secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^.*$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    type String
    (String) Type of IBM Cloud service associated with the secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^.*$/.
    id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    type string
    (String) Type of IBM Cloud service associated with the secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^.*$/.
    id str
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    type str
    (String) Type of IBM Cloud service associated with the secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^.*$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    type String
    (String) Type of IBM Cloud service associated with the secret.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^.*$/.

    GetCodeEngineSecretServiceAccessServiceid

    Crn string
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Crn string
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    crn String
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    crn string
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    crn str
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    id str
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    crn String
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.

    GetCodeEngineSecretServiceOperator

    ApikeyId string
    (String) The ID of the apikey associated with the operator secret.

    • Constraints: The maximum length is 43 characters. The minimum length is 43 characters. The value must match regular expression /^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    ResourceGroupIds List<string>
    (List) The list of resource groups (by ID) that the operator secret can bind services in.

    • Constraints: The list items must match regular expression /^[a-z0-9]*$/. The maximum length is 100 items. The minimum length is 0 items.
    Serviceids List<GetCodeEngineSecretServiceOperatorServiceid>
    (List) A reference to a Service ID. Nested schema for serviceid:
    UserManaged bool
    (Boolean) Specifies whether the operator secret is user managed.
    ApikeyId string
    (String) The ID of the apikey associated with the operator secret.

    • Constraints: The maximum length is 43 characters. The minimum length is 43 characters. The value must match regular expression /^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    ResourceGroupIds []string
    (List) The list of resource groups (by ID) that the operator secret can bind services in.

    • Constraints: The list items must match regular expression /^[a-z0-9]*$/. The maximum length is 100 items. The minimum length is 0 items.
    Serviceids []GetCodeEngineSecretServiceOperatorServiceid
    (List) A reference to a Service ID. Nested schema for serviceid:
    UserManaged bool
    (Boolean) Specifies whether the operator secret is user managed.
    apikeyId String
    (String) The ID of the apikey associated with the operator secret.

    • Constraints: The maximum length is 43 characters. The minimum length is 43 characters. The value must match regular expression /^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    resourceGroupIds List<String>
    (List) The list of resource groups (by ID) that the operator secret can bind services in.

    • Constraints: The list items must match regular expression /^[a-z0-9]*$/. The maximum length is 100 items. The minimum length is 0 items.
    serviceids List<GetCodeEngineSecretServiceOperatorServiceid>
    (List) A reference to a Service ID. Nested schema for serviceid:
    userManaged Boolean
    (Boolean) Specifies whether the operator secret is user managed.
    apikeyId string
    (String) The ID of the apikey associated with the operator secret.

    • Constraints: The maximum length is 43 characters. The minimum length is 43 characters. The value must match regular expression /^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    resourceGroupIds string[]
    (List) The list of resource groups (by ID) that the operator secret can bind services in.

    • Constraints: The list items must match regular expression /^[a-z0-9]*$/. The maximum length is 100 items. The minimum length is 0 items.
    serviceids GetCodeEngineSecretServiceOperatorServiceid[]
    (List) A reference to a Service ID. Nested schema for serviceid:
    userManaged boolean
    (Boolean) Specifies whether the operator secret is user managed.
    apikey_id str
    (String) The ID of the apikey associated with the operator secret.

    • Constraints: The maximum length is 43 characters. The minimum length is 43 characters. The value must match regular expression /^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    resource_group_ids Sequence[str]
    (List) The list of resource groups (by ID) that the operator secret can bind services in.

    • Constraints: The list items must match regular expression /^[a-z0-9]*$/. The maximum length is 100 items. The minimum length is 0 items.
    serviceids Sequence[GetCodeEngineSecretServiceOperatorServiceid]
    (List) A reference to a Service ID. Nested schema for serviceid:
    user_managed bool
    (Boolean) Specifies whether the operator secret is user managed.
    apikeyId String
    (String) The ID of the apikey associated with the operator secret.

    • Constraints: The maximum length is 43 characters. The minimum length is 43 characters. The value must match regular expression /^ApiKey-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    resourceGroupIds List<String>
    (List) The list of resource groups (by ID) that the operator secret can bind services in.

    • Constraints: The list items must match regular expression /^[a-z0-9]*$/. The maximum length is 100 items. The minimum length is 0 items.
    serviceids List<Property Map>
    (List) A reference to a Service ID. Nested schema for serviceid:
    userManaged Boolean
    (Boolean) Specifies whether the operator secret is user managed.

    GetCodeEngineSecretServiceOperatorServiceid

    Crn string
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Crn string
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    Id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    crn String
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    crn string
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    id string
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    crn str
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    id str
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    crn String
    (String) CRN value of a Service ID.

    • Constraints: The maximum length is 253 characters. The minimum length is 0 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:[\\-a-z0-9]*\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:[\\-a-z0-9\/]*\\:[\\-a-zA-Z0-9]*(\\:[\\-a-zA-Z0-9\/.]*)?$/.
    id String
    (String) The ID of the Service ID.

    • Constraints: The maximum length is 46 characters. The minimum length is 46 characters. The value must match regular expression /^ServiceId-[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud