1. Packages
  2. Datadog Provider
  3. API Docs
  4. AppKeyRegistration
Datadog v4.55.0 published on Friday, Sep 5, 2025 by Pulumi

datadog.AppKeyRegistration

Explore with Pulumi AI

datadog logo
Datadog v4.55.0 published on Friday, Sep 5, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as datadog from "@pulumi/datadog";
    
    const appKeyRegistration = new datadog.AppKeyRegistration("app_key_registration", {appKeyId: "11111111-2222-3333-4444-555555555555"});
    
    import pulumi
    import pulumi_datadog as datadog
    
    app_key_registration = datadog.AppKeyRegistration("app_key_registration", app_key_id="11111111-2222-3333-4444-555555555555")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datadog.NewAppKeyRegistration(ctx, "app_key_registration", &datadog.AppKeyRegistrationArgs{
    			AppKeyId: pulumi.String("11111111-2222-3333-4444-555555555555"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Datadog = Pulumi.Datadog;
    
    return await Deployment.RunAsync(() => 
    {
        var appKeyRegistration = new Datadog.AppKeyRegistration("app_key_registration", new()
        {
            AppKeyId = "11111111-2222-3333-4444-555555555555",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.datadog.AppKeyRegistration;
    import com.pulumi.datadog.AppKeyRegistrationArgs;
    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) {
            var appKeyRegistration = new AppKeyRegistration("appKeyRegistration", AppKeyRegistrationArgs.builder()
                .appKeyId("11111111-2222-3333-4444-555555555555")
                .build());
    
        }
    }
    
    resources:
      appKeyRegistration:
        type: datadog:AppKeyRegistration
        name: app_key_registration
        properties:
          appKeyId: 11111111-2222-3333-4444-555555555555
    

    Create AppKeyRegistration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AppKeyRegistration(name: string, args: AppKeyRegistrationArgs, opts?: CustomResourceOptions);
    @overload
    def AppKeyRegistration(resource_name: str,
                           args: AppKeyRegistrationArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppKeyRegistration(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           app_key_id: Optional[str] = None)
    func NewAppKeyRegistration(ctx *Context, name string, args AppKeyRegistrationArgs, opts ...ResourceOption) (*AppKeyRegistration, error)
    public AppKeyRegistration(string name, AppKeyRegistrationArgs args, CustomResourceOptions? opts = null)
    public AppKeyRegistration(String name, AppKeyRegistrationArgs args)
    public AppKeyRegistration(String name, AppKeyRegistrationArgs args, CustomResourceOptions options)
    
    type: datadog:AppKeyRegistration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AppKeyRegistrationArgs
    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 AppKeyRegistrationArgs
    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 AppKeyRegistrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppKeyRegistrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppKeyRegistrationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var appKeyRegistrationResource = new Datadog.AppKeyRegistration("appKeyRegistrationResource", new()
    {
        AppKeyId = "string",
    });
    
    example, err := datadog.NewAppKeyRegistration(ctx, "appKeyRegistrationResource", &datadog.AppKeyRegistrationArgs{
    	AppKeyId: pulumi.String("string"),
    })
    
    var appKeyRegistrationResource = new AppKeyRegistration("appKeyRegistrationResource", AppKeyRegistrationArgs.builder()
        .appKeyId("string")
        .build());
    
    app_key_registration_resource = datadog.AppKeyRegistration("appKeyRegistrationResource", app_key_id="string")
    
    const appKeyRegistrationResource = new datadog.AppKeyRegistration("appKeyRegistrationResource", {appKeyId: "string"});
    
    type: datadog:AppKeyRegistration
    properties:
        appKeyId: string
    

    AppKeyRegistration Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AppKeyRegistration resource accepts the following input properties:

    AppKeyId string
    The Application Key ID to register.
    AppKeyId string
    The Application Key ID to register.
    appKeyId String
    The Application Key ID to register.
    appKeyId string
    The Application Key ID to register.
    app_key_id str
    The Application Key ID to register.
    appKeyId String
    The Application Key ID to register.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AppKeyRegistration 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 AppKeyRegistration Resource

    Get an existing AppKeyRegistration 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?: AppKeyRegistrationState, opts?: CustomResourceOptions): AppKeyRegistration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_key_id: Optional[str] = None) -> AppKeyRegistration
    func GetAppKeyRegistration(ctx *Context, name string, id IDInput, state *AppKeyRegistrationState, opts ...ResourceOption) (*AppKeyRegistration, error)
    public static AppKeyRegistration Get(string name, Input<string> id, AppKeyRegistrationState? state, CustomResourceOptions? opts = null)
    public static AppKeyRegistration get(String name, Output<String> id, AppKeyRegistrationState state, CustomResourceOptions options)
    resources:  _:    type: datadog:AppKeyRegistration    get:      id: ${id}
    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:
    AppKeyId string
    The Application Key ID to register.
    AppKeyId string
    The Application Key ID to register.
    appKeyId String
    The Application Key ID to register.
    appKeyId string
    The Application Key ID to register.
    app_key_id str
    The Application Key ID to register.
    appKeyId String
    The Application Key ID to register.

    Import

    The pulumi import command can be used, for example:

    $ pulumi import datadog:index/appKeyRegistration:AppKeyRegistration my_app_key_registration 11111111-2222-3333-4444-555555555555
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.55.0 published on Friday, Sep 5, 2025 by Pulumi