1. Packages
  2. Datadog Provider
  3. API Docs
  4. AzureUcConfig
Datadog v4.58.0 published on Thursday, Oct 16, 2025 by Pulumi

datadog.AzureUcConfig

Deploy with Pulumi
datadog logo
Datadog v4.58.0 published on Thursday, Oct 16, 2025 by Pulumi

    Provides a Datadog Azure Usage Cost configuration resource. This can be used to create and manage Azure Cost Export configurations for Cloud Cost Management. Azure configurations require both actual and amortized cost export settings.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      # Create new Azure Usage Cost configuration resource
      example:
        type: datadog:AzureUcConfig
        properties:
          accountId: 12345678-1234-abcd-1234-123456789012
          clientId: 87654321-4321-dcba-4321-210987654321
          scope: /subscriptions/12345678-1234-abcd-1234-123456789012
          actualBillConfig:
            - exportName: my-actual-export
              exportPath: exports/actual
              storageAccount: mystorageaccount
              storageContainer: cost-exports
          amortizedBillConfig:
            - exportName: my-amortized-export
              exportPath: exports/amortized
              storageAccount: mystorageaccount
              storageContainer: cost-exports
    

    Create AzureUcConfig Resource

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

    Constructor syntax

    new AzureUcConfig(name: string, args: AzureUcConfigArgs, opts?: CustomResourceOptions);
    @overload
    def AzureUcConfig(resource_name: str,
                      args: AzureUcConfigArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def AzureUcConfig(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      account_id: Optional[str] = None,
                      client_id: Optional[str] = None,
                      scope: Optional[str] = None,
                      actual_bill_config: Optional[AzureUcConfigActualBillConfigArgs] = None,
                      amortized_bill_config: Optional[AzureUcConfigAmortizedBillConfigArgs] = None)
    func NewAzureUcConfig(ctx *Context, name string, args AzureUcConfigArgs, opts ...ResourceOption) (*AzureUcConfig, error)
    public AzureUcConfig(string name, AzureUcConfigArgs args, CustomResourceOptions? opts = null)
    public AzureUcConfig(String name, AzureUcConfigArgs args)
    public AzureUcConfig(String name, AzureUcConfigArgs args, CustomResourceOptions options)
    
    type: datadog:AzureUcConfig
    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 AzureUcConfigArgs
    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 AzureUcConfigArgs
    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 AzureUcConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AzureUcConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AzureUcConfigArgs
    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 azureUcConfigResource = new Datadog.AzureUcConfig("azureUcConfigResource", new()
    {
        AccountId = "string",
        ClientId = "string",
        Scope = "string",
        ActualBillConfig = new Datadog.Inputs.AzureUcConfigActualBillConfigArgs
        {
            ExportName = "string",
            ExportPath = "string",
            StorageAccount = "string",
            StorageContainer = "string",
        },
        AmortizedBillConfig = new Datadog.Inputs.AzureUcConfigAmortizedBillConfigArgs
        {
            ExportName = "string",
            ExportPath = "string",
            StorageAccount = "string",
            StorageContainer = "string",
        },
    });
    
    example, err := datadog.NewAzureUcConfig(ctx, "azureUcConfigResource", &datadog.AzureUcConfigArgs{
    	AccountId: pulumi.String("string"),
    	ClientId:  pulumi.String("string"),
    	Scope:     pulumi.String("string"),
    	ActualBillConfig: &datadog.AzureUcConfigActualBillConfigArgs{
    		ExportName:       pulumi.String("string"),
    		ExportPath:       pulumi.String("string"),
    		StorageAccount:   pulumi.String("string"),
    		StorageContainer: pulumi.String("string"),
    	},
    	AmortizedBillConfig: &datadog.AzureUcConfigAmortizedBillConfigArgs{
    		ExportName:       pulumi.String("string"),
    		ExportPath:       pulumi.String("string"),
    		StorageAccount:   pulumi.String("string"),
    		StorageContainer: pulumi.String("string"),
    	},
    })
    
    var azureUcConfigResource = new AzureUcConfig("azureUcConfigResource", AzureUcConfigArgs.builder()
        .accountId("string")
        .clientId("string")
        .scope("string")
        .actualBillConfig(AzureUcConfigActualBillConfigArgs.builder()
            .exportName("string")
            .exportPath("string")
            .storageAccount("string")
            .storageContainer("string")
            .build())
        .amortizedBillConfig(AzureUcConfigAmortizedBillConfigArgs.builder()
            .exportName("string")
            .exportPath("string")
            .storageAccount("string")
            .storageContainer("string")
            .build())
        .build());
    
    azure_uc_config_resource = datadog.AzureUcConfig("azureUcConfigResource",
        account_id="string",
        client_id="string",
        scope="string",
        actual_bill_config={
            "export_name": "string",
            "export_path": "string",
            "storage_account": "string",
            "storage_container": "string",
        },
        amortized_bill_config={
            "export_name": "string",
            "export_path": "string",
            "storage_account": "string",
            "storage_container": "string",
        })
    
    const azureUcConfigResource = new datadog.AzureUcConfig("azureUcConfigResource", {
        accountId: "string",
        clientId: "string",
        scope: "string",
        actualBillConfig: {
            exportName: "string",
            exportPath: "string",
            storageAccount: "string",
            storageContainer: "string",
        },
        amortizedBillConfig: {
            exportName: "string",
            exportPath: "string",
            storageAccount: "string",
            storageContainer: "string",
        },
    });
    
    type: datadog:AzureUcConfig
    properties:
        accountId: string
        actualBillConfig:
            exportName: string
            exportPath: string
            storageAccount: string
            storageContainer: string
        amortizedBillConfig:
            exportName: string
            exportPath: string
            storageAccount: string
            storageContainer: string
        clientId: string
        scope: string
    

    AzureUcConfig 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 AzureUcConfig resource accepts the following input properties:

    AccountId string
    The tenant ID of the Azure account.
    ClientId string
    The client ID of the Azure account.
    Scope string
    The scope of your observed subscription.
    ActualBillConfig AzureUcConfigActualBillConfig
    Configuration for the actual cost export.
    AmortizedBillConfig AzureUcConfigAmortizedBillConfig
    Configuration for the amortized cost export.
    AccountId string
    The tenant ID of the Azure account.
    ClientId string
    The client ID of the Azure account.
    Scope string
    The scope of your observed subscription.
    ActualBillConfig AzureUcConfigActualBillConfigArgs
    Configuration for the actual cost export.
    AmortizedBillConfig AzureUcConfigAmortizedBillConfigArgs
    Configuration for the amortized cost export.
    accountId String
    The tenant ID of the Azure account.
    clientId String
    The client ID of the Azure account.
    scope String
    The scope of your observed subscription.
    actualBillConfig AzureUcConfigActualBillConfig
    Configuration for the actual cost export.
    amortizedBillConfig AzureUcConfigAmortizedBillConfig
    Configuration for the amortized cost export.
    accountId string
    The tenant ID of the Azure account.
    clientId string
    The client ID of the Azure account.
    scope string
    The scope of your observed subscription.
    actualBillConfig AzureUcConfigActualBillConfig
    Configuration for the actual cost export.
    amortizedBillConfig AzureUcConfigAmortizedBillConfig
    Configuration for the amortized cost export.
    account_id str
    The tenant ID of the Azure account.
    client_id str
    The client ID of the Azure account.
    scope str
    The scope of your observed subscription.
    actual_bill_config AzureUcConfigActualBillConfigArgs
    Configuration for the actual cost export.
    amortized_bill_config AzureUcConfigAmortizedBillConfigArgs
    Configuration for the amortized cost export.
    accountId String
    The tenant ID of the Azure account.
    clientId String
    The client ID of the Azure account.
    scope String
    The scope of your observed subscription.
    actualBillConfig Property Map
    Configuration for the actual cost export.
    amortizedBillConfig Property Map
    Configuration for the amortized cost export.

    Outputs

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

    CreatedAt string
    The timestamp when the Azure Usage Cost configuration was created.
    ErrorMessages List<string>
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The current status of the Azure Usage Cost configuration.
    StatusUpdatedAt string
    The timestamp when the configuration status was last updated.
    UpdatedAt string
    The timestamp when the Azure Usage Cost configuration was last modified.
    CreatedAt string
    The timestamp when the Azure Usage Cost configuration was created.
    ErrorMessages []string
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The current status of the Azure Usage Cost configuration.
    StatusUpdatedAt string
    The timestamp when the configuration status was last updated.
    UpdatedAt string
    The timestamp when the Azure Usage Cost configuration was last modified.
    createdAt String
    The timestamp when the Azure Usage Cost configuration was created.
    errorMessages List<String>
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The current status of the Azure Usage Cost configuration.
    statusUpdatedAt String
    The timestamp when the configuration status was last updated.
    updatedAt String
    The timestamp when the Azure Usage Cost configuration was last modified.
    createdAt string
    The timestamp when the Azure Usage Cost configuration was created.
    errorMessages string[]
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The current status of the Azure Usage Cost configuration.
    statusUpdatedAt string
    The timestamp when the configuration status was last updated.
    updatedAt string
    The timestamp when the Azure Usage Cost configuration was last modified.
    created_at str
    The timestamp when the Azure Usage Cost configuration was created.
    error_messages Sequence[str]
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The current status of the Azure Usage Cost configuration.
    status_updated_at str
    The timestamp when the configuration status was last updated.
    updated_at str
    The timestamp when the Azure Usage Cost configuration was last modified.
    createdAt String
    The timestamp when the Azure Usage Cost configuration was created.
    errorMessages List<String>
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The current status of the Azure Usage Cost configuration.
    statusUpdatedAt String
    The timestamp when the configuration status was last updated.
    updatedAt String
    The timestamp when the Azure Usage Cost configuration was last modified.

    Look up Existing AzureUcConfig Resource

    Get an existing AzureUcConfig 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?: AzureUcConfigState, opts?: CustomResourceOptions): AzureUcConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            actual_bill_config: Optional[AzureUcConfigActualBillConfigArgs] = None,
            amortized_bill_config: Optional[AzureUcConfigAmortizedBillConfigArgs] = None,
            client_id: Optional[str] = None,
            created_at: Optional[str] = None,
            error_messages: Optional[Sequence[str]] = None,
            scope: Optional[str] = None,
            status: Optional[str] = None,
            status_updated_at: Optional[str] = None,
            updated_at: Optional[str] = None) -> AzureUcConfig
    func GetAzureUcConfig(ctx *Context, name string, id IDInput, state *AzureUcConfigState, opts ...ResourceOption) (*AzureUcConfig, error)
    public static AzureUcConfig Get(string name, Input<string> id, AzureUcConfigState? state, CustomResourceOptions? opts = null)
    public static AzureUcConfig get(String name, Output<String> id, AzureUcConfigState state, CustomResourceOptions options)
    resources:  _:    type: datadog:AzureUcConfig    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:
    AccountId string
    The tenant ID of the Azure account.
    ActualBillConfig AzureUcConfigActualBillConfig
    Configuration for the actual cost export.
    AmortizedBillConfig AzureUcConfigAmortizedBillConfig
    Configuration for the amortized cost export.
    ClientId string
    The client ID of the Azure account.
    CreatedAt string
    The timestamp when the Azure Usage Cost configuration was created.
    ErrorMessages List<string>
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    Scope string
    The scope of your observed subscription.
    Status string
    The current status of the Azure Usage Cost configuration.
    StatusUpdatedAt string
    The timestamp when the configuration status was last updated.
    UpdatedAt string
    The timestamp when the Azure Usage Cost configuration was last modified.
    AccountId string
    The tenant ID of the Azure account.
    ActualBillConfig AzureUcConfigActualBillConfigArgs
    Configuration for the actual cost export.
    AmortizedBillConfig AzureUcConfigAmortizedBillConfigArgs
    Configuration for the amortized cost export.
    ClientId string
    The client ID of the Azure account.
    CreatedAt string
    The timestamp when the Azure Usage Cost configuration was created.
    ErrorMessages []string
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    Scope string
    The scope of your observed subscription.
    Status string
    The current status of the Azure Usage Cost configuration.
    StatusUpdatedAt string
    The timestamp when the configuration status was last updated.
    UpdatedAt string
    The timestamp when the Azure Usage Cost configuration was last modified.
    accountId String
    The tenant ID of the Azure account.
    actualBillConfig AzureUcConfigActualBillConfig
    Configuration for the actual cost export.
    amortizedBillConfig AzureUcConfigAmortizedBillConfig
    Configuration for the amortized cost export.
    clientId String
    The client ID of the Azure account.
    createdAt String
    The timestamp when the Azure Usage Cost configuration was created.
    errorMessages List<String>
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    scope String
    The scope of your observed subscription.
    status String
    The current status of the Azure Usage Cost configuration.
    statusUpdatedAt String
    The timestamp when the configuration status was last updated.
    updatedAt String
    The timestamp when the Azure Usage Cost configuration was last modified.
    accountId string
    The tenant ID of the Azure account.
    actualBillConfig AzureUcConfigActualBillConfig
    Configuration for the actual cost export.
    amortizedBillConfig AzureUcConfigAmortizedBillConfig
    Configuration for the amortized cost export.
    clientId string
    The client ID of the Azure account.
    createdAt string
    The timestamp when the Azure Usage Cost configuration was created.
    errorMessages string[]
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    scope string
    The scope of your observed subscription.
    status string
    The current status of the Azure Usage Cost configuration.
    statusUpdatedAt string
    The timestamp when the configuration status was last updated.
    updatedAt string
    The timestamp when the Azure Usage Cost configuration was last modified.
    account_id str
    The tenant ID of the Azure account.
    actual_bill_config AzureUcConfigActualBillConfigArgs
    Configuration for the actual cost export.
    amortized_bill_config AzureUcConfigAmortizedBillConfigArgs
    Configuration for the amortized cost export.
    client_id str
    The client ID of the Azure account.
    created_at str
    The timestamp when the Azure Usage Cost configuration was created.
    error_messages Sequence[str]
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    scope str
    The scope of your observed subscription.
    status str
    The current status of the Azure Usage Cost configuration.
    status_updated_at str
    The timestamp when the configuration status was last updated.
    updated_at str
    The timestamp when the Azure Usage Cost configuration was last modified.
    accountId String
    The tenant ID of the Azure account.
    actualBillConfig Property Map
    Configuration for the actual cost export.
    amortizedBillConfig Property Map
    Configuration for the amortized cost export.
    clientId String
    The client ID of the Azure account.
    createdAt String
    The timestamp when the Azure Usage Cost configuration was created.
    errorMessages List<String>
    List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing.
    scope String
    The scope of your observed subscription.
    status String
    The current status of the Azure Usage Cost configuration.
    statusUpdatedAt String
    The timestamp when the configuration status was last updated.
    updatedAt String
    The timestamp when the Azure Usage Cost configuration was last modified.

    Supporting Types

    AzureUcConfigActualBillConfig, AzureUcConfigActualBillConfigArgs

    ExportName string
    The name of the configured Azure Export.
    ExportPath string
    The path where the Azure Export is saved.
    StorageAccount string
    The name of the storage account where the Azure Export is saved.
    StorageContainer string
    The name of the storage container where the Azure Export is saved.
    ExportName string
    The name of the configured Azure Export.
    ExportPath string
    The path where the Azure Export is saved.
    StorageAccount string
    The name of the storage account where the Azure Export is saved.
    StorageContainer string
    The name of the storage container where the Azure Export is saved.
    exportName String
    The name of the configured Azure Export.
    exportPath String
    The path where the Azure Export is saved.
    storageAccount String
    The name of the storage account where the Azure Export is saved.
    storageContainer String
    The name of the storage container where the Azure Export is saved.
    exportName string
    The name of the configured Azure Export.
    exportPath string
    The path where the Azure Export is saved.
    storageAccount string
    The name of the storage account where the Azure Export is saved.
    storageContainer string
    The name of the storage container where the Azure Export is saved.
    export_name str
    The name of the configured Azure Export.
    export_path str
    The path where the Azure Export is saved.
    storage_account str
    The name of the storage account where the Azure Export is saved.
    storage_container str
    The name of the storage container where the Azure Export is saved.
    exportName String
    The name of the configured Azure Export.
    exportPath String
    The path where the Azure Export is saved.
    storageAccount String
    The name of the storage account where the Azure Export is saved.
    storageContainer String
    The name of the storage container where the Azure Export is saved.

    AzureUcConfigAmortizedBillConfig, AzureUcConfigAmortizedBillConfigArgs

    ExportName string
    The name of the configured Azure Export.
    ExportPath string
    The path where the Azure Export is saved.
    StorageAccount string
    The name of the storage account where the Azure Export is saved.
    StorageContainer string
    The name of the storage container where the Azure Export is saved.
    ExportName string
    The name of the configured Azure Export.
    ExportPath string
    The path where the Azure Export is saved.
    StorageAccount string
    The name of the storage account where the Azure Export is saved.
    StorageContainer string
    The name of the storage container where the Azure Export is saved.
    exportName String
    The name of the configured Azure Export.
    exportPath String
    The path where the Azure Export is saved.
    storageAccount String
    The name of the storage account where the Azure Export is saved.
    storageContainer String
    The name of the storage container where the Azure Export is saved.
    exportName string
    The name of the configured Azure Export.
    exportPath string
    The path where the Azure Export is saved.
    storageAccount string
    The name of the storage account where the Azure Export is saved.
    storageContainer string
    The name of the storage container where the Azure Export is saved.
    export_name str
    The name of the configured Azure Export.
    export_path str
    The path where the Azure Export is saved.
    storage_account str
    The name of the storage account where the Azure Export is saved.
    storage_container str
    The name of the storage container where the Azure Export is saved.
    exportName String
    The name of the configured Azure Export.
    exportPath String
    The path where the Azure Export is saved.
    storageAccount String
    The name of the storage account where the Azure Export is saved.
    storageContainer String
    The name of the storage container where the Azure Export is saved.

    Import

    The pulumi import command can be used, for example:

    $ pulumi import datadog:index/azureUcConfig:AzureUcConfig example <cloud_account_id>
    

    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.58.0 published on Thursday, Oct 16, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate