1package sql 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// AuthenticationType enumerates the values for authentication type. 10type AuthenticationType string 11 12const ( 13 // ADPassword ... 14 ADPassword AuthenticationType = "ADPassword" 15 // SQL ... 16 SQL AuthenticationType = "SQL" 17) 18 19// PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type. 20func PossibleAuthenticationTypeValues() []AuthenticationType { 21 return []AuthenticationType{ADPassword, SQL} 22} 23 24// BlobAuditingPolicyState enumerates the values for blob auditing policy state. 25type BlobAuditingPolicyState string 26 27const ( 28 // Disabled ... 29 Disabled BlobAuditingPolicyState = "Disabled" 30 // Enabled ... 31 Enabled BlobAuditingPolicyState = "Enabled" 32) 33 34// PossibleBlobAuditingPolicyStateValues returns an array of possible values for the BlobAuditingPolicyState const type. 35func PossibleBlobAuditingPolicyStateValues() []BlobAuditingPolicyState { 36 return []BlobAuditingPolicyState{Disabled, Enabled} 37} 38 39// CapabilityStatus enumerates the values for capability status. 40type CapabilityStatus string 41 42const ( 43 // CapabilityStatusAvailable ... 44 CapabilityStatusAvailable CapabilityStatus = "Available" 45 // CapabilityStatusDefault ... 46 CapabilityStatusDefault CapabilityStatus = "Default" 47 // CapabilityStatusDisabled ... 48 CapabilityStatusDisabled CapabilityStatus = "Disabled" 49 // CapabilityStatusVisible ... 50 CapabilityStatusVisible CapabilityStatus = "Visible" 51) 52 53// PossibleCapabilityStatusValues returns an array of possible values for the CapabilityStatus const type. 54func PossibleCapabilityStatusValues() []CapabilityStatus { 55 return []CapabilityStatus{CapabilityStatusAvailable, CapabilityStatusDefault, CapabilityStatusDisabled, CapabilityStatusVisible} 56} 57 58// CheckNameAvailabilityReason enumerates the values for check name availability reason. 59type CheckNameAvailabilityReason string 60 61const ( 62 // AlreadyExists ... 63 AlreadyExists CheckNameAvailabilityReason = "AlreadyExists" 64 // Invalid ... 65 Invalid CheckNameAvailabilityReason = "Invalid" 66) 67 68// PossibleCheckNameAvailabilityReasonValues returns an array of possible values for the CheckNameAvailabilityReason const type. 69func PossibleCheckNameAvailabilityReasonValues() []CheckNameAvailabilityReason { 70 return []CheckNameAvailabilityReason{AlreadyExists, Invalid} 71} 72 73// CreateMode enumerates the values for create mode. 74type CreateMode string 75 76const ( 77 // Copy ... 78 Copy CreateMode = "Copy" 79 // Default ... 80 Default CreateMode = "Default" 81 // NonReadableSecondary ... 82 NonReadableSecondary CreateMode = "NonReadableSecondary" 83 // OnlineSecondary ... 84 OnlineSecondary CreateMode = "OnlineSecondary" 85 // PointInTimeRestore ... 86 PointInTimeRestore CreateMode = "PointInTimeRestore" 87 // Recovery ... 88 Recovery CreateMode = "Recovery" 89 // Restore ... 90 Restore CreateMode = "Restore" 91 // RestoreLongTermRetentionBackup ... 92 RestoreLongTermRetentionBackup CreateMode = "RestoreLongTermRetentionBackup" 93) 94 95// PossibleCreateModeValues returns an array of possible values for the CreateMode const type. 96func PossibleCreateModeValues() []CreateMode { 97 return []CreateMode{Copy, Default, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, Restore, RestoreLongTermRetentionBackup} 98} 99 100// DatabaseEdition enumerates the values for database edition. 101type DatabaseEdition string 102 103const ( 104 // Basic ... 105 Basic DatabaseEdition = "Basic" 106 // Business ... 107 Business DatabaseEdition = "Business" 108 // BusinessCritical ... 109 BusinessCritical DatabaseEdition = "BusinessCritical" 110 // DataWarehouse ... 111 DataWarehouse DatabaseEdition = "DataWarehouse" 112 // Free ... 113 Free DatabaseEdition = "Free" 114 // GeneralPurpose ... 115 GeneralPurpose DatabaseEdition = "GeneralPurpose" 116 // Hyperscale ... 117 Hyperscale DatabaseEdition = "Hyperscale" 118 // Premium ... 119 Premium DatabaseEdition = "Premium" 120 // PremiumRS ... 121 PremiumRS DatabaseEdition = "PremiumRS" 122 // Standard ... 123 Standard DatabaseEdition = "Standard" 124 // Stretch ... 125 Stretch DatabaseEdition = "Stretch" 126 // System ... 127 System DatabaseEdition = "System" 128 // System2 ... 129 System2 DatabaseEdition = "System2" 130 // Web ... 131 Web DatabaseEdition = "Web" 132) 133 134// PossibleDatabaseEditionValues returns an array of possible values for the DatabaseEdition const type. 135func PossibleDatabaseEditionValues() []DatabaseEdition { 136 return []DatabaseEdition{Basic, Business, BusinessCritical, DataWarehouse, Free, GeneralPurpose, Hyperscale, Premium, PremiumRS, Standard, Stretch, System, System2, Web} 137} 138 139// DataMaskingFunction enumerates the values for data masking function. 140type DataMaskingFunction string 141 142const ( 143 // DataMaskingFunctionCCN ... 144 DataMaskingFunctionCCN DataMaskingFunction = "CCN" 145 // DataMaskingFunctionDefault ... 146 DataMaskingFunctionDefault DataMaskingFunction = "Default" 147 // DataMaskingFunctionEmail ... 148 DataMaskingFunctionEmail DataMaskingFunction = "Email" 149 // DataMaskingFunctionNumber ... 150 DataMaskingFunctionNumber DataMaskingFunction = "Number" 151 // DataMaskingFunctionSSN ... 152 DataMaskingFunctionSSN DataMaskingFunction = "SSN" 153 // DataMaskingFunctionText ... 154 DataMaskingFunctionText DataMaskingFunction = "Text" 155) 156 157// PossibleDataMaskingFunctionValues returns an array of possible values for the DataMaskingFunction const type. 158func PossibleDataMaskingFunctionValues() []DataMaskingFunction { 159 return []DataMaskingFunction{DataMaskingFunctionCCN, DataMaskingFunctionDefault, DataMaskingFunctionEmail, DataMaskingFunctionNumber, DataMaskingFunctionSSN, DataMaskingFunctionText} 160} 161 162// DataMaskingRuleState enumerates the values for data masking rule state. 163type DataMaskingRuleState string 164 165const ( 166 // DataMaskingRuleStateDisabled ... 167 DataMaskingRuleStateDisabled DataMaskingRuleState = "Disabled" 168 // DataMaskingRuleStateEnabled ... 169 DataMaskingRuleStateEnabled DataMaskingRuleState = "Enabled" 170) 171 172// PossibleDataMaskingRuleStateValues returns an array of possible values for the DataMaskingRuleState const type. 173func PossibleDataMaskingRuleStateValues() []DataMaskingRuleState { 174 return []DataMaskingRuleState{DataMaskingRuleStateDisabled, DataMaskingRuleStateEnabled} 175} 176 177// DataMaskingState enumerates the values for data masking state. 178type DataMaskingState string 179 180const ( 181 // DataMaskingStateDisabled ... 182 DataMaskingStateDisabled DataMaskingState = "Disabled" 183 // DataMaskingStateEnabled ... 184 DataMaskingStateEnabled DataMaskingState = "Enabled" 185) 186 187// PossibleDataMaskingStateValues returns an array of possible values for the DataMaskingState const type. 188func PossibleDataMaskingStateValues() []DataMaskingState { 189 return []DataMaskingState{DataMaskingStateDisabled, DataMaskingStateEnabled} 190} 191 192// ElasticPoolEdition enumerates the values for elastic pool edition. 193type ElasticPoolEdition string 194 195const ( 196 // ElasticPoolEditionBasic ... 197 ElasticPoolEditionBasic ElasticPoolEdition = "Basic" 198 // ElasticPoolEditionBusinessCritical ... 199 ElasticPoolEditionBusinessCritical ElasticPoolEdition = "BusinessCritical" 200 // ElasticPoolEditionGeneralPurpose ... 201 ElasticPoolEditionGeneralPurpose ElasticPoolEdition = "GeneralPurpose" 202 // ElasticPoolEditionPremium ... 203 ElasticPoolEditionPremium ElasticPoolEdition = "Premium" 204 // ElasticPoolEditionStandard ... 205 ElasticPoolEditionStandard ElasticPoolEdition = "Standard" 206) 207 208// PossibleElasticPoolEditionValues returns an array of possible values for the ElasticPoolEdition const type. 209func PossibleElasticPoolEditionValues() []ElasticPoolEdition { 210 return []ElasticPoolEdition{ElasticPoolEditionBasic, ElasticPoolEditionBusinessCritical, ElasticPoolEditionGeneralPurpose, ElasticPoolEditionPremium, ElasticPoolEditionStandard} 211} 212 213// ElasticPoolState enumerates the values for elastic pool state. 214type ElasticPoolState string 215 216const ( 217 // ElasticPoolStateCreating ... 218 ElasticPoolStateCreating ElasticPoolState = "Creating" 219 // ElasticPoolStateDisabled ... 220 ElasticPoolStateDisabled ElasticPoolState = "Disabled" 221 // ElasticPoolStateReady ... 222 ElasticPoolStateReady ElasticPoolState = "Ready" 223) 224 225// PossibleElasticPoolStateValues returns an array of possible values for the ElasticPoolState const type. 226func PossibleElasticPoolStateValues() []ElasticPoolState { 227 return []ElasticPoolState{ElasticPoolStateCreating, ElasticPoolStateDisabled, ElasticPoolStateReady} 228} 229 230// FailoverGroupReplicationRole enumerates the values for failover group replication role. 231type FailoverGroupReplicationRole string 232 233const ( 234 // Primary ... 235 Primary FailoverGroupReplicationRole = "Primary" 236 // Secondary ... 237 Secondary FailoverGroupReplicationRole = "Secondary" 238) 239 240// PossibleFailoverGroupReplicationRoleValues returns an array of possible values for the FailoverGroupReplicationRole const type. 241func PossibleFailoverGroupReplicationRoleValues() []FailoverGroupReplicationRole { 242 return []FailoverGroupReplicationRole{Primary, Secondary} 243} 244 245// GeoBackupPolicyState enumerates the values for geo backup policy state. 246type GeoBackupPolicyState string 247 248const ( 249 // GeoBackupPolicyStateDisabled ... 250 GeoBackupPolicyStateDisabled GeoBackupPolicyState = "Disabled" 251 // GeoBackupPolicyStateEnabled ... 252 GeoBackupPolicyStateEnabled GeoBackupPolicyState = "Enabled" 253) 254 255// PossibleGeoBackupPolicyStateValues returns an array of possible values for the GeoBackupPolicyState const type. 256func PossibleGeoBackupPolicyStateValues() []GeoBackupPolicyState { 257 return []GeoBackupPolicyState{GeoBackupPolicyStateDisabled, GeoBackupPolicyStateEnabled} 258} 259 260// IdentityType enumerates the values for identity type. 261type IdentityType string 262 263const ( 264 // SystemAssigned ... 265 SystemAssigned IdentityType = "SystemAssigned" 266) 267 268// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type. 269func PossibleIdentityTypeValues() []IdentityType { 270 return []IdentityType{SystemAssigned} 271} 272 273// ManagedInstanceLicenseType enumerates the values for managed instance license type. 274type ManagedInstanceLicenseType string 275 276const ( 277 // BasePrice ... 278 BasePrice ManagedInstanceLicenseType = "BasePrice" 279 // LicenseIncluded ... 280 LicenseIncluded ManagedInstanceLicenseType = "LicenseIncluded" 281) 282 283// PossibleManagedInstanceLicenseTypeValues returns an array of possible values for the ManagedInstanceLicenseType const type. 284func PossibleManagedInstanceLicenseTypeValues() []ManagedInstanceLicenseType { 285 return []ManagedInstanceLicenseType{BasePrice, LicenseIncluded} 286} 287 288// ManagedInstanceProxyOverride enumerates the values for managed instance proxy override. 289type ManagedInstanceProxyOverride string 290 291const ( 292 // ManagedInstanceProxyOverrideDefault ... 293 ManagedInstanceProxyOverrideDefault ManagedInstanceProxyOverride = "Default" 294 // ManagedInstanceProxyOverrideProxy ... 295 ManagedInstanceProxyOverrideProxy ManagedInstanceProxyOverride = "Proxy" 296 // ManagedInstanceProxyOverrideRedirect ... 297 ManagedInstanceProxyOverrideRedirect ManagedInstanceProxyOverride = "Redirect" 298) 299 300// PossibleManagedInstanceProxyOverrideValues returns an array of possible values for the ManagedInstanceProxyOverride const type. 301func PossibleManagedInstanceProxyOverrideValues() []ManagedInstanceProxyOverride { 302 return []ManagedInstanceProxyOverride{ManagedInstanceProxyOverrideDefault, ManagedInstanceProxyOverrideProxy, ManagedInstanceProxyOverrideRedirect} 303} 304 305// ManagedServerCreateMode enumerates the values for managed server create mode. 306type ManagedServerCreateMode string 307 308const ( 309 // ManagedServerCreateModeDefault ... 310 ManagedServerCreateModeDefault ManagedServerCreateMode = "Default" 311 // ManagedServerCreateModePointInTimeRestore ... 312 ManagedServerCreateModePointInTimeRestore ManagedServerCreateMode = "PointInTimeRestore" 313) 314 315// PossibleManagedServerCreateModeValues returns an array of possible values for the ManagedServerCreateMode const type. 316func PossibleManagedServerCreateModeValues() []ManagedServerCreateMode { 317 return []ManagedServerCreateMode{ManagedServerCreateModeDefault, ManagedServerCreateModePointInTimeRestore} 318} 319 320// MaxSizeUnits enumerates the values for max size units. 321type MaxSizeUnits string 322 323const ( 324 // Gigabytes ... 325 Gigabytes MaxSizeUnits = "Gigabytes" 326 // Megabytes ... 327 Megabytes MaxSizeUnits = "Megabytes" 328 // Petabytes ... 329 Petabytes MaxSizeUnits = "Petabytes" 330 // Terabytes ... 331 Terabytes MaxSizeUnits = "Terabytes" 332) 333 334// PossibleMaxSizeUnitsValues returns an array of possible values for the MaxSizeUnits const type. 335func PossibleMaxSizeUnitsValues() []MaxSizeUnits { 336 return []MaxSizeUnits{Gigabytes, Megabytes, Petabytes, Terabytes} 337} 338 339// OperationOrigin enumerates the values for operation origin. 340type OperationOrigin string 341 342const ( 343 // OperationOriginSystem ... 344 OperationOriginSystem OperationOrigin = "system" 345 // OperationOriginUser ... 346 OperationOriginUser OperationOrigin = "user" 347) 348 349// PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type. 350func PossibleOperationOriginValues() []OperationOrigin { 351 return []OperationOrigin{OperationOriginSystem, OperationOriginUser} 352} 353 354// PerformanceLevelUnit enumerates the values for performance level unit. 355type PerformanceLevelUnit string 356 357const ( 358 // DTU ... 359 DTU PerformanceLevelUnit = "DTU" 360) 361 362// PossiblePerformanceLevelUnitValues returns an array of possible values for the PerformanceLevelUnit const type. 363func PossiblePerformanceLevelUnitValues() []PerformanceLevelUnit { 364 return []PerformanceLevelUnit{DTU} 365} 366 367// PrimaryAggregationType enumerates the values for primary aggregation type. 368type PrimaryAggregationType string 369 370const ( 371 // Average ... 372 Average PrimaryAggregationType = "Average" 373 // Count ... 374 Count PrimaryAggregationType = "Count" 375 // Maximum ... 376 Maximum PrimaryAggregationType = "Maximum" 377 // Minimum ... 378 Minimum PrimaryAggregationType = "Minimum" 379 // None ... 380 None PrimaryAggregationType = "None" 381 // Total ... 382 Total PrimaryAggregationType = "Total" 383) 384 385// PossiblePrimaryAggregationTypeValues returns an array of possible values for the PrimaryAggregationType const type. 386func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType { 387 return []PrimaryAggregationType{Average, Count, Maximum, Minimum, None, Total} 388} 389 390// ReadOnlyEndpointFailoverPolicy enumerates the values for read only endpoint failover policy. 391type ReadOnlyEndpointFailoverPolicy string 392 393const ( 394 // ReadOnlyEndpointFailoverPolicyDisabled ... 395 ReadOnlyEndpointFailoverPolicyDisabled ReadOnlyEndpointFailoverPolicy = "Disabled" 396 // ReadOnlyEndpointFailoverPolicyEnabled ... 397 ReadOnlyEndpointFailoverPolicyEnabled ReadOnlyEndpointFailoverPolicy = "Enabled" 398) 399 400// PossibleReadOnlyEndpointFailoverPolicyValues returns an array of possible values for the ReadOnlyEndpointFailoverPolicy const type. 401func PossibleReadOnlyEndpointFailoverPolicyValues() []ReadOnlyEndpointFailoverPolicy { 402 return []ReadOnlyEndpointFailoverPolicy{ReadOnlyEndpointFailoverPolicyDisabled, ReadOnlyEndpointFailoverPolicyEnabled} 403} 404 405// ReadScale enumerates the values for read scale. 406type ReadScale string 407 408const ( 409 // ReadScaleDisabled ... 410 ReadScaleDisabled ReadScale = "Disabled" 411 // ReadScaleEnabled ... 412 ReadScaleEnabled ReadScale = "Enabled" 413) 414 415// PossibleReadScaleValues returns an array of possible values for the ReadScale const type. 416func PossibleReadScaleValues() []ReadScale { 417 return []ReadScale{ReadScaleDisabled, ReadScaleEnabled} 418} 419 420// ReadWriteEndpointFailoverPolicy enumerates the values for read write endpoint failover policy. 421type ReadWriteEndpointFailoverPolicy string 422 423const ( 424 // Automatic ... 425 Automatic ReadWriteEndpointFailoverPolicy = "Automatic" 426 // Manual ... 427 Manual ReadWriteEndpointFailoverPolicy = "Manual" 428) 429 430// PossibleReadWriteEndpointFailoverPolicyValues returns an array of possible values for the ReadWriteEndpointFailoverPolicy const type. 431func PossibleReadWriteEndpointFailoverPolicyValues() []ReadWriteEndpointFailoverPolicy { 432 return []ReadWriteEndpointFailoverPolicy{Automatic, Manual} 433} 434 435// RecommendedIndexAction enumerates the values for recommended index action. 436type RecommendedIndexAction string 437 438const ( 439 // Create ... 440 Create RecommendedIndexAction = "Create" 441 // Drop ... 442 Drop RecommendedIndexAction = "Drop" 443 // Rebuild ... 444 Rebuild RecommendedIndexAction = "Rebuild" 445) 446 447// PossibleRecommendedIndexActionValues returns an array of possible values for the RecommendedIndexAction const type. 448func PossibleRecommendedIndexActionValues() []RecommendedIndexAction { 449 return []RecommendedIndexAction{Create, Drop, Rebuild} 450} 451 452// RecommendedIndexState enumerates the values for recommended index state. 453type RecommendedIndexState string 454 455const ( 456 // Active ... 457 Active RecommendedIndexState = "Active" 458 // Blocked ... 459 Blocked RecommendedIndexState = "Blocked" 460 // Executing ... 461 Executing RecommendedIndexState = "Executing" 462 // Expired ... 463 Expired RecommendedIndexState = "Expired" 464 // Ignored ... 465 Ignored RecommendedIndexState = "Ignored" 466 // Pending ... 467 Pending RecommendedIndexState = "Pending" 468 // PendingRevert ... 469 PendingRevert RecommendedIndexState = "Pending Revert" 470 // Reverted ... 471 Reverted RecommendedIndexState = "Reverted" 472 // Reverting ... 473 Reverting RecommendedIndexState = "Reverting" 474 // Success ... 475 Success RecommendedIndexState = "Success" 476 // Verifying ... 477 Verifying RecommendedIndexState = "Verifying" 478) 479 480// PossibleRecommendedIndexStateValues returns an array of possible values for the RecommendedIndexState const type. 481func PossibleRecommendedIndexStateValues() []RecommendedIndexState { 482 return []RecommendedIndexState{Active, Blocked, Executing, Expired, Ignored, Pending, PendingRevert, Reverted, Reverting, Success, Verifying} 483} 484 485// RecommendedIndexType enumerates the values for recommended index type. 486type RecommendedIndexType string 487 488const ( 489 // CLUSTERED ... 490 CLUSTERED RecommendedIndexType = "CLUSTERED" 491 // CLUSTEREDCOLUMNSTORE ... 492 CLUSTEREDCOLUMNSTORE RecommendedIndexType = "CLUSTERED COLUMNSTORE" 493 // COLUMNSTORE ... 494 COLUMNSTORE RecommendedIndexType = "COLUMNSTORE" 495 // NONCLUSTERED ... 496 NONCLUSTERED RecommendedIndexType = "NONCLUSTERED" 497) 498 499// PossibleRecommendedIndexTypeValues returns an array of possible values for the RecommendedIndexType const type. 500func PossibleRecommendedIndexTypeValues() []RecommendedIndexType { 501 return []RecommendedIndexType{CLUSTERED, CLUSTEREDCOLUMNSTORE, COLUMNSTORE, NONCLUSTERED} 502} 503 504// ReplicationRole enumerates the values for replication role. 505type ReplicationRole string 506 507const ( 508 // ReplicationRoleCopy ... 509 ReplicationRoleCopy ReplicationRole = "Copy" 510 // ReplicationRoleNonReadableSecondary ... 511 ReplicationRoleNonReadableSecondary ReplicationRole = "NonReadableSecondary" 512 // ReplicationRolePrimary ... 513 ReplicationRolePrimary ReplicationRole = "Primary" 514 // ReplicationRoleSecondary ... 515 ReplicationRoleSecondary ReplicationRole = "Secondary" 516 // ReplicationRoleSource ... 517 ReplicationRoleSource ReplicationRole = "Source" 518) 519 520// PossibleReplicationRoleValues returns an array of possible values for the ReplicationRole const type. 521func PossibleReplicationRoleValues() []ReplicationRole { 522 return []ReplicationRole{ReplicationRoleCopy, ReplicationRoleNonReadableSecondary, ReplicationRolePrimary, ReplicationRoleSecondary, ReplicationRoleSource} 523} 524 525// ReplicationState enumerates the values for replication state. 526type ReplicationState string 527 528const ( 529 // CATCHUP ... 530 CATCHUP ReplicationState = "CATCH_UP" 531 // PENDING ... 532 PENDING ReplicationState = "PENDING" 533 // SEEDING ... 534 SEEDING ReplicationState = "SEEDING" 535 // SUSPENDED ... 536 SUSPENDED ReplicationState = "SUSPENDED" 537) 538 539// PossibleReplicationStateValues returns an array of possible values for the ReplicationState const type. 540func PossibleReplicationStateValues() []ReplicationState { 541 return []ReplicationState{CATCHUP, PENDING, SEEDING, SUSPENDED} 542} 543 544// RestorePointType enumerates the values for restore point type. 545type RestorePointType string 546 547const ( 548 // CONTINUOUS ... 549 CONTINUOUS RestorePointType = "CONTINUOUS" 550 // DISCRETE ... 551 DISCRETE RestorePointType = "DISCRETE" 552) 553 554// PossibleRestorePointTypeValues returns an array of possible values for the RestorePointType const type. 555func PossibleRestorePointTypeValues() []RestorePointType { 556 return []RestorePointType{CONTINUOUS, DISCRETE} 557} 558 559// SampleName enumerates the values for sample name. 560type SampleName string 561 562const ( 563 // AdventureWorksLT ... 564 AdventureWorksLT SampleName = "AdventureWorksLT" 565) 566 567// PossibleSampleNameValues returns an array of possible values for the SampleName const type. 568func PossibleSampleNameValues() []SampleName { 569 return []SampleName{AdventureWorksLT} 570} 571 572// SecurityAlertPolicyEmailAccountAdmins enumerates the values for security alert policy email account admins. 573type SecurityAlertPolicyEmailAccountAdmins string 574 575const ( 576 // SecurityAlertPolicyEmailAccountAdminsDisabled ... 577 SecurityAlertPolicyEmailAccountAdminsDisabled SecurityAlertPolicyEmailAccountAdmins = "Disabled" 578 // SecurityAlertPolicyEmailAccountAdminsEnabled ... 579 SecurityAlertPolicyEmailAccountAdminsEnabled SecurityAlertPolicyEmailAccountAdmins = "Enabled" 580) 581 582// PossibleSecurityAlertPolicyEmailAccountAdminsValues returns an array of possible values for the SecurityAlertPolicyEmailAccountAdmins const type. 583func PossibleSecurityAlertPolicyEmailAccountAdminsValues() []SecurityAlertPolicyEmailAccountAdmins { 584 return []SecurityAlertPolicyEmailAccountAdmins{SecurityAlertPolicyEmailAccountAdminsDisabled, SecurityAlertPolicyEmailAccountAdminsEnabled} 585} 586 587// SecurityAlertPolicyState enumerates the values for security alert policy state. 588type SecurityAlertPolicyState string 589 590const ( 591 // SecurityAlertPolicyStateDisabled ... 592 SecurityAlertPolicyStateDisabled SecurityAlertPolicyState = "Disabled" 593 // SecurityAlertPolicyStateEnabled ... 594 SecurityAlertPolicyStateEnabled SecurityAlertPolicyState = "Enabled" 595 // SecurityAlertPolicyStateNew ... 596 SecurityAlertPolicyStateNew SecurityAlertPolicyState = "New" 597) 598 599// PossibleSecurityAlertPolicyStateValues returns an array of possible values for the SecurityAlertPolicyState const type. 600func PossibleSecurityAlertPolicyStateValues() []SecurityAlertPolicyState { 601 return []SecurityAlertPolicyState{SecurityAlertPolicyStateDisabled, SecurityAlertPolicyStateEnabled, SecurityAlertPolicyStateNew} 602} 603 604// SecurityAlertPolicyUseServerDefault enumerates the values for security alert policy use server default. 605type SecurityAlertPolicyUseServerDefault string 606 607const ( 608 // SecurityAlertPolicyUseServerDefaultDisabled ... 609 SecurityAlertPolicyUseServerDefaultDisabled SecurityAlertPolicyUseServerDefault = "Disabled" 610 // SecurityAlertPolicyUseServerDefaultEnabled ... 611 SecurityAlertPolicyUseServerDefaultEnabled SecurityAlertPolicyUseServerDefault = "Enabled" 612) 613 614// PossibleSecurityAlertPolicyUseServerDefaultValues returns an array of possible values for the SecurityAlertPolicyUseServerDefault const type. 615func PossibleSecurityAlertPolicyUseServerDefaultValues() []SecurityAlertPolicyUseServerDefault { 616 return []SecurityAlertPolicyUseServerDefault{SecurityAlertPolicyUseServerDefaultDisabled, SecurityAlertPolicyUseServerDefaultEnabled} 617} 618 619// ServerConnectionType enumerates the values for server connection type. 620type ServerConnectionType string 621 622const ( 623 // ServerConnectionTypeDefault ... 624 ServerConnectionTypeDefault ServerConnectionType = "Default" 625 // ServerConnectionTypeProxy ... 626 ServerConnectionTypeProxy ServerConnectionType = "Proxy" 627 // ServerConnectionTypeRedirect ... 628 ServerConnectionTypeRedirect ServerConnectionType = "Redirect" 629) 630 631// PossibleServerConnectionTypeValues returns an array of possible values for the ServerConnectionType const type. 632func PossibleServerConnectionTypeValues() []ServerConnectionType { 633 return []ServerConnectionType{ServerConnectionTypeDefault, ServerConnectionTypeProxy, ServerConnectionTypeRedirect} 634} 635 636// ServerKeyType enumerates the values for server key type. 637type ServerKeyType string 638 639const ( 640 // AzureKeyVault ... 641 AzureKeyVault ServerKeyType = "AzureKeyVault" 642 // ServiceManaged ... 643 ServiceManaged ServerKeyType = "ServiceManaged" 644) 645 646// PossibleServerKeyTypeValues returns an array of possible values for the ServerKeyType const type. 647func PossibleServerKeyTypeValues() []ServerKeyType { 648 return []ServerKeyType{AzureKeyVault, ServiceManaged} 649} 650 651// ServiceObjectiveName enumerates the values for service objective name. 652type ServiceObjectiveName string 653 654const ( 655 // ServiceObjectiveNameBasic ... 656 ServiceObjectiveNameBasic ServiceObjectiveName = "Basic" 657 // ServiceObjectiveNameDS100 ... 658 ServiceObjectiveNameDS100 ServiceObjectiveName = "DS100" 659 // ServiceObjectiveNameDS1000 ... 660 ServiceObjectiveNameDS1000 ServiceObjectiveName = "DS1000" 661 // ServiceObjectiveNameDS1200 ... 662 ServiceObjectiveNameDS1200 ServiceObjectiveName = "DS1200" 663 // ServiceObjectiveNameDS1500 ... 664 ServiceObjectiveNameDS1500 ServiceObjectiveName = "DS1500" 665 // ServiceObjectiveNameDS200 ... 666 ServiceObjectiveNameDS200 ServiceObjectiveName = "DS200" 667 // ServiceObjectiveNameDS2000 ... 668 ServiceObjectiveNameDS2000 ServiceObjectiveName = "DS2000" 669 // ServiceObjectiveNameDS300 ... 670 ServiceObjectiveNameDS300 ServiceObjectiveName = "DS300" 671 // ServiceObjectiveNameDS400 ... 672 ServiceObjectiveNameDS400 ServiceObjectiveName = "DS400" 673 // ServiceObjectiveNameDS500 ... 674 ServiceObjectiveNameDS500 ServiceObjectiveName = "DS500" 675 // ServiceObjectiveNameDS600 ... 676 ServiceObjectiveNameDS600 ServiceObjectiveName = "DS600" 677 // ServiceObjectiveNameDW100 ... 678 ServiceObjectiveNameDW100 ServiceObjectiveName = "DW100" 679 // ServiceObjectiveNameDW1000 ... 680 ServiceObjectiveNameDW1000 ServiceObjectiveName = "DW1000" 681 // ServiceObjectiveNameDW10000c ... 682 ServiceObjectiveNameDW10000c ServiceObjectiveName = "DW10000c" 683 // ServiceObjectiveNameDW1000c ... 684 ServiceObjectiveNameDW1000c ServiceObjectiveName = "DW1000c" 685 // ServiceObjectiveNameDW1200 ... 686 ServiceObjectiveNameDW1200 ServiceObjectiveName = "DW1200" 687 // ServiceObjectiveNameDW1500 ... 688 ServiceObjectiveNameDW1500 ServiceObjectiveName = "DW1500" 689 // ServiceObjectiveNameDW15000c ... 690 ServiceObjectiveNameDW15000c ServiceObjectiveName = "DW15000c" 691 // ServiceObjectiveNameDW1500c ... 692 ServiceObjectiveNameDW1500c ServiceObjectiveName = "DW1500c" 693 // ServiceObjectiveNameDW200 ... 694 ServiceObjectiveNameDW200 ServiceObjectiveName = "DW200" 695 // ServiceObjectiveNameDW2000 ... 696 ServiceObjectiveNameDW2000 ServiceObjectiveName = "DW2000" 697 // ServiceObjectiveNameDW2000c ... 698 ServiceObjectiveNameDW2000c ServiceObjectiveName = "DW2000c" 699 // ServiceObjectiveNameDW2500c ... 700 ServiceObjectiveNameDW2500c ServiceObjectiveName = "DW2500c" 701 // ServiceObjectiveNameDW300 ... 702 ServiceObjectiveNameDW300 ServiceObjectiveName = "DW300" 703 // ServiceObjectiveNameDW3000 ... 704 ServiceObjectiveNameDW3000 ServiceObjectiveName = "DW3000" 705 // ServiceObjectiveNameDW30000c ... 706 ServiceObjectiveNameDW30000c ServiceObjectiveName = "DW30000c" 707 // ServiceObjectiveNameDW3000c ... 708 ServiceObjectiveNameDW3000c ServiceObjectiveName = "DW3000c" 709 // ServiceObjectiveNameDW400 ... 710 ServiceObjectiveNameDW400 ServiceObjectiveName = "DW400" 711 // ServiceObjectiveNameDW500 ... 712 ServiceObjectiveNameDW500 ServiceObjectiveName = "DW500" 713 // ServiceObjectiveNameDW5000c ... 714 ServiceObjectiveNameDW5000c ServiceObjectiveName = "DW5000c" 715 // ServiceObjectiveNameDW600 ... 716 ServiceObjectiveNameDW600 ServiceObjectiveName = "DW600" 717 // ServiceObjectiveNameDW6000 ... 718 ServiceObjectiveNameDW6000 ServiceObjectiveName = "DW6000" 719 // ServiceObjectiveNameDW6000c ... 720 ServiceObjectiveNameDW6000c ServiceObjectiveName = "DW6000c" 721 // ServiceObjectiveNameDW7500c ... 722 ServiceObjectiveNameDW7500c ServiceObjectiveName = "DW7500c" 723 // ServiceObjectiveNameElasticPool ... 724 ServiceObjectiveNameElasticPool ServiceObjectiveName = "ElasticPool" 725 // ServiceObjectiveNameFree ... 726 ServiceObjectiveNameFree ServiceObjectiveName = "Free" 727 // ServiceObjectiveNameP1 ... 728 ServiceObjectiveNameP1 ServiceObjectiveName = "P1" 729 // ServiceObjectiveNameP11 ... 730 ServiceObjectiveNameP11 ServiceObjectiveName = "P11" 731 // ServiceObjectiveNameP15 ... 732 ServiceObjectiveNameP15 ServiceObjectiveName = "P15" 733 // ServiceObjectiveNameP2 ... 734 ServiceObjectiveNameP2 ServiceObjectiveName = "P2" 735 // ServiceObjectiveNameP3 ... 736 ServiceObjectiveNameP3 ServiceObjectiveName = "P3" 737 // ServiceObjectiveNameP4 ... 738 ServiceObjectiveNameP4 ServiceObjectiveName = "P4" 739 // ServiceObjectiveNameP6 ... 740 ServiceObjectiveNameP6 ServiceObjectiveName = "P6" 741 // ServiceObjectiveNamePRS1 ... 742 ServiceObjectiveNamePRS1 ServiceObjectiveName = "PRS1" 743 // ServiceObjectiveNamePRS2 ... 744 ServiceObjectiveNamePRS2 ServiceObjectiveName = "PRS2" 745 // ServiceObjectiveNamePRS4 ... 746 ServiceObjectiveNamePRS4 ServiceObjectiveName = "PRS4" 747 // ServiceObjectiveNamePRS6 ... 748 ServiceObjectiveNamePRS6 ServiceObjectiveName = "PRS6" 749 // ServiceObjectiveNameS0 ... 750 ServiceObjectiveNameS0 ServiceObjectiveName = "S0" 751 // ServiceObjectiveNameS1 ... 752 ServiceObjectiveNameS1 ServiceObjectiveName = "S1" 753 // ServiceObjectiveNameS12 ... 754 ServiceObjectiveNameS12 ServiceObjectiveName = "S12" 755 // ServiceObjectiveNameS2 ... 756 ServiceObjectiveNameS2 ServiceObjectiveName = "S2" 757 // ServiceObjectiveNameS3 ... 758 ServiceObjectiveNameS3 ServiceObjectiveName = "S3" 759 // ServiceObjectiveNameS4 ... 760 ServiceObjectiveNameS4 ServiceObjectiveName = "S4" 761 // ServiceObjectiveNameS6 ... 762 ServiceObjectiveNameS6 ServiceObjectiveName = "S6" 763 // ServiceObjectiveNameS7 ... 764 ServiceObjectiveNameS7 ServiceObjectiveName = "S7" 765 // ServiceObjectiveNameS9 ... 766 ServiceObjectiveNameS9 ServiceObjectiveName = "S9" 767 // ServiceObjectiveNameSystem ... 768 ServiceObjectiveNameSystem ServiceObjectiveName = "System" 769 // ServiceObjectiveNameSystem0 ... 770 ServiceObjectiveNameSystem0 ServiceObjectiveName = "System0" 771 // ServiceObjectiveNameSystem1 ... 772 ServiceObjectiveNameSystem1 ServiceObjectiveName = "System1" 773 // ServiceObjectiveNameSystem2 ... 774 ServiceObjectiveNameSystem2 ServiceObjectiveName = "System2" 775 // ServiceObjectiveNameSystem2L ... 776 ServiceObjectiveNameSystem2L ServiceObjectiveName = "System2L" 777 // ServiceObjectiveNameSystem3 ... 778 ServiceObjectiveNameSystem3 ServiceObjectiveName = "System3" 779 // ServiceObjectiveNameSystem3L ... 780 ServiceObjectiveNameSystem3L ServiceObjectiveName = "System3L" 781 // ServiceObjectiveNameSystem4 ... 782 ServiceObjectiveNameSystem4 ServiceObjectiveName = "System4" 783 // ServiceObjectiveNameSystem4L ... 784 ServiceObjectiveNameSystem4L ServiceObjectiveName = "System4L" 785) 786 787// PossibleServiceObjectiveNameValues returns an array of possible values for the ServiceObjectiveName const type. 788func PossibleServiceObjectiveNameValues() []ServiceObjectiveName { 789 return []ServiceObjectiveName{ServiceObjectiveNameBasic, ServiceObjectiveNameDS100, ServiceObjectiveNameDS1000, ServiceObjectiveNameDS1200, ServiceObjectiveNameDS1500, ServiceObjectiveNameDS200, ServiceObjectiveNameDS2000, ServiceObjectiveNameDS300, ServiceObjectiveNameDS400, ServiceObjectiveNameDS500, ServiceObjectiveNameDS600, ServiceObjectiveNameDW100, ServiceObjectiveNameDW1000, ServiceObjectiveNameDW10000c, ServiceObjectiveNameDW1000c, ServiceObjectiveNameDW1200, ServiceObjectiveNameDW1500, ServiceObjectiveNameDW15000c, ServiceObjectiveNameDW1500c, ServiceObjectiveNameDW200, ServiceObjectiveNameDW2000, ServiceObjectiveNameDW2000c, ServiceObjectiveNameDW2500c, ServiceObjectiveNameDW300, ServiceObjectiveNameDW3000, ServiceObjectiveNameDW30000c, ServiceObjectiveNameDW3000c, ServiceObjectiveNameDW400, ServiceObjectiveNameDW500, ServiceObjectiveNameDW5000c, ServiceObjectiveNameDW600, ServiceObjectiveNameDW6000, ServiceObjectiveNameDW6000c, ServiceObjectiveNameDW7500c, ServiceObjectiveNameElasticPool, ServiceObjectiveNameFree, ServiceObjectiveNameP1, ServiceObjectiveNameP11, ServiceObjectiveNameP15, ServiceObjectiveNameP2, ServiceObjectiveNameP3, ServiceObjectiveNameP4, ServiceObjectiveNameP6, ServiceObjectiveNamePRS1, ServiceObjectiveNamePRS2, ServiceObjectiveNamePRS4, ServiceObjectiveNamePRS6, ServiceObjectiveNameS0, ServiceObjectiveNameS1, ServiceObjectiveNameS12, ServiceObjectiveNameS2, ServiceObjectiveNameS3, ServiceObjectiveNameS4, ServiceObjectiveNameS6, ServiceObjectiveNameS7, ServiceObjectiveNameS9, ServiceObjectiveNameSystem, ServiceObjectiveNameSystem0, ServiceObjectiveNameSystem1, ServiceObjectiveNameSystem2, ServiceObjectiveNameSystem2L, ServiceObjectiveNameSystem3, ServiceObjectiveNameSystem3L, ServiceObjectiveNameSystem4, ServiceObjectiveNameSystem4L} 790} 791 792// StorageKeyType enumerates the values for storage key type. 793type StorageKeyType string 794 795const ( 796 // SharedAccessKey ... 797 SharedAccessKey StorageKeyType = "SharedAccessKey" 798 // StorageAccessKey ... 799 StorageAccessKey StorageKeyType = "StorageAccessKey" 800) 801 802// PossibleStorageKeyTypeValues returns an array of possible values for the StorageKeyType const type. 803func PossibleStorageKeyTypeValues() []StorageKeyType { 804 return []StorageKeyType{SharedAccessKey, StorageAccessKey} 805} 806 807// SyncAgentState enumerates the values for sync agent state. 808type SyncAgentState string 809 810const ( 811 // NeverConnected ... 812 NeverConnected SyncAgentState = "NeverConnected" 813 // Offline ... 814 Offline SyncAgentState = "Offline" 815 // Online ... 816 Online SyncAgentState = "Online" 817) 818 819// PossibleSyncAgentStateValues returns an array of possible values for the SyncAgentState const type. 820func PossibleSyncAgentStateValues() []SyncAgentState { 821 return []SyncAgentState{NeverConnected, Offline, Online} 822} 823 824// SyncConflictResolutionPolicy enumerates the values for sync conflict resolution policy. 825type SyncConflictResolutionPolicy string 826 827const ( 828 // HubWin ... 829 HubWin SyncConflictResolutionPolicy = "HubWin" 830 // MemberWin ... 831 MemberWin SyncConflictResolutionPolicy = "MemberWin" 832) 833 834// PossibleSyncConflictResolutionPolicyValues returns an array of possible values for the SyncConflictResolutionPolicy const type. 835func PossibleSyncConflictResolutionPolicyValues() []SyncConflictResolutionPolicy { 836 return []SyncConflictResolutionPolicy{HubWin, MemberWin} 837} 838 839// SyncDirection enumerates the values for sync direction. 840type SyncDirection string 841 842const ( 843 // Bidirectional ... 844 Bidirectional SyncDirection = "Bidirectional" 845 // OneWayHubToMember ... 846 OneWayHubToMember SyncDirection = "OneWayHubToMember" 847 // OneWayMemberToHub ... 848 OneWayMemberToHub SyncDirection = "OneWayMemberToHub" 849) 850 851// PossibleSyncDirectionValues returns an array of possible values for the SyncDirection const type. 852func PossibleSyncDirectionValues() []SyncDirection { 853 return []SyncDirection{Bidirectional, OneWayHubToMember, OneWayMemberToHub} 854} 855 856// SyncGroupLogType enumerates the values for sync group log type. 857type SyncGroupLogType string 858 859const ( 860 // SyncGroupLogTypeAll ... 861 SyncGroupLogTypeAll SyncGroupLogType = "All" 862 // SyncGroupLogTypeError ... 863 SyncGroupLogTypeError SyncGroupLogType = "Error" 864 // SyncGroupLogTypeSuccess ... 865 SyncGroupLogTypeSuccess SyncGroupLogType = "Success" 866 // SyncGroupLogTypeWarning ... 867 SyncGroupLogTypeWarning SyncGroupLogType = "Warning" 868) 869 870// PossibleSyncGroupLogTypeValues returns an array of possible values for the SyncGroupLogType const type. 871func PossibleSyncGroupLogTypeValues() []SyncGroupLogType { 872 return []SyncGroupLogType{SyncGroupLogTypeAll, SyncGroupLogTypeError, SyncGroupLogTypeSuccess, SyncGroupLogTypeWarning} 873} 874 875// SyncGroupState enumerates the values for sync group state. 876type SyncGroupState string 877 878const ( 879 // Error ... 880 Error SyncGroupState = "Error" 881 // Good ... 882 Good SyncGroupState = "Good" 883 // NotReady ... 884 NotReady SyncGroupState = "NotReady" 885 // Progressing ... 886 Progressing SyncGroupState = "Progressing" 887 // Warning ... 888 Warning SyncGroupState = "Warning" 889) 890 891// PossibleSyncGroupStateValues returns an array of possible values for the SyncGroupState const type. 892func PossibleSyncGroupStateValues() []SyncGroupState { 893 return []SyncGroupState{Error, Good, NotReady, Progressing, Warning} 894} 895 896// SyncMemberDbType enumerates the values for sync member db type. 897type SyncMemberDbType string 898 899const ( 900 // AzureSQLDatabase ... 901 AzureSQLDatabase SyncMemberDbType = "AzureSqlDatabase" 902 // SQLServerDatabase ... 903 SQLServerDatabase SyncMemberDbType = "SqlServerDatabase" 904) 905 906// PossibleSyncMemberDbTypeValues returns an array of possible values for the SyncMemberDbType const type. 907func PossibleSyncMemberDbTypeValues() []SyncMemberDbType { 908 return []SyncMemberDbType{AzureSQLDatabase, SQLServerDatabase} 909} 910 911// SyncMemberState enumerates the values for sync member state. 912type SyncMemberState string 913 914const ( 915 // DeProvisioned ... 916 DeProvisioned SyncMemberState = "DeProvisioned" 917 // DeProvisionFailed ... 918 DeProvisionFailed SyncMemberState = "DeProvisionFailed" 919 // DeProvisioning ... 920 DeProvisioning SyncMemberState = "DeProvisioning" 921 // DisabledBackupRestore ... 922 DisabledBackupRestore SyncMemberState = "DisabledBackupRestore" 923 // DisabledTombstoneCleanup ... 924 DisabledTombstoneCleanup SyncMemberState = "DisabledTombstoneCleanup" 925 // Provisioned ... 926 Provisioned SyncMemberState = "Provisioned" 927 // ProvisionFailed ... 928 ProvisionFailed SyncMemberState = "ProvisionFailed" 929 // Provisioning ... 930 Provisioning SyncMemberState = "Provisioning" 931 // ReprovisionFailed ... 932 ReprovisionFailed SyncMemberState = "ReprovisionFailed" 933 // Reprovisioning ... 934 Reprovisioning SyncMemberState = "Reprovisioning" 935 // SyncCancelled ... 936 SyncCancelled SyncMemberState = "SyncCancelled" 937 // SyncCancelling ... 938 SyncCancelling SyncMemberState = "SyncCancelling" 939 // SyncFailed ... 940 SyncFailed SyncMemberState = "SyncFailed" 941 // SyncInProgress ... 942 SyncInProgress SyncMemberState = "SyncInProgress" 943 // SyncSucceeded ... 944 SyncSucceeded SyncMemberState = "SyncSucceeded" 945 // SyncSucceededWithWarnings ... 946 SyncSucceededWithWarnings SyncMemberState = "SyncSucceededWithWarnings" 947 // UnProvisioned ... 948 UnProvisioned SyncMemberState = "UnProvisioned" 949 // UnReprovisioned ... 950 UnReprovisioned SyncMemberState = "UnReprovisioned" 951) 952 953// PossibleSyncMemberStateValues returns an array of possible values for the SyncMemberState const type. 954func PossibleSyncMemberStateValues() []SyncMemberState { 955 return []SyncMemberState{DeProvisioned, DeProvisionFailed, DeProvisioning, DisabledBackupRestore, DisabledTombstoneCleanup, Provisioned, ProvisionFailed, Provisioning, ReprovisionFailed, Reprovisioning, SyncCancelled, SyncCancelling, SyncFailed, SyncInProgress, SyncSucceeded, SyncSucceededWithWarnings, UnProvisioned, UnReprovisioned} 956} 957 958// TransparentDataEncryptionActivityStatus enumerates the values for transparent data encryption activity 959// status. 960type TransparentDataEncryptionActivityStatus string 961 962const ( 963 // Decrypting ... 964 Decrypting TransparentDataEncryptionActivityStatus = "Decrypting" 965 // Encrypting ... 966 Encrypting TransparentDataEncryptionActivityStatus = "Encrypting" 967) 968 969// PossibleTransparentDataEncryptionActivityStatusValues returns an array of possible values for the TransparentDataEncryptionActivityStatus const type. 970func PossibleTransparentDataEncryptionActivityStatusValues() []TransparentDataEncryptionActivityStatus { 971 return []TransparentDataEncryptionActivityStatus{Decrypting, Encrypting} 972} 973 974// TransparentDataEncryptionStatus enumerates the values for transparent data encryption status. 975type TransparentDataEncryptionStatus string 976 977const ( 978 // TransparentDataEncryptionStatusDisabled ... 979 TransparentDataEncryptionStatusDisabled TransparentDataEncryptionStatus = "Disabled" 980 // TransparentDataEncryptionStatusEnabled ... 981 TransparentDataEncryptionStatusEnabled TransparentDataEncryptionStatus = "Enabled" 982) 983 984// PossibleTransparentDataEncryptionStatusValues returns an array of possible values for the TransparentDataEncryptionStatus const type. 985func PossibleTransparentDataEncryptionStatusValues() []TransparentDataEncryptionStatus { 986 return []TransparentDataEncryptionStatus{TransparentDataEncryptionStatusDisabled, TransparentDataEncryptionStatusEnabled} 987} 988 989// UnitDefinitionType enumerates the values for unit definition type. 990type UnitDefinitionType string 991 992const ( 993 // UnitDefinitionTypeBytes ... 994 UnitDefinitionTypeBytes UnitDefinitionType = "Bytes" 995 // UnitDefinitionTypeBytesPerSecond ... 996 UnitDefinitionTypeBytesPerSecond UnitDefinitionType = "BytesPerSecond" 997 // UnitDefinitionTypeCount ... 998 UnitDefinitionTypeCount UnitDefinitionType = "Count" 999 // UnitDefinitionTypeCountPerSecond ... 1000 UnitDefinitionTypeCountPerSecond UnitDefinitionType = "CountPerSecond" 1001 // UnitDefinitionTypePercent ... 1002 UnitDefinitionTypePercent UnitDefinitionType = "Percent" 1003 // UnitDefinitionTypeSeconds ... 1004 UnitDefinitionTypeSeconds UnitDefinitionType = "Seconds" 1005) 1006 1007// PossibleUnitDefinitionTypeValues returns an array of possible values for the UnitDefinitionType const type. 1008func PossibleUnitDefinitionTypeValues() []UnitDefinitionType { 1009 return []UnitDefinitionType{UnitDefinitionTypeBytes, UnitDefinitionTypeBytesPerSecond, UnitDefinitionTypeCount, UnitDefinitionTypeCountPerSecond, UnitDefinitionTypePercent, UnitDefinitionTypeSeconds} 1010} 1011 1012// UnitType enumerates the values for unit type. 1013type UnitType string 1014 1015const ( 1016 // UnitTypeBytes ... 1017 UnitTypeBytes UnitType = "bytes" 1018 // UnitTypeBytesPerSecond ... 1019 UnitTypeBytesPerSecond UnitType = "bytesPerSecond" 1020 // UnitTypeCount ... 1021 UnitTypeCount UnitType = "count" 1022 // UnitTypeCountPerSecond ... 1023 UnitTypeCountPerSecond UnitType = "countPerSecond" 1024 // UnitTypePercent ... 1025 UnitTypePercent UnitType = "percent" 1026 // UnitTypeSeconds ... 1027 UnitTypeSeconds UnitType = "seconds" 1028) 1029 1030// PossibleUnitTypeValues returns an array of possible values for the UnitType const type. 1031func PossibleUnitTypeValues() []UnitType { 1032 return []UnitType{UnitTypeBytes, UnitTypeBytesPerSecond, UnitTypeCount, UnitTypeCountPerSecond, UnitTypePercent, UnitTypeSeconds} 1033} 1034 1035// VirtualNetworkRuleState enumerates the values for virtual network rule state. 1036type VirtualNetworkRuleState string 1037 1038const ( 1039 // Deleting ... 1040 Deleting VirtualNetworkRuleState = "Deleting" 1041 // Initializing ... 1042 Initializing VirtualNetworkRuleState = "Initializing" 1043 // InProgress ... 1044 InProgress VirtualNetworkRuleState = "InProgress" 1045 // Ready ... 1046 Ready VirtualNetworkRuleState = "Ready" 1047 // Unknown ... 1048 Unknown VirtualNetworkRuleState = "Unknown" 1049) 1050 1051// PossibleVirtualNetworkRuleStateValues returns an array of possible values for the VirtualNetworkRuleState const type. 1052func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState { 1053 return []VirtualNetworkRuleState{Deleting, Initializing, InProgress, Ready, Unknown} 1054} 1055