Documentation ¶
Index ¶
- type GetConsumptionsArgs
- type GetConsumptionsConsumption
- type GetConsumptionsConsumptionArgs
- func (GetConsumptionsConsumptionArgs) ElementType() reflect.Type
- func (i GetConsumptionsConsumptionArgs) ToGetConsumptionsConsumptionOutput() GetConsumptionsConsumptionOutput
- func (i GetConsumptionsConsumptionArgs) ToGetConsumptionsConsumptionOutputWithContext(ctx context.Context) GetConsumptionsConsumptionOutput
- type GetConsumptionsConsumptionArray
- func (GetConsumptionsConsumptionArray) ElementType() reflect.Type
- func (i GetConsumptionsConsumptionArray) ToGetConsumptionsConsumptionArrayOutput() GetConsumptionsConsumptionArrayOutput
- func (i GetConsumptionsConsumptionArray) ToGetConsumptionsConsumptionArrayOutputWithContext(ctx context.Context) GetConsumptionsConsumptionArrayOutput
- type GetConsumptionsConsumptionArrayInput
- type GetConsumptionsConsumptionArrayOutput
- func (GetConsumptionsConsumptionArrayOutput) ElementType() reflect.Type
- func (o GetConsumptionsConsumptionArrayOutput) Index(i pulumi.IntInput) GetConsumptionsConsumptionOutput
- func (o GetConsumptionsConsumptionArrayOutput) ToGetConsumptionsConsumptionArrayOutput() GetConsumptionsConsumptionArrayOutput
- func (o GetConsumptionsConsumptionArrayOutput) ToGetConsumptionsConsumptionArrayOutputWithContext(ctx context.Context) GetConsumptionsConsumptionArrayOutput
- type GetConsumptionsConsumptionInput
- type GetConsumptionsConsumptionOutput
- func (o GetConsumptionsConsumptionOutput) BilledQuantity() pulumi.StringOutput
- func (o GetConsumptionsConsumptionOutput) CategoryName() pulumi.StringOutput
- func (GetConsumptionsConsumptionOutput) ElementType() reflect.Type
- func (o GetConsumptionsConsumptionOutput) ProductName() pulumi.StringOutput
- func (o GetConsumptionsConsumptionOutput) ProjectId() pulumi.StringOutput
- func (o GetConsumptionsConsumptionOutput) Sku() pulumi.StringOutput
- func (o GetConsumptionsConsumptionOutput) ToGetConsumptionsConsumptionOutput() GetConsumptionsConsumptionOutput
- func (o GetConsumptionsConsumptionOutput) ToGetConsumptionsConsumptionOutputWithContext(ctx context.Context) GetConsumptionsConsumptionOutput
- func (o GetConsumptionsConsumptionOutput) Unit() pulumi.StringOutput
- func (o GetConsumptionsConsumptionOutput) Value() pulumi.StringOutput
- type GetConsumptionsOutputArgs
- type GetConsumptionsResult
- type GetConsumptionsResultOutput
- func (o GetConsumptionsResultOutput) Consumptions() GetConsumptionsConsumptionArrayOutput
- func (GetConsumptionsResultOutput) ElementType() reflect.Type
- func (o GetConsumptionsResultOutput) Id() pulumi.StringOutput
- func (o GetConsumptionsResultOutput) OrganizationId() pulumi.StringOutput
- func (o GetConsumptionsResultOutput) ProjectId() pulumi.StringOutput
- func (o GetConsumptionsResultOutput) ToGetConsumptionsResultOutput() GetConsumptionsResultOutput
- func (o GetConsumptionsResultOutput) ToGetConsumptionsResultOutputWithContext(ctx context.Context) GetConsumptionsResultOutput
- func (o GetConsumptionsResultOutput) UpdatedAt() pulumi.StringOutput
- type GetInvoicesArgs
- type GetInvoicesInvoice
- type GetInvoicesInvoiceArgs
- type GetInvoicesInvoiceArray
- type GetInvoicesInvoiceArrayInput
- type GetInvoicesInvoiceArrayOutput
- func (GetInvoicesInvoiceArrayOutput) ElementType() reflect.Type
- func (o GetInvoicesInvoiceArrayOutput) Index(i pulumi.IntInput) GetInvoicesInvoiceOutput
- func (o GetInvoicesInvoiceArrayOutput) ToGetInvoicesInvoiceArrayOutput() GetInvoicesInvoiceArrayOutput
- func (o GetInvoicesInvoiceArrayOutput) ToGetInvoicesInvoiceArrayOutputWithContext(ctx context.Context) GetInvoicesInvoiceArrayOutput
- type GetInvoicesInvoiceInput
- type GetInvoicesInvoiceOutput
- func (o GetInvoicesInvoiceOutput) BillingPeriod() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) DueDate() pulumi.StringOutput
- func (GetInvoicesInvoiceOutput) ElementType() reflect.Type
- func (o GetInvoicesInvoiceOutput) Id() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) InvoiceType() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) IssuedDate() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) Number() pulumi.IntOutput
- func (o GetInvoicesInvoiceOutput) OrganizationName() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) SellerName() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) StartDate() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) State() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) StopDate() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) ToGetInvoicesInvoiceOutput() GetInvoicesInvoiceOutput
- func (o GetInvoicesInvoiceOutput) ToGetInvoicesInvoiceOutputWithContext(ctx context.Context) GetInvoicesInvoiceOutput
- func (o GetInvoicesInvoiceOutput) TotalDiscount() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) TotalTax() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) TotalTaxed() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) TotalUndiscount() pulumi.StringOutput
- func (o GetInvoicesInvoiceOutput) TotalUntaxed() pulumi.StringOutput
- type GetInvoicesOutputArgs
- type GetInvoicesResult
- type GetInvoicesResultOutput
- func (GetInvoicesResultOutput) ElementType() reflect.Type
- func (o GetInvoicesResultOutput) Id() pulumi.StringOutput
- func (o GetInvoicesResultOutput) InvoiceType() pulumi.StringPtrOutput
- func (o GetInvoicesResultOutput) Invoices() GetInvoicesInvoiceArrayOutput
- func (o GetInvoicesResultOutput) OrganizationId() pulumi.StringOutput
- func (o GetInvoicesResultOutput) StartedAfter() pulumi.StringPtrOutput
- func (o GetInvoicesResultOutput) StartedBefore() pulumi.StringPtrOutput
- func (o GetInvoicesResultOutput) ToGetInvoicesResultOutput() GetInvoicesResultOutput
- func (o GetInvoicesResultOutput) ToGetInvoicesResultOutputWithContext(ctx context.Context) GetInvoicesResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetConsumptionsArgs ¶
type GetConsumptionsArgs struct { // `projectId`) The ID of the project the consumption list is associated with. ProjectId *string `pulumi:"projectId"` }
A collection of arguments for invoking getConsumptions.
type GetConsumptionsConsumption ¶
type GetConsumptionsConsumption struct { // The consumed quantity. BilledQuantity string `pulumi:"billedQuantity"` // The name of the consumption category. CategoryName string `pulumi:"categoryName"` // The product name. ProductName string `pulumi:"productName"` // `projectId`) The ID of the project the consumption list is associated with. ProjectId string `pulumi:"projectId"` // The unique identifier of the product. Sku string `pulumi:"sku"` // The unit of consumed quantity. Unit string `pulumi:"unit"` // The monetary value of the consumption. Value string `pulumi:"value"` }
type GetConsumptionsConsumptionArgs ¶
type GetConsumptionsConsumptionArgs struct { // The consumed quantity. BilledQuantity pulumi.StringInput `pulumi:"billedQuantity"` // The name of the consumption category. CategoryName pulumi.StringInput `pulumi:"categoryName"` // The product name. ProductName pulumi.StringInput `pulumi:"productName"` // `projectId`) The ID of the project the consumption list is associated with. ProjectId pulumi.StringInput `pulumi:"projectId"` // The unique identifier of the product. Sku pulumi.StringInput `pulumi:"sku"` // The unit of consumed quantity. Unit pulumi.StringInput `pulumi:"unit"` // The monetary value of the consumption. Value pulumi.StringInput `pulumi:"value"` }
func (GetConsumptionsConsumptionArgs) ElementType ¶
func (GetConsumptionsConsumptionArgs) ElementType() reflect.Type
func (GetConsumptionsConsumptionArgs) ToGetConsumptionsConsumptionOutput ¶
func (i GetConsumptionsConsumptionArgs) ToGetConsumptionsConsumptionOutput() GetConsumptionsConsumptionOutput
func (GetConsumptionsConsumptionArgs) ToGetConsumptionsConsumptionOutputWithContext ¶
func (i GetConsumptionsConsumptionArgs) ToGetConsumptionsConsumptionOutputWithContext(ctx context.Context) GetConsumptionsConsumptionOutput
type GetConsumptionsConsumptionArray ¶
type GetConsumptionsConsumptionArray []GetConsumptionsConsumptionInput
func (GetConsumptionsConsumptionArray) ElementType ¶
func (GetConsumptionsConsumptionArray) ElementType() reflect.Type
func (GetConsumptionsConsumptionArray) ToGetConsumptionsConsumptionArrayOutput ¶
func (i GetConsumptionsConsumptionArray) ToGetConsumptionsConsumptionArrayOutput() GetConsumptionsConsumptionArrayOutput
func (GetConsumptionsConsumptionArray) ToGetConsumptionsConsumptionArrayOutputWithContext ¶
func (i GetConsumptionsConsumptionArray) ToGetConsumptionsConsumptionArrayOutputWithContext(ctx context.Context) GetConsumptionsConsumptionArrayOutput
type GetConsumptionsConsumptionArrayInput ¶
type GetConsumptionsConsumptionArrayInput interface { pulumi.Input ToGetConsumptionsConsumptionArrayOutput() GetConsumptionsConsumptionArrayOutput ToGetConsumptionsConsumptionArrayOutputWithContext(context.Context) GetConsumptionsConsumptionArrayOutput }
GetConsumptionsConsumptionArrayInput is an input type that accepts GetConsumptionsConsumptionArray and GetConsumptionsConsumptionArrayOutput values. You can construct a concrete instance of `GetConsumptionsConsumptionArrayInput` via:
GetConsumptionsConsumptionArray{ GetConsumptionsConsumptionArgs{...} }
type GetConsumptionsConsumptionArrayOutput ¶
type GetConsumptionsConsumptionArrayOutput struct{ *pulumi.OutputState }
func (GetConsumptionsConsumptionArrayOutput) ElementType ¶
func (GetConsumptionsConsumptionArrayOutput) ElementType() reflect.Type
func (GetConsumptionsConsumptionArrayOutput) Index ¶
func (o GetConsumptionsConsumptionArrayOutput) Index(i pulumi.IntInput) GetConsumptionsConsumptionOutput
func (GetConsumptionsConsumptionArrayOutput) ToGetConsumptionsConsumptionArrayOutput ¶
func (o GetConsumptionsConsumptionArrayOutput) ToGetConsumptionsConsumptionArrayOutput() GetConsumptionsConsumptionArrayOutput
func (GetConsumptionsConsumptionArrayOutput) ToGetConsumptionsConsumptionArrayOutputWithContext ¶
func (o GetConsumptionsConsumptionArrayOutput) ToGetConsumptionsConsumptionArrayOutputWithContext(ctx context.Context) GetConsumptionsConsumptionArrayOutput
type GetConsumptionsConsumptionInput ¶
type GetConsumptionsConsumptionInput interface { pulumi.Input ToGetConsumptionsConsumptionOutput() GetConsumptionsConsumptionOutput ToGetConsumptionsConsumptionOutputWithContext(context.Context) GetConsumptionsConsumptionOutput }
GetConsumptionsConsumptionInput is an input type that accepts GetConsumptionsConsumptionArgs and GetConsumptionsConsumptionOutput values. You can construct a concrete instance of `GetConsumptionsConsumptionInput` via:
GetConsumptionsConsumptionArgs{...}
type GetConsumptionsConsumptionOutput ¶
type GetConsumptionsConsumptionOutput struct{ *pulumi.OutputState }
func (GetConsumptionsConsumptionOutput) BilledQuantity ¶
func (o GetConsumptionsConsumptionOutput) BilledQuantity() pulumi.StringOutput
The consumed quantity.
func (GetConsumptionsConsumptionOutput) CategoryName ¶
func (o GetConsumptionsConsumptionOutput) CategoryName() pulumi.StringOutput
The name of the consumption category.
func (GetConsumptionsConsumptionOutput) ElementType ¶
func (GetConsumptionsConsumptionOutput) ElementType() reflect.Type
func (GetConsumptionsConsumptionOutput) ProductName ¶
func (o GetConsumptionsConsumptionOutput) ProductName() pulumi.StringOutput
The product name.
func (GetConsumptionsConsumptionOutput) ProjectId ¶
func (o GetConsumptionsConsumptionOutput) ProjectId() pulumi.StringOutput
`projectId`) The ID of the project the consumption list is associated with.
func (GetConsumptionsConsumptionOutput) Sku ¶
func (o GetConsumptionsConsumptionOutput) Sku() pulumi.StringOutput
The unique identifier of the product.
func (GetConsumptionsConsumptionOutput) ToGetConsumptionsConsumptionOutput ¶
func (o GetConsumptionsConsumptionOutput) ToGetConsumptionsConsumptionOutput() GetConsumptionsConsumptionOutput
func (GetConsumptionsConsumptionOutput) ToGetConsumptionsConsumptionOutputWithContext ¶
func (o GetConsumptionsConsumptionOutput) ToGetConsumptionsConsumptionOutputWithContext(ctx context.Context) GetConsumptionsConsumptionOutput
func (GetConsumptionsConsumptionOutput) Unit ¶
func (o GetConsumptionsConsumptionOutput) Unit() pulumi.StringOutput
The unit of consumed quantity.
func (GetConsumptionsConsumptionOutput) Value ¶
func (o GetConsumptionsConsumptionOutput) Value() pulumi.StringOutput
The monetary value of the consumption.
type GetConsumptionsOutputArgs ¶
type GetConsumptionsOutputArgs struct { // `projectId`) The ID of the project the consumption list is associated with. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` }
A collection of arguments for invoking getConsumptions.
func (GetConsumptionsOutputArgs) ElementType ¶
func (GetConsumptionsOutputArgs) ElementType() reflect.Type
type GetConsumptionsResult ¶
type GetConsumptionsResult struct { // List of found consumptions Consumptions []GetConsumptionsConsumption `pulumi:"consumptions"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OrganizationId string `pulumi:"organizationId"` // The project ID of the consumption. ProjectId string `pulumi:"projectId"` // The last consumption update date. UpdatedAt string `pulumi:"updatedAt"` }
A collection of values returned by getConsumptions.
func GetConsumptions ¶
func GetConsumptions(ctx *pulumi.Context, args *GetConsumptionsArgs, opts ...pulumi.InvokeOption) (*GetConsumptionsResult, error)
Gets information about your Consumptions.
type GetConsumptionsResultOutput ¶
type GetConsumptionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getConsumptions.
func GetConsumptionsOutput ¶
func GetConsumptionsOutput(ctx *pulumi.Context, args GetConsumptionsOutputArgs, opts ...pulumi.InvokeOption) GetConsumptionsResultOutput
func (GetConsumptionsResultOutput) Consumptions ¶
func (o GetConsumptionsResultOutput) Consumptions() GetConsumptionsConsumptionArrayOutput
List of found consumptions
func (GetConsumptionsResultOutput) ElementType ¶
func (GetConsumptionsResultOutput) ElementType() reflect.Type
func (GetConsumptionsResultOutput) Id ¶
func (o GetConsumptionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetConsumptionsResultOutput) OrganizationId ¶
func (o GetConsumptionsResultOutput) OrganizationId() pulumi.StringOutput
func (GetConsumptionsResultOutput) ProjectId ¶
func (o GetConsumptionsResultOutput) ProjectId() pulumi.StringOutput
The project ID of the consumption.
func (GetConsumptionsResultOutput) ToGetConsumptionsResultOutput ¶
func (o GetConsumptionsResultOutput) ToGetConsumptionsResultOutput() GetConsumptionsResultOutput
func (GetConsumptionsResultOutput) ToGetConsumptionsResultOutputWithContext ¶
func (o GetConsumptionsResultOutput) ToGetConsumptionsResultOutputWithContext(ctx context.Context) GetConsumptionsResultOutput
func (GetConsumptionsResultOutput) UpdatedAt ¶
func (o GetConsumptionsResultOutput) UpdatedAt() pulumi.StringOutput
The last consumption update date.
type GetInvoicesArgs ¶
type GetInvoicesArgs struct { // Invoices with the given type are listed. Valid values are `periodic` and `purchase`. InvoiceType *string `pulumi:"invoiceType"` // Invoices with a start date that are greater or equal to `startedAfter` are listed (RFC 3339 format). StartedAfter *string `pulumi:"startedAfter"` // Invoices with a start date that precedes `startedBefore` are listed (RFC 3339 format). StartedBefore *string `pulumi:"startedBefore"` }
A collection of arguments for invoking getInvoices.
type GetInvoicesInvoice ¶
type GetInvoicesInvoice struct { // The billing period of the invoice in the YYYY-MM format. BillingPeriod string `pulumi:"billingPeriod"` // The payment time limit, set according to the Organization's payment conditions (RFC 3339 format). DueDate string `pulumi:"dueDate"` // The associated invoice ID. Id string `pulumi:"id"` // Invoices with the given type are listed. Valid values are `periodic` and `purchase`. InvoiceType string `pulumi:"invoiceType"` // The date when the invoice was sent to the customer (RFC 3339 format). IssuedDate string `pulumi:"issuedDate"` // The invoice number. Number int `pulumi:"number"` // The organization name. OrganizationName string `pulumi:"organizationName"` // The name of the seller (Scaleway). SellerName string `pulumi:"sellerName"` // The start date of the billing period (RFC 3339 format). StartDate string `pulumi:"startDate"` // The state of the invoice. State string `pulumi:"state"` // The end date of the billing period (RFC 3339 format). StopDate string `pulumi:"stopDate"` // The total discount amount of the invoice. TotalDiscount string `pulumi:"totalDiscount"` // The total tax amount of the invoice. TotalTax string `pulumi:"totalTax"` // The total amount, taxed. TotalTaxed string `pulumi:"totalTaxed"` // The total amount of the invoice before applying the discount. TotalUndiscount string `pulumi:"totalUndiscount"` // The total amount, untaxed. TotalUntaxed string `pulumi:"totalUntaxed"` }
type GetInvoicesInvoiceArgs ¶
type GetInvoicesInvoiceArgs struct { // The billing period of the invoice in the YYYY-MM format. BillingPeriod pulumi.StringInput `pulumi:"billingPeriod"` // The payment time limit, set according to the Organization's payment conditions (RFC 3339 format). DueDate pulumi.StringInput `pulumi:"dueDate"` // The associated invoice ID. Id pulumi.StringInput `pulumi:"id"` // Invoices with the given type are listed. Valid values are `periodic` and `purchase`. InvoiceType pulumi.StringInput `pulumi:"invoiceType"` // The date when the invoice was sent to the customer (RFC 3339 format). IssuedDate pulumi.StringInput `pulumi:"issuedDate"` // The invoice number. Number pulumi.IntInput `pulumi:"number"` // The organization name. OrganizationName pulumi.StringInput `pulumi:"organizationName"` // The name of the seller (Scaleway). SellerName pulumi.StringInput `pulumi:"sellerName"` // The start date of the billing period (RFC 3339 format). StartDate pulumi.StringInput `pulumi:"startDate"` // The state of the invoice. State pulumi.StringInput `pulumi:"state"` // The end date of the billing period (RFC 3339 format). StopDate pulumi.StringInput `pulumi:"stopDate"` // The total discount amount of the invoice. TotalDiscount pulumi.StringInput `pulumi:"totalDiscount"` // The total tax amount of the invoice. TotalTax pulumi.StringInput `pulumi:"totalTax"` // The total amount, taxed. TotalTaxed pulumi.StringInput `pulumi:"totalTaxed"` // The total amount of the invoice before applying the discount. TotalUndiscount pulumi.StringInput `pulumi:"totalUndiscount"` // The total amount, untaxed. TotalUntaxed pulumi.StringInput `pulumi:"totalUntaxed"` }
func (GetInvoicesInvoiceArgs) ElementType ¶
func (GetInvoicesInvoiceArgs) ElementType() reflect.Type
func (GetInvoicesInvoiceArgs) ToGetInvoicesInvoiceOutput ¶
func (i GetInvoicesInvoiceArgs) ToGetInvoicesInvoiceOutput() GetInvoicesInvoiceOutput
func (GetInvoicesInvoiceArgs) ToGetInvoicesInvoiceOutputWithContext ¶
func (i GetInvoicesInvoiceArgs) ToGetInvoicesInvoiceOutputWithContext(ctx context.Context) GetInvoicesInvoiceOutput
type GetInvoicesInvoiceArray ¶
type GetInvoicesInvoiceArray []GetInvoicesInvoiceInput
func (GetInvoicesInvoiceArray) ElementType ¶
func (GetInvoicesInvoiceArray) ElementType() reflect.Type
func (GetInvoicesInvoiceArray) ToGetInvoicesInvoiceArrayOutput ¶
func (i GetInvoicesInvoiceArray) ToGetInvoicesInvoiceArrayOutput() GetInvoicesInvoiceArrayOutput
func (GetInvoicesInvoiceArray) ToGetInvoicesInvoiceArrayOutputWithContext ¶
func (i GetInvoicesInvoiceArray) ToGetInvoicesInvoiceArrayOutputWithContext(ctx context.Context) GetInvoicesInvoiceArrayOutput
type GetInvoicesInvoiceArrayInput ¶
type GetInvoicesInvoiceArrayInput interface { pulumi.Input ToGetInvoicesInvoiceArrayOutput() GetInvoicesInvoiceArrayOutput ToGetInvoicesInvoiceArrayOutputWithContext(context.Context) GetInvoicesInvoiceArrayOutput }
GetInvoicesInvoiceArrayInput is an input type that accepts GetInvoicesInvoiceArray and GetInvoicesInvoiceArrayOutput values. You can construct a concrete instance of `GetInvoicesInvoiceArrayInput` via:
GetInvoicesInvoiceArray{ GetInvoicesInvoiceArgs{...} }
type GetInvoicesInvoiceArrayOutput ¶
type GetInvoicesInvoiceArrayOutput struct{ *pulumi.OutputState }
func (GetInvoicesInvoiceArrayOutput) ElementType ¶
func (GetInvoicesInvoiceArrayOutput) ElementType() reflect.Type
func (GetInvoicesInvoiceArrayOutput) Index ¶
func (o GetInvoicesInvoiceArrayOutput) Index(i pulumi.IntInput) GetInvoicesInvoiceOutput
func (GetInvoicesInvoiceArrayOutput) ToGetInvoicesInvoiceArrayOutput ¶
func (o GetInvoicesInvoiceArrayOutput) ToGetInvoicesInvoiceArrayOutput() GetInvoicesInvoiceArrayOutput
func (GetInvoicesInvoiceArrayOutput) ToGetInvoicesInvoiceArrayOutputWithContext ¶
func (o GetInvoicesInvoiceArrayOutput) ToGetInvoicesInvoiceArrayOutputWithContext(ctx context.Context) GetInvoicesInvoiceArrayOutput
type GetInvoicesInvoiceInput ¶
type GetInvoicesInvoiceInput interface { pulumi.Input ToGetInvoicesInvoiceOutput() GetInvoicesInvoiceOutput ToGetInvoicesInvoiceOutputWithContext(context.Context) GetInvoicesInvoiceOutput }
GetInvoicesInvoiceInput is an input type that accepts GetInvoicesInvoiceArgs and GetInvoicesInvoiceOutput values. You can construct a concrete instance of `GetInvoicesInvoiceInput` via:
GetInvoicesInvoiceArgs{...}
type GetInvoicesInvoiceOutput ¶
type GetInvoicesInvoiceOutput struct{ *pulumi.OutputState }
func (GetInvoicesInvoiceOutput) BillingPeriod ¶
func (o GetInvoicesInvoiceOutput) BillingPeriod() pulumi.StringOutput
The billing period of the invoice in the YYYY-MM format.
func (GetInvoicesInvoiceOutput) DueDate ¶
func (o GetInvoicesInvoiceOutput) DueDate() pulumi.StringOutput
The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
func (GetInvoicesInvoiceOutput) ElementType ¶
func (GetInvoicesInvoiceOutput) ElementType() reflect.Type
func (GetInvoicesInvoiceOutput) Id ¶
func (o GetInvoicesInvoiceOutput) Id() pulumi.StringOutput
The associated invoice ID.
func (GetInvoicesInvoiceOutput) InvoiceType ¶
func (o GetInvoicesInvoiceOutput) InvoiceType() pulumi.StringOutput
Invoices with the given type are listed. Valid values are `periodic` and `purchase`.
func (GetInvoicesInvoiceOutput) IssuedDate ¶
func (o GetInvoicesInvoiceOutput) IssuedDate() pulumi.StringOutput
The date when the invoice was sent to the customer (RFC 3339 format).
func (GetInvoicesInvoiceOutput) Number ¶
func (o GetInvoicesInvoiceOutput) Number() pulumi.IntOutput
The invoice number.
func (GetInvoicesInvoiceOutput) OrganizationName ¶
func (o GetInvoicesInvoiceOutput) OrganizationName() pulumi.StringOutput
The organization name.
func (GetInvoicesInvoiceOutput) SellerName ¶
func (o GetInvoicesInvoiceOutput) SellerName() pulumi.StringOutput
The name of the seller (Scaleway).
func (GetInvoicesInvoiceOutput) StartDate ¶
func (o GetInvoicesInvoiceOutput) StartDate() pulumi.StringOutput
The start date of the billing period (RFC 3339 format).
func (GetInvoicesInvoiceOutput) State ¶
func (o GetInvoicesInvoiceOutput) State() pulumi.StringOutput
The state of the invoice.
func (GetInvoicesInvoiceOutput) StopDate ¶
func (o GetInvoicesInvoiceOutput) StopDate() pulumi.StringOutput
The end date of the billing period (RFC 3339 format).
func (GetInvoicesInvoiceOutput) ToGetInvoicesInvoiceOutput ¶
func (o GetInvoicesInvoiceOutput) ToGetInvoicesInvoiceOutput() GetInvoicesInvoiceOutput
func (GetInvoicesInvoiceOutput) ToGetInvoicesInvoiceOutputWithContext ¶
func (o GetInvoicesInvoiceOutput) ToGetInvoicesInvoiceOutputWithContext(ctx context.Context) GetInvoicesInvoiceOutput
func (GetInvoicesInvoiceOutput) TotalDiscount ¶
func (o GetInvoicesInvoiceOutput) TotalDiscount() pulumi.StringOutput
The total discount amount of the invoice.
func (GetInvoicesInvoiceOutput) TotalTax ¶
func (o GetInvoicesInvoiceOutput) TotalTax() pulumi.StringOutput
The total tax amount of the invoice.
func (GetInvoicesInvoiceOutput) TotalTaxed ¶
func (o GetInvoicesInvoiceOutput) TotalTaxed() pulumi.StringOutput
The total amount, taxed.
func (GetInvoicesInvoiceOutput) TotalUndiscount ¶
func (o GetInvoicesInvoiceOutput) TotalUndiscount() pulumi.StringOutput
The total amount of the invoice before applying the discount.
func (GetInvoicesInvoiceOutput) TotalUntaxed ¶
func (o GetInvoicesInvoiceOutput) TotalUntaxed() pulumi.StringOutput
The total amount, untaxed.
type GetInvoicesOutputArgs ¶
type GetInvoicesOutputArgs struct { // Invoices with the given type are listed. Valid values are `periodic` and `purchase`. InvoiceType pulumi.StringPtrInput `pulumi:"invoiceType"` // Invoices with a start date that are greater or equal to `startedAfter` are listed (RFC 3339 format). StartedAfter pulumi.StringPtrInput `pulumi:"startedAfter"` // Invoices with a start date that precedes `startedBefore` are listed (RFC 3339 format). StartedBefore pulumi.StringPtrInput `pulumi:"startedBefore"` }
A collection of arguments for invoking getInvoices.
func (GetInvoicesOutputArgs) ElementType ¶
func (GetInvoicesOutputArgs) ElementType() reflect.Type
type GetInvoicesResult ¶
type GetInvoicesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The type of invoice. InvoiceType *string `pulumi:"invoiceType"` // List of found invoices Invoices []GetInvoicesInvoice `pulumi:"invoices"` OrganizationId string `pulumi:"organizationId"` StartedAfter *string `pulumi:"startedAfter"` StartedBefore *string `pulumi:"startedBefore"` }
A collection of values returned by getInvoices.
func GetInvoices ¶
func GetInvoices(ctx *pulumi.Context, args *GetInvoicesArgs, opts ...pulumi.InvokeOption) (*GetInvoicesResult, error)
Gets information about your Invoices.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/billing"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := billing.GetInvoices(ctx, &billing.GetInvoicesArgs{ InvoiceType: pulumi.StringRef("periodic"), }, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type GetInvoicesResultOutput ¶
type GetInvoicesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInvoices.
func GetInvoicesOutput ¶
func GetInvoicesOutput(ctx *pulumi.Context, args GetInvoicesOutputArgs, opts ...pulumi.InvokeOption) GetInvoicesResultOutput
func (GetInvoicesResultOutput) ElementType ¶
func (GetInvoicesResultOutput) ElementType() reflect.Type
func (GetInvoicesResultOutput) Id ¶
func (o GetInvoicesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInvoicesResultOutput) InvoiceType ¶
func (o GetInvoicesResultOutput) InvoiceType() pulumi.StringPtrOutput
The type of invoice.
func (GetInvoicesResultOutput) Invoices ¶
func (o GetInvoicesResultOutput) Invoices() GetInvoicesInvoiceArrayOutput
List of found invoices
func (GetInvoicesResultOutput) OrganizationId ¶
func (o GetInvoicesResultOutput) OrganizationId() pulumi.StringOutput
func (GetInvoicesResultOutput) StartedAfter ¶
func (o GetInvoicesResultOutput) StartedAfter() pulumi.StringPtrOutput
func (GetInvoicesResultOutput) StartedBefore ¶
func (o GetInvoicesResultOutput) StartedBefore() pulumi.StringPtrOutput
func (GetInvoicesResultOutput) ToGetInvoicesResultOutput ¶
func (o GetInvoicesResultOutput) ToGetInvoicesResultOutput() GetInvoicesResultOutput
func (GetInvoicesResultOutput) ToGetInvoicesResultOutputWithContext ¶
func (o GetInvoicesResultOutput) ToGetInvoicesResultOutputWithContext(ctx context.Context) GetInvoicesResultOutput