1. Packages
  2. Harness
  3. API Docs
  4. PlatformApiKey
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.PlatformApiKey

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    Create PlatformApiKey Resource

    new PlatformApiKey(name: string, args: PlatformApiKeyArgs, opts?: CustomResourceOptions);
    @overload
    def PlatformApiKey(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_id: Optional[str] = None,
                       apikey_type: Optional[str] = None,
                       default_time_to_expire_token: Optional[int] = None,
                       description: Optional[str] = None,
                       identifier: Optional[str] = None,
                       name: Optional[str] = None,
                       org_id: Optional[str] = None,
                       parent_id: Optional[str] = None,
                       project_id: Optional[str] = None,
                       tags: Optional[Mapping[str, str]] = None)
    @overload
    def PlatformApiKey(resource_name: str,
                       args: PlatformApiKeyArgs,
                       opts: Optional[ResourceOptions] = None)
    func NewPlatformApiKey(ctx *Context, name string, args PlatformApiKeyArgs, opts ...ResourceOption) (*PlatformApiKey, error)
    public PlatformApiKey(string name, PlatformApiKeyArgs args, CustomResourceOptions? opts = null)
    public PlatformApiKey(String name, PlatformApiKeyArgs args)
    public PlatformApiKey(String name, PlatformApiKeyArgs args, CustomResourceOptions options)
    
    type: harness:PlatformApiKey
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args PlatformApiKeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PlatformApiKeyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PlatformApiKeyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PlatformApiKeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PlatformApiKeyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    PlatformApiKey Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PlatformApiKey resource accepts the following input properties:

    AccountId string
    Account Identifier for the Entity
    ApikeyType string
    Type of the API Key
    Identifier string
    Identifier of the API Key
    ParentId string
    Parent Entity Identifier of the API Key
    DefaultTimeToExpireToken int
    Default expiration time of the Token within API Key
    Description string
    Description of the API Key
    Name string
    Name of the API Key
    OrgId string
    Organization Identifier for the Entity
    ProjectId string
    Project Identifier for the Entity
    Tags Dictionary<string, string>
    Tags for the API Key
    AccountId string
    Account Identifier for the Entity
    ApikeyType string
    Type of the API Key
    Identifier string
    Identifier of the API Key
    ParentId string
    Parent Entity Identifier of the API Key
    DefaultTimeToExpireToken int
    Default expiration time of the Token within API Key
    Description string
    Description of the API Key
    Name string
    Name of the API Key
    OrgId string
    Organization Identifier for the Entity
    ProjectId string
    Project Identifier for the Entity
    Tags map[string]string
    Tags for the API Key
    accountId String
    Account Identifier for the Entity
    apikeyType String
    Type of the API Key
    identifier String
    Identifier of the API Key
    parentId String
    Parent Entity Identifier of the API Key
    defaultTimeToExpireToken Integer
    Default expiration time of the Token within API Key
    description String
    Description of the API Key
    name String
    Name of the API Key
    orgId String
    Organization Identifier for the Entity
    projectId String
    Project Identifier for the Entity
    tags Map<String,String>
    Tags for the API Key
    accountId string
    Account Identifier for the Entity
    apikeyType string
    Type of the API Key
    identifier string
    Identifier of the API Key
    parentId string
    Parent Entity Identifier of the API Key
    defaultTimeToExpireToken number
    Default expiration time of the Token within API Key
    description string
    Description of the API Key
    name string
    Name of the API Key
    orgId string
    Organization Identifier for the Entity
    projectId string
    Project Identifier for the Entity
    tags {[key: string]: string}
    Tags for the API Key
    account_id str
    Account Identifier for the Entity
    apikey_type str
    Type of the API Key
    identifier str
    Identifier of the API Key
    parent_id str
    Parent Entity Identifier of the API Key
    default_time_to_expire_token int
    Default expiration time of the Token within API Key
    description str
    Description of the API Key
    name str
    Name of the API Key
    org_id str
    Organization Identifier for the Entity
    project_id str
    Project Identifier for the Entity
    tags Mapping[str, str]
    Tags for the API Key
    accountId String
    Account Identifier for the Entity
    apikeyType String
    Type of the API Key
    identifier String
    Identifier of the API Key
    parentId String
    Parent Entity Identifier of the API Key
    defaultTimeToExpireToken Number
    Default expiration time of the Token within API Key
    description String
    Description of the API Key
    name String
    Name of the API Key
    orgId String
    Organization Identifier for the Entity
    projectId String
    Project Identifier for the Entity
    tags Map<String>
    Tags for the API Key

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PlatformApiKey resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing PlatformApiKey Resource

    Get an existing PlatformApiKey resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PlatformApiKeyState, opts?: CustomResourceOptions): PlatformApiKey
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            apikey_type: Optional[str] = None,
            default_time_to_expire_token: Optional[int] = None,
            description: Optional[str] = None,
            identifier: Optional[str] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            parent_id: Optional[str] = None,
            project_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> PlatformApiKey
    func GetPlatformApiKey(ctx *Context, name string, id IDInput, state *PlatformApiKeyState, opts ...ResourceOption) (*PlatformApiKey, error)
    public static PlatformApiKey Get(string name, Input<string> id, PlatformApiKeyState? state, CustomResourceOptions? opts = null)
    public static PlatformApiKey get(String name, Output<String> id, PlatformApiKeyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    Account Identifier for the Entity
    ApikeyType string
    Type of the API Key
    DefaultTimeToExpireToken int
    Default expiration time of the Token within API Key
    Description string
    Description of the API Key
    Identifier string
    Identifier of the API Key
    Name string
    Name of the API Key
    OrgId string
    Organization Identifier for the Entity
    ParentId string
    Parent Entity Identifier of the API Key
    ProjectId string
    Project Identifier for the Entity
    Tags Dictionary<string, string>
    Tags for the API Key
    AccountId string
    Account Identifier for the Entity
    ApikeyType string
    Type of the API Key
    DefaultTimeToExpireToken int
    Default expiration time of the Token within API Key
    Description string
    Description of the API Key
    Identifier string
    Identifier of the API Key
    Name string
    Name of the API Key
    OrgId string
    Organization Identifier for the Entity
    ParentId string
    Parent Entity Identifier of the API Key
    ProjectId string
    Project Identifier for the Entity
    Tags map[string]string
    Tags for the API Key
    accountId String
    Account Identifier for the Entity
    apikeyType String
    Type of the API Key
    defaultTimeToExpireToken Integer
    Default expiration time of the Token within API Key
    description String
    Description of the API Key
    identifier String
    Identifier of the API Key
    name String
    Name of the API Key
    orgId String
    Organization Identifier for the Entity
    parentId String
    Parent Entity Identifier of the API Key
    projectId String
    Project Identifier for the Entity
    tags Map<String,String>
    Tags for the API Key
    accountId string
    Account Identifier for the Entity
    apikeyType string
    Type of the API Key
    defaultTimeToExpireToken number
    Default expiration time of the Token within API Key
    description string
    Description of the API Key
    identifier string
    Identifier of the API Key
    name string
    Name of the API Key
    orgId string
    Organization Identifier for the Entity
    parentId string
    Parent Entity Identifier of the API Key
    projectId string
    Project Identifier for the Entity
    tags {[key: string]: string}
    Tags for the API Key
    account_id str
    Account Identifier for the Entity
    apikey_type str
    Type of the API Key
    default_time_to_expire_token int
    Default expiration time of the Token within API Key
    description str
    Description of the API Key
    identifier str
    Identifier of the API Key
    name str
    Name of the API Key
    org_id str
    Organization Identifier for the Entity
    parent_id str
    Parent Entity Identifier of the API Key
    project_id str
    Project Identifier for the Entity
    tags Mapping[str, str]
    Tags for the API Key
    accountId String
    Account Identifier for the Entity
    apikeyType String
    Type of the API Key
    defaultTimeToExpireToken Number
    Default expiration time of the Token within API Key
    description String
    Description of the API Key
    identifier String
    Identifier of the API Key
    name String
    Name of the API Key
    orgId String
    Organization Identifier for the Entity
    parentId String
    Parent Entity Identifier of the API Key
    projectId String
    Project Identifier for the Entity
    tags Map<String>
    Tags for the API Key

    Package Details

    Repository
    harness lbrlabs/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs