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 2024-04-01.
Other available API versions: 2019-10-01-preview, 2020-05-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native billing [ApiVersion]
. See the version guide for details.
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,
filter: 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,
filter: 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 stringName - The ID that uniquely identifies a billing account.
- Filter string
- The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
- Billing
Account stringName - The ID that uniquely identifies a billing account.
- Filter string
- The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
- billing
Account StringName - The ID that uniquely identifies a billing account.
- filter String
- The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
- billing
Account stringName - The ID that uniquely identifies a billing account.
- filter string
- The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
- billing_
account_ strname - The ID that uniquely identifies a billing account.
- filter str
- The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
- billing
Account StringName - The ID that uniquely identifies a billing account.
- filter String
- The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
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 resources.
- Next
Link string - The link (url) to the next page of results.
- Value
[]Invoice
Section With Create Sub Permission Response - The list of resources.
- next
Link String - The link (url) to the next page of results.
- value
List<Invoice
Section With Create Sub Permission Response> - The list of resources.
- next
Link string - The link (url) to the next page of results.
- value
Invoice
Section With Create Sub Permission Response[] - The list of resources.
- next_
link str - The link (url) to the next page of results.
- value
Sequence[Invoice
Section With Create Sub Permission Response] - The list of resources.
- next
Link String - The link (url) to the next page of results.
- value List<Property Map>
- The list of resources.
Supporting Types
AzurePlanResponse
- Product
Id string - The ID that uniquely identifies a product.
- Sku
Description string - The sku description.
- Sku
Id string - The ID that uniquely identifies a sku.
- Product
Id string - The ID that uniquely identifies a product.
- Sku
Description string - The sku description.
- Sku
Id string - The ID that uniquely identifies a sku.
- product
Id String - The ID that uniquely identifies a product.
- sku
Description String - The sku description.
- sku
Id String - The ID that uniquely identifies a sku.
- product
Id string - The ID that uniquely identifies a product.
- sku
Description string - The sku description.
- sku
Id string - The ID that uniquely identifies a sku.
- product_
id str - The ID that uniquely identifies a product.
- sku_
description str - The sku description.
- sku_
id str - The ID that uniquely identifies a sku.
- product
Id String - The ID that uniquely identifies a product.
- sku
Description String - The sku description.
- sku
Id String - The ID that uniquely identifies a sku.
InvoiceSectionWithCreateSubPermissionResponse
- Billing
Profile stringDisplay Name - The name of the billing profile.
- Billing
Profile stringId - The fully qualified ID that uniquely identifies a billing profile.
- 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.
- Enabled
Azure List<Pulumi.Plans Azure Native. Billing. Inputs. Azure Plan Response> - Enabled azure plans for the associated billing profile.
- Invoice
Section stringDisplay Name - The name of the invoice section.
- Invoice
Section stringId - The fully qualified ID that uniquely identifies an invoice section.
- Invoice
Section stringSystem Id - The system generated unique identifier for an invoice section.
- Billing
Profile stringDisplay Name - The name of the billing profile.
- Billing
Profile stringId - The fully qualified ID that uniquely identifies a billing profile.
- 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.
- Enabled
Azure []AzurePlans Plan Response - Enabled azure plans for the associated billing profile.
- Invoice
Section stringDisplay Name - The name of the invoice section.
- Invoice
Section stringId - The fully qualified ID that uniquely identifies an invoice section.
- Invoice
Section stringSystem Id - The system generated unique identifier for an invoice section.
- billing
Profile StringDisplay Name - The name of the billing profile.
- billing
Profile StringId - The fully qualified ID that uniquely identifies a billing profile.
- 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.
- enabled
Azure List<AzurePlans Plan Response> - Enabled azure plans for the associated billing profile.
- invoice
Section StringDisplay Name - The name of the invoice section.
- invoice
Section StringId - The fully qualified ID that uniquely identifies an invoice section.
- invoice
Section StringSystem Id - The system generated unique identifier for an invoice section.
- billing
Profile stringDisplay Name - The name of the billing profile.
- billing
Profile stringId - The fully qualified ID that uniquely identifies a billing profile.
- 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.
- enabled
Azure AzurePlans Plan Response[] - Enabled azure plans for the associated billing profile.
- invoice
Section stringDisplay Name - The name of the invoice section.
- invoice
Section stringId - The fully qualified ID that uniquely identifies an invoice section.
- invoice
Section stringSystem Id - The system generated unique identifier for an invoice section.
- billing_
profile_ strdisplay_ name - The name of the billing profile.
- billing_
profile_ strid - The fully qualified ID that uniquely identifies a billing profile.
- 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.
- enabled_
azure_ Sequence[Azureplans Plan Response] - Enabled azure plans for the associated billing profile.
- invoice_
section_ strdisplay_ name - The name of the invoice section.
- invoice_
section_ strid - The fully qualified ID that uniquely identifies an invoice section.
- invoice_
section_ strsystem_ id - The system generated unique identifier for an invoice section.
- billing
Profile StringDisplay Name - The name of the billing profile.
- billing
Profile StringId - The fully qualified ID that uniquely identifies a billing profile.
- 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.
- enabled
Azure List<Property Map>Plans - Enabled azure plans for the associated billing profile.
- invoice
Section StringDisplay Name - The name of the invoice section.
- invoice
Section StringId - The fully qualified ID that uniquely identifies an invoice section.
- invoice
Section StringSystem Id - The system generated unique identifier for an invoice section.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0