...

Source file src/github.com/Azure/azure-sdk-for-go/services/storsimple1200series/mgmt/2016-10-01/storsimple/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/storsimple1200series/mgmt/2016-10-01/storsimple

     1  package storsimple
     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  // AlertEmailNotificationStatus enumerates the values for alert email notification status.
    10  type AlertEmailNotificationStatus string
    11  
    12  const (
    13  	// Disabled ...
    14  	Disabled AlertEmailNotificationStatus = "Disabled"
    15  	// Enabled ...
    16  	Enabled AlertEmailNotificationStatus = "Enabled"
    17  )
    18  
    19  // PossibleAlertEmailNotificationStatusValues returns an array of possible values for the AlertEmailNotificationStatus const type.
    20  func PossibleAlertEmailNotificationStatusValues() []AlertEmailNotificationStatus {
    21  	return []AlertEmailNotificationStatus{Disabled, Enabled}
    22  }
    23  
    24  // AlertScope enumerates the values for alert scope.
    25  type AlertScope string
    26  
    27  const (
    28  	// AlertScopeDevice ...
    29  	AlertScopeDevice AlertScope = "Device"
    30  	// AlertScopeResource ...
    31  	AlertScopeResource AlertScope = "Resource"
    32  )
    33  
    34  // PossibleAlertScopeValues returns an array of possible values for the AlertScope const type.
    35  func PossibleAlertScopeValues() []AlertScope {
    36  	return []AlertScope{AlertScopeDevice, AlertScopeResource}
    37  }
    38  
    39  // AlertSeverity enumerates the values for alert severity.
    40  type AlertSeverity string
    41  
    42  const (
    43  	// Critical ...
    44  	Critical AlertSeverity = "Critical"
    45  	// Informational ...
    46  	Informational AlertSeverity = "Informational"
    47  	// Warning ...
    48  	Warning AlertSeverity = "Warning"
    49  )
    50  
    51  // PossibleAlertSeverityValues returns an array of possible values for the AlertSeverity const type.
    52  func PossibleAlertSeverityValues() []AlertSeverity {
    53  	return []AlertSeverity{Critical, Informational, Warning}
    54  }
    55  
    56  // AlertSourceType enumerates the values for alert source type.
    57  type AlertSourceType string
    58  
    59  const (
    60  	// AlertSourceTypeDevice ...
    61  	AlertSourceTypeDevice AlertSourceType = "Device"
    62  	// AlertSourceTypeResource ...
    63  	AlertSourceTypeResource AlertSourceType = "Resource"
    64  )
    65  
    66  // PossibleAlertSourceTypeValues returns an array of possible values for the AlertSourceType const type.
    67  func PossibleAlertSourceTypeValues() []AlertSourceType {
    68  	return []AlertSourceType{AlertSourceTypeDevice, AlertSourceTypeResource}
    69  }
    70  
    71  // AlertStatus enumerates the values for alert status.
    72  type AlertStatus string
    73  
    74  const (
    75  	// Active ...
    76  	Active AlertStatus = "Active"
    77  	// Cleared ...
    78  	Cleared AlertStatus = "Cleared"
    79  )
    80  
    81  // PossibleAlertStatusValues returns an array of possible values for the AlertStatus const type.
    82  func PossibleAlertStatusValues() []AlertStatus {
    83  	return []AlertStatus{Active, Cleared}
    84  }
    85  
    86  // AuthType enumerates the values for auth type.
    87  type AuthType string
    88  
    89  const (
    90  	// AccessControlService ...
    91  	AccessControlService AuthType = "AccessControlService"
    92  	// AzureActiveDirectory ...
    93  	AzureActiveDirectory AuthType = "AzureActiveDirectory"
    94  	// Invalid ...
    95  	Invalid AuthType = "Invalid"
    96  )
    97  
    98  // PossibleAuthTypeValues returns an array of possible values for the AuthType const type.
    99  func PossibleAuthTypeValues() []AuthType {
   100  	return []AuthType{AccessControlService, AzureActiveDirectory, Invalid}
   101  }
   102  
   103  // CloudType enumerates the values for cloud type.
   104  type CloudType string
   105  
   106  const (
   107  	// Azure ...
   108  	Azure CloudType = "Azure"
   109  	// HP ...
   110  	HP CloudType = "HP"
   111  	// OpenStack ...
   112  	OpenStack CloudType = "OpenStack"
   113  	// S3 ...
   114  	S3 CloudType = "S3"
   115  	// S3RRS ...
   116  	S3RRS CloudType = "S3_RRS"
   117  )
   118  
   119  // PossibleCloudTypeValues returns an array of possible values for the CloudType const type.
   120  func PossibleCloudTypeValues() []CloudType {
   121  	return []CloudType{Azure, HP, OpenStack, S3, S3RRS}
   122  }
   123  
   124  // ContractVersions enumerates the values for contract versions.
   125  type ContractVersions string
   126  
   127  const (
   128  	// InvalidVersion ...
   129  	InvalidVersion ContractVersions = "InvalidVersion"
   130  	// V201109 ...
   131  	V201109 ContractVersions = "V2011_09"
   132  	// V201202 ...
   133  	V201202 ContractVersions = "V2012_02"
   134  	// V201205 ...
   135  	V201205 ContractVersions = "V2012_05"
   136  	// V201212 ...
   137  	V201212 ContractVersions = "V2012_12"
   138  	// V201304 ...
   139  	V201304 ContractVersions = "V2013_04"
   140  	// V201310 ...
   141  	V201310 ContractVersions = "V2013_10"
   142  	// V201311 ...
   143  	V201311 ContractVersions = "V2013_11"
   144  	// V201404 ...
   145  	V201404 ContractVersions = "V2014_04"
   146  	// V201406 ...
   147  	V201406 ContractVersions = "V2014_06"
   148  	// V201407 ...
   149  	V201407 ContractVersions = "V2014_07"
   150  	// V201409 ...
   151  	V201409 ContractVersions = "V2014_09"
   152  	// V201410 ...
   153  	V201410 ContractVersions = "V2014_10"
   154  	// V201412 ...
   155  	V201412 ContractVersions = "V2014_12"
   156  	// V201501 ...
   157  	V201501 ContractVersions = "V2015_01"
   158  	// V201502 ...
   159  	V201502 ContractVersions = "V2015_02"
   160  	// V201504 ...
   161  	V201504 ContractVersions = "V2015_04"
   162  	// V201505 ...
   163  	V201505 ContractVersions = "V2015_05"
   164  	// V201506 ...
   165  	V201506 ContractVersions = "V2015_06"
   166  	// V201507 ...
   167  	V201507 ContractVersions = "V2015_07"
   168  	// V201508 ...
   169  	V201508 ContractVersions = "V2015_08"
   170  	// V201510 ...
   171  	V201510 ContractVersions = "V2015_10"
   172  	// V201512 ...
   173  	V201512 ContractVersions = "V2015_12"
   174  	// V201601 ...
   175  	V201601 ContractVersions = "V2016_01"
   176  	// V201602 ...
   177  	V201602 ContractVersions = "V2016_02"
   178  	// V201604 ...
   179  	V201604 ContractVersions = "V2016_04"
   180  	// V201605 ...
   181  	V201605 ContractVersions = "V2016_05"
   182  	// V201607 ...
   183  	V201607 ContractVersions = "V2016_07"
   184  	// V201608 ...
   185  	V201608 ContractVersions = "V2016_08"
   186  )
   187  
   188  // PossibleContractVersionsValues returns an array of possible values for the ContractVersions const type.
   189  func PossibleContractVersionsValues() []ContractVersions {
   190  	return []ContractVersions{InvalidVersion, V201109, V201202, V201205, V201212, V201304, V201310, V201311, V201404, V201406, V201407, V201409, V201410, V201412, V201501, V201502, V201504, V201505, V201506, V201507, V201508, V201510, V201512, V201601, V201602, V201604, V201605, V201607, V201608}
   191  }
   192  
   193  // DataPolicy enumerates the values for data policy.
   194  type DataPolicy string
   195  
   196  const (
   197  	// DataPolicyCloud ...
   198  	DataPolicyCloud DataPolicy = "Cloud"
   199  	// DataPolicyInvalid ...
   200  	DataPolicyInvalid DataPolicy = "Invalid"
   201  	// DataPolicyLocal ...
   202  	DataPolicyLocal DataPolicy = "Local"
   203  	// DataPolicyTiered ...
   204  	DataPolicyTiered DataPolicy = "Tiered"
   205  )
   206  
   207  // PossibleDataPolicyValues returns an array of possible values for the DataPolicy const type.
   208  func PossibleDataPolicyValues() []DataPolicy {
   209  	return []DataPolicy{DataPolicyCloud, DataPolicyInvalid, DataPolicyLocal, DataPolicyTiered}
   210  }
   211  
   212  // DeviceConfigurationStatus enumerates the values for device configuration status.
   213  type DeviceConfigurationStatus string
   214  
   215  const (
   216  	// Complete ...
   217  	Complete DeviceConfigurationStatus = "Complete"
   218  	// Pending ...
   219  	Pending DeviceConfigurationStatus = "Pending"
   220  )
   221  
   222  // PossibleDeviceConfigurationStatusValues returns an array of possible values for the DeviceConfigurationStatus const type.
   223  func PossibleDeviceConfigurationStatusValues() []DeviceConfigurationStatus {
   224  	return []DeviceConfigurationStatus{Complete, Pending}
   225  }
   226  
   227  // DeviceOperation enumerates the values for device operation.
   228  type DeviceOperation string
   229  
   230  const (
   231  	// Browsable ...
   232  	Browsable DeviceOperation = "Browsable"
   233  	// Deactivate ...
   234  	Deactivate DeviceOperation = "Deactivate"
   235  	// Delete ...
   236  	Delete DeviceOperation = "Delete"
   237  	// DeleteWithWarning ...
   238  	DeleteWithWarning DeviceOperation = "DeleteWithWarning"
   239  	// DRSource ...
   240  	DRSource DeviceOperation = "DRSource"
   241  	// DRTarget ...
   242  	DRTarget DeviceOperation = "DRTarget"
   243  	// None ...
   244  	None DeviceOperation = "None"
   245  	// ReadOnlyForDR ...
   246  	ReadOnlyForDR DeviceOperation = "ReadOnlyForDR"
   247  )
   248  
   249  // PossibleDeviceOperationValues returns an array of possible values for the DeviceOperation const type.
   250  func PossibleDeviceOperationValues() []DeviceOperation {
   251  	return []DeviceOperation{Browsable, Deactivate, Delete, DeleteWithWarning, DRSource, DRTarget, None, ReadOnlyForDR}
   252  }
   253  
   254  // DeviceStatus enumerates the values for device status.
   255  type DeviceStatus string
   256  
   257  const (
   258  	// Creating ...
   259  	Creating DeviceStatus = "Creating"
   260  	// Deactivated ...
   261  	Deactivated DeviceStatus = "Deactivated"
   262  	// Deactivating ...
   263  	Deactivating DeviceStatus = "Deactivating"
   264  	// Deleted ...
   265  	Deleted DeviceStatus = "Deleted"
   266  	// MaintenanceMode ...
   267  	MaintenanceMode DeviceStatus = "MaintenanceMode"
   268  	// Offline ...
   269  	Offline DeviceStatus = "Offline"
   270  	// Online ...
   271  	Online DeviceStatus = "Online"
   272  	// Provisioning ...
   273  	Provisioning DeviceStatus = "Provisioning"
   274  	// ReadyToSetup ...
   275  	ReadyToSetup DeviceStatus = "ReadyToSetup"
   276  	// RequiresAttention ...
   277  	RequiresAttention DeviceStatus = "RequiresAttention"
   278  	// Unknown ...
   279  	Unknown DeviceStatus = "Unknown"
   280  )
   281  
   282  // PossibleDeviceStatusValues returns an array of possible values for the DeviceStatus const type.
   283  func PossibleDeviceStatusValues() []DeviceStatus {
   284  	return []DeviceStatus{Creating, Deactivated, Deactivating, Deleted, MaintenanceMode, Offline, Online, Provisioning, ReadyToSetup, RequiresAttention, Unknown}
   285  }
   286  
   287  // DeviceType enumerates the values for device type.
   288  type DeviceType string
   289  
   290  const (
   291  	// DeviceTypeAppliance ...
   292  	DeviceTypeAppliance DeviceType = "Appliance"
   293  	// DeviceTypeInvalid ...
   294  	DeviceTypeInvalid DeviceType = "Invalid"
   295  	// DeviceTypeSeries9000OnPremVirtualAppliance ...
   296  	DeviceTypeSeries9000OnPremVirtualAppliance DeviceType = "Series9000OnPremVirtualAppliance"
   297  	// DeviceTypeSeries9000PhysicalAppliance ...
   298  	DeviceTypeSeries9000PhysicalAppliance DeviceType = "Series9000PhysicalAppliance"
   299  	// DeviceTypeSeries9000VirtualAppliance ...
   300  	DeviceTypeSeries9000VirtualAppliance DeviceType = "Series9000VirtualAppliance"
   301  	// DeviceTypeVirtualAppliance ...
   302  	DeviceTypeVirtualAppliance DeviceType = "VirtualAppliance"
   303  )
   304  
   305  // PossibleDeviceTypeValues returns an array of possible values for the DeviceType const type.
   306  func PossibleDeviceTypeValues() []DeviceType {
   307  	return []DeviceType{DeviceTypeAppliance, DeviceTypeInvalid, DeviceTypeSeries9000OnPremVirtualAppliance, DeviceTypeSeries9000PhysicalAppliance, DeviceTypeSeries9000VirtualAppliance, DeviceTypeVirtualAppliance}
   308  }
   309  
   310  // DhcpStatus enumerates the values for dhcp status.
   311  type DhcpStatus string
   312  
   313  const (
   314  	// DhcpStatusDisabled ...
   315  	DhcpStatusDisabled DhcpStatus = "Disabled"
   316  	// DhcpStatusEnabled ...
   317  	DhcpStatusEnabled DhcpStatus = "Enabled"
   318  )
   319  
   320  // PossibleDhcpStatusValues returns an array of possible values for the DhcpStatus const type.
   321  func PossibleDhcpStatusValues() []DhcpStatus {
   322  	return []DhcpStatus{DhcpStatusDisabled, DhcpStatusEnabled}
   323  }
   324  
   325  // DiskStatus enumerates the values for disk status.
   326  type DiskStatus string
   327  
   328  const (
   329  	// DiskStatusOffline ...
   330  	DiskStatusOffline DiskStatus = "Offline"
   331  	// DiskStatusOnline ...
   332  	DiskStatusOnline DiskStatus = "Online"
   333  )
   334  
   335  // PossibleDiskStatusValues returns an array of possible values for the DiskStatus const type.
   336  func PossibleDiskStatusValues() []DiskStatus {
   337  	return []DiskStatus{DiskStatusOffline, DiskStatusOnline}
   338  }
   339  
   340  // DownloadPhase enumerates the values for download phase.
   341  type DownloadPhase string
   342  
   343  const (
   344  	// DownloadPhaseDownloading ...
   345  	DownloadPhaseDownloading DownloadPhase = "Downloading"
   346  	// DownloadPhaseInitializing ...
   347  	DownloadPhaseInitializing DownloadPhase = "Initializing"
   348  	// DownloadPhaseUnknown ...
   349  	DownloadPhaseUnknown DownloadPhase = "Unknown"
   350  	// DownloadPhaseVerifying ...
   351  	DownloadPhaseVerifying DownloadPhase = "Verifying"
   352  )
   353  
   354  // PossibleDownloadPhaseValues returns an array of possible values for the DownloadPhase const type.
   355  func PossibleDownloadPhaseValues() []DownloadPhase {
   356  	return []DownloadPhase{DownloadPhaseDownloading, DownloadPhaseInitializing, DownloadPhaseUnknown, DownloadPhaseVerifying}
   357  }
   358  
   359  // EncryptionAlgorithm enumerates the values for encryption algorithm.
   360  type EncryptionAlgorithm string
   361  
   362  const (
   363  	// EncryptionAlgorithmAES256 ...
   364  	EncryptionAlgorithmAES256 EncryptionAlgorithm = "AES256"
   365  	// EncryptionAlgorithmNone ...
   366  	EncryptionAlgorithmNone EncryptionAlgorithm = "None"
   367  	// EncryptionAlgorithmRSAESPKCS1V15 ...
   368  	EncryptionAlgorithmRSAESPKCS1V15 EncryptionAlgorithm = "RSAES_PKCS1_v_1_5"
   369  )
   370  
   371  // PossibleEncryptionAlgorithmValues returns an array of possible values for the EncryptionAlgorithm const type.
   372  func PossibleEncryptionAlgorithmValues() []EncryptionAlgorithm {
   373  	return []EncryptionAlgorithm{EncryptionAlgorithmAES256, EncryptionAlgorithmNone, EncryptionAlgorithmRSAESPKCS1V15}
   374  }
   375  
   376  // EncryptionStatus enumerates the values for encryption status.
   377  type EncryptionStatus string
   378  
   379  const (
   380  	// EncryptionStatusDisabled ...
   381  	EncryptionStatusDisabled EncryptionStatus = "Disabled"
   382  	// EncryptionStatusEnabled ...
   383  	EncryptionStatusEnabled EncryptionStatus = "Enabled"
   384  )
   385  
   386  // PossibleEncryptionStatusValues returns an array of possible values for the EncryptionStatus const type.
   387  func PossibleEncryptionStatusValues() []EncryptionStatus {
   388  	return []EncryptionStatus{EncryptionStatusDisabled, EncryptionStatusEnabled}
   389  }
   390  
   391  // InitiatedBy enumerates the values for initiated by.
   392  type InitiatedBy string
   393  
   394  const (
   395  	// Manual ...
   396  	Manual InitiatedBy = "Manual"
   397  	// Scheduled ...
   398  	Scheduled InitiatedBy = "Scheduled"
   399  )
   400  
   401  // PossibleInitiatedByValues returns an array of possible values for the InitiatedBy const type.
   402  func PossibleInitiatedByValues() []InitiatedBy {
   403  	return []InitiatedBy{Manual, Scheduled}
   404  }
   405  
   406  // JobStatus enumerates the values for job status.
   407  type JobStatus string
   408  
   409  const (
   410  	// JobStatusCanceled ...
   411  	JobStatusCanceled JobStatus = "Canceled"
   412  	// JobStatusFailed ...
   413  	JobStatusFailed JobStatus = "Failed"
   414  	// JobStatusInvalid ...
   415  	JobStatusInvalid JobStatus = "Invalid"
   416  	// JobStatusPaused ...
   417  	JobStatusPaused JobStatus = "Paused"
   418  	// JobStatusRunning ...
   419  	JobStatusRunning JobStatus = "Running"
   420  	// JobStatusScheduled ...
   421  	JobStatusScheduled JobStatus = "Scheduled"
   422  	// JobStatusSucceeded ...
   423  	JobStatusSucceeded JobStatus = "Succeeded"
   424  )
   425  
   426  // PossibleJobStatusValues returns an array of possible values for the JobStatus const type.
   427  func PossibleJobStatusValues() []JobStatus {
   428  	return []JobStatus{JobStatusCanceled, JobStatusFailed, JobStatusInvalid, JobStatusPaused, JobStatusRunning, JobStatusScheduled, JobStatusSucceeded}
   429  }
   430  
   431  // JobType enumerates the values for job type.
   432  type JobType string
   433  
   434  const (
   435  	// JobTypeBackup ...
   436  	JobTypeBackup JobType = "Backup"
   437  	// JobTypeClone ...
   438  	JobTypeClone JobType = "Clone"
   439  	// JobTypeDownloadUpdates ...
   440  	JobTypeDownloadUpdates JobType = "DownloadUpdates"
   441  	// JobTypeFailover ...
   442  	JobTypeFailover JobType = "Failover"
   443  	// JobTypeInstallUpdates ...
   444  	JobTypeInstallUpdates JobType = "InstallUpdates"
   445  )
   446  
   447  // PossibleJobTypeValues returns an array of possible values for the JobType const type.
   448  func PossibleJobTypeValues() []JobType {
   449  	return []JobType{JobTypeBackup, JobTypeClone, JobTypeDownloadUpdates, JobTypeFailover, JobTypeInstallUpdates}
   450  }
   451  
   452  // KeyRolloverStatus enumerates the values for key rollover status.
   453  type KeyRolloverStatus string
   454  
   455  const (
   456  	// NotRequired ...
   457  	NotRequired KeyRolloverStatus = "NotRequired"
   458  	// Required ...
   459  	Required KeyRolloverStatus = "Required"
   460  )
   461  
   462  // PossibleKeyRolloverStatusValues returns an array of possible values for the KeyRolloverStatus const type.
   463  func PossibleKeyRolloverStatusValues() []KeyRolloverStatus {
   464  	return []KeyRolloverStatus{NotRequired, Required}
   465  }
   466  
   467  // ManagerType enumerates the values for manager type.
   468  type ManagerType string
   469  
   470  const (
   471  	// GardaV1 ...
   472  	GardaV1 ManagerType = "GardaV1"
   473  	// HelsinkiV1 ...
   474  	HelsinkiV1 ManagerType = "HelsinkiV1"
   475  )
   476  
   477  // PossibleManagerTypeValues returns an array of possible values for the ManagerType const type.
   478  func PossibleManagerTypeValues() []ManagerType {
   479  	return []ManagerType{GardaV1, HelsinkiV1}
   480  }
   481  
   482  // MetricAggregationType enumerates the values for metric aggregation type.
   483  type MetricAggregationType string
   484  
   485  const (
   486  	// MetricAggregationTypeAverage ...
   487  	MetricAggregationTypeAverage MetricAggregationType = "Average"
   488  	// MetricAggregationTypeLast ...
   489  	MetricAggregationTypeLast MetricAggregationType = "Last"
   490  	// MetricAggregationTypeMaximum ...
   491  	MetricAggregationTypeMaximum MetricAggregationType = "Maximum"
   492  	// MetricAggregationTypeMinimum ...
   493  	MetricAggregationTypeMinimum MetricAggregationType = "Minimum"
   494  	// MetricAggregationTypeNone ...
   495  	MetricAggregationTypeNone MetricAggregationType = "None"
   496  	// MetricAggregationTypeTotal ...
   497  	MetricAggregationTypeTotal MetricAggregationType = "Total"
   498  )
   499  
   500  // PossibleMetricAggregationTypeValues returns an array of possible values for the MetricAggregationType const type.
   501  func PossibleMetricAggregationTypeValues() []MetricAggregationType {
   502  	return []MetricAggregationType{MetricAggregationTypeAverage, MetricAggregationTypeLast, MetricAggregationTypeMaximum, MetricAggregationTypeMinimum, MetricAggregationTypeNone, MetricAggregationTypeTotal}
   503  }
   504  
   505  // MetricUnit enumerates the values for metric unit.
   506  type MetricUnit string
   507  
   508  const (
   509  	// Bytes ...
   510  	Bytes MetricUnit = "Bytes"
   511  	// BytesPerSecond ...
   512  	BytesPerSecond MetricUnit = "BytesPerSecond"
   513  	// Count ...
   514  	Count MetricUnit = "Count"
   515  	// CountPerSecond ...
   516  	CountPerSecond MetricUnit = "CountPerSecond"
   517  	// Percent ...
   518  	Percent MetricUnit = "Percent"
   519  	// Seconds ...
   520  	Seconds MetricUnit = "Seconds"
   521  )
   522  
   523  // PossibleMetricUnitValues returns an array of possible values for the MetricUnit const type.
   524  func PossibleMetricUnitValues() []MetricUnit {
   525  	return []MetricUnit{Bytes, BytesPerSecond, Count, CountPerSecond, Percent, Seconds}
   526  }
   527  
   528  // MonitoringStatus enumerates the values for monitoring status.
   529  type MonitoringStatus string
   530  
   531  const (
   532  	// MonitoringStatusDisabled ...
   533  	MonitoringStatusDisabled MonitoringStatus = "Disabled"
   534  	// MonitoringStatusEnabled ...
   535  	MonitoringStatusEnabled MonitoringStatus = "Enabled"
   536  )
   537  
   538  // PossibleMonitoringStatusValues returns an array of possible values for the MonitoringStatus const type.
   539  func PossibleMonitoringStatusValues() []MonitoringStatus {
   540  	return []MonitoringStatus{MonitoringStatusDisabled, MonitoringStatusEnabled}
   541  }
   542  
   543  // ServiceOwnersAlertNotificationStatus enumerates the values for service owners alert notification status.
   544  type ServiceOwnersAlertNotificationStatus string
   545  
   546  const (
   547  	// ServiceOwnersAlertNotificationStatusDisabled ...
   548  	ServiceOwnersAlertNotificationStatusDisabled ServiceOwnersAlertNotificationStatus = "Disabled"
   549  	// ServiceOwnersAlertNotificationStatusEnabled ...
   550  	ServiceOwnersAlertNotificationStatusEnabled ServiceOwnersAlertNotificationStatus = "Enabled"
   551  )
   552  
   553  // PossibleServiceOwnersAlertNotificationStatusValues returns an array of possible values for the ServiceOwnersAlertNotificationStatus const type.
   554  func PossibleServiceOwnersAlertNotificationStatusValues() []ServiceOwnersAlertNotificationStatus {
   555  	return []ServiceOwnersAlertNotificationStatus{ServiceOwnersAlertNotificationStatusDisabled, ServiceOwnersAlertNotificationStatusEnabled}
   556  }
   557  
   558  // ShareStatus enumerates the values for share status.
   559  type ShareStatus string
   560  
   561  const (
   562  	// ShareStatusOffline ...
   563  	ShareStatusOffline ShareStatus = "Offline"
   564  	// ShareStatusOnline ...
   565  	ShareStatusOnline ShareStatus = "Online"
   566  )
   567  
   568  // PossibleShareStatusValues returns an array of possible values for the ShareStatus const type.
   569  func PossibleShareStatusValues() []ShareStatus {
   570  	return []ShareStatus{ShareStatusOffline, ShareStatusOnline}
   571  }
   572  
   573  // SslStatus enumerates the values for ssl status.
   574  type SslStatus string
   575  
   576  const (
   577  	// SslStatusDisabled ...
   578  	SslStatusDisabled SslStatus = "Disabled"
   579  	// SslStatusEnabled ...
   580  	SslStatusEnabled SslStatus = "Enabled"
   581  )
   582  
   583  // PossibleSslStatusValues returns an array of possible values for the SslStatus const type.
   584  func PossibleSslStatusValues() []SslStatus {
   585  	return []SslStatus{SslStatusDisabled, SslStatusEnabled}
   586  }
   587  
   588  // SupportedDeviceCapabilities enumerates the values for supported device capabilities.
   589  type SupportedDeviceCapabilities string
   590  
   591  const (
   592  	// SupportedDeviceCapabilitiesFileServer ...
   593  	SupportedDeviceCapabilitiesFileServer SupportedDeviceCapabilities = "FileServer"
   594  	// SupportedDeviceCapabilitiesInvalid ...
   595  	SupportedDeviceCapabilitiesInvalid SupportedDeviceCapabilities = "Invalid"
   596  	// SupportedDeviceCapabilitiesIscsiServer ...
   597  	SupportedDeviceCapabilitiesIscsiServer SupportedDeviceCapabilities = "IscsiServer"
   598  )
   599  
   600  // PossibleSupportedDeviceCapabilitiesValues returns an array of possible values for the SupportedDeviceCapabilities const type.
   601  func PossibleSupportedDeviceCapabilitiesValues() []SupportedDeviceCapabilities {
   602  	return []SupportedDeviceCapabilities{SupportedDeviceCapabilitiesFileServer, SupportedDeviceCapabilitiesInvalid, SupportedDeviceCapabilitiesIscsiServer}
   603  }
   604  
   605  // TargetType enumerates the values for target type.
   606  type TargetType string
   607  
   608  const (
   609  	// TargetTypeDiskServer ...
   610  	TargetTypeDiskServer TargetType = "DiskServer"
   611  	// TargetTypeFileServer ...
   612  	TargetTypeFileServer TargetType = "FileServer"
   613  )
   614  
   615  // PossibleTargetTypeValues returns an array of possible values for the TargetType const type.
   616  func PossibleTargetTypeValues() []TargetType {
   617  	return []TargetType{TargetTypeDiskServer, TargetTypeFileServer}
   618  }
   619  
   620  // UpdateOperation enumerates the values for update operation.
   621  type UpdateOperation string
   622  
   623  const (
   624  	// Downloading ...
   625  	Downloading UpdateOperation = "Downloading"
   626  	// Idle ...
   627  	Idle UpdateOperation = "Idle"
   628  	// Installing ...
   629  	Installing UpdateOperation = "Installing"
   630  	// Scanning ...
   631  	Scanning UpdateOperation = "Scanning"
   632  )
   633  
   634  // PossibleUpdateOperationValues returns an array of possible values for the UpdateOperation const type.
   635  func PossibleUpdateOperationValues() []UpdateOperation {
   636  	return []UpdateOperation{Downloading, Idle, Installing, Scanning}
   637  }
   638  

View as plain text