billingproperty

package
v0.20240712.1145105 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MPL-2.0 Imports: 13 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/billing/2024-04-01/billingproperty Documentation

The billingproperty SDK allows for interaction with the Azure Resource Manager Service billing (API Version 2024-04-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/billing/2024-04-01/billingproperty"

Client Initialization

client := billingproperty.NewBillingPropertyClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BillingPropertyClient.Get

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

read, err := client.Get(ctx, id, billingproperty.DefaultGetOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingPropertyClient.Update

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := billingproperty.BillingProperty{
	// ...
}


read, err := client.Update(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAccountStatus

func PossibleValuesForAccountStatus() []string

func PossibleValuesForAccountSubType

func PossibleValuesForAccountSubType() []string

func PossibleValuesForAccountType

func PossibleValuesForAccountType() []string

func PossibleValuesForAgreementType

func PossibleValuesForAgreementType() []string

func PossibleValuesForBillingAccountStatusReasonCode

func PossibleValuesForBillingAccountStatusReasonCode() []string

func PossibleValuesForBillingProfileStatus

func PossibleValuesForBillingProfileStatus() []string

func PossibleValuesForBillingProfileStatusReasonCode

func PossibleValuesForBillingProfileStatusReasonCode() []string

func PossibleValuesForBillingSubscriptionStatus

func PossibleValuesForBillingSubscriptionStatus() []string

func PossibleValuesForCustomerStatus

func PossibleValuesForCustomerStatus() []string

func PossibleValuesForInvoiceSectionState

func PossibleValuesForInvoiceSectionState() []string

func PossibleValuesForInvoiceSectionStateReasonCode

func PossibleValuesForInvoiceSectionStateReasonCode() []string

func PossibleValuesForPaymentMethodFamily

func PossibleValuesForPaymentMethodFamily() []string

func PossibleValuesForSpendingLimit

func PossibleValuesForSpendingLimit() []string

func PossibleValuesForSpendingLimitStatus

func PossibleValuesForSpendingLimitStatus() []string

func PossibleValuesForSpendingLimitType

func PossibleValuesForSpendingLimitType() []string

func PossibleValuesForSubscriptionBillingType

func PossibleValuesForSubscriptionBillingType() []string

func PossibleValuesForSubscriptionStatusReason

func PossibleValuesForSubscriptionStatusReason() []string

func PossibleValuesForSubscriptionWorkloadType

func PossibleValuesForSubscriptionWorkloadType() []string

Types

type AccountStatus

type AccountStatus string
const (
	AccountStatusActive      AccountStatus = "Active"
	AccountStatusDeleted     AccountStatus = "Deleted"
	AccountStatusDisabled    AccountStatus = "Disabled"
	AccountStatusExpired     AccountStatus = "Expired"
	AccountStatusExtended    AccountStatus = "Extended"
	AccountStatusNew         AccountStatus = "New"
	AccountStatusOther       AccountStatus = "Other"
	AccountStatusPending     AccountStatus = "Pending"
	AccountStatusTerminated  AccountStatus = "Terminated"
	AccountStatusTransferred AccountStatus = "Transferred"
	AccountStatusUnderReview AccountStatus = "UnderReview"
)

func (*AccountStatus) UnmarshalJSON

func (s *AccountStatus) UnmarshalJSON(bytes []byte) error

type AccountSubType

type AccountSubType string
const (
	AccountSubTypeEnterprise   AccountSubType = "Enterprise"
	AccountSubTypeIndividual   AccountSubType = "Individual"
	AccountSubTypeNone         AccountSubType = "None"
	AccountSubTypeOther        AccountSubType = "Other"
	AccountSubTypeProfessional AccountSubType = "Professional"
)

func (*AccountSubType) UnmarshalJSON

func (s *AccountSubType) UnmarshalJSON(bytes []byte) error

type AccountType

type AccountType string
const (
	AccountTypeBusiness       AccountType = "Business"
	AccountTypeClassicPartner AccountType = "ClassicPartner"
	AccountTypeEnterprise     AccountType = "Enterprise"
	AccountTypeIndividual     AccountType = "Individual"
	AccountTypeInternal       AccountType = "Internal"
	AccountTypeOther          AccountType = "Other"
	AccountTypePartner        AccountType = "Partner"
	AccountTypeReseller       AccountType = "Reseller"
	AccountTypeTenant         AccountType = "Tenant"
)

func (*AccountType) UnmarshalJSON

func (s *AccountType) UnmarshalJSON(bytes []byte) error

type AddressDetails

type AddressDetails struct {
	AddressLine1   string  `json:"addressLine1"`
	AddressLine2   *string `json:"addressLine2,omitempty"`
	AddressLine3   *string `json:"addressLine3,omitempty"`
	City           *string `json:"city,omitempty"`
	CompanyName    *string `json:"companyName,omitempty"`
	Country        string  `json:"country"`
	District       *string `json:"district,omitempty"`
	Email          *string `json:"email,omitempty"`
	FirstName      *string `json:"firstName,omitempty"`
	IsValidAddress *bool   `json:"isValidAddress,omitempty"`
	LastName       *string `json:"lastName,omitempty"`
	MiddleName     *string `json:"middleName,omitempty"`
	PhoneNumber    *string `json:"phoneNumber,omitempty"`
	PostalCode     *string `json:"postalCode,omitempty"`
	Region         *string `json:"region,omitempty"`
}

type AgreementType

type AgreementType string
const (
	AgreementTypeEnterpriseAgreement            AgreementType = "EnterpriseAgreement"
	AgreementTypeMicrosoftCustomerAgreement     AgreementType = "MicrosoftCustomerAgreement"
	AgreementTypeMicrosoftOnlineServicesProgram AgreementType = "MicrosoftOnlineServicesProgram"
	AgreementTypeMicrosoftPartnerAgreement      AgreementType = "MicrosoftPartnerAgreement"
	AgreementTypeOther                          AgreementType = "Other"
)

func (*AgreementType) UnmarshalJSON

func (s *AgreementType) UnmarshalJSON(bytes []byte) error

type BillingAccountStatusReasonCode

type BillingAccountStatusReasonCode string
const (
	BillingAccountStatusReasonCodeExpired             BillingAccountStatusReasonCode = "Expired"
	BillingAccountStatusReasonCodeManuallyTerminated  BillingAccountStatusReasonCode = "ManuallyTerminated"
	BillingAccountStatusReasonCodeOther               BillingAccountStatusReasonCode = "Other"
	BillingAccountStatusReasonCodeTerminateProcessing BillingAccountStatusReasonCode = "TerminateProcessing"
	BillingAccountStatusReasonCodeTransferred         BillingAccountStatusReasonCode = "Transferred"
	BillingAccountStatusReasonCodeUnusualActivity     BillingAccountStatusReasonCode = "UnusualActivity"
)

func (*BillingAccountStatusReasonCode) UnmarshalJSON

func (s *BillingAccountStatusReasonCode) UnmarshalJSON(bytes []byte) error

type BillingProfileStatus

type BillingProfileStatus string
const (
	BillingProfileStatusActive      BillingProfileStatus = "Active"
	BillingProfileStatusDeleted     BillingProfileStatus = "Deleted"
	BillingProfileStatusDisabled    BillingProfileStatus = "Disabled"
	BillingProfileStatusOther       BillingProfileStatus = "Other"
	BillingProfileStatusUnderReview BillingProfileStatus = "UnderReview"
	BillingProfileStatusWarned      BillingProfileStatus = "Warned"
)

func (*BillingProfileStatus) UnmarshalJSON

func (s *BillingProfileStatus) UnmarshalJSON(bytes []byte) error

type BillingProfileStatusReasonCode

type BillingProfileStatusReasonCode string
const (
	BillingProfileStatusReasonCodeOther                BillingProfileStatusReasonCode = "Other"
	BillingProfileStatusReasonCodePastDue              BillingProfileStatusReasonCode = "PastDue"
	BillingProfileStatusReasonCodeSpendingLimitExpired BillingProfileStatusReasonCode = "SpendingLimitExpired"
	BillingProfileStatusReasonCodeSpendingLimitReached BillingProfileStatusReasonCode = "SpendingLimitReached"
	BillingProfileStatusReasonCodeUnusualActivity      BillingProfileStatusReasonCode = "UnusualActivity"
)

func (*BillingProfileStatusReasonCode) UnmarshalJSON

func (s *BillingProfileStatusReasonCode) UnmarshalJSON(bytes []byte) error

type BillingProperty

type BillingProperty struct {
	Id         *string                    `json:"id,omitempty"`
	Name       *string                    `json:"name,omitempty"`
	Properties *BillingPropertyProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData     `json:"systemData,omitempty"`
	Tags       *map[string]string         `json:"tags,omitempty"`
	Type       *string                    `json:"type,omitempty"`
}

type BillingPropertyClient

type BillingPropertyClient struct {
	Client *resourcemanager.Client
}

func NewBillingPropertyClientWithBaseURI

func NewBillingPropertyClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingPropertyClient, error)

func (BillingPropertyClient) Get

Get ...

func (BillingPropertyClient) Update

Update ...

type BillingPropertyProperties

type BillingPropertyProperties struct {
	AccountAdminNotificationEmailAddress *string                             `json:"accountAdminNotificationEmailAddress,omitempty"`
	BillingAccountAgreementType          *AgreementType                      `json:"billingAccountAgreementType,omitempty"`
	BillingAccountDisplayName            *string                             `json:"billingAccountDisplayName,omitempty"`
	BillingAccountId                     *string                             `json:"billingAccountId,omitempty"`
	BillingAccountSoldToCountry          *string                             `json:"billingAccountSoldToCountry,omitempty"`
	BillingAccountStatus                 *AccountStatus                      `json:"billingAccountStatus,omitempty"`
	BillingAccountStatusReasonCode       *BillingAccountStatusReasonCode     `json:"billingAccountStatusReasonCode,omitempty"`
	BillingAccountSubType                *AccountSubType                     `json:"billingAccountSubType,omitempty"`
	BillingAccountType                   *AccountType                        `json:"billingAccountType,omitempty"`
	BillingCurrency                      *string                             `json:"billingCurrency,omitempty"`
	BillingProfileDisplayName            *string                             `json:"billingProfileDisplayName,omitempty"`
	BillingProfileId                     *string                             `json:"billingProfileId,omitempty"`
	BillingProfilePaymentMethodFamily    *PaymentMethodFamily                `json:"billingProfilePaymentMethodFamily,omitempty"`
	BillingProfilePaymentMethodType      *string                             `json:"billingProfilePaymentMethodType,omitempty"`
	BillingProfileSpendingLimit          *SpendingLimit                      `json:"billingProfileSpendingLimit,omitempty"`
	BillingProfileSpendingLimitDetails   *[]SpendingLimitDetails             `json:"billingProfileSpendingLimitDetails,omitempty"`
	BillingProfileStatus                 *BillingProfileStatus               `json:"billingProfileStatus,omitempty"`
	BillingProfileStatusReasonCode       *BillingProfileStatusReasonCode     `json:"billingProfileStatusReasonCode,omitempty"`
	BillingTenantId                      *string                             `json:"billingTenantId,omitempty"`
	CostCenter                           *string                             `json:"costCenter,omitempty"`
	CustomerDisplayName                  *string                             `json:"customerDisplayName,omitempty"`
	CustomerId                           *string                             `json:"customerId,omitempty"`
	CustomerStatus                       *CustomerStatus                     `json:"customerStatus,omitempty"`
	EnrollmentDetails                    *SubscriptionEnrollmentDetails      `json:"enrollmentDetails,omitempty"`
	InvoiceSectionDisplayName            *string                             `json:"invoiceSectionDisplayName,omitempty"`
	InvoiceSectionId                     *string                             `json:"invoiceSectionId,omitempty"`
	InvoiceSectionStatus                 *InvoiceSectionState                `json:"invoiceSectionStatus,omitempty"`
	InvoiceSectionStatusReasonCode       *InvoiceSectionStateReasonCode      `json:"invoiceSectionStatusReasonCode,omitempty"`
	IsAccountAdmin                       *bool                               `json:"isAccountAdmin,omitempty"`
	IsTransitionedBillingAccount         *bool                               `json:"isTransitionedBillingAccount,omitempty"`
	ProductId                            *string                             `json:"productId,omitempty"`
	ProductName                          *string                             `json:"productName,omitempty"`
	SkuDescription                       *string                             `json:"skuDescription,omitempty"`
	SkuId                                *string                             `json:"skuId,omitempty"`
	SubscriptionBillingStatus            *BillingSubscriptionStatus          `json:"subscriptionBillingStatus,omitempty"`
	SubscriptionBillingStatusDetails     *[]BillingSubscriptionStatusDetails `json:"subscriptionBillingStatusDetails,omitempty"`
	SubscriptionBillingType              *SubscriptionBillingType            `json:"subscriptionBillingType,omitempty"`
	SubscriptionServiceUsageAddress      *AddressDetails                     `json:"subscriptionServiceUsageAddress,omitempty"`
	SubscriptionWorkloadType             *SubscriptionWorkloadType           `json:"subscriptionWorkloadType,omitempty"`
}

type BillingSubscriptionStatus

type BillingSubscriptionStatus string
const (
	BillingSubscriptionStatusActive    BillingSubscriptionStatus = "Active"
	BillingSubscriptionStatusAutoRenew BillingSubscriptionStatus = "AutoRenew"
	BillingSubscriptionStatusCancelled BillingSubscriptionStatus = "Cancelled"
	BillingSubscriptionStatusDeleted   BillingSubscriptionStatus = "Deleted"
	BillingSubscriptionStatusDisabled  BillingSubscriptionStatus = "Disabled"
	BillingSubscriptionStatusExpired   BillingSubscriptionStatus = "Expired"
	BillingSubscriptionStatusExpiring  BillingSubscriptionStatus = "Expiring"
	BillingSubscriptionStatusFailed    BillingSubscriptionStatus = "Failed"
	BillingSubscriptionStatusOther     BillingSubscriptionStatus = "Other"
	BillingSubscriptionStatusSuspended BillingSubscriptionStatus = "Suspended"
	BillingSubscriptionStatusUnknown   BillingSubscriptionStatus = "Unknown"
	BillingSubscriptionStatusWarned    BillingSubscriptionStatus = "Warned"
)

func (*BillingSubscriptionStatus) UnmarshalJSON

func (s *BillingSubscriptionStatus) UnmarshalJSON(bytes []byte) error

type BillingSubscriptionStatusDetails

type BillingSubscriptionStatusDetails struct {
	EffectiveDate *string                   `json:"effectiveDate,omitempty"`
	Reason        *SubscriptionStatusReason `json:"reason,omitempty"`
}

func (*BillingSubscriptionStatusDetails) GetEffectiveDateAsTime

func (o *BillingSubscriptionStatusDetails) GetEffectiveDateAsTime() (*time.Time, error)

func (*BillingSubscriptionStatusDetails) SetEffectiveDateAsTime

func (o *BillingSubscriptionStatusDetails) SetEffectiveDateAsTime(input time.Time)

type CustomerStatus

type CustomerStatus string
const (
	CustomerStatusActive      CustomerStatus = "Active"
	CustomerStatusDeleted     CustomerStatus = "Deleted"
	CustomerStatusDisabled    CustomerStatus = "Disabled"
	CustomerStatusOther       CustomerStatus = "Other"
	CustomerStatusPending     CustomerStatus = "Pending"
	CustomerStatusUnderReview CustomerStatus = "UnderReview"
	CustomerStatusWarned      CustomerStatus = "Warned"
)

func (*CustomerStatus) UnmarshalJSON

func (s *CustomerStatus) UnmarshalJSON(bytes []byte) error

type GetOperationOptions

type GetOperationOptions struct {
	IncludeBillingCountry   *bool
	IncludeTransitionStatus *bool
}

func DefaultGetOperationOptions

func DefaultGetOperationOptions() GetOperationOptions

func (GetOperationOptions) ToHeaders

func (o GetOperationOptions) ToHeaders() *client.Headers

func (GetOperationOptions) ToOData

func (o GetOperationOptions) ToOData() *odata.Query

func (GetOperationOptions) ToQuery

func (o GetOperationOptions) ToQuery() *client.QueryParams

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingProperty
}

type InvoiceSectionState

type InvoiceSectionState string
const (
	InvoiceSectionStateActive      InvoiceSectionState = "Active"
	InvoiceSectionStateDeleted     InvoiceSectionState = "Deleted"
	InvoiceSectionStateDisabled    InvoiceSectionState = "Disabled"
	InvoiceSectionStateOther       InvoiceSectionState = "Other"
	InvoiceSectionStateRestricted  InvoiceSectionState = "Restricted"
	InvoiceSectionStateUnderReview InvoiceSectionState = "UnderReview"
	InvoiceSectionStateWarned      InvoiceSectionState = "Warned"
)

func (*InvoiceSectionState) UnmarshalJSON

func (s *InvoiceSectionState) UnmarshalJSON(bytes []byte) error

type InvoiceSectionStateReasonCode

type InvoiceSectionStateReasonCode string
const (
	InvoiceSectionStateReasonCodeOther                InvoiceSectionStateReasonCode = "Other"
	InvoiceSectionStateReasonCodePastDue              InvoiceSectionStateReasonCode = "PastDue"
	InvoiceSectionStateReasonCodeSpendingLimitExpired InvoiceSectionStateReasonCode = "SpendingLimitExpired"
	InvoiceSectionStateReasonCodeSpendingLimitReached InvoiceSectionStateReasonCode = "SpendingLimitReached"
	InvoiceSectionStateReasonCodeUnusualActivity      InvoiceSectionStateReasonCode = "UnusualActivity"
)

func (*InvoiceSectionStateReasonCode) UnmarshalJSON

func (s *InvoiceSectionStateReasonCode) UnmarshalJSON(bytes []byte) error

type PaymentMethodFamily

type PaymentMethodFamily string
const (
	PaymentMethodFamilyCheckWire   PaymentMethodFamily = "CheckWire"
	PaymentMethodFamilyCreditCard  PaymentMethodFamily = "CreditCard"
	PaymentMethodFamilyCredits     PaymentMethodFamily = "Credits"
	PaymentMethodFamilyDirectDebit PaymentMethodFamily = "DirectDebit"
	PaymentMethodFamilyEWallet     PaymentMethodFamily = "EWallet"
	PaymentMethodFamilyNone        PaymentMethodFamily = "None"
	PaymentMethodFamilyOther       PaymentMethodFamily = "Other"
	PaymentMethodFamilyTaskOrder   PaymentMethodFamily = "TaskOrder"
)

func (*PaymentMethodFamily) UnmarshalJSON

func (s *PaymentMethodFamily) UnmarshalJSON(bytes []byte) error

type SpendingLimit

type SpendingLimit string
const (
	SpendingLimitOff SpendingLimit = "Off"
	SpendingLimitOn  SpendingLimit = "On"
)

func (*SpendingLimit) UnmarshalJSON

func (s *SpendingLimit) UnmarshalJSON(bytes []byte) error

type SpendingLimitDetails

type SpendingLimitDetails struct {
	Amount    *float64             `json:"amount,omitempty"`
	Currency  *string              `json:"currency,omitempty"`
	EndDate   *string              `json:"endDate,omitempty"`
	StartDate *string              `json:"startDate,omitempty"`
	Status    *SpendingLimitStatus `json:"status,omitempty"`
	Type      *SpendingLimitType   `json:"type,omitempty"`
}

func (*SpendingLimitDetails) GetEndDateAsTime

func (o *SpendingLimitDetails) GetEndDateAsTime() (*time.Time, error)

func (*SpendingLimitDetails) GetStartDateAsTime

func (o *SpendingLimitDetails) GetStartDateAsTime() (*time.Time, error)

func (*SpendingLimitDetails) SetEndDateAsTime

func (o *SpendingLimitDetails) SetEndDateAsTime(input time.Time)

func (*SpendingLimitDetails) SetStartDateAsTime

func (o *SpendingLimitDetails) SetStartDateAsTime(input time.Time)

type SpendingLimitStatus

type SpendingLimitStatus string
const (
	SpendingLimitStatusActive       SpendingLimitStatus = "Active"
	SpendingLimitStatusExpired      SpendingLimitStatus = "Expired"
	SpendingLimitStatusLimitReached SpendingLimitStatus = "LimitReached"
	SpendingLimitStatusLimitRemoved SpendingLimitStatus = "LimitRemoved"
	SpendingLimitStatusNone         SpendingLimitStatus = "None"
	SpendingLimitStatusOther        SpendingLimitStatus = "Other"
)

func (*SpendingLimitStatus) UnmarshalJSON

func (s *SpendingLimitStatus) UnmarshalJSON(bytes []byte) error

type SpendingLimitType

type SpendingLimitType string
const (
	SpendingLimitTypeAcademicSponsorship     SpendingLimitType = "AcademicSponsorship"
	SpendingLimitTypeAzureConsumptionCredit  SpendingLimitType = "AzureConsumptionCredit"
	SpendingLimitTypeAzureForStudents        SpendingLimitType = "AzureForStudents"
	SpendingLimitTypeAzureForStudentsStarter SpendingLimitType = "AzureForStudentsStarter"
	SpendingLimitTypeAzurePassSponsorship    SpendingLimitType = "AzurePassSponsorship"
	SpendingLimitTypeFreeAccount             SpendingLimitType = "FreeAccount"
	SpendingLimitTypeMSDN                    SpendingLimitType = "MSDN"
	SpendingLimitTypeMpnSponsorship          SpendingLimitType = "MpnSponsorship"
	SpendingLimitTypeNonProfitSponsorship    SpendingLimitType = "NonProfitSponsorship"
	SpendingLimitTypeNone                    SpendingLimitType = "None"
	SpendingLimitTypeOther                   SpendingLimitType = "Other"
	SpendingLimitTypeSandbox                 SpendingLimitType = "Sandbox"
	SpendingLimitTypeSponsorship             SpendingLimitType = "Sponsorship"
	SpendingLimitTypeStartupSponsorship      SpendingLimitType = "StartupSponsorship"
	SpendingLimitTypeVisualStudio            SpendingLimitType = "VisualStudio"
)

func (*SpendingLimitType) UnmarshalJSON

func (s *SpendingLimitType) UnmarshalJSON(bytes []byte) error

type SubscriptionBillingType

type SubscriptionBillingType string
const (
	SubscriptionBillingTypeBenefit SubscriptionBillingType = "Benefit"
	SubscriptionBillingTypeFree    SubscriptionBillingType = "Free"
	SubscriptionBillingTypeNone    SubscriptionBillingType = "None"
	SubscriptionBillingTypePaid    SubscriptionBillingType = "Paid"
	SubscriptionBillingTypePrePaid SubscriptionBillingType = "PrePaid"
)

func (*SubscriptionBillingType) UnmarshalJSON

func (s *SubscriptionBillingType) UnmarshalJSON(bytes []byte) error

type SubscriptionEnrollmentDetails

type SubscriptionEnrollmentDetails struct {
	DepartmentDisplayName        *string `json:"departmentDisplayName,omitempty"`
	DepartmentId                 *string `json:"departmentId,omitempty"`
	EnrollmentAccountDisplayName *string `json:"enrollmentAccountDisplayName,omitempty"`
	EnrollmentAccountId          *string `json:"enrollmentAccountId,omitempty"`
	EnrollmentAccountStatus      *string `json:"enrollmentAccountStatus,omitempty"`
}

type SubscriptionStatusReason

type SubscriptionStatusReason string
const (
	SubscriptionStatusReasonCancelled            SubscriptionStatusReason = "Cancelled"
	SubscriptionStatusReasonExpired              SubscriptionStatusReason = "Expired"
	SubscriptionStatusReasonNone                 SubscriptionStatusReason = "None"
	SubscriptionStatusReasonOther                SubscriptionStatusReason = "Other"
	SubscriptionStatusReasonPastDue              SubscriptionStatusReason = "PastDue"
	SubscriptionStatusReasonPolicyViolation      SubscriptionStatusReason = "PolicyViolation"
	SubscriptionStatusReasonSpendingLimitReached SubscriptionStatusReason = "SpendingLimitReached"
	SubscriptionStatusReasonSuspiciousActivity   SubscriptionStatusReason = "SuspiciousActivity"
	SubscriptionStatusReasonTransferred          SubscriptionStatusReason = "Transferred"
)

func (*SubscriptionStatusReason) UnmarshalJSON

func (s *SubscriptionStatusReason) UnmarshalJSON(bytes []byte) error

type SubscriptionWorkloadType

type SubscriptionWorkloadType string
const (
	SubscriptionWorkloadTypeDevTest    SubscriptionWorkloadType = "DevTest"
	SubscriptionWorkloadTypeInternal   SubscriptionWorkloadType = "Internal"
	SubscriptionWorkloadTypeNone       SubscriptionWorkloadType = "None"
	SubscriptionWorkloadTypeProduction SubscriptionWorkloadType = "Production"
)

func (*SubscriptionWorkloadType) UnmarshalJSON

func (s *SubscriptionWorkloadType) UnmarshalJSON(bytes []byte) error

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingProperty
}

Jump to

Keyboard shortcuts

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