azure-native.billing.listBillingAccountInvoiceSectionsByCreateSubscriptionPermission
Explore with Pulumi AI
Lists the invoice sections for which the user has permission to create Azure subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Uses Azure REST API version 2020-05-01.
Other available API versions: 2019-10-01-preview, 2024-04-01.
Using listBillingAccountInvoiceSectionsByCreateSubscriptionPermission
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 listBillingAccountInvoiceSectionsByCreateSubscriptionPermission(args: ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionArgs, opts?: InvokeOptions): Promise<ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionResult>
function listBillingAccountInvoiceSectionsByCreateSubscriptionPermissionOutput(args: ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionOutputArgs, opts?: InvokeOptions): Output<ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionResult>
def list_billing_account_invoice_sections_by_create_subscription_permission(billing_account_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionResult
def list_billing_account_invoice_sections_by_create_subscription_permission_output(billing_account_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionResult]
func ListBillingAccountInvoiceSectionsByCreateSubscriptionPermission(ctx *Context, args *ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionArgs, opts ...InvokeOption) (*ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionResult, error)
func ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionOutput(ctx *Context, args *ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionOutputArgs, opts ...InvokeOption) ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionResultOutput
> Note: This function is named ListBillingAccountInvoiceSectionsByCreateSubscriptionPermission
in the Go SDK.
public static class ListBillingAccountInvoiceSectionsByCreateSubscriptionPermission
{
public static Task<ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionResult> InvokeAsync(ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionArgs args, InvokeOptions? opts = null)
public static Output<ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionResult> Invoke(ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionResult> listBillingAccountInvoiceSectionsByCreateSubscriptionPermission(ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionArgs args, InvokeOptions options)
public static Output<ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionResult> listBillingAccountInvoiceSectionsByCreateSubscriptionPermission(ListBillingAccountInvoiceSectionsByCreateSubscriptionPermissionArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:billing:listBillingAccountInvoiceSectionsByCreateSubscriptionPermission
arguments:
# arguments dictionary
The following arguments are supported:
- Billing
Account Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- Billing
Account Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- billing
Account Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- billing
Account Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- billing_
account_ name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
- billing
Account Name This property is required. Changes to this property will trigger replacement.
- The ID that uniquely identifies a billing account.
listBillingAccountInvoiceSectionsByCreateSubscriptionPermission Result
The following output properties are available:
- Next
Link string - The link (url) to the next page of results.
- Value
List<Pulumi.
Azure Native. Billing. Outputs. Invoice Section With Create Sub Permission Response> - The list of invoice section properties with create subscription permission.
- Next
Link string - The link (url) to the next page of results.
- Value
[]Invoice
Section With Create Sub Permission Response - The list of invoice section properties with create subscription permission.
- next
Link String - The link (url) to the next page of results.
- value
List<Invoice
Section With Create Sub Permission Response> - The list of invoice section properties with create subscription permission.
- next
Link string - The link (url) to the next page of results.
- value
Invoice
Section With Create Sub Permission Response[] - The list of invoice section properties with create subscription permission.
- next_
link str - The link (url) to the next page of results.
- value
Sequence[Invoice
Section With Create Sub Permission Response] - The list of invoice section properties with create subscription permission.
- next
Link String - The link (url) to the next page of results.
- value List<Property Map>
- The list of invoice section properties with create subscription permission.
Supporting Types
AzurePlanResponse
- Sku
Description This property is required. string - The sku description.
- Product
Id string - The ID that uniquely identifies a product.
- Sku
Id string - The sku id.
- Sku
Description This property is required. string - The sku description.
- Product
Id string - The ID that uniquely identifies a product.
- Sku
Id string - The sku id.
- sku
Description This property is required. String - The sku description.
- product
Id String - The ID that uniquely identifies a product.
- sku
Id String - The sku id.
- sku
Description This property is required. string - The sku description.
- product
Id string - The ID that uniquely identifies a product.
- sku
Id string - The sku id.
- sku_
description This property is required. str - The sku description.
- product_
id str - The ID that uniquely identifies a product.
- sku_
id str - The sku id.
- sku
Description This property is required. String - The sku description.
- product
Id String - The ID that uniquely identifies a product.
- sku
Id String - The sku id.
InvoiceSectionWithCreateSubPermissionResponse
- Billing
Profile Display Name This property is required. string - The name of the billing profile for the invoice section.
- Billing
Profile Id This property is required. string - The ID of the billing profile for the invoice section.
- Billing
Profile Spending Limit This property is required. string - The billing profile spending limit.
- Billing
Profile Status This property is required. string - The status of the billing profile.
- Billing
Profile Status Reason Code This property is required. string - Reason for the specified billing profile status.
- Billing
Profile System Id This property is required. string - The system generated unique identifier for a billing profile.
- Invoice
Section Display Name This property is required. string - The name of the invoice section.
- Invoice
Section Id This property is required. string - The ID of the invoice section.
- Invoice
Section System Id This property is required. string - The system generated unique identifier for an invoice section.
- Enabled
Azure List<Pulumi.Plans Azure Native. Billing. Inputs. Azure Plan Response> - Enabled azure plans for the associated billing profile.
- Billing
Profile Display Name This property is required. string - The name of the billing profile for the invoice section.
- Billing
Profile Id This property is required. string - The ID of the billing profile for the invoice section.
- Billing
Profile Spending Limit This property is required. string - The billing profile spending limit.
- Billing
Profile Status This property is required. string - The status of the billing profile.
- Billing
Profile Status Reason Code This property is required. string - Reason for the specified billing profile status.
- Billing
Profile System Id This property is required. string - The system generated unique identifier for a billing profile.
- Invoice
Section Display Name This property is required. string - The name of the invoice section.
- Invoice
Section Id This property is required. string - The ID of the invoice section.
- Invoice
Section System Id This property is required. string - The system generated unique identifier for an invoice section.
- Enabled
Azure []AzurePlans Plan Response - Enabled azure plans for the associated billing profile.
- billing
Profile Display Name This property is required. String - The name of the billing profile for the invoice section.
- billing
Profile Id This property is required. String - The ID of the billing profile for the invoice section.
- billing
Profile Spending Limit This property is required. String - The billing profile spending limit.
- billing
Profile Status This property is required. String - The status of the billing profile.
- billing
Profile Status Reason Code This property is required. String - Reason for the specified billing profile status.
- billing
Profile System Id This property is required. String - The system generated unique identifier for a billing profile.
- invoice
Section Display Name This property is required. String - The name of the invoice section.
- invoice
Section Id This property is required. String - The ID of the invoice section.
- invoice
Section System Id This property is required. String - The system generated unique identifier for an invoice section.
- enabled
Azure List<AzurePlans Plan Response> - Enabled azure plans for the associated billing profile.
- billing
Profile Display Name This property is required. string - The name of the billing profile for the invoice section.
- billing
Profile Id This property is required. string - The ID of the billing profile for the invoice section.
- billing
Profile Spending Limit This property is required. string - The billing profile spending limit.
- billing
Profile Status This property is required. string - The status of the billing profile.
- billing
Profile Status Reason Code This property is required. string - Reason for the specified billing profile status.
- billing
Profile System Id This property is required. string - The system generated unique identifier for a billing profile.
- invoice
Section Display Name This property is required. string - The name of the invoice section.
- invoice
Section Id This property is required. string - The ID of the invoice section.
- invoice
Section System Id This property is required. string - The system generated unique identifier for an invoice section.
- enabled
Azure AzurePlans Plan Response[] - Enabled azure plans for the associated billing profile.
- billing_
profile_ display_ name This property is required. str - The name of the billing profile for the invoice section.
- billing_
profile_ id This property is required. str - The ID of the billing profile for the invoice section.
- billing_
profile_ spending_ limit This property is required. str - The billing profile spending limit.
- billing_
profile_ status This property is required. str - The status of the billing profile.
- billing_
profile_ status_ reason_ code This property is required. str - Reason for the specified billing profile status.
- billing_
profile_ system_ id This property is required. str - The system generated unique identifier for a billing profile.
- invoice_
section_ display_ name This property is required. str - The name of the invoice section.
- invoice_
section_ id This property is required. str - The ID of the invoice section.
- invoice_
section_ system_ id This property is required. str - The system generated unique identifier for an invoice section.
- enabled_
azure_ Sequence[Azureplans Plan Response] - Enabled azure plans for the associated billing profile.
- billing
Profile Display Name This property is required. String - The name of the billing profile for the invoice section.
- billing
Profile Id This property is required. String - The ID of the billing profile for the invoice section.
- billing
Profile Spending Limit This property is required. String - The billing profile spending limit.
- billing
Profile Status This property is required. String - The status of the billing profile.
- billing
Profile Status Reason Code This property is required. String - Reason for the specified billing profile status.
- billing
Profile System Id This property is required. String - The system generated unique identifier for a billing profile.
- invoice
Section Display Name This property is required. String - The name of the invoice section.
- invoice
Section Id This property is required. String - The ID of the invoice section.
- invoice
Section System Id This property is required. String - The system generated unique identifier for an invoice section.
- enabled
Azure List<Property Map>Plans - Enabled azure plans for the associated billing profile.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0