1. Registry
  2. Packages
  3. Azure Native
  4. API Docs
  5. billing
  6. AssociatedTenant
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.32.0
published on Wednesday, Nov 18, 2026 by Pulumi
azure-native logo Azure Native
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.32.0
published on Wednesday, Nov 18, 2026 by Pulumi

    An associated tenant.

    Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2024-04-01.

    Example Usage

    AssociatedTenantsCreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var associatedTenant = new AzureNative.Billing.AssociatedTenant("associatedTenant", new()
        {
            AssociatedTenantName = "11111111-1111-1111-1111-111111111111",
            BillingAccountName = "00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
            Properties = new AzureNative.Billing.Inputs.AssociatedTenantPropertiesArgs
            {
                BillingManagementState = AzureNative.Billing.BillingManagementTenantState.Active,
                DisplayName = "Contoso Finance",
                ProvisioningManagementState = AzureNative.Billing.ProvisioningTenantState.Pending,
            },
        });
    
    });
    
    package main
    
    import (
    	billing "github.com/pulumi/pulumi-azure-native-sdk/billing/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := billing.NewAssociatedTenant(ctx, "associatedTenant", &billing.AssociatedTenantArgs{
    			AssociatedTenantName: pulumi.String("11111111-1111-1111-1111-111111111111"),
    			BillingAccountName:   pulumi.String("00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31"),
    			Properties: &billing.AssociatedTenantPropertiesArgs{
    				BillingManagementState:      pulumi.String(billing.BillingManagementTenantStateActive),
    				DisplayName:                 pulumi.String("Contoso Finance"),
    				ProvisioningManagementState: pulumi.String(billing.ProvisioningTenantStatePending),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    terraform {
      required_providers {
        azure-native = {
          source = "pulumi/azure-native"
        }
      }
    }
    
    resource "azure-native_billing_associated_tenant" "associatedTenant" {
      lifecycle {
        create_before_destroy = true
      }
      associated_tenant_name = "11111111-1111-1111-1111-111111111111"
      billing_account_name   = "00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31"
      properties = {
        billing_management_state      = "Active"
        display_name                  = "Contoso Finance"
        provisioning_management_state = "Pending"
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.billing.AssociatedTenant;
    import com.pulumi.azurenative.billing.AssociatedTenantArgs;
    import com.pulumi.azurenative.billing.inputs.AssociatedTenantPropertiesArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 associatedTenant = new AssociatedTenant("associatedTenant", AssociatedTenantArgs.builder()
                .associatedTenantName("11111111-1111-1111-1111-111111111111")
                .billingAccountName("00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31")
                .properties(AssociatedTenantPropertiesArgs.builder()
                    .billingManagementState("Active")
                    .displayName("Contoso Finance")
                    .provisioningManagementState("Pending")
                    .build())
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const associatedTenant = new azure_native.billing.AssociatedTenant("associatedTenant", {
        associatedTenantName: "11111111-1111-1111-1111-111111111111",
        billingAccountName: "00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
        properties: {
            billingManagementState: azure_native.billing.BillingManagementTenantState.Active,
            displayName: "Contoso Finance",
            provisioningManagementState: azure_native.billing.ProvisioningTenantState.Pending,
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    associated_tenant = azure_native.billing.AssociatedTenant("associatedTenant",
        associated_tenant_name="11111111-1111-1111-1111-111111111111",
        billing_account_name="00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
        properties={
            "billing_management_state": azure_native.billing.BillingManagementTenantState.ACTIVE,
            "display_name": "Contoso Finance",
            "provisioning_management_state": azure_native.billing.ProvisioningTenantState.PENDING,
        })
    
    resources:
      associatedTenant:
        type: azure-native:billing:AssociatedTenant
        properties:
          associatedTenantName: 11111111-1111-1111-1111-111111111111
          billingAccountName: 00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31
          properties:
            billingManagementState: Active
            displayName: Contoso Finance
            provisioningManagementState: Pending
    

    Create AssociatedTenant Resource

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

    Constructor syntax

    new AssociatedTenant(name: string, args: AssociatedTenantArgs, opts?: CustomResourceOptions);
    @overload
    def AssociatedTenant(resource_name: str,
                         args: AssociatedTenantArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def AssociatedTenant(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         billing_account_name: Optional[str] = None,
                         associated_tenant_name: Optional[str] = None,
                         properties: Optional[AssociatedTenantPropertiesArgs] = None,
                         tags: Optional[Mapping[str, str]] = None)
    func NewAssociatedTenant(ctx *Context, name string, args AssociatedTenantArgs, opts ...ResourceOption) (*AssociatedTenant, error)
    public AssociatedTenant(string name, AssociatedTenantArgs args, CustomResourceOptions? opts = null)
    public AssociatedTenant(String name, AssociatedTenantArgs args)
    public AssociatedTenant(String name, AssociatedTenantArgs args, CustomResourceOptions options)
    
    type: azure-native:billing:AssociatedTenant
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "azure-native_billing_associated_tenant" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AssociatedTenantArgs
    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 AssociatedTenantArgs
    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 AssociatedTenantArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AssociatedTenantArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AssociatedTenantArgs
    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 associatedTenantResource = new AzureNative.Billing.AssociatedTenant("associatedTenantResource", new()
    {
        BillingAccountName = "string",
        AssociatedTenantName = "string",
        Properties = new AzureNative.Billing.Inputs.AssociatedTenantPropertiesArgs
        {
            BillingManagementState = "string",
            DisplayName = "string",
            ProvisioningManagementState = "string",
            TenantId = "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := billing.NewAssociatedTenant(ctx, "associatedTenantResource", &billing.AssociatedTenantArgs{
    	BillingAccountName:   pulumi.String("string"),
    	AssociatedTenantName: pulumi.String("string"),
    	Properties: &billing.AssociatedTenantPropertiesArgs{
    		BillingManagementState:      pulumi.String("string"),
    		DisplayName:                 pulumi.String("string"),
    		ProvisioningManagementState: pulumi.String("string"),
    		TenantId:                    pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "azure-native_billing_associated_tenant" "associatedTenantResource" {
      lifecycle {
        create_before_destroy = true
      }
      billing_account_name   = "string"
      associated_tenant_name = "string"
      properties = {
        billing_management_state      = "string"
        display_name                  = "string"
        provisioning_management_state = "string"
        tenant_id                     = "string"
      }
      tags = {
        "string" = "string"
      }
    }
    
    var associatedTenantResource = new AssociatedTenant("associatedTenantResource", AssociatedTenantArgs.builder()
        .billingAccountName("string")
        .associatedTenantName("string")
        .properties(AssociatedTenantPropertiesArgs.builder()
            .billingManagementState("string")
            .displayName("string")
            .provisioningManagementState("string")
            .tenantId("string")
            .build())
        .tags(Map.of("string", "string"))
        .build());
    
    associated_tenant_resource = azure_native.billing.AssociatedTenant("associatedTenantResource",
        billing_account_name="string",
        associated_tenant_name="string",
        properties={
            "billing_management_state": "string",
            "display_name": "string",
            "provisioning_management_state": "string",
            "tenant_id": "string",
        },
        tags={
            "string": "string",
        })
    
    const associatedTenantResource = new azure_native.billing.AssociatedTenant("associatedTenantResource", {
        billingAccountName: "string",
        associatedTenantName: "string",
        properties: {
            billingManagementState: "string",
            displayName: "string",
            provisioningManagementState: "string",
            tenantId: "string",
        },
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:billing:AssociatedTenant
    properties:
        associatedTenantName: string
        billingAccountName: string
        properties:
            billingManagementState: string
            displayName: string
            provisioningManagementState: string
            tenantId: string
        tags:
            string: string
    

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

    BillingAccountName string
    The ID that uniquely identifies a billing account.
    AssociatedTenantName string
    The ID that uniquely identifies a tenant.
    Properties Pulumi.AzureNative.Billing.Inputs.AssociatedTenantProperties
    An associated tenant.
    Tags Dictionary<string, string>
    Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
    BillingAccountName string
    The ID that uniquely identifies a billing account.
    AssociatedTenantName string
    The ID that uniquely identifies a tenant.
    Properties AssociatedTenantPropertiesArgs
    An associated tenant.
    Tags map[string]string
    Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
    billing_account_name string
    The ID that uniquely identifies a billing account.
    associated_tenant_name string
    The ID that uniquely identifies a tenant.
    properties object
    An associated tenant.
    tags map(string)
    Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
    billingAccountName String
    The ID that uniquely identifies a billing account.
    associatedTenantName String
    The ID that uniquely identifies a tenant.
    properties AssociatedTenantProperties
    An associated tenant.
    tags Map<String,String>
    Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
    billingAccountName string
    The ID that uniquely identifies a billing account.
    associatedTenantName string
    The ID that uniquely identifies a tenant.
    properties AssociatedTenantProperties
    An associated tenant.
    tags {[key: string]: string}
    Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
    billing_account_name str
    The ID that uniquely identifies a billing account.
    associated_tenant_name str
    The ID that uniquely identifies a tenant.
    properties AssociatedTenantPropertiesArgs
    An associated tenant.
    tags Mapping[str, str]
    Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
    billingAccountName String
    The ID that uniquely identifies a billing account.
    associatedTenantName String
    The ID that uniquely identifies a tenant.
    properties Property Map
    An associated tenant.
    tags Map<String>
    Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /

    Outputs

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

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.Billing.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    system_data object
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Look up Existing AssociatedTenant Resource

    Get an existing AssociatedTenant 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>, opts?: CustomResourceOptions): AssociatedTenant
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> AssociatedTenant
    func GetAssociatedTenant(ctx *Context, name string, id IDInput, state *AssociatedTenantState, opts ...ResourceOption) (*AssociatedTenant, error)
    public static AssociatedTenant Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static AssociatedTenant get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingAssociatedTenant:    type: azure-native:billing:AssociatedTenant    get:      id: ${id}
    import {
      to = azure-native_billing_associated_tenant.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state AssociatedTenantState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    AssociatedTenantProperties, AssociatedTenantPropertiesArgs

    An associated tenant.

    BillingManagementState string | Pulumi.AzureNative.Billing.BillingManagementTenantState
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    DisplayName string
    The name of the associated tenant.
    ProvisioningManagementState string | Pulumi.AzureNative.Billing.ProvisioningTenantState
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    TenantId string
    The ID that uniquely identifies a tenant.
    BillingManagementState string | BillingManagementTenantState
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    DisplayName string
    The name of the associated tenant.
    ProvisioningManagementState string | ProvisioningTenantState
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    TenantId string
    The ID that uniquely identifies a tenant.
    billing_management_state string | "Other" | "NotAllowed" | "Active" | "Revoked"
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    display_name string
    The name of the associated tenant.
    provisioning_management_state string | "Other" | "NotRequested" | "Active" | "Pending" | "BillingRequestExpired" | "BillingRequestDeclined" | "Revoked"
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    tenant_id string
    The ID that uniquely identifies a tenant.
    billingManagementState String | BillingManagementTenantState
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    displayName String
    The name of the associated tenant.
    provisioningManagementState String | ProvisioningTenantState
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    tenantId String
    The ID that uniquely identifies a tenant.
    billingManagementState string | BillingManagementTenantState
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    displayName string
    The name of the associated tenant.
    provisioningManagementState string | ProvisioningTenantState
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    tenantId string
    The ID that uniquely identifies a tenant.
    billing_management_state str | BillingManagementTenantState
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    display_name str
    The name of the associated tenant.
    provisioning_management_state str | ProvisioningTenantState
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    tenant_id str
    The ID that uniquely identifies a tenant.
    billingManagementState String | "Other" | "NotAllowed" | "Active" | "Revoked"
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    displayName String
    The name of the associated tenant.
    provisioningManagementState String | "Other" | "NotRequested" | "Active" | "Pending" | "BillingRequestExpired" | "BillingRequestDeclined" | "Revoked"
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    tenantId String
    The ID that uniquely identifies a tenant.

    AssociatedTenantPropertiesResponse

    An associated tenant.

    ProvisioningBillingRequestId string
    The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
    ProvisioningState string
    The provisioning state of the resource during a long-running operation.
    BillingManagementState string
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    DisplayName string
    The name of the associated tenant.
    ProvisioningManagementState string
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    TenantId string
    The ID that uniquely identifies a tenant.
    ProvisioningBillingRequestId string
    The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
    ProvisioningState string
    The provisioning state of the resource during a long-running operation.
    BillingManagementState string
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    DisplayName string
    The name of the associated tenant.
    ProvisioningManagementState string
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    TenantId string
    The ID that uniquely identifies a tenant.
    provisioning_billing_request_id string
    The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
    provisioning_state string
    The provisioning state of the resource during a long-running operation.
    billing_management_state string
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    display_name string
    The name of the associated tenant.
    provisioning_management_state string
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    tenant_id string
    The ID that uniquely identifies a tenant.
    provisioningBillingRequestId String
    The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
    provisioningState String
    The provisioning state of the resource during a long-running operation.
    billingManagementState String
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    displayName String
    The name of the associated tenant.
    provisioningManagementState String
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    tenantId String
    The ID that uniquely identifies a tenant.
    provisioningBillingRequestId string
    The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
    provisioningState string
    The provisioning state of the resource during a long-running operation.
    billingManagementState string
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    displayName string
    The name of the associated tenant.
    provisioningManagementState string
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    tenantId string
    The ID that uniquely identifies a tenant.
    provisioning_billing_request_id str
    The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
    provisioning_state str
    The provisioning state of the resource during a long-running operation.
    billing_management_state str
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    display_name str
    The name of the associated tenant.
    provisioning_management_state str
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    tenant_id str
    The ID that uniquely identifies a tenant.
    provisioningBillingRequestId String
    The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
    provisioningState String
    The provisioning state of the resource during a long-running operation.
    billingManagementState String
    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
    displayName String
    The name of the associated tenant.
    provisioningManagementState String
    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
    tenantId String
    The ID that uniquely identifies a tenant.

    BillingManagementTenantState

    The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.

    NameValueDescription
    OtherOtherOther
    NotAllowedNotAllowedNotAllowed
    ActiveActiveActive
    RevokedRevokedRevoked
    NameValueDescription
    BillingManagementTenantStateOtherOtherOther
    BillingManagementTenantStateNotAllowedNotAllowedNotAllowed
    BillingManagementTenantStateActiveActiveActive
    BillingManagementTenantStateRevokedRevokedRevoked
    ValueDescription
    OtherOther
    NotAllowedNotAllowed
    ActiveActive
    RevokedRevoked
    NameValueDescription
    OtherOtherOther
    NotAllowedNotAllowedNotAllowed
    ActiveActiveActive
    RevokedRevokedRevoked
    NameValueDescription
    OtherOtherOther
    NotAllowedNotAllowedNotAllowed
    ActiveActiveActive
    RevokedRevokedRevoked
    NameValueDescription
    OTHEROtherOther
    NOT_ALLOWEDNotAllowedNotAllowed
    ACTIVEActiveActive
    REVOKEDRevokedRevoked
    ValueDescription
    OtherOther
    NotAllowedNotAllowed
    ActiveActive
    RevokedRevoked

    ProvisioningTenantState

    The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.

    NameValueDescription
    OtherOtherOther
    NotRequestedNotRequestedNotRequested
    ActiveActiveActive
    PendingPendingPending
    BillingRequestExpiredBillingRequestExpiredBillingRequestExpired
    BillingRequestDeclinedBillingRequestDeclinedBillingRequestDeclined
    RevokedRevokedRevoked
    NameValueDescription
    ProvisioningTenantStateOtherOtherOther
    ProvisioningTenantStateNotRequestedNotRequestedNotRequested
    ProvisioningTenantStateActiveActiveActive
    ProvisioningTenantStatePendingPendingPending
    ProvisioningTenantStateBillingRequestExpiredBillingRequestExpiredBillingRequestExpired
    ProvisioningTenantStateBillingRequestDeclinedBillingRequestDeclinedBillingRequestDeclined
    ProvisioningTenantStateRevokedRevokedRevoked
    ValueDescription
    OtherOther
    NotRequestedNotRequested
    ActiveActive
    PendingPending
    BillingRequestExpiredBillingRequestExpired
    BillingRequestDeclinedBillingRequestDeclined
    RevokedRevoked
    NameValueDescription
    OtherOtherOther
    NotRequestedNotRequestedNotRequested
    ActiveActiveActive
    PendingPendingPending
    BillingRequestExpiredBillingRequestExpiredBillingRequestExpired
    BillingRequestDeclinedBillingRequestDeclinedBillingRequestDeclined
    RevokedRevokedRevoked
    NameValueDescription
    OtherOtherOther
    NotRequestedNotRequestedNotRequested
    ActiveActiveActive
    PendingPendingPending
    BillingRequestExpiredBillingRequestExpiredBillingRequestExpired
    BillingRequestDeclinedBillingRequestDeclinedBillingRequestDeclined
    RevokedRevokedRevoked
    NameValueDescription
    OTHEROtherOther
    NOT_REQUESTEDNotRequestedNotRequested
    ACTIVEActiveActive
    PENDINGPendingPending
    BILLING_REQUEST_EXPIREDBillingRequestExpiredBillingRequestExpired
    BILLING_REQUEST_DECLINEDBillingRequestDeclinedBillingRequestDeclined
    REVOKEDRevokedRevoked
    ValueDescription
    OtherOther
    NotRequestedNotRequested
    ActiveActive
    PendingPending
    BillingRequestExpiredBillingRequestExpired
    BillingRequestDeclinedBillingRequestDeclined
    RevokedRevoked

    SystemDataResponse

    Metadata pertaining to creation and last modification of the resource.

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    created_at string
    The timestamp of resource creation (UTC).
    created_by string
    The identity that created the resource.
    created_by_type string
    The type of identity that created the resource.
    last_modified_at string
    The timestamp of resource last modification (UTC)
    last_modified_by string
    The identity that last modified the resource.
    last_modified_by_type string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:billing:AssociatedTenant 11111111-1111-1111-1111-111111111111 /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/associatedTenants/{associatedTenantName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo Azure Native
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.32.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial