1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760
|
package documentdb
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// AnalyticalStorageSchemaType enumerates the values for analytical storage schema type.
type AnalyticalStorageSchemaType string
const (
// FullFidelity ...
FullFidelity AnalyticalStorageSchemaType = "FullFidelity"
// WellDefined ...
WellDefined AnalyticalStorageSchemaType = "WellDefined"
)
// PossibleAnalyticalStorageSchemaTypeValues returns an array of possible values for the AnalyticalStorageSchemaType const type.
func PossibleAnalyticalStorageSchemaTypeValues() []AnalyticalStorageSchemaType {
return []AnalyticalStorageSchemaType{FullFidelity, WellDefined}
}
// APIType enumerates the values for api type.
type APIType string
const (
// Cassandra ...
Cassandra APIType = "Cassandra"
// Gremlin ...
Gremlin APIType = "Gremlin"
// GremlinV2 ...
GremlinV2 APIType = "GremlinV2"
// MongoDB ...
MongoDB APIType = "MongoDB"
// SQL ...
SQL APIType = "Sql"
// Table ...
Table APIType = "Table"
)
// PossibleAPITypeValues returns an array of possible values for the APIType const type.
func PossibleAPITypeValues() []APIType {
return []APIType{Cassandra, Gremlin, GremlinV2, MongoDB, SQL, Table}
}
// AuthenticationMethod enumerates the values for authentication method.
type AuthenticationMethod string
const (
// AuthenticationMethodCassandra ...
AuthenticationMethodCassandra AuthenticationMethod = "Cassandra"
// AuthenticationMethodNone ...
AuthenticationMethodNone AuthenticationMethod = "None"
)
// PossibleAuthenticationMethodValues returns an array of possible values for the AuthenticationMethod const type.
func PossibleAuthenticationMethodValues() []AuthenticationMethod {
return []AuthenticationMethod{AuthenticationMethodCassandra, AuthenticationMethodNone}
}
// BackupPolicyMigrationStatus enumerates the values for backup policy migration status.
type BackupPolicyMigrationStatus string
const (
// Completed ...
Completed BackupPolicyMigrationStatus = "Completed"
// Failed ...
Failed BackupPolicyMigrationStatus = "Failed"
// InProgress ...
InProgress BackupPolicyMigrationStatus = "InProgress"
// Invalid ...
Invalid BackupPolicyMigrationStatus = "Invalid"
)
// PossibleBackupPolicyMigrationStatusValues returns an array of possible values for the BackupPolicyMigrationStatus const type.
func PossibleBackupPolicyMigrationStatusValues() []BackupPolicyMigrationStatus {
return []BackupPolicyMigrationStatus{Completed, Failed, InProgress, Invalid}
}
// BackupPolicyType enumerates the values for backup policy type.
type BackupPolicyType string
const (
// Continuous ...
Continuous BackupPolicyType = "Continuous"
// Periodic ...
Periodic BackupPolicyType = "Periodic"
)
// PossibleBackupPolicyTypeValues returns an array of possible values for the BackupPolicyType const type.
func PossibleBackupPolicyTypeValues() []BackupPolicyType {
return []BackupPolicyType{Continuous, Periodic}
}
// BackupStorageRedundancy enumerates the values for backup storage redundancy.
type BackupStorageRedundancy string
const (
// Geo ...
Geo BackupStorageRedundancy = "Geo"
// Local ...
Local BackupStorageRedundancy = "Local"
// Zone ...
Zone BackupStorageRedundancy = "Zone"
)
// PossibleBackupStorageRedundancyValues returns an array of possible values for the BackupStorageRedundancy const type.
func PossibleBackupStorageRedundancyValues() []BackupStorageRedundancy {
return []BackupStorageRedundancy{Geo, Local, Zone}
}
// CompositePathSortOrder enumerates the values for composite path sort order.
type CompositePathSortOrder string
const (
// Ascending ...
Ascending CompositePathSortOrder = "ascending"
// Descending ...
Descending CompositePathSortOrder = "descending"
)
// PossibleCompositePathSortOrderValues returns an array of possible values for the CompositePathSortOrder const type.
func PossibleCompositePathSortOrderValues() []CompositePathSortOrder {
return []CompositePathSortOrder{Ascending, Descending}
}
// ConflictResolutionMode enumerates the values for conflict resolution mode.
type ConflictResolutionMode string
const (
// Custom ...
Custom ConflictResolutionMode = "Custom"
// LastWriterWins ...
LastWriterWins ConflictResolutionMode = "LastWriterWins"
)
// PossibleConflictResolutionModeValues returns an array of possible values for the ConflictResolutionMode const type.
func PossibleConflictResolutionModeValues() []ConflictResolutionMode {
return []ConflictResolutionMode{Custom, LastWriterWins}
}
// ConnectionState enumerates the values for connection state.
type ConnectionState string
const (
// DatacenterToDatacenterNetworkError ...
DatacenterToDatacenterNetworkError ConnectionState = "DatacenterToDatacenterNetworkError"
// InternalError ...
InternalError ConnectionState = "InternalError"
// InternalOperatorToDataCenterCertificateError ...
InternalOperatorToDataCenterCertificateError ConnectionState = "InternalOperatorToDataCenterCertificateError"
// OK ...
OK ConnectionState = "OK"
// OperatorToDataCenterNetworkError ...
OperatorToDataCenterNetworkError ConnectionState = "OperatorToDataCenterNetworkError"
// Unknown ...
Unknown ConnectionState = "Unknown"
)
// PossibleConnectionStateValues returns an array of possible values for the ConnectionState const type.
func PossibleConnectionStateValues() []ConnectionState {
return []ConnectionState{DatacenterToDatacenterNetworkError, InternalError, InternalOperatorToDataCenterCertificateError, OK, OperatorToDataCenterNetworkError, Unknown}
}
// ConnectorOffer enumerates the values for connector offer.
type ConnectorOffer string
const (
// Small ...
Small ConnectorOffer = "Small"
)
// PossibleConnectorOfferValues returns an array of possible values for the ConnectorOffer const type.
func PossibleConnectorOfferValues() []ConnectorOffer {
return []ConnectorOffer{Small}
}
// CreatedByType enumerates the values for created by type.
type CreatedByType string
const (
// Application ...
Application CreatedByType = "Application"
// Key ...
Key CreatedByType = "Key"
// ManagedIdentity ...
ManagedIdentity CreatedByType = "ManagedIdentity"
// User ...
User CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{Application, Key, ManagedIdentity, User}
}
// CreateMode enumerates the values for create mode.
type CreateMode string
const (
// Default ...
Default CreateMode = "Default"
// Restore ...
Restore CreateMode = "Restore"
)
// PossibleCreateModeValues returns an array of possible values for the CreateMode const type.
func PossibleCreateModeValues() []CreateMode {
return []CreateMode{Default, Restore}
}
// DatabaseAccountKind enumerates the values for database account kind.
type DatabaseAccountKind string
const (
// DatabaseAccountKindGlobalDocumentDB ...
DatabaseAccountKindGlobalDocumentDB DatabaseAccountKind = "GlobalDocumentDB"
// DatabaseAccountKindMongoDB ...
DatabaseAccountKindMongoDB DatabaseAccountKind = "MongoDB"
// DatabaseAccountKindParse ...
DatabaseAccountKindParse DatabaseAccountKind = "Parse"
)
// PossibleDatabaseAccountKindValues returns an array of possible values for the DatabaseAccountKind const type.
func PossibleDatabaseAccountKindValues() []DatabaseAccountKind {
return []DatabaseAccountKind{DatabaseAccountKindGlobalDocumentDB, DatabaseAccountKindMongoDB, DatabaseAccountKindParse}
}
// DatabaseAccountOfferType enumerates the values for database account offer type.
type DatabaseAccountOfferType string
const (
// Standard ...
Standard DatabaseAccountOfferType = "Standard"
)
// PossibleDatabaseAccountOfferTypeValues returns an array of possible values for the DatabaseAccountOfferType const type.
func PossibleDatabaseAccountOfferTypeValues() []DatabaseAccountOfferType {
return []DatabaseAccountOfferType{Standard}
}
// DataType enumerates the values for data type.
type DataType string
const (
// LineString ...
LineString DataType = "LineString"
// MultiPolygon ...
MultiPolygon DataType = "MultiPolygon"
// Number ...
Number DataType = "Number"
// Point ...
Point DataType = "Point"
// Polygon ...
Polygon DataType = "Polygon"
// String ...
String DataType = "String"
)
// PossibleDataTypeValues returns an array of possible values for the DataType const type.
func PossibleDataTypeValues() []DataType {
return []DataType{LineString, MultiPolygon, Number, Point, Polygon, String}
}
// DefaultConsistencyLevel enumerates the values for default consistency level.
type DefaultConsistencyLevel string
const (
// BoundedStaleness ...
BoundedStaleness DefaultConsistencyLevel = "BoundedStaleness"
// ConsistentPrefix ...
ConsistentPrefix DefaultConsistencyLevel = "ConsistentPrefix"
// Eventual ...
Eventual DefaultConsistencyLevel = "Eventual"
// Session ...
Session DefaultConsistencyLevel = "Session"
// Strong ...
Strong DefaultConsistencyLevel = "Strong"
)
// PossibleDefaultConsistencyLevelValues returns an array of possible values for the DefaultConsistencyLevel const type.
func PossibleDefaultConsistencyLevelValues() []DefaultConsistencyLevel {
return []DefaultConsistencyLevel{BoundedStaleness, ConsistentPrefix, Eventual, Session, Strong}
}
// IndexingMode enumerates the values for indexing mode.
type IndexingMode string
const (
// Consistent ...
Consistent IndexingMode = "consistent"
// Lazy ...
Lazy IndexingMode = "lazy"
// None ...
None IndexingMode = "none"
)
// PossibleIndexingModeValues returns an array of possible values for the IndexingMode const type.
func PossibleIndexingModeValues() []IndexingMode {
return []IndexingMode{Consistent, Lazy, None}
}
// IndexKind enumerates the values for index kind.
type IndexKind string
const (
// Hash ...
Hash IndexKind = "Hash"
// Range ...
Range IndexKind = "Range"
// Spatial ...
Spatial IndexKind = "Spatial"
)
// PossibleIndexKindValues returns an array of possible values for the IndexKind const type.
func PossibleIndexKindValues() []IndexKind {
return []IndexKind{Hash, Range, Spatial}
}
// KeyKind enumerates the values for key kind.
type KeyKind string
const (
// Primary ...
Primary KeyKind = "primary"
// PrimaryReadonly ...
PrimaryReadonly KeyKind = "primaryReadonly"
// Secondary ...
Secondary KeyKind = "secondary"
// SecondaryReadonly ...
SecondaryReadonly KeyKind = "secondaryReadonly"
)
// PossibleKeyKindValues returns an array of possible values for the KeyKind const type.
func PossibleKeyKindValues() []KeyKind {
return []KeyKind{Primary, PrimaryReadonly, Secondary, SecondaryReadonly}
}
// ManagedCassandraProvisioningState enumerates the values for managed cassandra provisioning state.
type ManagedCassandraProvisioningState string
const (
// ManagedCassandraProvisioningStateCanceled ...
ManagedCassandraProvisioningStateCanceled ManagedCassandraProvisioningState = "Canceled"
// ManagedCassandraProvisioningStateCreating ...
ManagedCassandraProvisioningStateCreating ManagedCassandraProvisioningState = "Creating"
// ManagedCassandraProvisioningStateDeleting ...
ManagedCassandraProvisioningStateDeleting ManagedCassandraProvisioningState = "Deleting"
// ManagedCassandraProvisioningStateFailed ...
ManagedCassandraProvisioningStateFailed ManagedCassandraProvisioningState = "Failed"
// ManagedCassandraProvisioningStateSucceeded ...
ManagedCassandraProvisioningStateSucceeded ManagedCassandraProvisioningState = "Succeeded"
// ManagedCassandraProvisioningStateUpdating ...
ManagedCassandraProvisioningStateUpdating ManagedCassandraProvisioningState = "Updating"
)
// PossibleManagedCassandraProvisioningStateValues returns an array of possible values for the ManagedCassandraProvisioningState const type.
func PossibleManagedCassandraProvisioningStateValues() []ManagedCassandraProvisioningState {
return []ManagedCassandraProvisioningState{ManagedCassandraProvisioningStateCanceled, ManagedCassandraProvisioningStateCreating, ManagedCassandraProvisioningStateDeleting, ManagedCassandraProvisioningStateFailed, ManagedCassandraProvisioningStateSucceeded, ManagedCassandraProvisioningStateUpdating}
}
// ManagedCassandraResourceIdentityType enumerates the values for managed cassandra resource identity type.
type ManagedCassandraResourceIdentityType string
const (
// ManagedCassandraResourceIdentityTypeNone ...
ManagedCassandraResourceIdentityTypeNone ManagedCassandraResourceIdentityType = "None"
// ManagedCassandraResourceIdentityTypeSystemAssigned ...
ManagedCassandraResourceIdentityTypeSystemAssigned ManagedCassandraResourceIdentityType = "SystemAssigned"
)
// PossibleManagedCassandraResourceIdentityTypeValues returns an array of possible values for the ManagedCassandraResourceIdentityType const type.
func PossibleManagedCassandraResourceIdentityTypeValues() []ManagedCassandraResourceIdentityType {
return []ManagedCassandraResourceIdentityType{ManagedCassandraResourceIdentityTypeNone, ManagedCassandraResourceIdentityTypeSystemAssigned}
}
// MongoRoleDefinitionType enumerates the values for mongo role definition type.
type MongoRoleDefinitionType string
const (
// BuiltInRole ...
BuiltInRole MongoRoleDefinitionType = "BuiltInRole"
// CustomRole ...
CustomRole MongoRoleDefinitionType = "CustomRole"
)
// PossibleMongoRoleDefinitionTypeValues returns an array of possible values for the MongoRoleDefinitionType const type.
func PossibleMongoRoleDefinitionTypeValues() []MongoRoleDefinitionType {
return []MongoRoleDefinitionType{BuiltInRole, CustomRole}
}
// NetworkACLBypass enumerates the values for network acl bypass.
type NetworkACLBypass string
const (
// NetworkACLBypassAzureServices ...
NetworkACLBypassAzureServices NetworkACLBypass = "AzureServices"
// NetworkACLBypassNone ...
NetworkACLBypassNone NetworkACLBypass = "None"
)
// PossibleNetworkACLBypassValues returns an array of possible values for the NetworkACLBypass const type.
func PossibleNetworkACLBypassValues() []NetworkACLBypass {
return []NetworkACLBypass{NetworkACLBypassAzureServices, NetworkACLBypassNone}
}
// NodeState enumerates the values for node state.
type NodeState string
const (
// Joining ...
Joining NodeState = "Joining"
// Leaving ...
Leaving NodeState = "Leaving"
// Moving ...
Moving NodeState = "Moving"
// Normal ...
Normal NodeState = "Normal"
// Stopped ...
Stopped NodeState = "Stopped"
)
// PossibleNodeStateValues returns an array of possible values for the NodeState const type.
func PossibleNodeStateValues() []NodeState {
return []NodeState{Joining, Leaving, Moving, Normal, Stopped}
}
// NodeStatus enumerates the values for node status.
type NodeStatus string
const (
// Down ...
Down NodeStatus = "Down"
// Up ...
Up NodeStatus = "Up"
)
// PossibleNodeStatusValues returns an array of possible values for the NodeStatus const type.
func PossibleNodeStatusValues() []NodeStatus {
return []NodeStatus{Down, Up}
}
// OperationType enumerates the values for operation type.
type OperationType string
const (
// Create ...
Create OperationType = "Create"
// Delete ...
Delete OperationType = "Delete"
// Replace ...
Replace OperationType = "Replace"
// SystemOperation ...
SystemOperation OperationType = "SystemOperation"
)
// PossibleOperationTypeValues returns an array of possible values for the OperationType const type.
func PossibleOperationTypeValues() []OperationType {
return []OperationType{Create, Delete, Replace, SystemOperation}
}
// PartitionKind enumerates the values for partition kind.
type PartitionKind string
const (
// PartitionKindHash ...
PartitionKindHash PartitionKind = "Hash"
// PartitionKindMultiHash ...
PartitionKindMultiHash PartitionKind = "MultiHash"
// PartitionKindRange ...
PartitionKindRange PartitionKind = "Range"
)
// PossiblePartitionKindValues returns an array of possible values for the PartitionKind const type.
func PossiblePartitionKindValues() []PartitionKind {
return []PartitionKind{PartitionKindHash, PartitionKindMultiHash, PartitionKindRange}
}
// PrimaryAggregationType enumerates the values for primary aggregation type.
type PrimaryAggregationType string
const (
// PrimaryAggregationTypeAverage ...
PrimaryAggregationTypeAverage PrimaryAggregationType = "Average"
// PrimaryAggregationTypeLast ...
PrimaryAggregationTypeLast PrimaryAggregationType = "Last"
// PrimaryAggregationTypeMaximum ...
PrimaryAggregationTypeMaximum PrimaryAggregationType = "Maximum"
// PrimaryAggregationTypeMinimum ...
PrimaryAggregationTypeMinimum PrimaryAggregationType = "Minimum"
// PrimaryAggregationTypeNone ...
PrimaryAggregationTypeNone PrimaryAggregationType = "None"
// PrimaryAggregationTypeTotal ...
PrimaryAggregationTypeTotal PrimaryAggregationType = "Total"
)
// PossiblePrimaryAggregationTypeValues returns an array of possible values for the PrimaryAggregationType const type.
func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType {
return []PrimaryAggregationType{PrimaryAggregationTypeAverage, PrimaryAggregationTypeLast, PrimaryAggregationTypeMaximum, PrimaryAggregationTypeMinimum, PrimaryAggregationTypeNone, PrimaryAggregationTypeTotal}
}
// PublicNetworkAccess enumerates the values for public network access.
type PublicNetworkAccess string
const (
// Disabled ...
Disabled PublicNetworkAccess = "Disabled"
// Enabled ...
Enabled PublicNetworkAccess = "Enabled"
)
// PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
return []PublicNetworkAccess{Disabled, Enabled}
}
// ResourceIdentityType enumerates the values for resource identity type.
type ResourceIdentityType string
const (
// ResourceIdentityTypeNone ...
ResourceIdentityTypeNone ResourceIdentityType = "None"
// ResourceIdentityTypeSystemAssigned ...
ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
// ResourceIdentityTypeSystemAssignedUserAssigned ...
ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned,UserAssigned"
// ResourceIdentityTypeUserAssigned ...
ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
)
// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return []ResourceIdentityType{ResourceIdentityTypeNone, ResourceIdentityTypeSystemAssigned, ResourceIdentityTypeSystemAssignedUserAssigned, ResourceIdentityTypeUserAssigned}
}
// RestoreMode enumerates the values for restore mode.
type RestoreMode string
const (
// PointInTime ...
PointInTime RestoreMode = "PointInTime"
)
// PossibleRestoreModeValues returns an array of possible values for the RestoreMode const type.
func PossibleRestoreModeValues() []RestoreMode {
return []RestoreMode{PointInTime}
}
// RoleDefinitionType enumerates the values for role definition type.
type RoleDefinitionType string
const (
// RoleDefinitionTypeBuiltInRole ...
RoleDefinitionTypeBuiltInRole RoleDefinitionType = "BuiltInRole"
// RoleDefinitionTypeCustomRole ...
RoleDefinitionTypeCustomRole RoleDefinitionType = "CustomRole"
)
// PossibleRoleDefinitionTypeValues returns an array of possible values for the RoleDefinitionType const type.
func PossibleRoleDefinitionTypeValues() []RoleDefinitionType {
return []RoleDefinitionType{RoleDefinitionTypeBuiltInRole, RoleDefinitionTypeCustomRole}
}
// ServerVersion enumerates the values for server version.
type ServerVersion string
const (
// FourFullStopTwo ...
FourFullStopTwo ServerVersion = "4.2"
// FourFullStopZero ...
FourFullStopZero ServerVersion = "4.0"
// ThreeFullStopSix ...
ThreeFullStopSix ServerVersion = "3.6"
// ThreeFullStopTwo ...
ThreeFullStopTwo ServerVersion = "3.2"
)
// PossibleServerVersionValues returns an array of possible values for the ServerVersion const type.
func PossibleServerVersionValues() []ServerVersion {
return []ServerVersion{FourFullStopTwo, FourFullStopZero, ThreeFullStopSix, ThreeFullStopTwo}
}
// ServiceSize enumerates the values for service size.
type ServiceSize string
const (
// CosmosD16s ...
CosmosD16s ServiceSize = "Cosmos.D16s"
// CosmosD4s ...
CosmosD4s ServiceSize = "Cosmos.D4s"
// CosmosD8s ...
CosmosD8s ServiceSize = "Cosmos.D8s"
)
// PossibleServiceSizeValues returns an array of possible values for the ServiceSize const type.
func PossibleServiceSizeValues() []ServiceSize {
return []ServiceSize{CosmosD16s, CosmosD4s, CosmosD8s}
}
// ServiceStatus enumerates the values for service status.
type ServiceStatus string
const (
// ServiceStatusCreating ...
ServiceStatusCreating ServiceStatus = "Creating"
// ServiceStatusDeleting ...
ServiceStatusDeleting ServiceStatus = "Deleting"
// ServiceStatusError ...
ServiceStatusError ServiceStatus = "Error"
// ServiceStatusRunning ...
ServiceStatusRunning ServiceStatus = "Running"
// ServiceStatusStopped ...
ServiceStatusStopped ServiceStatus = "Stopped"
// ServiceStatusUpdating ...
ServiceStatusUpdating ServiceStatus = "Updating"
)
// PossibleServiceStatusValues returns an array of possible values for the ServiceStatus const type.
func PossibleServiceStatusValues() []ServiceStatus {
return []ServiceStatus{ServiceStatusCreating, ServiceStatusDeleting, ServiceStatusError, ServiceStatusRunning, ServiceStatusStopped, ServiceStatusUpdating}
}
// ServiceType enumerates the values for service type.
type ServiceType string
const (
// DataTransfer ...
DataTransfer ServiceType = "DataTransfer"
// GraphAPICompute ...
GraphAPICompute ServiceType = "GraphAPICompute"
// MaterializedViewsBuilder ...
MaterializedViewsBuilder ServiceType = "MaterializedViewsBuilder"
// SQLDedicatedGateway ...
SQLDedicatedGateway ServiceType = "SqlDedicatedGateway"
)
// PossibleServiceTypeValues returns an array of possible values for the ServiceType const type.
func PossibleServiceTypeValues() []ServiceType {
return []ServiceType{DataTransfer, GraphAPICompute, MaterializedViewsBuilder, SQLDedicatedGateway}
}
// ServiceTypeBasicServiceResourceProperties enumerates the values for service type basic service resource
// properties.
type ServiceTypeBasicServiceResourceProperties string
const (
// ServiceTypeDataTransfer ...
ServiceTypeDataTransfer ServiceTypeBasicServiceResourceProperties = "DataTransfer"
// ServiceTypeGraphAPICompute ...
ServiceTypeGraphAPICompute ServiceTypeBasicServiceResourceProperties = "GraphAPICompute"
// ServiceTypeMaterializedViewsBuilder ...
ServiceTypeMaterializedViewsBuilder ServiceTypeBasicServiceResourceProperties = "MaterializedViewsBuilder"
// ServiceTypeServiceResourceProperties ...
ServiceTypeServiceResourceProperties ServiceTypeBasicServiceResourceProperties = "ServiceResourceProperties"
// ServiceTypeSQLDedicatedGateway ...
ServiceTypeSQLDedicatedGateway ServiceTypeBasicServiceResourceProperties = "SqlDedicatedGateway"
)
// PossibleServiceTypeBasicServiceResourcePropertiesValues returns an array of possible values for the ServiceTypeBasicServiceResourceProperties const type.
func PossibleServiceTypeBasicServiceResourcePropertiesValues() []ServiceTypeBasicServiceResourceProperties {
return []ServiceTypeBasicServiceResourceProperties{ServiceTypeDataTransfer, ServiceTypeGraphAPICompute, ServiceTypeMaterializedViewsBuilder, ServiceTypeServiceResourceProperties, ServiceTypeSQLDedicatedGateway}
}
// SpatialType enumerates the values for spatial type.
type SpatialType string
const (
// SpatialTypeLineString ...
SpatialTypeLineString SpatialType = "LineString"
// SpatialTypeMultiPolygon ...
SpatialTypeMultiPolygon SpatialType = "MultiPolygon"
// SpatialTypePoint ...
SpatialTypePoint SpatialType = "Point"
// SpatialTypePolygon ...
SpatialTypePolygon SpatialType = "Polygon"
)
// PossibleSpatialTypeValues returns an array of possible values for the SpatialType const type.
func PossibleSpatialTypeValues() []SpatialType {
return []SpatialType{SpatialTypeLineString, SpatialTypeMultiPolygon, SpatialTypePoint, SpatialTypePolygon}
}
// TriggerOperation enumerates the values for trigger operation.
type TriggerOperation string
const (
// TriggerOperationAll ...
TriggerOperationAll TriggerOperation = "All"
// TriggerOperationCreate ...
TriggerOperationCreate TriggerOperation = "Create"
// TriggerOperationDelete ...
TriggerOperationDelete TriggerOperation = "Delete"
// TriggerOperationReplace ...
TriggerOperationReplace TriggerOperation = "Replace"
// TriggerOperationUpdate ...
TriggerOperationUpdate TriggerOperation = "Update"
)
// PossibleTriggerOperationValues returns an array of possible values for the TriggerOperation const type.
func PossibleTriggerOperationValues() []TriggerOperation {
return []TriggerOperation{TriggerOperationAll, TriggerOperationCreate, TriggerOperationDelete, TriggerOperationReplace, TriggerOperationUpdate}
}
// TriggerType enumerates the values for trigger type.
type TriggerType string
const (
// Post ...
Post TriggerType = "Post"
// Pre ...
Pre TriggerType = "Pre"
)
// PossibleTriggerTypeValues returns an array of possible values for the TriggerType const type.
func PossibleTriggerTypeValues() []TriggerType {
return []TriggerType{Post, Pre}
}
// Type enumerates the values for type.
type Type string
const (
// TypeBackupPolicy ...
TypeBackupPolicy Type = "BackupPolicy"
// TypeContinuous ...
TypeContinuous Type = "Continuous"
// TypePeriodic ...
TypePeriodic Type = "Periodic"
)
// PossibleTypeValues returns an array of possible values for the Type const type.
func PossibleTypeValues() []Type {
return []Type{TypeBackupPolicy, TypeContinuous, TypePeriodic}
}
// UnitType enumerates the values for unit type.
type UnitType string
const (
// Bytes ...
Bytes UnitType = "Bytes"
// BytesPerSecond ...
BytesPerSecond UnitType = "BytesPerSecond"
// Count ...
Count UnitType = "Count"
// CountPerSecond ...
CountPerSecond UnitType = "CountPerSecond"
// Milliseconds ...
Milliseconds UnitType = "Milliseconds"
// Percent ...
Percent UnitType = "Percent"
// Seconds ...
Seconds UnitType = "Seconds"
)
// PossibleUnitTypeValues returns an array of possible values for the UnitType const type.
func PossibleUnitTypeValues() []UnitType {
return []UnitType{Bytes, BytesPerSecond, Count, CountPerSecond, Milliseconds, Percent, Seconds}
}
|