1package edgeorder 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// ActionStatusEnum enumerates the values for action status enum. 10type ActionStatusEnum string 11 12const ( 13 // ActionStatusEnumAllowed Allowed flag. 14 ActionStatusEnumAllowed ActionStatusEnum = "Allowed" 15 // ActionStatusEnumNotAllowed Not Allowed flag. 16 ActionStatusEnumNotAllowed ActionStatusEnum = "NotAllowed" 17) 18 19// PossibleActionStatusEnumValues returns an array of possible values for the ActionStatusEnum const type. 20func PossibleActionStatusEnumValues() []ActionStatusEnum { 21 return []ActionStatusEnum{ActionStatusEnumAllowed, ActionStatusEnumNotAllowed} 22} 23 24// ActionType enumerates the values for action type. 25type ActionType string 26 27const ( 28 // ActionTypeInternal ... 29 ActionTypeInternal ActionType = "Internal" 30) 31 32// PossibleActionTypeValues returns an array of possible values for the ActionType const type. 33func PossibleActionTypeValues() []ActionType { 34 return []ActionType{ActionTypeInternal} 35} 36 37// AddressType enumerates the values for address type. 38type AddressType string 39 40const ( 41 // AddressTypeCommercial Commercial Address. 42 AddressTypeCommercial AddressType = "Commercial" 43 // AddressTypeNone Address type not known. 44 AddressTypeNone AddressType = "None" 45 // AddressTypeResidential Residential Address. 46 AddressTypeResidential AddressType = "Residential" 47) 48 49// PossibleAddressTypeValues returns an array of possible values for the AddressType const type. 50func PossibleAddressTypeValues() []AddressType { 51 return []AddressType{AddressTypeCommercial, AddressTypeNone, AddressTypeResidential} 52} 53 54// AvailabilityStage enumerates the values for availability stage. 55type AvailabilityStage string 56 57const ( 58 // AvailabilityStageAvailable Product is available. 59 AvailabilityStageAvailable AvailabilityStage = "Available" 60 // AvailabilityStageComingSoon Product is coming soon. 61 AvailabilityStageComingSoon AvailabilityStage = "ComingSoon" 62 // AvailabilityStageDeprecated Product is deprecated. 63 AvailabilityStageDeprecated AvailabilityStage = "Deprecated" 64 // AvailabilityStagePreview Product is in preview. 65 AvailabilityStagePreview AvailabilityStage = "Preview" 66 // AvailabilityStageSignup Product is available only on signup. 67 AvailabilityStageSignup AvailabilityStage = "Signup" 68 // AvailabilityStageUnavailable Product is not available. 69 AvailabilityStageUnavailable AvailabilityStage = "Unavailable" 70) 71 72// PossibleAvailabilityStageValues returns an array of possible values for the AvailabilityStage const type. 73func PossibleAvailabilityStageValues() []AvailabilityStage { 74 return []AvailabilityStage{AvailabilityStageAvailable, AvailabilityStageComingSoon, AvailabilityStageDeprecated, AvailabilityStagePreview, AvailabilityStageSignup, AvailabilityStageUnavailable} 75} 76 77// BillingType enumerates the values for billing type. 78type BillingType string 79 80const ( 81 // BillingTypeMeterDetails ... 82 BillingTypeMeterDetails BillingType = "MeterDetails" 83 // BillingTypePav2 ... 84 BillingTypePav2 BillingType = "Pav2" 85 // BillingTypePurchase ... 86 BillingTypePurchase BillingType = "Purchase" 87) 88 89// PossibleBillingTypeValues returns an array of possible values for the BillingType const type. 90func PossibleBillingTypeValues() []BillingType { 91 return []BillingType{BillingTypeMeterDetails, BillingTypePav2, BillingTypePurchase} 92} 93 94// ChargingType enumerates the values for charging type. 95type ChargingType string 96 97const ( 98 // ChargingTypePerDevice Per device charging type. 99 ChargingTypePerDevice ChargingType = "PerDevice" 100 // ChargingTypePerOrder Per order charging type. 101 ChargingTypePerOrder ChargingType = "PerOrder" 102) 103 104// PossibleChargingTypeValues returns an array of possible values for the ChargingType const type. 105func PossibleChargingTypeValues() []ChargingType { 106 return []ChargingType{ChargingTypePerDevice, ChargingTypePerOrder} 107} 108 109// CreatedByType enumerates the values for created by type. 110type CreatedByType string 111 112const ( 113 // CreatedByTypeApplication ... 114 CreatedByTypeApplication CreatedByType = "Application" 115 // CreatedByTypeKey ... 116 CreatedByTypeKey CreatedByType = "Key" 117 // CreatedByTypeManagedIdentity ... 118 CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" 119 // CreatedByTypeUser ... 120 CreatedByTypeUser CreatedByType = "User" 121) 122 123// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type. 124func PossibleCreatedByTypeValues() []CreatedByType { 125 return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser} 126} 127 128// DescriptionType enumerates the values for description type. 129type DescriptionType string 130 131const ( 132 // DescriptionTypeBase Base description. 133 DescriptionTypeBase DescriptionType = "Base" 134) 135 136// PossibleDescriptionTypeValues returns an array of possible values for the DescriptionType const type. 137func PossibleDescriptionTypeValues() []DescriptionType { 138 return []DescriptionType{DescriptionTypeBase} 139} 140 141// DisabledReason enumerates the values for disabled reason. 142type DisabledReason string 143 144const ( 145 // DisabledReasonCountry Not available in the requested country. 146 DisabledReasonCountry DisabledReason = "Country" 147 // DisabledReasonFeature Required features are not enabled. 148 DisabledReasonFeature DisabledReason = "Feature" 149 // DisabledReasonNone Not disabled. 150 DisabledReasonNone DisabledReason = "None" 151 // DisabledReasonNoSubscriptionInfo Subscription has not registered to Microsoft.DataBox and Service does 152 // not have the subscription notification. 153 DisabledReasonNoSubscriptionInfo DisabledReason = "NoSubscriptionInfo" 154 // DisabledReasonNotAvailable The product is not yet available. 155 DisabledReasonNotAvailable DisabledReason = "NotAvailable" 156 // DisabledReasonOfferType Subscription does not have required offer types. 157 DisabledReasonOfferType DisabledReason = "OfferType" 158 // DisabledReasonOutOfStock The product is out of stock. 159 DisabledReasonOutOfStock DisabledReason = "OutOfStock" 160 // DisabledReasonRegion Not available to push data to the requested Azure region. 161 DisabledReasonRegion DisabledReason = "Region" 162) 163 164// PossibleDisabledReasonValues returns an array of possible values for the DisabledReason const type. 165func PossibleDisabledReasonValues() []DisabledReason { 166 return []DisabledReason{DisabledReasonCountry, DisabledReasonFeature, DisabledReasonNone, DisabledReasonNoSubscriptionInfo, DisabledReasonNotAvailable, DisabledReasonOfferType, DisabledReasonOutOfStock, DisabledReasonRegion} 167} 168 169// DoubleEncryptionStatus enumerates the values for double encryption status. 170type DoubleEncryptionStatus string 171 172const ( 173 // DoubleEncryptionStatusDisabled Double encryption is disabled 174 DoubleEncryptionStatusDisabled DoubleEncryptionStatus = "Disabled" 175 // DoubleEncryptionStatusEnabled Double encryption is enabled 176 DoubleEncryptionStatusEnabled DoubleEncryptionStatus = "Enabled" 177) 178 179// PossibleDoubleEncryptionStatusValues returns an array of possible values for the DoubleEncryptionStatus const type. 180func PossibleDoubleEncryptionStatusValues() []DoubleEncryptionStatus { 181 return []DoubleEncryptionStatus{DoubleEncryptionStatusDisabled, DoubleEncryptionStatusEnabled} 182} 183 184// ImageType enumerates the values for image type. 185type ImageType string 186 187const ( 188 // ImageTypeBulletImage Bullet image. 189 ImageTypeBulletImage ImageType = "BulletImage" 190 // ImageTypeGenericImage Generic image. 191 ImageTypeGenericImage ImageType = "GenericImage" 192 // ImageTypeMainImage Main image. 193 ImageTypeMainImage ImageType = "MainImage" 194) 195 196// PossibleImageTypeValues returns an array of possible values for the ImageType const type. 197func PossibleImageTypeValues() []ImageType { 198 return []ImageType{ImageTypeBulletImage, ImageTypeGenericImage, ImageTypeMainImage} 199} 200 201// LengthHeightUnit enumerates the values for length height unit. 202type LengthHeightUnit string 203 204const ( 205 // LengthHeightUnitCM Centimeter. 206 LengthHeightUnitCM LengthHeightUnit = "CM" 207 // LengthHeightUnitIN Inch, applicable for West US. 208 LengthHeightUnitIN LengthHeightUnit = "IN" 209) 210 211// PossibleLengthHeightUnitValues returns an array of possible values for the LengthHeightUnit const type. 212func PossibleLengthHeightUnitValues() []LengthHeightUnit { 213 return []LengthHeightUnit{LengthHeightUnitCM, LengthHeightUnitIN} 214} 215 216// LinkType enumerates the values for link type. 217type LinkType string 218 219const ( 220 // LinkTypeDocumentation Link to product documentation 221 LinkTypeDocumentation LinkType = "Documentation" 222 // LinkTypeGeneric Generic link. 223 LinkTypeGeneric LinkType = "Generic" 224 // LinkTypeKnowMore Link to know more 225 LinkTypeKnowMore LinkType = "KnowMore" 226 // LinkTypeSignUp Link to sign up for products 227 LinkTypeSignUp LinkType = "SignUp" 228 // LinkTypeSpecification Link to product specification. 229 LinkTypeSpecification LinkType = "Specification" 230 // LinkTypeTermsAndConditions Terms and conditions link. 231 LinkTypeTermsAndConditions LinkType = "TermsAndConditions" 232) 233 234// PossibleLinkTypeValues returns an array of possible values for the LinkType const type. 235func PossibleLinkTypeValues() []LinkType { 236 return []LinkType{LinkTypeDocumentation, LinkTypeGeneric, LinkTypeKnowMore, LinkTypeSignUp, LinkTypeSpecification, LinkTypeTermsAndConditions} 237} 238 239// MeteringType enumerates the values for metering type. 240type MeteringType string 241 242const ( 243 // MeteringTypeAdhoc Adhoc billing. 244 MeteringTypeAdhoc MeteringType = "Adhoc" 245 // MeteringTypeOneTime One time billing. 246 MeteringTypeOneTime MeteringType = "OneTime" 247 // MeteringTypeRecurring Recurring billing. 248 MeteringTypeRecurring MeteringType = "Recurring" 249) 250 251// PossibleMeteringTypeValues returns an array of possible values for the MeteringType const type. 252func PossibleMeteringTypeValues() []MeteringType { 253 return []MeteringType{MeteringTypeAdhoc, MeteringTypeOneTime, MeteringTypeRecurring} 254} 255 256// NotificationStageName enumerates the values for notification stage name. 257type NotificationStageName string 258 259const ( 260 // NotificationStageNameDelivered Notification at order item delivered to customer. 261 NotificationStageNameDelivered NotificationStageName = "Delivered" 262 // NotificationStageNameShipped Notification at order item shipped from microsoft datacenter. 263 NotificationStageNameShipped NotificationStageName = "Shipped" 264) 265 266// PossibleNotificationStageNameValues returns an array of possible values for the NotificationStageName const type. 267func PossibleNotificationStageNameValues() []NotificationStageName { 268 return []NotificationStageName{NotificationStageNameDelivered, NotificationStageNameShipped} 269} 270 271// OrderItemCancellationEnum enumerates the values for order item cancellation enum. 272type OrderItemCancellationEnum string 273 274const ( 275 // OrderItemCancellationEnumCancellable Order item can be cancelled without fee. 276 OrderItemCancellationEnumCancellable OrderItemCancellationEnum = "Cancellable" 277 // OrderItemCancellationEnumCancellableWithFee Order item can be cancelled with fee. 278 OrderItemCancellationEnumCancellableWithFee OrderItemCancellationEnum = "CancellableWithFee" 279 // OrderItemCancellationEnumNotCancellable Order item not cancellable. 280 OrderItemCancellationEnumNotCancellable OrderItemCancellationEnum = "NotCancellable" 281) 282 283// PossibleOrderItemCancellationEnumValues returns an array of possible values for the OrderItemCancellationEnum const type. 284func PossibleOrderItemCancellationEnumValues() []OrderItemCancellationEnum { 285 return []OrderItemCancellationEnum{OrderItemCancellationEnumCancellable, OrderItemCancellationEnumCancellableWithFee, OrderItemCancellationEnumNotCancellable} 286} 287 288// OrderItemReturnEnum enumerates the values for order item return enum. 289type OrderItemReturnEnum string 290 291const ( 292 // OrderItemReturnEnumNotReturnable Order item not returnable. 293 OrderItemReturnEnumNotReturnable OrderItemReturnEnum = "NotReturnable" 294 // OrderItemReturnEnumReturnable Order item can be returned without fee. 295 OrderItemReturnEnumReturnable OrderItemReturnEnum = "Returnable" 296 // OrderItemReturnEnumReturnableWithFee Order item can be returned with fee. 297 OrderItemReturnEnumReturnableWithFee OrderItemReturnEnum = "ReturnableWithFee" 298) 299 300// PossibleOrderItemReturnEnumValues returns an array of possible values for the OrderItemReturnEnum const type. 301func PossibleOrderItemReturnEnumValues() []OrderItemReturnEnum { 302 return []OrderItemReturnEnum{OrderItemReturnEnumNotReturnable, OrderItemReturnEnumReturnable, OrderItemReturnEnumReturnableWithFee} 303} 304 305// OrderItemType enumerates the values for order item type. 306type OrderItemType string 307 308const ( 309 // OrderItemTypePurchase Purchase OrderItem. 310 OrderItemTypePurchase OrderItemType = "Purchase" 311 // OrderItemTypeRental Rental OrderItem. 312 OrderItemTypeRental OrderItemType = "Rental" 313) 314 315// PossibleOrderItemTypeValues returns an array of possible values for the OrderItemType const type. 316func PossibleOrderItemTypeValues() []OrderItemType { 317 return []OrderItemType{OrderItemTypePurchase, OrderItemTypeRental} 318} 319 320// Origin enumerates the values for origin. 321type Origin string 322 323const ( 324 // OriginSystem ... 325 OriginSystem Origin = "system" 326 // OriginUser ... 327 OriginUser Origin = "user" 328 // OriginUsersystem ... 329 OriginUsersystem Origin = "user,system" 330) 331 332// PossibleOriginValues returns an array of possible values for the Origin const type. 333func PossibleOriginValues() []Origin { 334 return []Origin{OriginSystem, OriginUser, OriginUsersystem} 335} 336 337// StageName enumerates the values for stage name. 338type StageName string 339 340const ( 341 // StageNameCancelled Order has been cancelled. 342 StageNameCancelled StageName = "Cancelled" 343 // StageNameConfirmed Order is confirmed 344 StageNameConfirmed StageName = "Confirmed" 345 // StageNameDelivered Order is delivered to customer 346 StageNameDelivered StageName = "Delivered" 347 // StageNameInReview Order is currently in draft mode and can still be cancelled 348 StageNameInReview StageName = "InReview" 349 // StageNameInUse Order is in use at customer site 350 StageNameInUse StageName = "InUse" 351 // StageNamePlaced Currently in draft mode and can still be cancelled 352 StageNamePlaced StageName = "Placed" 353 // StageNameReadyToShip Order is ready to ship 354 StageNameReadyToShip StageName = "ReadyToShip" 355 // StageNameReturnCompleted Return has now completed. 356 StageNameReturnCompleted StageName = "ReturnCompleted" 357 // StageNameReturnedToMicrosoft Order has been received back to microsoft. 358 StageNameReturnedToMicrosoft StageName = "ReturnedToMicrosoft" 359 // StageNameReturnInitiated Return has been initiated by customer. 360 StageNameReturnInitiated StageName = "ReturnInitiated" 361 // StageNameReturnPickedUp Order is in transit from customer to microsoft. 362 StageNameReturnPickedUp StageName = "ReturnPickedUp" 363 // StageNameShipped Order is in transit to customer 364 StageNameShipped StageName = "Shipped" 365) 366 367// PossibleStageNameValues returns an array of possible values for the StageName const type. 368func PossibleStageNameValues() []StageName { 369 return []StageName{StageNameCancelled, StageNameConfirmed, StageNameDelivered, StageNameInReview, StageNameInUse, StageNamePlaced, StageNameReadyToShip, StageNameReturnCompleted, StageNameReturnedToMicrosoft, StageNameReturnInitiated, StageNameReturnPickedUp, StageNameShipped} 370} 371 372// StageStatus enumerates the values for stage status. 373type StageStatus string 374 375const ( 376 // StageStatusCancelled Stage has been cancelled. 377 StageStatusCancelled StageStatus = "Cancelled" 378 // StageStatusCancelling Stage is cancelling. 379 StageStatusCancelling StageStatus = "Cancelling" 380 // StageStatusFailed Stage has failed. 381 StageStatusFailed StageStatus = "Failed" 382 // StageStatusInProgress Stage is in progress. 383 StageStatusInProgress StageStatus = "InProgress" 384 // StageStatusNone No status available yet. 385 StageStatusNone StageStatus = "None" 386 // StageStatusSucceeded Stage has succeeded. 387 StageStatusSucceeded StageStatus = "Succeeded" 388) 389 390// PossibleStageStatusValues returns an array of possible values for the StageStatus const type. 391func PossibleStageStatusValues() []StageStatus { 392 return []StageStatus{StageStatusCancelled, StageStatusCancelling, StageStatusFailed, StageStatusInProgress, StageStatusNone, StageStatusSucceeded} 393} 394 395// SupportedFilterTypes enumerates the values for supported filter types. 396type SupportedFilterTypes string 397 398const ( 399 // SupportedFilterTypesDoubleEncryptionStatus Double encryption status 400 SupportedFilterTypesDoubleEncryptionStatus SupportedFilterTypes = "DoubleEncryptionStatus" 401 // SupportedFilterTypesShipToCountries Ship to country 402 SupportedFilterTypesShipToCountries SupportedFilterTypes = "ShipToCountries" 403) 404 405// PossibleSupportedFilterTypesValues returns an array of possible values for the SupportedFilterTypes const type. 406func PossibleSupportedFilterTypesValues() []SupportedFilterTypes { 407 return []SupportedFilterTypes{SupportedFilterTypesDoubleEncryptionStatus, SupportedFilterTypesShipToCountries} 408} 409 410// TransportShipmentTypes enumerates the values for transport shipment types. 411type TransportShipmentTypes string 412 413const ( 414 // TransportShipmentTypesCustomerManaged Shipment Logistics is handled by the customer. 415 TransportShipmentTypesCustomerManaged TransportShipmentTypes = "CustomerManaged" 416 // TransportShipmentTypesMicrosoftManaged Shipment Logistics is handled by Microsoft. 417 TransportShipmentTypesMicrosoftManaged TransportShipmentTypes = "MicrosoftManaged" 418) 419 420// PossibleTransportShipmentTypesValues returns an array of possible values for the TransportShipmentTypes const type. 421func PossibleTransportShipmentTypesValues() []TransportShipmentTypes { 422 return []TransportShipmentTypes{TransportShipmentTypesCustomerManaged, TransportShipmentTypesMicrosoftManaged} 423} 424 425// WeightMeasurementUnit enumerates the values for weight measurement unit. 426type WeightMeasurementUnit string 427 428const ( 429 // WeightMeasurementUnitKGS Kilograms. 430 WeightMeasurementUnitKGS WeightMeasurementUnit = "KGS" 431 // WeightMeasurementUnitLBS Pounds. 432 WeightMeasurementUnitLBS WeightMeasurementUnit = "LBS" 433) 434 435// PossibleWeightMeasurementUnitValues returns an array of possible values for the WeightMeasurementUnit const type. 436func PossibleWeightMeasurementUnitValues() []WeightMeasurementUnit { 437 return []WeightMeasurementUnit{WeightMeasurementUnitKGS, WeightMeasurementUnitLBS} 438} 439