...

Source file src/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2021-10-15/documentdb/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2021-10-15/documentdb

     1  package documentdb
     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  // AnalyticalStorageSchemaType enumerates the values for analytical storage schema type.
    10  type AnalyticalStorageSchemaType string
    11  
    12  const (
    13  	// AnalyticalStorageSchemaTypeFullFidelity ...
    14  	AnalyticalStorageSchemaTypeFullFidelity AnalyticalStorageSchemaType = "FullFidelity"
    15  	// AnalyticalStorageSchemaTypeWellDefined ...
    16  	AnalyticalStorageSchemaTypeWellDefined AnalyticalStorageSchemaType = "WellDefined"
    17  )
    18  
    19  // PossibleAnalyticalStorageSchemaTypeValues returns an array of possible values for the AnalyticalStorageSchemaType const type.
    20  func PossibleAnalyticalStorageSchemaTypeValues() []AnalyticalStorageSchemaType {
    21  	return []AnalyticalStorageSchemaType{AnalyticalStorageSchemaTypeFullFidelity, AnalyticalStorageSchemaTypeWellDefined}
    22  }
    23  
    24  // APIType enumerates the values for api type.
    25  type APIType string
    26  
    27  const (
    28  	// APITypeCassandra ...
    29  	APITypeCassandra APIType = "Cassandra"
    30  	// APITypeGremlin ...
    31  	APITypeGremlin APIType = "Gremlin"
    32  	// APITypeGremlinV2 ...
    33  	APITypeGremlinV2 APIType = "GremlinV2"
    34  	// APITypeMongoDB ...
    35  	APITypeMongoDB APIType = "MongoDB"
    36  	// APITypeSQL ...
    37  	APITypeSQL APIType = "Sql"
    38  	// APITypeTable ...
    39  	APITypeTable APIType = "Table"
    40  )
    41  
    42  // PossibleAPITypeValues returns an array of possible values for the APIType const type.
    43  func PossibleAPITypeValues() []APIType {
    44  	return []APIType{APITypeCassandra, APITypeGremlin, APITypeGremlinV2, APITypeMongoDB, APITypeSQL, APITypeTable}
    45  }
    46  
    47  // AuthenticationMethod enumerates the values for authentication method.
    48  type AuthenticationMethod string
    49  
    50  const (
    51  	// AuthenticationMethodCassandra ...
    52  	AuthenticationMethodCassandra AuthenticationMethod = "Cassandra"
    53  	// AuthenticationMethodNone ...
    54  	AuthenticationMethodNone AuthenticationMethod = "None"
    55  )
    56  
    57  // PossibleAuthenticationMethodValues returns an array of possible values for the AuthenticationMethod const type.
    58  func PossibleAuthenticationMethodValues() []AuthenticationMethod {
    59  	return []AuthenticationMethod{AuthenticationMethodCassandra, AuthenticationMethodNone}
    60  }
    61  
    62  // BackupPolicyMigrationStatus enumerates the values for backup policy migration status.
    63  type BackupPolicyMigrationStatus string
    64  
    65  const (
    66  	// BackupPolicyMigrationStatusCompleted ...
    67  	BackupPolicyMigrationStatusCompleted BackupPolicyMigrationStatus = "Completed"
    68  	// BackupPolicyMigrationStatusFailed ...
    69  	BackupPolicyMigrationStatusFailed BackupPolicyMigrationStatus = "Failed"
    70  	// BackupPolicyMigrationStatusInProgress ...
    71  	BackupPolicyMigrationStatusInProgress BackupPolicyMigrationStatus = "InProgress"
    72  	// BackupPolicyMigrationStatusInvalid ...
    73  	BackupPolicyMigrationStatusInvalid BackupPolicyMigrationStatus = "Invalid"
    74  )
    75  
    76  // PossibleBackupPolicyMigrationStatusValues returns an array of possible values for the BackupPolicyMigrationStatus const type.
    77  func PossibleBackupPolicyMigrationStatusValues() []BackupPolicyMigrationStatus {
    78  	return []BackupPolicyMigrationStatus{BackupPolicyMigrationStatusCompleted, BackupPolicyMigrationStatusFailed, BackupPolicyMigrationStatusInProgress, BackupPolicyMigrationStatusInvalid}
    79  }
    80  
    81  // BackupPolicyType enumerates the values for backup policy type.
    82  type BackupPolicyType string
    83  
    84  const (
    85  	// BackupPolicyTypeContinuous ...
    86  	BackupPolicyTypeContinuous BackupPolicyType = "Continuous"
    87  	// BackupPolicyTypePeriodic ...
    88  	BackupPolicyTypePeriodic BackupPolicyType = "Periodic"
    89  )
    90  
    91  // PossibleBackupPolicyTypeValues returns an array of possible values for the BackupPolicyType const type.
    92  func PossibleBackupPolicyTypeValues() []BackupPolicyType {
    93  	return []BackupPolicyType{BackupPolicyTypeContinuous, BackupPolicyTypePeriodic}
    94  }
    95  
    96  // BackupStorageRedundancy enumerates the values for backup storage redundancy.
    97  type BackupStorageRedundancy string
    98  
    99  const (
   100  	// BackupStorageRedundancyGeo ...
   101  	BackupStorageRedundancyGeo BackupStorageRedundancy = "Geo"
   102  	// BackupStorageRedundancyLocal ...
   103  	BackupStorageRedundancyLocal BackupStorageRedundancy = "Local"
   104  	// BackupStorageRedundancyZone ...
   105  	BackupStorageRedundancyZone BackupStorageRedundancy = "Zone"
   106  )
   107  
   108  // PossibleBackupStorageRedundancyValues returns an array of possible values for the BackupStorageRedundancy const type.
   109  func PossibleBackupStorageRedundancyValues() []BackupStorageRedundancy {
   110  	return []BackupStorageRedundancy{BackupStorageRedundancyGeo, BackupStorageRedundancyLocal, BackupStorageRedundancyZone}
   111  }
   112  
   113  // CompositePathSortOrder enumerates the values for composite path sort order.
   114  type CompositePathSortOrder string
   115  
   116  const (
   117  	// CompositePathSortOrderAscending ...
   118  	CompositePathSortOrderAscending CompositePathSortOrder = "ascending"
   119  	// CompositePathSortOrderDescending ...
   120  	CompositePathSortOrderDescending CompositePathSortOrder = "descending"
   121  )
   122  
   123  // PossibleCompositePathSortOrderValues returns an array of possible values for the CompositePathSortOrder const type.
   124  func PossibleCompositePathSortOrderValues() []CompositePathSortOrder {
   125  	return []CompositePathSortOrder{CompositePathSortOrderAscending, CompositePathSortOrderDescending}
   126  }
   127  
   128  // ConflictResolutionMode enumerates the values for conflict resolution mode.
   129  type ConflictResolutionMode string
   130  
   131  const (
   132  	// ConflictResolutionModeCustom ...
   133  	ConflictResolutionModeCustom ConflictResolutionMode = "Custom"
   134  	// ConflictResolutionModeLastWriterWins ...
   135  	ConflictResolutionModeLastWriterWins ConflictResolutionMode = "LastWriterWins"
   136  )
   137  
   138  // PossibleConflictResolutionModeValues returns an array of possible values for the ConflictResolutionMode const type.
   139  func PossibleConflictResolutionModeValues() []ConflictResolutionMode {
   140  	return []ConflictResolutionMode{ConflictResolutionModeCustom, ConflictResolutionModeLastWriterWins}
   141  }
   142  
   143  // ConnectionState enumerates the values for connection state.
   144  type ConnectionState string
   145  
   146  const (
   147  	// ConnectionStateDatacenterToDatacenterNetworkError ...
   148  	ConnectionStateDatacenterToDatacenterNetworkError ConnectionState = "DatacenterToDatacenterNetworkError"
   149  	// ConnectionStateInternalError ...
   150  	ConnectionStateInternalError ConnectionState = "InternalError"
   151  	// ConnectionStateInternalOperatorToDataCenterCertificateError ...
   152  	ConnectionStateInternalOperatorToDataCenterCertificateError ConnectionState = "InternalOperatorToDataCenterCertificateError"
   153  	// ConnectionStateOK ...
   154  	ConnectionStateOK ConnectionState = "OK"
   155  	// ConnectionStateOperatorToDataCenterNetworkError ...
   156  	ConnectionStateOperatorToDataCenterNetworkError ConnectionState = "OperatorToDataCenterNetworkError"
   157  	// ConnectionStateUnknown ...
   158  	ConnectionStateUnknown ConnectionState = "Unknown"
   159  )
   160  
   161  // PossibleConnectionStateValues returns an array of possible values for the ConnectionState const type.
   162  func PossibleConnectionStateValues() []ConnectionState {
   163  	return []ConnectionState{ConnectionStateDatacenterToDatacenterNetworkError, ConnectionStateInternalError, ConnectionStateInternalOperatorToDataCenterCertificateError, ConnectionStateOK, ConnectionStateOperatorToDataCenterNetworkError, ConnectionStateUnknown}
   164  }
   165  
   166  // ConnectorOffer enumerates the values for connector offer.
   167  type ConnectorOffer string
   168  
   169  const (
   170  	// ConnectorOfferSmall ...
   171  	ConnectorOfferSmall ConnectorOffer = "Small"
   172  )
   173  
   174  // PossibleConnectorOfferValues returns an array of possible values for the ConnectorOffer const type.
   175  func PossibleConnectorOfferValues() []ConnectorOffer {
   176  	return []ConnectorOffer{ConnectorOfferSmall}
   177  }
   178  
   179  // CreatedByType enumerates the values for created by type.
   180  type CreatedByType string
   181  
   182  const (
   183  	// CreatedByTypeApplication ...
   184  	CreatedByTypeApplication CreatedByType = "Application"
   185  	// CreatedByTypeKey ...
   186  	CreatedByTypeKey CreatedByType = "Key"
   187  	// CreatedByTypeManagedIdentity ...
   188  	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
   189  	// CreatedByTypeUser ...
   190  	CreatedByTypeUser CreatedByType = "User"
   191  )
   192  
   193  // PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
   194  func PossibleCreatedByTypeValues() []CreatedByType {
   195  	return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
   196  }
   197  
   198  // CreateMode enumerates the values for create mode.
   199  type CreateMode string
   200  
   201  const (
   202  	// CreateModeDefault ...
   203  	CreateModeDefault CreateMode = "Default"
   204  	// CreateModeRestore ...
   205  	CreateModeRestore CreateMode = "Restore"
   206  )
   207  
   208  // PossibleCreateModeValues returns an array of possible values for the CreateMode const type.
   209  func PossibleCreateModeValues() []CreateMode {
   210  	return []CreateMode{CreateModeDefault, CreateModeRestore}
   211  }
   212  
   213  // DatabaseAccountKind enumerates the values for database account kind.
   214  type DatabaseAccountKind string
   215  
   216  const (
   217  	// DatabaseAccountKindGlobalDocumentDB ...
   218  	DatabaseAccountKindGlobalDocumentDB DatabaseAccountKind = "GlobalDocumentDB"
   219  	// DatabaseAccountKindMongoDB ...
   220  	DatabaseAccountKindMongoDB DatabaseAccountKind = "MongoDB"
   221  	// DatabaseAccountKindParse ...
   222  	DatabaseAccountKindParse DatabaseAccountKind = "Parse"
   223  )
   224  
   225  // PossibleDatabaseAccountKindValues returns an array of possible values for the DatabaseAccountKind const type.
   226  func PossibleDatabaseAccountKindValues() []DatabaseAccountKind {
   227  	return []DatabaseAccountKind{DatabaseAccountKindGlobalDocumentDB, DatabaseAccountKindMongoDB, DatabaseAccountKindParse}
   228  }
   229  
   230  // DatabaseAccountOfferType enumerates the values for database account offer type.
   231  type DatabaseAccountOfferType string
   232  
   233  const (
   234  	// DatabaseAccountOfferTypeStandard ...
   235  	DatabaseAccountOfferTypeStandard DatabaseAccountOfferType = "Standard"
   236  )
   237  
   238  // PossibleDatabaseAccountOfferTypeValues returns an array of possible values for the DatabaseAccountOfferType const type.
   239  func PossibleDatabaseAccountOfferTypeValues() []DatabaseAccountOfferType {
   240  	return []DatabaseAccountOfferType{DatabaseAccountOfferTypeStandard}
   241  }
   242  
   243  // DataType enumerates the values for data type.
   244  type DataType string
   245  
   246  const (
   247  	// DataTypeLineString ...
   248  	DataTypeLineString DataType = "LineString"
   249  	// DataTypeMultiPolygon ...
   250  	DataTypeMultiPolygon DataType = "MultiPolygon"
   251  	// DataTypeNumber ...
   252  	DataTypeNumber DataType = "Number"
   253  	// DataTypePoint ...
   254  	DataTypePoint DataType = "Point"
   255  	// DataTypePolygon ...
   256  	DataTypePolygon DataType = "Polygon"
   257  	// DataTypeString ...
   258  	DataTypeString DataType = "String"
   259  )
   260  
   261  // PossibleDataTypeValues returns an array of possible values for the DataType const type.
   262  func PossibleDataTypeValues() []DataType {
   263  	return []DataType{DataTypeLineString, DataTypeMultiPolygon, DataTypeNumber, DataTypePoint, DataTypePolygon, DataTypeString}
   264  }
   265  
   266  // DefaultConsistencyLevel enumerates the values for default consistency level.
   267  type DefaultConsistencyLevel string
   268  
   269  const (
   270  	// DefaultConsistencyLevelBoundedStaleness ...
   271  	DefaultConsistencyLevelBoundedStaleness DefaultConsistencyLevel = "BoundedStaleness"
   272  	// DefaultConsistencyLevelConsistentPrefix ...
   273  	DefaultConsistencyLevelConsistentPrefix DefaultConsistencyLevel = "ConsistentPrefix"
   274  	// DefaultConsistencyLevelEventual ...
   275  	DefaultConsistencyLevelEventual DefaultConsistencyLevel = "Eventual"
   276  	// DefaultConsistencyLevelSession ...
   277  	DefaultConsistencyLevelSession DefaultConsistencyLevel = "Session"
   278  	// DefaultConsistencyLevelStrong ...
   279  	DefaultConsistencyLevelStrong DefaultConsistencyLevel = "Strong"
   280  )
   281  
   282  // PossibleDefaultConsistencyLevelValues returns an array of possible values for the DefaultConsistencyLevel const type.
   283  func PossibleDefaultConsistencyLevelValues() []DefaultConsistencyLevel {
   284  	return []DefaultConsistencyLevel{DefaultConsistencyLevelBoundedStaleness, DefaultConsistencyLevelConsistentPrefix, DefaultConsistencyLevelEventual, DefaultConsistencyLevelSession, DefaultConsistencyLevelStrong}
   285  }
   286  
   287  // IndexingMode enumerates the values for indexing mode.
   288  type IndexingMode string
   289  
   290  const (
   291  	// IndexingModeConsistent ...
   292  	IndexingModeConsistent IndexingMode = "consistent"
   293  	// IndexingModeLazy ...
   294  	IndexingModeLazy IndexingMode = "lazy"
   295  	// IndexingModeNone ...
   296  	IndexingModeNone IndexingMode = "none"
   297  )
   298  
   299  // PossibleIndexingModeValues returns an array of possible values for the IndexingMode const type.
   300  func PossibleIndexingModeValues() []IndexingMode {
   301  	return []IndexingMode{IndexingModeConsistent, IndexingModeLazy, IndexingModeNone}
   302  }
   303  
   304  // IndexKind enumerates the values for index kind.
   305  type IndexKind string
   306  
   307  const (
   308  	// IndexKindHash ...
   309  	IndexKindHash IndexKind = "Hash"
   310  	// IndexKindRange ...
   311  	IndexKindRange IndexKind = "Range"
   312  	// IndexKindSpatial ...
   313  	IndexKindSpatial IndexKind = "Spatial"
   314  )
   315  
   316  // PossibleIndexKindValues returns an array of possible values for the IndexKind const type.
   317  func PossibleIndexKindValues() []IndexKind {
   318  	return []IndexKind{IndexKindHash, IndexKindRange, IndexKindSpatial}
   319  }
   320  
   321  // KeyKind enumerates the values for key kind.
   322  type KeyKind string
   323  
   324  const (
   325  	// KeyKindPrimary ...
   326  	KeyKindPrimary KeyKind = "primary"
   327  	// KeyKindPrimaryReadonly ...
   328  	KeyKindPrimaryReadonly KeyKind = "primaryReadonly"
   329  	// KeyKindSecondary ...
   330  	KeyKindSecondary KeyKind = "secondary"
   331  	// KeyKindSecondaryReadonly ...
   332  	KeyKindSecondaryReadonly KeyKind = "secondaryReadonly"
   333  )
   334  
   335  // PossibleKeyKindValues returns an array of possible values for the KeyKind const type.
   336  func PossibleKeyKindValues() []KeyKind {
   337  	return []KeyKind{KeyKindPrimary, KeyKindPrimaryReadonly, KeyKindSecondary, KeyKindSecondaryReadonly}
   338  }
   339  
   340  // ManagedCassandraProvisioningState enumerates the values for managed cassandra provisioning state.
   341  type ManagedCassandraProvisioningState string
   342  
   343  const (
   344  	// ManagedCassandraProvisioningStateCanceled ...
   345  	ManagedCassandraProvisioningStateCanceled ManagedCassandraProvisioningState = "Canceled"
   346  	// ManagedCassandraProvisioningStateCreating ...
   347  	ManagedCassandraProvisioningStateCreating ManagedCassandraProvisioningState = "Creating"
   348  	// ManagedCassandraProvisioningStateDeleting ...
   349  	ManagedCassandraProvisioningStateDeleting ManagedCassandraProvisioningState = "Deleting"
   350  	// ManagedCassandraProvisioningStateFailed ...
   351  	ManagedCassandraProvisioningStateFailed ManagedCassandraProvisioningState = "Failed"
   352  	// ManagedCassandraProvisioningStateSucceeded ...
   353  	ManagedCassandraProvisioningStateSucceeded ManagedCassandraProvisioningState = "Succeeded"
   354  	// ManagedCassandraProvisioningStateUpdating ...
   355  	ManagedCassandraProvisioningStateUpdating ManagedCassandraProvisioningState = "Updating"
   356  )
   357  
   358  // PossibleManagedCassandraProvisioningStateValues returns an array of possible values for the ManagedCassandraProvisioningState const type.
   359  func PossibleManagedCassandraProvisioningStateValues() []ManagedCassandraProvisioningState {
   360  	return []ManagedCassandraProvisioningState{ManagedCassandraProvisioningStateCanceled, ManagedCassandraProvisioningStateCreating, ManagedCassandraProvisioningStateDeleting, ManagedCassandraProvisioningStateFailed, ManagedCassandraProvisioningStateSucceeded, ManagedCassandraProvisioningStateUpdating}
   361  }
   362  
   363  // ManagedCassandraResourceIdentityType enumerates the values for managed cassandra resource identity type.
   364  type ManagedCassandraResourceIdentityType string
   365  
   366  const (
   367  	// ManagedCassandraResourceIdentityTypeNone ...
   368  	ManagedCassandraResourceIdentityTypeNone ManagedCassandraResourceIdentityType = "None"
   369  	// ManagedCassandraResourceIdentityTypeSystemAssigned ...
   370  	ManagedCassandraResourceIdentityTypeSystemAssigned ManagedCassandraResourceIdentityType = "SystemAssigned"
   371  )
   372  
   373  // PossibleManagedCassandraResourceIdentityTypeValues returns an array of possible values for the ManagedCassandraResourceIdentityType const type.
   374  func PossibleManagedCassandraResourceIdentityTypeValues() []ManagedCassandraResourceIdentityType {
   375  	return []ManagedCassandraResourceIdentityType{ManagedCassandraResourceIdentityTypeNone, ManagedCassandraResourceIdentityTypeSystemAssigned}
   376  }
   377  
   378  // NetworkACLBypass enumerates the values for network acl bypass.
   379  type NetworkACLBypass string
   380  
   381  const (
   382  	// NetworkACLBypassAzureServices ...
   383  	NetworkACLBypassAzureServices NetworkACLBypass = "AzureServices"
   384  	// NetworkACLBypassNone ...
   385  	NetworkACLBypassNone NetworkACLBypass = "None"
   386  )
   387  
   388  // PossibleNetworkACLBypassValues returns an array of possible values for the NetworkACLBypass const type.
   389  func PossibleNetworkACLBypassValues() []NetworkACLBypass {
   390  	return []NetworkACLBypass{NetworkACLBypassAzureServices, NetworkACLBypassNone}
   391  }
   392  
   393  // NodeState enumerates the values for node state.
   394  type NodeState string
   395  
   396  const (
   397  	// NodeStateJoining ...
   398  	NodeStateJoining NodeState = "Joining"
   399  	// NodeStateLeaving ...
   400  	NodeStateLeaving NodeState = "Leaving"
   401  	// NodeStateMoving ...
   402  	NodeStateMoving NodeState = "Moving"
   403  	// NodeStateNormal ...
   404  	NodeStateNormal NodeState = "Normal"
   405  	// NodeStateStopped ...
   406  	NodeStateStopped NodeState = "Stopped"
   407  )
   408  
   409  // PossibleNodeStateValues returns an array of possible values for the NodeState const type.
   410  func PossibleNodeStateValues() []NodeState {
   411  	return []NodeState{NodeStateJoining, NodeStateLeaving, NodeStateMoving, NodeStateNormal, NodeStateStopped}
   412  }
   413  
   414  // NodeStatus enumerates the values for node status.
   415  type NodeStatus string
   416  
   417  const (
   418  	// NodeStatusDown ...
   419  	NodeStatusDown NodeStatus = "Down"
   420  	// NodeStatusUp ...
   421  	NodeStatusUp NodeStatus = "Up"
   422  )
   423  
   424  // PossibleNodeStatusValues returns an array of possible values for the NodeStatus const type.
   425  func PossibleNodeStatusValues() []NodeStatus {
   426  	return []NodeStatus{NodeStatusDown, NodeStatusUp}
   427  }
   428  
   429  // OperationType enumerates the values for operation type.
   430  type OperationType string
   431  
   432  const (
   433  	// OperationTypeCreate ...
   434  	OperationTypeCreate OperationType = "Create"
   435  	// OperationTypeDelete ...
   436  	OperationTypeDelete OperationType = "Delete"
   437  	// OperationTypeReplace ...
   438  	OperationTypeReplace OperationType = "Replace"
   439  	// OperationTypeSystemOperation ...
   440  	OperationTypeSystemOperation OperationType = "SystemOperation"
   441  )
   442  
   443  // PossibleOperationTypeValues returns an array of possible values for the OperationType const type.
   444  func PossibleOperationTypeValues() []OperationType {
   445  	return []OperationType{OperationTypeCreate, OperationTypeDelete, OperationTypeReplace, OperationTypeSystemOperation}
   446  }
   447  
   448  // PartitionKind enumerates the values for partition kind.
   449  type PartitionKind string
   450  
   451  const (
   452  	// PartitionKindHash ...
   453  	PartitionKindHash PartitionKind = "Hash"
   454  	// PartitionKindMultiHash ...
   455  	PartitionKindMultiHash PartitionKind = "MultiHash"
   456  	// PartitionKindRange ...
   457  	PartitionKindRange PartitionKind = "Range"
   458  )
   459  
   460  // PossiblePartitionKindValues returns an array of possible values for the PartitionKind const type.
   461  func PossiblePartitionKindValues() []PartitionKind {
   462  	return []PartitionKind{PartitionKindHash, PartitionKindMultiHash, PartitionKindRange}
   463  }
   464  
   465  // PrimaryAggregationType enumerates the values for primary aggregation type.
   466  type PrimaryAggregationType string
   467  
   468  const (
   469  	// PrimaryAggregationTypeAverage ...
   470  	PrimaryAggregationTypeAverage PrimaryAggregationType = "Average"
   471  	// PrimaryAggregationTypeLast ...
   472  	PrimaryAggregationTypeLast PrimaryAggregationType = "Last"
   473  	// PrimaryAggregationTypeMaximum ...
   474  	PrimaryAggregationTypeMaximum PrimaryAggregationType = "Maximum"
   475  	// PrimaryAggregationTypeMinimum ...
   476  	PrimaryAggregationTypeMinimum PrimaryAggregationType = "Minimum"
   477  	// PrimaryAggregationTypeNone ...
   478  	PrimaryAggregationTypeNone PrimaryAggregationType = "None"
   479  	// PrimaryAggregationTypeTotal ...
   480  	PrimaryAggregationTypeTotal PrimaryAggregationType = "Total"
   481  )
   482  
   483  // PossiblePrimaryAggregationTypeValues returns an array of possible values for the PrimaryAggregationType const type.
   484  func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType {
   485  	return []PrimaryAggregationType{PrimaryAggregationTypeAverage, PrimaryAggregationTypeLast, PrimaryAggregationTypeMaximum, PrimaryAggregationTypeMinimum, PrimaryAggregationTypeNone, PrimaryAggregationTypeTotal}
   486  }
   487  
   488  // PublicNetworkAccess enumerates the values for public network access.
   489  type PublicNetworkAccess string
   490  
   491  const (
   492  	// PublicNetworkAccessDisabled ...
   493  	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
   494  	// PublicNetworkAccessEnabled ...
   495  	PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
   496  )
   497  
   498  // PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.
   499  func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
   500  	return []PublicNetworkAccess{PublicNetworkAccessDisabled, PublicNetworkAccessEnabled}
   501  }
   502  
   503  // ResourceIdentityType enumerates the values for resource identity type.
   504  type ResourceIdentityType string
   505  
   506  const (
   507  	// ResourceIdentityTypeNone ...
   508  	ResourceIdentityTypeNone ResourceIdentityType = "None"
   509  	// ResourceIdentityTypeSystemAssigned ...
   510  	ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
   511  	// ResourceIdentityTypeSystemAssignedUserAssigned ...
   512  	ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned,UserAssigned"
   513  	// ResourceIdentityTypeUserAssigned ...
   514  	ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
   515  )
   516  
   517  // PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
   518  func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
   519  	return []ResourceIdentityType{ResourceIdentityTypeNone, ResourceIdentityTypeSystemAssigned, ResourceIdentityTypeSystemAssignedUserAssigned, ResourceIdentityTypeUserAssigned}
   520  }
   521  
   522  // RestoreMode enumerates the values for restore mode.
   523  type RestoreMode string
   524  
   525  const (
   526  	// RestoreModePointInTime ...
   527  	RestoreModePointInTime RestoreMode = "PointInTime"
   528  )
   529  
   530  // PossibleRestoreModeValues returns an array of possible values for the RestoreMode const type.
   531  func PossibleRestoreModeValues() []RestoreMode {
   532  	return []RestoreMode{RestoreModePointInTime}
   533  }
   534  
   535  // RoleDefinitionType enumerates the values for role definition type.
   536  type RoleDefinitionType string
   537  
   538  const (
   539  	// RoleDefinitionTypeBuiltInRole ...
   540  	RoleDefinitionTypeBuiltInRole RoleDefinitionType = "BuiltInRole"
   541  	// RoleDefinitionTypeCustomRole ...
   542  	RoleDefinitionTypeCustomRole RoleDefinitionType = "CustomRole"
   543  )
   544  
   545  // PossibleRoleDefinitionTypeValues returns an array of possible values for the RoleDefinitionType const type.
   546  func PossibleRoleDefinitionTypeValues() []RoleDefinitionType {
   547  	return []RoleDefinitionType{RoleDefinitionTypeBuiltInRole, RoleDefinitionTypeCustomRole}
   548  }
   549  
   550  // ServerVersion enumerates the values for server version.
   551  type ServerVersion string
   552  
   553  const (
   554  	// ServerVersionFourFullStopTwo ...
   555  	ServerVersionFourFullStopTwo ServerVersion = "4.2"
   556  	// ServerVersionFourFullStopZero ...
   557  	ServerVersionFourFullStopZero ServerVersion = "4.0"
   558  	// ServerVersionThreeFullStopSix ...
   559  	ServerVersionThreeFullStopSix ServerVersion = "3.6"
   560  	// ServerVersionThreeFullStopTwo ...
   561  	ServerVersionThreeFullStopTwo ServerVersion = "3.2"
   562  )
   563  
   564  // PossibleServerVersionValues returns an array of possible values for the ServerVersion const type.
   565  func PossibleServerVersionValues() []ServerVersion {
   566  	return []ServerVersion{ServerVersionFourFullStopTwo, ServerVersionFourFullStopZero, ServerVersionThreeFullStopSix, ServerVersionThreeFullStopTwo}
   567  }
   568  
   569  // SpatialType enumerates the values for spatial type.
   570  type SpatialType string
   571  
   572  const (
   573  	// SpatialTypeLineString ...
   574  	SpatialTypeLineString SpatialType = "LineString"
   575  	// SpatialTypeMultiPolygon ...
   576  	SpatialTypeMultiPolygon SpatialType = "MultiPolygon"
   577  	// SpatialTypePoint ...
   578  	SpatialTypePoint SpatialType = "Point"
   579  	// SpatialTypePolygon ...
   580  	SpatialTypePolygon SpatialType = "Polygon"
   581  )
   582  
   583  // PossibleSpatialTypeValues returns an array of possible values for the SpatialType const type.
   584  func PossibleSpatialTypeValues() []SpatialType {
   585  	return []SpatialType{SpatialTypeLineString, SpatialTypeMultiPolygon, SpatialTypePoint, SpatialTypePolygon}
   586  }
   587  
   588  // TriggerOperation enumerates the values for trigger operation.
   589  type TriggerOperation string
   590  
   591  const (
   592  	// TriggerOperationAll ...
   593  	TriggerOperationAll TriggerOperation = "All"
   594  	// TriggerOperationCreate ...
   595  	TriggerOperationCreate TriggerOperation = "Create"
   596  	// TriggerOperationDelete ...
   597  	TriggerOperationDelete TriggerOperation = "Delete"
   598  	// TriggerOperationReplace ...
   599  	TriggerOperationReplace TriggerOperation = "Replace"
   600  	// TriggerOperationUpdate ...
   601  	TriggerOperationUpdate TriggerOperation = "Update"
   602  )
   603  
   604  // PossibleTriggerOperationValues returns an array of possible values for the TriggerOperation const type.
   605  func PossibleTriggerOperationValues() []TriggerOperation {
   606  	return []TriggerOperation{TriggerOperationAll, TriggerOperationCreate, TriggerOperationDelete, TriggerOperationReplace, TriggerOperationUpdate}
   607  }
   608  
   609  // TriggerType enumerates the values for trigger type.
   610  type TriggerType string
   611  
   612  const (
   613  	// TriggerTypePost ...
   614  	TriggerTypePost TriggerType = "Post"
   615  	// TriggerTypePre ...
   616  	TriggerTypePre TriggerType = "Pre"
   617  )
   618  
   619  // PossibleTriggerTypeValues returns an array of possible values for the TriggerType const type.
   620  func PossibleTriggerTypeValues() []TriggerType {
   621  	return []TriggerType{TriggerTypePost, TriggerTypePre}
   622  }
   623  
   624  // Type enumerates the values for type.
   625  type Type string
   626  
   627  const (
   628  	// TypeBackupPolicy ...
   629  	TypeBackupPolicy Type = "BackupPolicy"
   630  	// TypeContinuous ...
   631  	TypeContinuous Type = "Continuous"
   632  	// TypePeriodic ...
   633  	TypePeriodic Type = "Periodic"
   634  )
   635  
   636  // PossibleTypeValues returns an array of possible values for the Type const type.
   637  func PossibleTypeValues() []Type {
   638  	return []Type{TypeBackupPolicy, TypeContinuous, TypePeriodic}
   639  }
   640  
   641  // UnitType enumerates the values for unit type.
   642  type UnitType string
   643  
   644  const (
   645  	// UnitTypeBytes ...
   646  	UnitTypeBytes UnitType = "Bytes"
   647  	// UnitTypeBytesPerSecond ...
   648  	UnitTypeBytesPerSecond UnitType = "BytesPerSecond"
   649  	// UnitTypeCount ...
   650  	UnitTypeCount UnitType = "Count"
   651  	// UnitTypeCountPerSecond ...
   652  	UnitTypeCountPerSecond UnitType = "CountPerSecond"
   653  	// UnitTypeMilliseconds ...
   654  	UnitTypeMilliseconds UnitType = "Milliseconds"
   655  	// UnitTypePercent ...
   656  	UnitTypePercent UnitType = "Percent"
   657  	// UnitTypeSeconds ...
   658  	UnitTypeSeconds UnitType = "Seconds"
   659  )
   660  
   661  // PossibleUnitTypeValues returns an array of possible values for the UnitType const type.
   662  func PossibleUnitTypeValues() []UnitType {
   663  	return []UnitType{UnitTypeBytes, UnitTypeBytesPerSecond, UnitTypeCount, UnitTypeCountPerSecond, UnitTypeMilliseconds, UnitTypePercent, UnitTypeSeconds}
   664  }
   665  

View as plain text