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. 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:billing:listBillingAccountInvoiceSectionsByCreateSubscriptionPermission
arguments:
# arguments dictionary
The following arguments are supported:
- Billing
Account stringName - The ID that uniquely identifies a billing account.
- Billing
Account stringName - The ID that uniquely identifies a billing account.
- billing
Account StringName - The ID that uniquely identifies a billing account.
- billing
Account stringName - The ID that uniquely identifies a billing account.
- billing_
account_ strname - The ID that uniquely identifies a billing account.
- billing
Account StringName - 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 string - The sku description.
- Product
Id string - The ID that uniquely identifies a product.
- Sku
Id string - The sku id.
- Sku
Description string - The sku description.
- Product
Id string - The ID that uniquely identifies a product.
- Sku
Id string - The sku id.
- sku
Description String - The sku description.
- product
Id String - The ID that uniquely identifies a product.
- sku
Id String - The sku id.
- sku
Description string - The sku description.
- product
Id string - The ID that uniquely identifies a product.
- sku
Id string - The sku id.
- sku_
description str - The sku description.
- product_
id str - The ID that uniquely identifies a product.
- sku_
id str - The sku id.
- sku
Description String - The sku description.
- product
Id String - The ID that uniquely identifies a product.
- sku
Id String - The sku id.
InvoiceSectionWithCreateSubPermissionResponse
- Billing
Profile stringDisplay Name - The name of the billing profile for the invoice section.
- Billing
Profile stringId - The ID of the billing profile for the invoice section.
- Billing
Profile stringSpending Limit - The billing profile spending limit.
- Billing
Profile stringStatus - The status of the billing profile.
- Billing
Profile stringStatus Reason Code - Reason for the specified billing profile status.
- Billing
Profile stringSystem Id - The system generated unique identifier for a billing profile.
- Invoice
Section stringDisplay Name - The name of the invoice section.
- Invoice
Section stringId - The ID of the invoice section.
- Invoice
Section stringSystem Id - 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 stringDisplay Name - The name of the billing profile for the invoice section.
- Billing
Profile stringId - The ID of the billing profile for the invoice section.
- Billing
Profile stringSpending Limit - The billing profile spending limit.
- Billing
Profile stringStatus - The status of the billing profile.
- Billing
Profile stringStatus Reason Code - Reason for the specified billing profile status.
- Billing
Profile stringSystem Id - The system generated unique identifier for a billing profile.
- Invoice
Section stringDisplay Name - The name of the invoice section.
- Invoice
Section stringId - The ID of the invoice section.
- Invoice
Section stringSystem Id - The system generated unique identifier for an invoice section.
- Enabled
Azure []AzurePlans Plan Response - Enabled azure plans for the associated billing profile.
- billing
Profile StringDisplay Name - The name of the billing profile for the invoice section.
- billing
Profile StringId - The ID of the billing profile for the invoice section.
- billing
Profile StringSpending Limit - The billing profile spending limit.
- billing
Profile StringStatus - The status of the billing profile.
- billing
Profile StringStatus Reason Code - Reason for the specified billing profile status.
- billing
Profile StringSystem Id - The system generated unique identifier for a billing profile.
- invoice
Section StringDisplay Name - The name of the invoice section.
- invoice
Section StringId - The ID of the invoice section.
- invoice
Section StringSystem Id - 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 stringDisplay Name - The name of the billing profile for the invoice section.
- billing
Profile stringId - The ID of the billing profile for the invoice section.
- billing
Profile stringSpending Limit - The billing profile spending limit.
- billing
Profile stringStatus - The status of the billing profile.
- billing
Profile stringStatus Reason Code - Reason for the specified billing profile status.
- billing
Profile stringSystem Id - The system generated unique identifier for a billing profile.
- invoice
Section stringDisplay Name - The name of the invoice section.
- invoice
Section stringId - The ID of the invoice section.
- invoice
Section stringSystem Id - The system generated unique identifier for an invoice section.
- enabled
Azure AzurePlans Plan Response[] - Enabled azure plans for the associated billing profile.
- billing_
profile_ strdisplay_ name - The name of the billing profile for the invoice section.
- billing_
profile_ strid - The ID of the billing profile for the invoice section.
- billing_
profile_ strspending_ limit - The billing profile spending limit.
- billing_
profile_ strstatus - The status of the billing profile.
- billing_
profile_ strstatus_ reason_ code - Reason for the specified billing profile status.
- billing_
profile_ strsystem_ id - The system generated unique identifier for a billing profile.
- invoice_
section_ strdisplay_ name - The name of the invoice section.
- invoice_
section_ strid - The ID of the invoice section.
- invoice_
section_ strsystem_ id - 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 StringDisplay Name - The name of the billing profile for the invoice section.
- billing
Profile StringId - The ID of the billing profile for the invoice section.
- billing
Profile StringSpending Limit - The billing profile spending limit.
- billing
Profile StringStatus - The status of the billing profile.
- billing
Profile StringStatus Reason Code - Reason for the specified billing profile status.
- billing
Profile StringSystem Id - The system generated unique identifier for a billing profile.
- invoice
Section StringDisplay Name - The name of the invoice section.
- invoice
Section StringId - The ID of the invoice section.
- invoice
Section StringSystem Id - 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