1package billing 2 3// Copyright (c) Microsoft Corporation. All rights reserved. 4// Licensed under the MIT License. See License.txt in the project root for license information. 5// 6// Code generated by Microsoft (R) AutoRest Code Generator. 7// Changes may cause incorrect behavior and will be lost if the code is regenerated. 8 9// AcceptanceMode enumerates the values for acceptance mode. 10type AcceptanceMode string 11 12const ( 13 // ClickToAccept ... 14 ClickToAccept AcceptanceMode = "ClickToAccept" 15 // ESignEmbedded ... 16 ESignEmbedded AcceptanceMode = "ESignEmbedded" 17 // ESignOffline ... 18 ESignOffline AcceptanceMode = "ESignOffline" 19) 20 21// PossibleAcceptanceModeValues returns an array of possible values for the AcceptanceMode const type. 22func PossibleAcceptanceModeValues() []AcceptanceMode { 23 return []AcceptanceMode{ClickToAccept, ESignEmbedded, ESignOffline} 24} 25 26// AccountStatus enumerates the values for account status. 27type AccountStatus string 28 29const ( 30 // Active ... 31 Active AccountStatus = "Active" 32 // Deleted ... 33 Deleted AccountStatus = "Deleted" 34 // Disabled ... 35 Disabled AccountStatus = "Disabled" 36 // Expired ... 37 Expired AccountStatus = "Expired" 38 // Extended ... 39 Extended AccountStatus = "Extended" 40 // Terminated ... 41 Terminated AccountStatus = "Terminated" 42 // Transferred ... 43 Transferred AccountStatus = "Transferred" 44) 45 46// PossibleAccountStatusValues returns an array of possible values for the AccountStatus const type. 47func PossibleAccountStatusValues() []AccountStatus { 48 return []AccountStatus{Active, Deleted, Disabled, Expired, Extended, Terminated, Transferred} 49} 50 51// AccountType enumerates the values for account type. 52type AccountType string 53 54const ( 55 // Enterprise ... 56 Enterprise AccountType = "Enterprise" 57 // Individual ... 58 Individual AccountType = "Individual" 59 // Partner ... 60 Partner AccountType = "Partner" 61) 62 63// PossibleAccountTypeValues returns an array of possible values for the AccountType const type. 64func PossibleAccountTypeValues() []AccountType { 65 return []AccountType{Enterprise, Individual, Partner} 66} 67 68// AddressValidationStatus enumerates the values for address validation status. 69type AddressValidationStatus string 70 71const ( 72 // Invalid ... 73 Invalid AddressValidationStatus = "Invalid" 74 // Valid ... 75 Valid AddressValidationStatus = "Valid" 76) 77 78// PossibleAddressValidationStatusValues returns an array of possible values for the AddressValidationStatus const type. 79func PossibleAddressValidationStatusValues() []AddressValidationStatus { 80 return []AddressValidationStatus{Invalid, Valid} 81} 82 83// AgreementType enumerates the values for agreement type. 84type AgreementType string 85 86const ( 87 // EnterpriseAgreement ... 88 EnterpriseAgreement AgreementType = "EnterpriseAgreement" 89 // MicrosoftCustomerAgreement ... 90 MicrosoftCustomerAgreement AgreementType = "MicrosoftCustomerAgreement" 91 // MicrosoftOnlineServicesProgram ... 92 MicrosoftOnlineServicesProgram AgreementType = "MicrosoftOnlineServicesProgram" 93 // MicrosoftPartnerAgreement ... 94 MicrosoftPartnerAgreement AgreementType = "MicrosoftPartnerAgreement" 95) 96 97// PossibleAgreementTypeValues returns an array of possible values for the AgreementType const type. 98func PossibleAgreementTypeValues() []AgreementType { 99 return []AgreementType{EnterpriseAgreement, MicrosoftCustomerAgreement, MicrosoftOnlineServicesProgram, MicrosoftPartnerAgreement} 100} 101 102// AutoRenew enumerates the values for auto renew. 103type AutoRenew string 104 105const ( 106 // Off ... 107 Off AutoRenew = "Off" 108 // On ... 109 On AutoRenew = "On" 110) 111 112// PossibleAutoRenewValues returns an array of possible values for the AutoRenew const type. 113func PossibleAutoRenewValues() []AutoRenew { 114 return []AutoRenew{Off, On} 115} 116 117// Category enumerates the values for category. 118type Category string 119 120const ( 121 // CategoryAffiliatePurchaseTerms ... 122 CategoryAffiliatePurchaseTerms Category = "AffiliatePurchaseTerms" 123 // CategoryMicrosoftCustomerAgreement ... 124 CategoryMicrosoftCustomerAgreement Category = "MicrosoftCustomerAgreement" 125 // CategoryOther ... 126 CategoryOther Category = "Other" 127) 128 129// PossibleCategoryValues returns an array of possible values for the Category const type. 130func PossibleCategoryValues() []Category { 131 return []Category{CategoryAffiliatePurchaseTerms, CategoryMicrosoftCustomerAgreement, CategoryOther} 132} 133 134// DocumentSource enumerates the values for document source. 135type DocumentSource string 136 137const ( 138 // DRS ... 139 DRS DocumentSource = "DRS" 140 // ENF ... 141 ENF DocumentSource = "ENF" 142) 143 144// PossibleDocumentSourceValues returns an array of possible values for the DocumentSource const type. 145func PossibleDocumentSourceValues() []DocumentSource { 146 return []DocumentSource{DRS, ENF} 147} 148 149// DocumentType enumerates the values for document type. 150type DocumentType string 151 152const ( 153 // DocumentTypeCreditNote ... 154 DocumentTypeCreditNote DocumentType = "CreditNote" 155 // DocumentTypeInvoice ... 156 DocumentTypeInvoice DocumentType = "Invoice" 157 // DocumentTypeTaxReceipt ... 158 DocumentTypeTaxReceipt DocumentType = "TaxReceipt" 159 // DocumentTypeVoidNote ... 160 DocumentTypeVoidNote DocumentType = "VoidNote" 161) 162 163// PossibleDocumentTypeValues returns an array of possible values for the DocumentType const type. 164func PossibleDocumentTypeValues() []DocumentType { 165 return []DocumentType{DocumentTypeCreditNote, DocumentTypeInvoice, DocumentTypeTaxReceipt, DocumentTypeVoidNote} 166} 167 168// Frequency enumerates the values for frequency. 169type Frequency string 170 171const ( 172 // Monthly ... 173 Monthly Frequency = "Monthly" 174 // OneTime ... 175 OneTime Frequency = "OneTime" 176 // UsageBased ... 177 UsageBased Frequency = "UsageBased" 178) 179 180// PossibleFrequencyValues returns an array of possible values for the Frequency const type. 181func PossibleFrequencyValues() []Frequency { 182 return []Frequency{Monthly, OneTime, UsageBased} 183} 184 185// InvoiceDocumentType enumerates the values for invoice document type. 186type InvoiceDocumentType string 187 188const ( 189 // InvoiceDocumentTypeCreditNote ... 190 InvoiceDocumentTypeCreditNote InvoiceDocumentType = "CreditNote" 191 // InvoiceDocumentTypeInvoice ... 192 InvoiceDocumentTypeInvoice InvoiceDocumentType = "Invoice" 193) 194 195// PossibleInvoiceDocumentTypeValues returns an array of possible values for the InvoiceDocumentType const type. 196func PossibleInvoiceDocumentTypeValues() []InvoiceDocumentType { 197 return []InvoiceDocumentType{InvoiceDocumentTypeCreditNote, InvoiceDocumentTypeInvoice} 198} 199 200// InvoiceSectionState enumerates the values for invoice section state. 201type InvoiceSectionState string 202 203const ( 204 // InvoiceSectionStateActive ... 205 InvoiceSectionStateActive InvoiceSectionState = "Active" 206 // InvoiceSectionStateRestricted ... 207 InvoiceSectionStateRestricted InvoiceSectionState = "Restricted" 208) 209 210// PossibleInvoiceSectionStateValues returns an array of possible values for the InvoiceSectionState const type. 211func PossibleInvoiceSectionStateValues() []InvoiceSectionState { 212 return []InvoiceSectionState{InvoiceSectionStateActive, InvoiceSectionStateRestricted} 213} 214 215// InvoiceStatus enumerates the values for invoice status. 216type InvoiceStatus string 217 218const ( 219 // Due ... 220 Due InvoiceStatus = "Due" 221 // OverDue ... 222 OverDue InvoiceStatus = "OverDue" 223 // Paid ... 224 Paid InvoiceStatus = "Paid" 225 // Void ... 226 Void InvoiceStatus = "Void" 227) 228 229// PossibleInvoiceStatusValues returns an array of possible values for the InvoiceStatus const type. 230func PossibleInvoiceStatusValues() []InvoiceStatus { 231 return []InvoiceStatus{Due, OverDue, Paid, Void} 232} 233 234// InvoiceType enumerates the values for invoice type. 235type InvoiceType string 236 237const ( 238 // AzureMarketplace ... 239 AzureMarketplace InvoiceType = "AzureMarketplace" 240 // AzureService ... 241 AzureService InvoiceType = "AzureService" 242 // AzureSupport ... 243 AzureSupport InvoiceType = "AzureSupport" 244) 245 246// PossibleInvoiceTypeValues returns an array of possible values for the InvoiceType const type. 247func PossibleInvoiceTypeValues() []InvoiceType { 248 return []InvoiceType{AzureMarketplace, AzureService, AzureSupport} 249} 250 251// MarketplacePurchasesPolicy enumerates the values for marketplace purchases policy. 252type MarketplacePurchasesPolicy string 253 254const ( 255 // AllAllowed ... 256 AllAllowed MarketplacePurchasesPolicy = "AllAllowed" 257 // NotAllowed ... 258 NotAllowed MarketplacePurchasesPolicy = "NotAllowed" 259 // OnlyFreeAllowed ... 260 OnlyFreeAllowed MarketplacePurchasesPolicy = "OnlyFreeAllowed" 261) 262 263// PossibleMarketplacePurchasesPolicyValues returns an array of possible values for the MarketplacePurchasesPolicy const type. 264func PossibleMarketplacePurchasesPolicyValues() []MarketplacePurchasesPolicy { 265 return []MarketplacePurchasesPolicy{AllAllowed, NotAllowed, OnlyFreeAllowed} 266} 267 268// PaymentMethodFamily enumerates the values for payment method family. 269type PaymentMethodFamily string 270 271const ( 272 // CheckWire ... 273 CheckWire PaymentMethodFamily = "CheckWire" 274 // CreditCard ... 275 CreditCard PaymentMethodFamily = "CreditCard" 276 // Credits ... 277 Credits PaymentMethodFamily = "Credits" 278 // None ... 279 None PaymentMethodFamily = "None" 280) 281 282// PossiblePaymentMethodFamilyValues returns an array of possible values for the PaymentMethodFamily const type. 283func PossiblePaymentMethodFamilyValues() []PaymentMethodFamily { 284 return []PaymentMethodFamily{CheckWire, CreditCard, Credits, None} 285} 286 287// ProductStatusType enumerates the values for product status type. 288type ProductStatusType string 289 290const ( 291 // ProductStatusTypeActive ... 292 ProductStatusTypeActive ProductStatusType = "Active" 293 // ProductStatusTypeAutoRenew ... 294 ProductStatusTypeAutoRenew ProductStatusType = "AutoRenew" 295 // ProductStatusTypeCancelled ... 296 ProductStatusTypeCancelled ProductStatusType = "Cancelled" 297 // ProductStatusTypeDisabled ... 298 ProductStatusTypeDisabled ProductStatusType = "Disabled" 299 // ProductStatusTypeExpired ... 300 ProductStatusTypeExpired ProductStatusType = "Expired" 301 // ProductStatusTypeExpiring ... 302 ProductStatusTypeExpiring ProductStatusType = "Expiring" 303 // ProductStatusTypeInactive ... 304 ProductStatusTypeInactive ProductStatusType = "Inactive" 305 // ProductStatusTypePastDue ... 306 ProductStatusTypePastDue ProductStatusType = "PastDue" 307) 308 309// PossibleProductStatusTypeValues returns an array of possible values for the ProductStatusType const type. 310func PossibleProductStatusTypeValues() []ProductStatusType { 311 return []ProductStatusType{ProductStatusTypeActive, ProductStatusTypeAutoRenew, ProductStatusTypeCancelled, ProductStatusTypeDisabled, ProductStatusTypeExpired, ProductStatusTypeExpiring, ProductStatusTypeInactive, ProductStatusTypePastDue} 312} 313 314// ProductTransferValidationErrorCode enumerates the values for product transfer validation error code. 315type ProductTransferValidationErrorCode string 316 317const ( 318 // CrossBillingAccountNotAllowed ... 319 CrossBillingAccountNotAllowed ProductTransferValidationErrorCode = "CrossBillingAccountNotAllowed" 320 // DestinationBillingProfilePastDue ... 321 DestinationBillingProfilePastDue ProductTransferValidationErrorCode = "DestinationBillingProfilePastDue" 322 // InsufficientPermissionOnDestination ... 323 InsufficientPermissionOnDestination ProductTransferValidationErrorCode = "InsufficientPermissionOnDestination" 324 // InsufficientPermissionOnSource ... 325 InsufficientPermissionOnSource ProductTransferValidationErrorCode = "InsufficientPermissionOnSource" 326 // InvalidSource ... 327 InvalidSource ProductTransferValidationErrorCode = "InvalidSource" 328 // NotAvailableForDestinationMarket ... 329 NotAvailableForDestinationMarket ProductTransferValidationErrorCode = "NotAvailableForDestinationMarket" 330 // OneTimePurchaseProductTransferNotAllowed ... 331 OneTimePurchaseProductTransferNotAllowed ProductTransferValidationErrorCode = "OneTimePurchaseProductTransferNotAllowed" 332 // ProductNotActive ... 333 ProductNotActive ProductTransferValidationErrorCode = "ProductNotActive" 334 // ProductTypeNotSupported ... 335 ProductTypeNotSupported ProductTransferValidationErrorCode = "ProductTypeNotSupported" 336) 337 338// PossibleProductTransferValidationErrorCodeValues returns an array of possible values for the ProductTransferValidationErrorCode const type. 339func PossibleProductTransferValidationErrorCodeValues() []ProductTransferValidationErrorCode { 340 return []ProductTransferValidationErrorCode{CrossBillingAccountNotAllowed, DestinationBillingProfilePastDue, InsufficientPermissionOnDestination, InsufficientPermissionOnSource, InvalidSource, NotAvailableForDestinationMarket, OneTimePurchaseProductTransferNotAllowed, ProductNotActive, ProductTypeNotSupported} 341} 342 343// ProfileSpendingLimit enumerates the values for profile spending limit. 344type ProfileSpendingLimit string 345 346const ( 347 // ProfileSpendingLimitOff ... 348 ProfileSpendingLimitOff ProfileSpendingLimit = "Off" 349 // ProfileSpendingLimitOn ... 350 ProfileSpendingLimitOn ProfileSpendingLimit = "On" 351) 352 353// PossibleProfileSpendingLimitValues returns an array of possible values for the ProfileSpendingLimit const type. 354func PossibleProfileSpendingLimitValues() []ProfileSpendingLimit { 355 return []ProfileSpendingLimit{ProfileSpendingLimitOff, ProfileSpendingLimitOn} 356} 357 358// ProfileStatus enumerates the values for profile status. 359type ProfileStatus string 360 361const ( 362 // ProfileStatusActive ... 363 ProfileStatusActive ProfileStatus = "Active" 364 // ProfileStatusDisabled ... 365 ProfileStatusDisabled ProfileStatus = "Disabled" 366 // ProfileStatusWarned ... 367 ProfileStatusWarned ProfileStatus = "Warned" 368) 369 370// PossibleProfileStatusValues returns an array of possible values for the ProfileStatus const type. 371func PossibleProfileStatusValues() []ProfileStatus { 372 return []ProfileStatus{ProfileStatusActive, ProfileStatusDisabled, ProfileStatusWarned} 373} 374 375// ProfileStatusReasonCode enumerates the values for profile status reason code. 376type ProfileStatusReasonCode string 377 378const ( 379 // PastDue ... 380 PastDue ProfileStatusReasonCode = "PastDue" 381 // SpendingLimitExpired ... 382 SpendingLimitExpired ProfileStatusReasonCode = "SpendingLimitExpired" 383 // SpendingLimitReached ... 384 SpendingLimitReached ProfileStatusReasonCode = "SpendingLimitReached" 385) 386 387// PossibleProfileStatusReasonCodeValues returns an array of possible values for the ProfileStatusReasonCode const type. 388func PossibleProfileStatusReasonCodeValues() []ProfileStatusReasonCode { 389 return []ProfileStatusReasonCode{PastDue, SpendingLimitExpired, SpendingLimitReached} 390} 391 392// RelationshipType enumerates the values for relationship type. 393type RelationshipType string 394 395const ( 396 // CSPPartner ... 397 CSPPartner RelationshipType = "CSPPartner" 398 // Direct ... 399 Direct RelationshipType = "Direct" 400 // IndirectCustomer ... 401 IndirectCustomer RelationshipType = "IndirectCustomer" 402 // IndirectPartner ... 403 IndirectPartner RelationshipType = "IndirectPartner" 404) 405 406// PossibleRelationshipTypeValues returns an array of possible values for the RelationshipType const type. 407func PossibleRelationshipTypeValues() []RelationshipType { 408 return []RelationshipType{CSPPartner, Direct, IndirectCustomer, IndirectPartner} 409} 410 411// ReservationPurchasesPolicy enumerates the values for reservation purchases policy. 412type ReservationPurchasesPolicy string 413 414const ( 415 // ReservationPurchasesPolicyAllowed ... 416 ReservationPurchasesPolicyAllowed ReservationPurchasesPolicy = "Allowed" 417 // ReservationPurchasesPolicyNotAllowed ... 418 ReservationPurchasesPolicyNotAllowed ReservationPurchasesPolicy = "NotAllowed" 419) 420 421// PossibleReservationPurchasesPolicyValues returns an array of possible values for the ReservationPurchasesPolicy const type. 422func PossibleReservationPurchasesPolicyValues() []ReservationPurchasesPolicy { 423 return []ReservationPurchasesPolicy{ReservationPurchasesPolicyAllowed, ReservationPurchasesPolicyNotAllowed} 424} 425 426// ReservationType enumerates the values for reservation type. 427type ReservationType string 428 429const ( 430 // Purchase ... 431 Purchase ReservationType = "Purchase" 432 // UsageCharge ... 433 UsageCharge ReservationType = "Usage Charge" 434) 435 436// PossibleReservationTypeValues returns an array of possible values for the ReservationType const type. 437func PossibleReservationTypeValues() []ReservationType { 438 return []ReservationType{Purchase, UsageCharge} 439} 440 441// SpendingLimit enumerates the values for spending limit. 442type SpendingLimit string 443 444const ( 445 // SpendingLimitOff ... 446 SpendingLimitOff SpendingLimit = "Off" 447 // SpendingLimitOn ... 448 SpendingLimitOn SpendingLimit = "On" 449) 450 451// PossibleSpendingLimitValues returns an array of possible values for the SpendingLimit const type. 452func PossibleSpendingLimitValues() []SpendingLimit { 453 return []SpendingLimit{SpendingLimitOff, SpendingLimitOn} 454} 455 456// SpendingLimitForBillingProfile enumerates the values for spending limit for billing profile. 457type SpendingLimitForBillingProfile string 458 459const ( 460 // SpendingLimitForBillingProfileOff ... 461 SpendingLimitForBillingProfileOff SpendingLimitForBillingProfile = "Off" 462 // SpendingLimitForBillingProfileOn ... 463 SpendingLimitForBillingProfileOn SpendingLimitForBillingProfile = "On" 464) 465 466// PossibleSpendingLimitForBillingProfileValues returns an array of possible values for the SpendingLimitForBillingProfile const type. 467func PossibleSpendingLimitForBillingProfileValues() []SpendingLimitForBillingProfile { 468 return []SpendingLimitForBillingProfile{SpendingLimitForBillingProfileOff, SpendingLimitForBillingProfileOn} 469} 470 471// StatusReasonCode enumerates the values for status reason code. 472type StatusReasonCode string 473 474const ( 475 // StatusReasonCodePastDue ... 476 StatusReasonCodePastDue StatusReasonCode = "PastDue" 477 // StatusReasonCodeSpendingLimitExpired ... 478 StatusReasonCodeSpendingLimitExpired StatusReasonCode = "SpendingLimitExpired" 479 // StatusReasonCodeSpendingLimitReached ... 480 StatusReasonCodeSpendingLimitReached StatusReasonCode = "SpendingLimitReached" 481) 482 483// PossibleStatusReasonCodeValues returns an array of possible values for the StatusReasonCode const type. 484func PossibleStatusReasonCodeValues() []StatusReasonCode { 485 return []StatusReasonCode{StatusReasonCodePastDue, StatusReasonCodeSpendingLimitExpired, StatusReasonCodeSpendingLimitReached} 486} 487 488// StatusReasonCodeForBillingProfile enumerates the values for status reason code for billing profile. 489type StatusReasonCodeForBillingProfile string 490 491const ( 492 // StatusReasonCodeForBillingProfilePastDue ... 493 StatusReasonCodeForBillingProfilePastDue StatusReasonCodeForBillingProfile = "PastDue" 494 // StatusReasonCodeForBillingProfileSpendingLimitExpired ... 495 StatusReasonCodeForBillingProfileSpendingLimitExpired StatusReasonCodeForBillingProfile = "SpendingLimitExpired" 496 // StatusReasonCodeForBillingProfileSpendingLimitReached ... 497 StatusReasonCodeForBillingProfileSpendingLimitReached StatusReasonCodeForBillingProfile = "SpendingLimitReached" 498) 499 500// PossibleStatusReasonCodeForBillingProfileValues returns an array of possible values for the StatusReasonCodeForBillingProfile const type. 501func PossibleStatusReasonCodeForBillingProfileValues() []StatusReasonCodeForBillingProfile { 502 return []StatusReasonCodeForBillingProfile{StatusReasonCodeForBillingProfilePastDue, StatusReasonCodeForBillingProfileSpendingLimitExpired, StatusReasonCodeForBillingProfileSpendingLimitReached} 503} 504 505// SubscriptionStatusType enumerates the values for subscription status type. 506type SubscriptionStatusType string 507 508const ( 509 // SubscriptionStatusTypeAbandoned ... 510 SubscriptionStatusTypeAbandoned SubscriptionStatusType = "Abandoned" 511 // SubscriptionStatusTypeActive ... 512 SubscriptionStatusTypeActive SubscriptionStatusType = "Active" 513 // SubscriptionStatusTypeDeleted ... 514 SubscriptionStatusTypeDeleted SubscriptionStatusType = "Deleted" 515 // SubscriptionStatusTypeInactive ... 516 SubscriptionStatusTypeInactive SubscriptionStatusType = "Inactive" 517 // SubscriptionStatusTypeWarning ... 518 SubscriptionStatusTypeWarning SubscriptionStatusType = "Warning" 519) 520 521// PossibleSubscriptionStatusTypeValues returns an array of possible values for the SubscriptionStatusType const type. 522func PossibleSubscriptionStatusTypeValues() []SubscriptionStatusType { 523 return []SubscriptionStatusType{SubscriptionStatusTypeAbandoned, SubscriptionStatusTypeActive, SubscriptionStatusTypeDeleted, SubscriptionStatusTypeInactive, SubscriptionStatusTypeWarning} 524} 525 526// SubscriptionTransferValidationErrorCode enumerates the values for subscription transfer validation error 527// code. 528type SubscriptionTransferValidationErrorCode string 529 530const ( 531 // SubscriptionTransferValidationErrorCodeCrossBillingAccountNotAllowed ... 532 SubscriptionTransferValidationErrorCodeCrossBillingAccountNotAllowed SubscriptionTransferValidationErrorCode = "CrossBillingAccountNotAllowed" 533 // SubscriptionTransferValidationErrorCodeDestinationBillingProfilePastDue ... 534 SubscriptionTransferValidationErrorCodeDestinationBillingProfilePastDue SubscriptionTransferValidationErrorCode = "DestinationBillingProfilePastDue" 535 // SubscriptionTransferValidationErrorCodeInsufficientPermissionOnDestination ... 536 SubscriptionTransferValidationErrorCodeInsufficientPermissionOnDestination SubscriptionTransferValidationErrorCode = "InsufficientPermissionOnDestination" 537 // SubscriptionTransferValidationErrorCodeInsufficientPermissionOnSource ... 538 SubscriptionTransferValidationErrorCodeInsufficientPermissionOnSource SubscriptionTransferValidationErrorCode = "InsufficientPermissionOnSource" 539 // SubscriptionTransferValidationErrorCodeInvalidSource ... 540 SubscriptionTransferValidationErrorCodeInvalidSource SubscriptionTransferValidationErrorCode = "InvalidSource" 541 // SubscriptionTransferValidationErrorCodeNotAvailableForDestinationMarket ... 542 SubscriptionTransferValidationErrorCodeNotAvailableForDestinationMarket SubscriptionTransferValidationErrorCode = "NotAvailableForDestinationMarket" 543 // SubscriptionTransferValidationErrorCodeSubscriptionNotActive ... 544 SubscriptionTransferValidationErrorCodeSubscriptionNotActive SubscriptionTransferValidationErrorCode = "SubscriptionNotActive" 545 // SubscriptionTransferValidationErrorCodeSubscriptionTypeNotSupported ... 546 SubscriptionTransferValidationErrorCodeSubscriptionTypeNotSupported SubscriptionTransferValidationErrorCode = "SubscriptionTypeNotSupported" 547) 548 549// PossibleSubscriptionTransferValidationErrorCodeValues returns an array of possible values for the SubscriptionTransferValidationErrorCode const type. 550func PossibleSubscriptionTransferValidationErrorCodeValues() []SubscriptionTransferValidationErrorCode { 551 return []SubscriptionTransferValidationErrorCode{SubscriptionTransferValidationErrorCodeCrossBillingAccountNotAllowed, SubscriptionTransferValidationErrorCodeDestinationBillingProfilePastDue, SubscriptionTransferValidationErrorCodeInsufficientPermissionOnDestination, SubscriptionTransferValidationErrorCodeInsufficientPermissionOnSource, SubscriptionTransferValidationErrorCodeInvalidSource, SubscriptionTransferValidationErrorCodeNotAvailableForDestinationMarket, SubscriptionTransferValidationErrorCodeSubscriptionNotActive, SubscriptionTransferValidationErrorCodeSubscriptionTypeNotSupported} 552} 553 554// TargetCloud enumerates the values for target cloud. 555type TargetCloud string 556 557const ( 558 // USGov ... 559 USGov TargetCloud = "USGov" 560 // USNat ... 561 USNat TargetCloud = "USNat" 562 // USSec ... 563 USSec TargetCloud = "USSec" 564) 565 566// PossibleTargetCloudValues returns an array of possible values for the TargetCloud const type. 567func PossibleTargetCloudValues() []TargetCloud { 568 return []TargetCloud{USGov, USNat, USSec} 569} 570 571// TransactionTypeKind enumerates the values for transaction type kind. 572type TransactionTypeKind string 573 574const ( 575 // All ... 576 All TransactionTypeKind = "all" 577 // Reservation ... 578 Reservation TransactionTypeKind = "reservation" 579) 580 581// PossibleTransactionTypeKindValues returns an array of possible values for the TransactionTypeKind const type. 582func PossibleTransactionTypeKindValues() []TransactionTypeKind { 583 return []TransactionTypeKind{All, Reservation} 584} 585 586// ViewCharges enumerates the values for view charges. 587type ViewCharges string 588 589const ( 590 // ViewChargesAllowed ... 591 ViewChargesAllowed ViewCharges = "Allowed" 592 // ViewChargesNotAllowed ... 593 ViewChargesNotAllowed ViewCharges = "NotAllowed" 594) 595 596// PossibleViewChargesValues returns an array of possible values for the ViewCharges const type. 597func PossibleViewChargesValues() []ViewCharges { 598 return []ViewCharges{ViewChargesAllowed, ViewChargesNotAllowed} 599} 600 601// ViewChargesPolicy enumerates the values for view charges policy. 602type ViewChargesPolicy string 603 604const ( 605 // ViewChargesPolicyAllowed ... 606 ViewChargesPolicyAllowed ViewChargesPolicy = "Allowed" 607 // ViewChargesPolicyNotAllowed ... 608 ViewChargesPolicyNotAllowed ViewChargesPolicy = "NotAllowed" 609) 610 611// PossibleViewChargesPolicyValues returns an array of possible values for the ViewChargesPolicy const type. 612func PossibleViewChargesPolicyValues() []ViewChargesPolicy { 613 return []ViewChargesPolicy{ViewChargesPolicyAllowed, ViewChargesPolicyNotAllowed} 614} 615