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