osubbillingschedule

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetBillingScheduleArgs

type GetBillingScheduleArgs struct {
	// The OCID of the compartment.
	CompartmentId string                     `pulumi:"compartmentId"`
	Filters       []GetBillingScheduleFilter `pulumi:"filters"`
	// This param is used to get only the billing schedules for a particular Subscribed Service
	SubscribedServiceId *string `pulumi:"subscribedServiceId"`
	// This param is used to get only the billing schedules for a particular Subscription Id
	SubscriptionId string `pulumi:"subscriptionId"`
	// The Oracle Cloud Infrastructure home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.
	XOneOriginRegion *string `pulumi:"xOneOriginRegion"`
}

A collection of arguments for invoking getBillingSchedule.

type GetBillingScheduleBillingSchedule

type GetBillingScheduleBillingSchedule struct {
	// Billing schedule line net amount
	Amount string `pulumi:"amount"`
	// Indicates the associated AR Customer transaction id a unique identifier existing on AR.
	ArCustomerTransactionId string `pulumi:"arCustomerTransactionId"`
	// Indicates the associated AR Invoice Number
	ArInvoiceNumber string `pulumi:"arInvoiceNumber"`
	// Billing frequency
	BillingFrequency string `pulumi:"billingFrequency"`
	// Billing schedule invoice status
	InvoiceStatus string `pulumi:"invoiceStatus"`
	// Billing schedule net unit price
	NetUnitPrice string `pulumi:"netUnitPrice"`
	// Order number associated with the Subscribed Service
	OrderNumber string `pulumi:"orderNumber"`
	// Product description
	Products []GetBillingScheduleBillingScheduleProduct `pulumi:"products"`
	// Billing schedule quantity
	Quantity string `pulumi:"quantity"`
	// Billing schedule end date
	TimeEnd string `pulumi:"timeEnd"`
	// Billing schedule invoicing date
	TimeInvoicing string `pulumi:"timeInvoicing"`
	// Billing schedule start date
	TimeStart string `pulumi:"timeStart"`
}

type GetBillingScheduleBillingScheduleArgs

type GetBillingScheduleBillingScheduleArgs struct {
	// Billing schedule line net amount
	Amount pulumi.StringInput `pulumi:"amount"`
	// Indicates the associated AR Customer transaction id a unique identifier existing on AR.
	ArCustomerTransactionId pulumi.StringInput `pulumi:"arCustomerTransactionId"`
	// Indicates the associated AR Invoice Number
	ArInvoiceNumber pulumi.StringInput `pulumi:"arInvoiceNumber"`
	// Billing frequency
	BillingFrequency pulumi.StringInput `pulumi:"billingFrequency"`
	// Billing schedule invoice status
	InvoiceStatus pulumi.StringInput `pulumi:"invoiceStatus"`
	// Billing schedule net unit price
	NetUnitPrice pulumi.StringInput `pulumi:"netUnitPrice"`
	// Order number associated with the Subscribed Service
	OrderNumber pulumi.StringInput `pulumi:"orderNumber"`
	// Product description
	Products GetBillingScheduleBillingScheduleProductArrayInput `pulumi:"products"`
	// Billing schedule quantity
	Quantity pulumi.StringInput `pulumi:"quantity"`
	// Billing schedule end date
	TimeEnd pulumi.StringInput `pulumi:"timeEnd"`
	// Billing schedule invoicing date
	TimeInvoicing pulumi.StringInput `pulumi:"timeInvoicing"`
	// Billing schedule start date
	TimeStart pulumi.StringInput `pulumi:"timeStart"`
}

func (GetBillingScheduleBillingScheduleArgs) ElementType

func (GetBillingScheduleBillingScheduleArgs) ToGetBillingScheduleBillingScheduleOutput

func (i GetBillingScheduleBillingScheduleArgs) ToGetBillingScheduleBillingScheduleOutput() GetBillingScheduleBillingScheduleOutput

func (GetBillingScheduleBillingScheduleArgs) ToGetBillingScheduleBillingScheduleOutputWithContext

func (i GetBillingScheduleBillingScheduleArgs) ToGetBillingScheduleBillingScheduleOutputWithContext(ctx context.Context) GetBillingScheduleBillingScheduleOutput

type GetBillingScheduleBillingScheduleArray

type GetBillingScheduleBillingScheduleArray []GetBillingScheduleBillingScheduleInput

func (GetBillingScheduleBillingScheduleArray) ElementType

func (GetBillingScheduleBillingScheduleArray) ToGetBillingScheduleBillingScheduleArrayOutput

func (i GetBillingScheduleBillingScheduleArray) ToGetBillingScheduleBillingScheduleArrayOutput() GetBillingScheduleBillingScheduleArrayOutput

func (GetBillingScheduleBillingScheduleArray) ToGetBillingScheduleBillingScheduleArrayOutputWithContext

func (i GetBillingScheduleBillingScheduleArray) ToGetBillingScheduleBillingScheduleArrayOutputWithContext(ctx context.Context) GetBillingScheduleBillingScheduleArrayOutput

type GetBillingScheduleBillingScheduleArrayInput

type GetBillingScheduleBillingScheduleArrayInput interface {
	pulumi.Input

	ToGetBillingScheduleBillingScheduleArrayOutput() GetBillingScheduleBillingScheduleArrayOutput
	ToGetBillingScheduleBillingScheduleArrayOutputWithContext(context.Context) GetBillingScheduleBillingScheduleArrayOutput
}

GetBillingScheduleBillingScheduleArrayInput is an input type that accepts GetBillingScheduleBillingScheduleArray and GetBillingScheduleBillingScheduleArrayOutput values. You can construct a concrete instance of `GetBillingScheduleBillingScheduleArrayInput` via:

GetBillingScheduleBillingScheduleArray{ GetBillingScheduleBillingScheduleArgs{...} }

type GetBillingScheduleBillingScheduleArrayOutput

type GetBillingScheduleBillingScheduleArrayOutput struct{ *pulumi.OutputState }

func (GetBillingScheduleBillingScheduleArrayOutput) ElementType

func (GetBillingScheduleBillingScheduleArrayOutput) Index

func (GetBillingScheduleBillingScheduleArrayOutput) ToGetBillingScheduleBillingScheduleArrayOutput

func (o GetBillingScheduleBillingScheduleArrayOutput) ToGetBillingScheduleBillingScheduleArrayOutput() GetBillingScheduleBillingScheduleArrayOutput

func (GetBillingScheduleBillingScheduleArrayOutput) ToGetBillingScheduleBillingScheduleArrayOutputWithContext

func (o GetBillingScheduleBillingScheduleArrayOutput) ToGetBillingScheduleBillingScheduleArrayOutputWithContext(ctx context.Context) GetBillingScheduleBillingScheduleArrayOutput

type GetBillingScheduleBillingScheduleInput

type GetBillingScheduleBillingScheduleInput interface {
	pulumi.Input

	ToGetBillingScheduleBillingScheduleOutput() GetBillingScheduleBillingScheduleOutput
	ToGetBillingScheduleBillingScheduleOutputWithContext(context.Context) GetBillingScheduleBillingScheduleOutput
}

GetBillingScheduleBillingScheduleInput is an input type that accepts GetBillingScheduleBillingScheduleArgs and GetBillingScheduleBillingScheduleOutput values. You can construct a concrete instance of `GetBillingScheduleBillingScheduleInput` via:

GetBillingScheduleBillingScheduleArgs{...}

type GetBillingScheduleBillingScheduleOutput

type GetBillingScheduleBillingScheduleOutput struct{ *pulumi.OutputState }

func (GetBillingScheduleBillingScheduleOutput) Amount

Billing schedule line net amount

func (GetBillingScheduleBillingScheduleOutput) ArCustomerTransactionId

func (o GetBillingScheduleBillingScheduleOutput) ArCustomerTransactionId() pulumi.StringOutput

Indicates the associated AR Customer transaction id a unique identifier existing on AR.

func (GetBillingScheduleBillingScheduleOutput) ArInvoiceNumber

Indicates the associated AR Invoice Number

func (GetBillingScheduleBillingScheduleOutput) BillingFrequency

Billing frequency

func (GetBillingScheduleBillingScheduleOutput) ElementType

func (GetBillingScheduleBillingScheduleOutput) InvoiceStatus

Billing schedule invoice status

func (GetBillingScheduleBillingScheduleOutput) NetUnitPrice

Billing schedule net unit price

func (GetBillingScheduleBillingScheduleOutput) OrderNumber

Order number associated with the Subscribed Service

func (GetBillingScheduleBillingScheduleOutput) Products

Product description

func (GetBillingScheduleBillingScheduleOutput) Quantity

Billing schedule quantity

func (GetBillingScheduleBillingScheduleOutput) TimeEnd

Billing schedule end date

func (GetBillingScheduleBillingScheduleOutput) TimeInvoicing

Billing schedule invoicing date

func (GetBillingScheduleBillingScheduleOutput) TimeStart

Billing schedule start date

func (GetBillingScheduleBillingScheduleOutput) ToGetBillingScheduleBillingScheduleOutput

func (o GetBillingScheduleBillingScheduleOutput) ToGetBillingScheduleBillingScheduleOutput() GetBillingScheduleBillingScheduleOutput

func (GetBillingScheduleBillingScheduleOutput) ToGetBillingScheduleBillingScheduleOutputWithContext

func (o GetBillingScheduleBillingScheduleOutput) ToGetBillingScheduleBillingScheduleOutputWithContext(ctx context.Context) GetBillingScheduleBillingScheduleOutput

type GetBillingScheduleBillingScheduleProduct

type GetBillingScheduleBillingScheduleProduct struct {
	// Product name
	Name string `pulumi:"name"`
	// Indicates the associated AR Invoice Number
	PartNumber string `pulumi:"partNumber"`
}

type GetBillingScheduleBillingScheduleProductArgs

type GetBillingScheduleBillingScheduleProductArgs struct {
	// Product name
	Name pulumi.StringInput `pulumi:"name"`
	// Indicates the associated AR Invoice Number
	PartNumber pulumi.StringInput `pulumi:"partNumber"`
}

func (GetBillingScheduleBillingScheduleProductArgs) ElementType

func (GetBillingScheduleBillingScheduleProductArgs) ToGetBillingScheduleBillingScheduleProductOutput

func (i GetBillingScheduleBillingScheduleProductArgs) ToGetBillingScheduleBillingScheduleProductOutput() GetBillingScheduleBillingScheduleProductOutput

func (GetBillingScheduleBillingScheduleProductArgs) ToGetBillingScheduleBillingScheduleProductOutputWithContext

func (i GetBillingScheduleBillingScheduleProductArgs) ToGetBillingScheduleBillingScheduleProductOutputWithContext(ctx context.Context) GetBillingScheduleBillingScheduleProductOutput

type GetBillingScheduleBillingScheduleProductArray

type GetBillingScheduleBillingScheduleProductArray []GetBillingScheduleBillingScheduleProductInput

func (GetBillingScheduleBillingScheduleProductArray) ElementType

func (GetBillingScheduleBillingScheduleProductArray) ToGetBillingScheduleBillingScheduleProductArrayOutput

func (i GetBillingScheduleBillingScheduleProductArray) ToGetBillingScheduleBillingScheduleProductArrayOutput() GetBillingScheduleBillingScheduleProductArrayOutput

func (GetBillingScheduleBillingScheduleProductArray) ToGetBillingScheduleBillingScheduleProductArrayOutputWithContext

func (i GetBillingScheduleBillingScheduleProductArray) ToGetBillingScheduleBillingScheduleProductArrayOutputWithContext(ctx context.Context) GetBillingScheduleBillingScheduleProductArrayOutput

type GetBillingScheduleBillingScheduleProductArrayInput

type GetBillingScheduleBillingScheduleProductArrayInput interface {
	pulumi.Input

	ToGetBillingScheduleBillingScheduleProductArrayOutput() GetBillingScheduleBillingScheduleProductArrayOutput
	ToGetBillingScheduleBillingScheduleProductArrayOutputWithContext(context.Context) GetBillingScheduleBillingScheduleProductArrayOutput
}

GetBillingScheduleBillingScheduleProductArrayInput is an input type that accepts GetBillingScheduleBillingScheduleProductArray and GetBillingScheduleBillingScheduleProductArrayOutput values. You can construct a concrete instance of `GetBillingScheduleBillingScheduleProductArrayInput` via:

GetBillingScheduleBillingScheduleProductArray{ GetBillingScheduleBillingScheduleProductArgs{...} }

type GetBillingScheduleBillingScheduleProductArrayOutput

type GetBillingScheduleBillingScheduleProductArrayOutput struct{ *pulumi.OutputState }

func (GetBillingScheduleBillingScheduleProductArrayOutput) ElementType

func (GetBillingScheduleBillingScheduleProductArrayOutput) Index

func (GetBillingScheduleBillingScheduleProductArrayOutput) ToGetBillingScheduleBillingScheduleProductArrayOutput

func (o GetBillingScheduleBillingScheduleProductArrayOutput) ToGetBillingScheduleBillingScheduleProductArrayOutput() GetBillingScheduleBillingScheduleProductArrayOutput

func (GetBillingScheduleBillingScheduleProductArrayOutput) ToGetBillingScheduleBillingScheduleProductArrayOutputWithContext

func (o GetBillingScheduleBillingScheduleProductArrayOutput) ToGetBillingScheduleBillingScheduleProductArrayOutputWithContext(ctx context.Context) GetBillingScheduleBillingScheduleProductArrayOutput

type GetBillingScheduleBillingScheduleProductInput

type GetBillingScheduleBillingScheduleProductInput interface {
	pulumi.Input

	ToGetBillingScheduleBillingScheduleProductOutput() GetBillingScheduleBillingScheduleProductOutput
	ToGetBillingScheduleBillingScheduleProductOutputWithContext(context.Context) GetBillingScheduleBillingScheduleProductOutput
}

GetBillingScheduleBillingScheduleProductInput is an input type that accepts GetBillingScheduleBillingScheduleProductArgs and GetBillingScheduleBillingScheduleProductOutput values. You can construct a concrete instance of `GetBillingScheduleBillingScheduleProductInput` via:

GetBillingScheduleBillingScheduleProductArgs{...}

type GetBillingScheduleBillingScheduleProductOutput

type GetBillingScheduleBillingScheduleProductOutput struct{ *pulumi.OutputState }

func (GetBillingScheduleBillingScheduleProductOutput) ElementType

func (GetBillingScheduleBillingScheduleProductOutput) Name

Product name

func (GetBillingScheduleBillingScheduleProductOutput) PartNumber

Indicates the associated AR Invoice Number

func (GetBillingScheduleBillingScheduleProductOutput) ToGetBillingScheduleBillingScheduleProductOutput

func (o GetBillingScheduleBillingScheduleProductOutput) ToGetBillingScheduleBillingScheduleProductOutput() GetBillingScheduleBillingScheduleProductOutput

func (GetBillingScheduleBillingScheduleProductOutput) ToGetBillingScheduleBillingScheduleProductOutputWithContext

func (o GetBillingScheduleBillingScheduleProductOutput) ToGetBillingScheduleBillingScheduleProductOutputWithContext(ctx context.Context) GetBillingScheduleBillingScheduleProductOutput

type GetBillingScheduleFilter

type GetBillingScheduleFilter struct {
	// Product name
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetBillingScheduleFilterArgs

type GetBillingScheduleFilterArgs struct {
	// Product name
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetBillingScheduleFilterArgs) ElementType

func (GetBillingScheduleFilterArgs) ToGetBillingScheduleFilterOutput

func (i GetBillingScheduleFilterArgs) ToGetBillingScheduleFilterOutput() GetBillingScheduleFilterOutput

func (GetBillingScheduleFilterArgs) ToGetBillingScheduleFilterOutputWithContext

func (i GetBillingScheduleFilterArgs) ToGetBillingScheduleFilterOutputWithContext(ctx context.Context) GetBillingScheduleFilterOutput

type GetBillingScheduleFilterArray

type GetBillingScheduleFilterArray []GetBillingScheduleFilterInput

func (GetBillingScheduleFilterArray) ElementType

func (GetBillingScheduleFilterArray) ToGetBillingScheduleFilterArrayOutput

func (i GetBillingScheduleFilterArray) ToGetBillingScheduleFilterArrayOutput() GetBillingScheduleFilterArrayOutput

func (GetBillingScheduleFilterArray) ToGetBillingScheduleFilterArrayOutputWithContext

func (i GetBillingScheduleFilterArray) ToGetBillingScheduleFilterArrayOutputWithContext(ctx context.Context) GetBillingScheduleFilterArrayOutput

type GetBillingScheduleFilterArrayInput

type GetBillingScheduleFilterArrayInput interface {
	pulumi.Input

	ToGetBillingScheduleFilterArrayOutput() GetBillingScheduleFilterArrayOutput
	ToGetBillingScheduleFilterArrayOutputWithContext(context.Context) GetBillingScheduleFilterArrayOutput
}

GetBillingScheduleFilterArrayInput is an input type that accepts GetBillingScheduleFilterArray and GetBillingScheduleFilterArrayOutput values. You can construct a concrete instance of `GetBillingScheduleFilterArrayInput` via:

GetBillingScheduleFilterArray{ GetBillingScheduleFilterArgs{...} }

type GetBillingScheduleFilterArrayOutput

type GetBillingScheduleFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBillingScheduleFilterArrayOutput) ElementType

func (GetBillingScheduleFilterArrayOutput) Index

func (GetBillingScheduleFilterArrayOutput) ToGetBillingScheduleFilterArrayOutput

func (o GetBillingScheduleFilterArrayOutput) ToGetBillingScheduleFilterArrayOutput() GetBillingScheduleFilterArrayOutput

func (GetBillingScheduleFilterArrayOutput) ToGetBillingScheduleFilterArrayOutputWithContext

func (o GetBillingScheduleFilterArrayOutput) ToGetBillingScheduleFilterArrayOutputWithContext(ctx context.Context) GetBillingScheduleFilterArrayOutput

type GetBillingScheduleFilterInput

type GetBillingScheduleFilterInput interface {
	pulumi.Input

	ToGetBillingScheduleFilterOutput() GetBillingScheduleFilterOutput
	ToGetBillingScheduleFilterOutputWithContext(context.Context) GetBillingScheduleFilterOutput
}

GetBillingScheduleFilterInput is an input type that accepts GetBillingScheduleFilterArgs and GetBillingScheduleFilterOutput values. You can construct a concrete instance of `GetBillingScheduleFilterInput` via:

GetBillingScheduleFilterArgs{...}

type GetBillingScheduleFilterOutput

type GetBillingScheduleFilterOutput struct{ *pulumi.OutputState }

func (GetBillingScheduleFilterOutput) ElementType

func (GetBillingScheduleFilterOutput) Name

Product name

func (GetBillingScheduleFilterOutput) Regex

func (GetBillingScheduleFilterOutput) ToGetBillingScheduleFilterOutput

func (o GetBillingScheduleFilterOutput) ToGetBillingScheduleFilterOutput() GetBillingScheduleFilterOutput

func (GetBillingScheduleFilterOutput) ToGetBillingScheduleFilterOutputWithContext

func (o GetBillingScheduleFilterOutput) ToGetBillingScheduleFilterOutputWithContext(ctx context.Context) GetBillingScheduleFilterOutput

func (GetBillingScheduleFilterOutput) Values

type GetBillingScheduleOutputArgs

type GetBillingScheduleOutputArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput                 `pulumi:"compartmentId"`
	Filters       GetBillingScheduleFilterArrayInput `pulumi:"filters"`
	// This param is used to get only the billing schedules for a particular Subscribed Service
	SubscribedServiceId pulumi.StringPtrInput `pulumi:"subscribedServiceId"`
	// This param is used to get only the billing schedules for a particular Subscription Id
	SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"`
	// The Oracle Cloud Infrastructure home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.
	XOneOriginRegion pulumi.StringPtrInput `pulumi:"xOneOriginRegion"`
}

A collection of arguments for invoking getBillingSchedule.

func (GetBillingScheduleOutputArgs) ElementType

type GetBillingScheduleResult

type GetBillingScheduleResult struct {
	// The list of billing_schedules.
	BillingSchedules []GetBillingScheduleBillingSchedule `pulumi:"billingSchedules"`
	CompartmentId    string                              `pulumi:"compartmentId"`
	Filters          []GetBillingScheduleFilter          `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string  `pulumi:"id"`
	SubscribedServiceId *string `pulumi:"subscribedServiceId"`
	SubscriptionId      string  `pulumi:"subscriptionId"`
	XOneOriginRegion    *string `pulumi:"xOneOriginRegion"`
}

A collection of values returned by getBillingSchedule.

func GetBillingSchedule

func GetBillingSchedule(ctx *pulumi.Context, args *GetBillingScheduleArgs, opts ...pulumi.InvokeOption) (*GetBillingScheduleResult, error)

This data source provides the list of Billing Schedules in Oracle Cloud Infrastructure Osub Billing Schedule service.

This list API returns all billing schedules for given subscription id and for a particular Subscribed Service if provided

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/OsubBillingSchedule"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := OsubBillingSchedule.GetBillingSchedule(ctx, &osubbillingschedule.GetBillingScheduleArgs{
			CompartmentId:       compartmentId,
			SubscriptionId:      testSubscription.Id,
			SubscribedServiceId: pulumi.StringRef(testService.Id),
			XOneOriginRegion:    pulumi.StringRef(billingScheduleXOneOriginRegion),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetBillingScheduleResultOutput

type GetBillingScheduleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBillingSchedule.

func (GetBillingScheduleResultOutput) BillingSchedules

The list of billing_schedules.

func (GetBillingScheduleResultOutput) CompartmentId

func (GetBillingScheduleResultOutput) ElementType

func (GetBillingScheduleResultOutput) Filters

func (GetBillingScheduleResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBillingScheduleResultOutput) SubscribedServiceId

func (o GetBillingScheduleResultOutput) SubscribedServiceId() pulumi.StringPtrOutput

func (GetBillingScheduleResultOutput) SubscriptionId

func (GetBillingScheduleResultOutput) ToGetBillingScheduleResultOutput

func (o GetBillingScheduleResultOutput) ToGetBillingScheduleResultOutput() GetBillingScheduleResultOutput

func (GetBillingScheduleResultOutput) ToGetBillingScheduleResultOutputWithContext

func (o GetBillingScheduleResultOutput) ToGetBillingScheduleResultOutputWithContext(ctx context.Context) GetBillingScheduleResultOutput

func (GetBillingScheduleResultOutput) XOneOriginRegion

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL