Categorygithub.com/hashicorp/go-azure-sdk/resource-managercostmanagement2023-08-01benefitutilizationsummariesasync
package
0.20240715.1103416
Repository: https://github.com/hashicorp/go-azure-sdk.git
Documentation: pkg.go.dev
# README
github.com/hashicorp/go-azure-sdk/resource-manager/costmanagement/2023-08-01/benefitutilizationsummariesasync
Documentation
The benefitutilizationsummariesasync
SDK allows for interaction with the Azure Resource Manager Service costmanagement
(API Version 2023-08-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/costmanagement/2023-08-01/benefitutilizationsummariesasync"
Client Initialization
client := benefitutilizationsummariesasync.NewBenefitUtilizationSummariesAsyncClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: BenefitUtilizationSummariesAsyncClient.GenerateBenefitUtilizationSummariesReportGenerateByBillingAccount
ctx := context.TODO()
id := benefitutilizationsummariesasync.NewBillingAccountID("billingAccountIdValue")
payload := benefitutilizationsummariesasync.BenefitUtilizationSummariesRequest{
// ...
}
if err := client.GenerateBenefitUtilizationSummariesReportGenerateByBillingAccountThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: BenefitUtilizationSummariesAsyncClient.GenerateBenefitUtilizationSummariesReportGenerateByBillingProfile
ctx := context.TODO()
id := benefitutilizationsummariesasync.NewBillingProfileID("billingAccountIdValue", "billingProfileIdValue")
payload := benefitutilizationsummariesasync.BenefitUtilizationSummariesRequest{
// ...
}
if err := client.GenerateBenefitUtilizationSummariesReportGenerateByBillingProfileThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: BenefitUtilizationSummariesAsyncClient.GenerateBenefitUtilizationSummariesReportGenerateByReservationId
ctx := context.TODO()
id := benefitutilizationsummariesasync.NewReservationID("reservationOrderIdValue", "reservationIdValue")
payload := benefitutilizationsummariesasync.BenefitUtilizationSummariesRequest{
// ...
}
if err := client.GenerateBenefitUtilizationSummariesReportGenerateByReservationIdThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: BenefitUtilizationSummariesAsyncClient.GenerateBenefitUtilizationSummariesReportGenerateByReservationOrderId
ctx := context.TODO()
id := benefitutilizationsummariesasync.NewReservationOrderID("reservationOrderIdValue")
payload := benefitutilizationsummariesasync.BenefitUtilizationSummariesRequest{
// ...
}
if err := client.GenerateBenefitUtilizationSummariesReportGenerateByReservationOrderIdThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: BenefitUtilizationSummariesAsyncClient.GenerateBenefitUtilizationSummariesReportGenerateBySavingsPlanId
ctx := context.TODO()
id := benefitutilizationsummariesasync.NewSavingsPlanID("savingsPlanOrderIdValue", "savingsPlanIdValue")
payload := benefitutilizationsummariesasync.BenefitUtilizationSummariesRequest{
// ...
}
if err := client.GenerateBenefitUtilizationSummariesReportGenerateBySavingsPlanIdThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: BenefitUtilizationSummariesAsyncClient.GenerateBenefitUtilizationSummariesReportGenerateBySavingsPlanOrderId
ctx := context.TODO()
id := benefitutilizationsummariesasync.NewSavingsPlanOrderID("savingsPlanOrderIdValue")
payload := benefitutilizationsummariesasync.BenefitUtilizationSummariesRequest{
// ...
}
if err := client.GenerateBenefitUtilizationSummariesReportGenerateBySavingsPlanOrderIdThenPoll(ctx, id, payload); err != nil {
// handle the error
}
# Functions
No description provided by the author
NewBillingAccountID returns a new BillingAccountId struct.
NewBillingProfileID returns a new BillingProfileId struct.
NewReservationID returns a new ReservationId struct.
NewReservationOrderID returns a new ReservationOrderId struct.
NewSavingsPlanID returns a new SavingsPlanId struct.
NewSavingsPlanOrderID returns a new SavingsPlanOrderId struct.
ParseBillingAccountID parses 'input' into a BillingAccountId.
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input.
ParseBillingProfileID parses 'input' into a BillingProfileId.
ParseBillingProfileIDInsensitively parses 'input' case-insensitively into a BillingProfileId note: this method should only be used for API response data and not user input.
ParseReservationID parses 'input' into a ReservationId.
ParseReservationIDInsensitively parses 'input' case-insensitively into a ReservationId note: this method should only be used for API response data and not user input.
ParseReservationOrderID parses 'input' into a ReservationOrderId.
ParseReservationOrderIDInsensitively parses 'input' case-insensitively into a ReservationOrderId note: this method should only be used for API response data and not user input.
ParseSavingsPlanID parses 'input' into a SavingsPlanId.
ParseSavingsPlanIDInsensitively parses 'input' case-insensitively into a SavingsPlanId note: this method should only be used for API response data and not user input.
ParseSavingsPlanOrderID parses 'input' into a SavingsPlanOrderId.
ParseSavingsPlanOrderIDInsensitively parses 'input' case-insensitively into a SavingsPlanOrderId note: this method should only be used for API response data and not user input.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID.
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID.
ValidateReservationID checks that 'input' can be parsed as a Reservation ID.
ValidateReservationOrderID checks that 'input' can be parsed as a Reservation Order ID.
ValidateSavingsPlanID checks that 'input' can be parsed as a Savings Plan ID.
ValidateSavingsPlanOrderID checks that 'input' can be parsed as a Savings Plan Order ID.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BillingAccountId is a struct representing the Resource ID for a Billing Account.
BillingProfileId is a struct representing the Resource ID for a Billing Profile.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReservationId is a struct representing the Resource ID for a Reservation.
ReservationOrderId is a struct representing the Resource ID for a Reservation Order.
SavingsPlanId is a struct representing the Resource ID for a Savings Plan.
SavingsPlanOrderId is a struct representing the Resource ID for a Savings Plan Order.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author