This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.billing.getInvoiceSection
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. Azure REST API version: 2024-04-01.
Using getInvoiceSection
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 getInvoiceSection(args: GetInvoiceSectionArgs, opts?: InvokeOptions): Promise<GetInvoiceSectionResult>
function getInvoiceSectionOutput(args: GetInvoiceSectionOutputArgs, opts?: InvokeOptions): Output<GetInvoiceSectionResult>def get_invoice_section(billing_account_name: Optional[str] = None,
                        billing_profile_name: Optional[str] = None,
                        invoice_section_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetInvoiceSectionResult
def get_invoice_section_output(billing_account_name: Optional[pulumi.Input[str]] = None,
                        billing_profile_name: Optional[pulumi.Input[str]] = None,
                        invoice_section_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetInvoiceSectionResult]func LookupInvoiceSection(ctx *Context, args *LookupInvoiceSectionArgs, opts ...InvokeOption) (*LookupInvoiceSectionResult, error)
func LookupInvoiceSectionOutput(ctx *Context, args *LookupInvoiceSectionOutputArgs, opts ...InvokeOption) LookupInvoiceSectionResultOutput> Note: This function is named LookupInvoiceSection in the Go SDK.
public static class GetInvoiceSection 
{
    public static Task<GetInvoiceSectionResult> InvokeAsync(GetInvoiceSectionArgs args, InvokeOptions? opts = null)
    public static Output<GetInvoiceSectionResult> Invoke(GetInvoiceSectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInvoiceSectionResult> getInvoiceSection(GetInvoiceSectionArgs args, InvokeOptions options)
public static Output<GetInvoiceSectionResult> getInvoiceSection(GetInvoiceSectionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:billing:getInvoiceSection
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BillingAccount stringName 
- The ID that uniquely identifies a billing account.
- BillingProfile stringName 
- The ID that uniquely identifies a billing profile.
- InvoiceSection stringName 
- The ID that uniquely identifies an invoice section.
- BillingAccount stringName 
- The ID that uniquely identifies a billing account.
- BillingProfile stringName 
- The ID that uniquely identifies a billing profile.
- InvoiceSection stringName 
- The ID that uniquely identifies an invoice section.
- billingAccount StringName 
- The ID that uniquely identifies a billing account.
- billingProfile StringName 
- The ID that uniquely identifies a billing profile.
- invoiceSection StringName 
- The ID that uniquely identifies an invoice section.
- billingAccount stringName 
- The ID that uniquely identifies a billing account.
- billingProfile stringName 
- The ID that uniquely identifies a billing profile.
- invoiceSection stringName 
- The ID that uniquely identifies an invoice section.
- billing_account_ strname 
- The ID that uniquely identifies a billing account.
- billing_profile_ strname 
- The ID that uniquely identifies a billing profile.
- invoice_section_ strname 
- The ID that uniquely identifies an invoice section.
- billingAccount StringName 
- The ID that uniquely identifies a billing account.
- billingProfile StringName 
- The ID that uniquely identifies a billing profile.
- invoiceSection StringName 
- The ID that uniquely identifies an invoice section.
getInvoiceSection Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
Pulumi.Azure Native. Billing. Outputs. Invoice Section Properties Response 
- An invoice section.
- SystemData Pulumi.Azure Native. Billing. Outputs. System Data Response 
- 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"
- 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 < > % & \ ? /
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
InvoiceSection Properties Response 
- An invoice section.
- SystemData SystemData Response 
- 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"
- 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 < > % & \ ? /
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties
InvoiceSection Properties Response 
- An invoice section.
- systemData SystemData Response 
- 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"
- 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 < > % & \ ? /
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- properties
InvoiceSection Properties Response 
- An invoice section.
- systemData SystemData Response 
- 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"
- {[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 < > % & \ ? /
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- properties
InvoiceSection Properties Response 
- An invoice section.
- system_data SystemData Response 
- 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"
- 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 < > % & \ ? /
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties Property Map
- An invoice section.
- 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"
- 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 < > % & \ ? /
Supporting Types
InvoiceSectionPropertiesResponse   
- ProvisioningState string
- The provisioning state of the resource during a long-running operation.
- SystemId string
- The system generated unique identifier for an invoice section.
- DisplayName string
- The name of the invoice section.
- ReasonCode string
- Reason for the specified invoice section status.
- State string
- Identifies the status of an invoice section.
- Dictionary<string, string>
- Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
- TargetCloud string
- Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds.
- ProvisioningState string
- The provisioning state of the resource during a long-running operation.
- SystemId string
- The system generated unique identifier for an invoice section.
- DisplayName string
- The name of the invoice section.
- ReasonCode string
- Reason for the specified invoice section status.
- State string
- Identifies the status of an invoice section.
- map[string]string
- Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
- TargetCloud string
- Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds.
- provisioningState String
- The provisioning state of the resource during a long-running operation.
- systemId String
- The system generated unique identifier for an invoice section.
- displayName String
- The name of the invoice section.
- reasonCode String
- Reason for the specified invoice section status.
- state String
- Identifies the status of an invoice section.
- Map<String,String>
- Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
- targetCloud String
- Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds.
- provisioningState string
- The provisioning state of the resource during a long-running operation.
- systemId string
- The system generated unique identifier for an invoice section.
- displayName string
- The name of the invoice section.
- reasonCode string
- Reason for the specified invoice section status.
- state string
- Identifies the status of an invoice section.
- {[key: string]: string}
- Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
- targetCloud string
- Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds.
- provisioning_state str
- The provisioning state of the resource during a long-running operation.
- system_id str
- The system generated unique identifier for an invoice section.
- display_name str
- The name of the invoice section.
- reason_code str
- Reason for the specified invoice section status.
- state str
- Identifies the status of an invoice section.
- Mapping[str, str]
- Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
- target_cloud str
- Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds.
- provisioningState String
- The provisioning state of the resource during a long-running operation.
- systemId String
- The system generated unique identifier for an invoice section.
- displayName String
- The name of the invoice section.
- reasonCode String
- Reason for the specified invoice section status.
- state String
- Identifies the status of an invoice section.
- Map<String>
- Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
- targetCloud String
- Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi