...

Source file src/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-12-01/backup/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-12-01/backup

     1  package backup
     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  // AzureFileShareType enumerates the values for azure file share type.
    10  type AzureFileShareType string
    11  
    12  const (
    13  	// Invalid ...
    14  	Invalid AzureFileShareType = "Invalid"
    15  	// XSMB ...
    16  	XSMB AzureFileShareType = "XSMB"
    17  	// XSync ...
    18  	XSync AzureFileShareType = "XSync"
    19  )
    20  
    21  // PossibleAzureFileShareTypeValues returns an array of possible values for the AzureFileShareType const type.
    22  func PossibleAzureFileShareTypeValues() []AzureFileShareType {
    23  	return []AzureFileShareType{Invalid, XSMB, XSync}
    24  }
    25  
    26  // ContainerType enumerates the values for container type.
    27  type ContainerType string
    28  
    29  const (
    30  	// ContainerTypeAzureBackupServerContainer ...
    31  	ContainerTypeAzureBackupServerContainer ContainerType = "AzureBackupServerContainer"
    32  	// ContainerTypeAzureSQLContainer ...
    33  	ContainerTypeAzureSQLContainer ContainerType = "AzureSqlContainer"
    34  	// ContainerTypeCluster ...
    35  	ContainerTypeCluster ContainerType = "Cluster"
    36  	// ContainerTypeDPMContainer ...
    37  	ContainerTypeDPMContainer ContainerType = "DPMContainer"
    38  	// ContainerTypeGenericContainer ...
    39  	ContainerTypeGenericContainer ContainerType = "GenericContainer"
    40  	// ContainerTypeIaasVMContainer ...
    41  	ContainerTypeIaasVMContainer ContainerType = "IaasVMContainer"
    42  	// ContainerTypeIaasVMServiceContainer ...
    43  	ContainerTypeIaasVMServiceContainer ContainerType = "IaasVMServiceContainer"
    44  	// ContainerTypeInvalid ...
    45  	ContainerTypeInvalid ContainerType = "Invalid"
    46  	// ContainerTypeMABContainer ...
    47  	ContainerTypeMABContainer ContainerType = "MABContainer"
    48  	// ContainerTypeSQLAGWorkLoadContainer ...
    49  	ContainerTypeSQLAGWorkLoadContainer ContainerType = "SQLAGWorkLoadContainer"
    50  	// ContainerTypeStorageContainer ...
    51  	ContainerTypeStorageContainer ContainerType = "StorageContainer"
    52  	// ContainerTypeUnknown ...
    53  	ContainerTypeUnknown ContainerType = "Unknown"
    54  	// ContainerTypeVCenter ...
    55  	ContainerTypeVCenter ContainerType = "VCenter"
    56  	// ContainerTypeVMAppContainer ...
    57  	ContainerTypeVMAppContainer ContainerType = "VMAppContainer"
    58  	// ContainerTypeWindows ...
    59  	ContainerTypeWindows ContainerType = "Windows"
    60  )
    61  
    62  // PossibleContainerTypeValues returns an array of possible values for the ContainerType const type.
    63  func PossibleContainerTypeValues() []ContainerType {
    64  	return []ContainerType{ContainerTypeAzureBackupServerContainer, ContainerTypeAzureSQLContainer, ContainerTypeCluster, ContainerTypeDPMContainer, ContainerTypeGenericContainer, ContainerTypeIaasVMContainer, ContainerTypeIaasVMServiceContainer, ContainerTypeInvalid, ContainerTypeMABContainer, ContainerTypeSQLAGWorkLoadContainer, ContainerTypeStorageContainer, ContainerTypeUnknown, ContainerTypeVCenter, ContainerTypeVMAppContainer, ContainerTypeWindows}
    65  }
    66  
    67  // ContainerTypeBasicProtectionContainer enumerates the values for container type basic protection container.
    68  type ContainerTypeBasicProtectionContainer string
    69  
    70  const (
    71  	// ContainerTypeAzureBackupServerContainer1 ...
    72  	ContainerTypeAzureBackupServerContainer1 ContainerTypeBasicProtectionContainer = "AzureBackupServerContainer"
    73  	// ContainerTypeAzureSQLContainer1 ...
    74  	ContainerTypeAzureSQLContainer1 ContainerTypeBasicProtectionContainer = "AzureSqlContainer"
    75  	// ContainerTypeAzureWorkloadContainer ...
    76  	ContainerTypeAzureWorkloadContainer ContainerTypeBasicProtectionContainer = "AzureWorkloadContainer"
    77  	// ContainerTypeDPMContainer1 ...
    78  	ContainerTypeDPMContainer1 ContainerTypeBasicProtectionContainer = "DPMContainer"
    79  	// ContainerTypeGenericContainer1 ...
    80  	ContainerTypeGenericContainer1 ContainerTypeBasicProtectionContainer = "GenericContainer"
    81  	// ContainerTypeIaaSVMContainer ...
    82  	ContainerTypeIaaSVMContainer ContainerTypeBasicProtectionContainer = "IaaSVMContainer"
    83  	// ContainerTypeMicrosoftClassicComputevirtualMachines ...
    84  	ContainerTypeMicrosoftClassicComputevirtualMachines ContainerTypeBasicProtectionContainer = "Microsoft.ClassicCompute/virtualMachines"
    85  	// ContainerTypeMicrosoftComputevirtualMachines ...
    86  	ContainerTypeMicrosoftComputevirtualMachines ContainerTypeBasicProtectionContainer = "Microsoft.Compute/virtualMachines"
    87  	// ContainerTypeProtectionContainer ...
    88  	ContainerTypeProtectionContainer ContainerTypeBasicProtectionContainer = "ProtectionContainer"
    89  	// ContainerTypeSQLAGWorkLoadContainer1 ...
    90  	ContainerTypeSQLAGWorkLoadContainer1 ContainerTypeBasicProtectionContainer = "SQLAGWorkLoadContainer"
    91  	// ContainerTypeStorageContainer1 ...
    92  	ContainerTypeStorageContainer1 ContainerTypeBasicProtectionContainer = "StorageContainer"
    93  	// ContainerTypeVMAppContainer1 ...
    94  	ContainerTypeVMAppContainer1 ContainerTypeBasicProtectionContainer = "VMAppContainer"
    95  	// ContainerTypeWindows1 ...
    96  	ContainerTypeWindows1 ContainerTypeBasicProtectionContainer = "Windows"
    97  )
    98  
    99  // PossibleContainerTypeBasicProtectionContainerValues returns an array of possible values for the ContainerTypeBasicProtectionContainer const type.
   100  func PossibleContainerTypeBasicProtectionContainerValues() []ContainerTypeBasicProtectionContainer {
   101  	return []ContainerTypeBasicProtectionContainer{ContainerTypeAzureBackupServerContainer1, ContainerTypeAzureSQLContainer1, ContainerTypeAzureWorkloadContainer, ContainerTypeDPMContainer1, ContainerTypeGenericContainer1, ContainerTypeIaaSVMContainer, ContainerTypeMicrosoftClassicComputevirtualMachines, ContainerTypeMicrosoftComputevirtualMachines, ContainerTypeProtectionContainer, ContainerTypeSQLAGWorkLoadContainer1, ContainerTypeStorageContainer1, ContainerTypeVMAppContainer1, ContainerTypeWindows1}
   102  }
   103  
   104  // EngineType enumerates the values for engine type.
   105  type EngineType string
   106  
   107  const (
   108  	// BackupEngineTypeAzureBackupServerEngine ...
   109  	BackupEngineTypeAzureBackupServerEngine EngineType = "AzureBackupServerEngine"
   110  	// BackupEngineTypeBackupEngineBase ...
   111  	BackupEngineTypeBackupEngineBase EngineType = "BackupEngineBase"
   112  	// BackupEngineTypeDpmBackupEngine ...
   113  	BackupEngineTypeDpmBackupEngine EngineType = "DpmBackupEngine"
   114  )
   115  
   116  // PossibleEngineTypeValues returns an array of possible values for the EngineType const type.
   117  func PossibleEngineTypeValues() []EngineType {
   118  	return []EngineType{BackupEngineTypeAzureBackupServerEngine, BackupEngineTypeBackupEngineBase, BackupEngineTypeDpmBackupEngine}
   119  }
   120  
   121  // InquiryStatus enumerates the values for inquiry status.
   122  type InquiryStatus string
   123  
   124  const (
   125  	// InquiryStatusFailed ...
   126  	InquiryStatusFailed InquiryStatus = "Failed"
   127  	// InquiryStatusInvalid ...
   128  	InquiryStatusInvalid InquiryStatus = "Invalid"
   129  	// InquiryStatusSuccess ...
   130  	InquiryStatusSuccess InquiryStatus = "Success"
   131  )
   132  
   133  // PossibleInquiryStatusValues returns an array of possible values for the InquiryStatus const type.
   134  func PossibleInquiryStatusValues() []InquiryStatus {
   135  	return []InquiryStatus{InquiryStatusFailed, InquiryStatusInvalid, InquiryStatusSuccess}
   136  }
   137  
   138  // ItemType enumerates the values for item type.
   139  type ItemType string
   140  
   141  const (
   142  	// ItemTypeAzureFileShare ...
   143  	ItemTypeAzureFileShare ItemType = "AzureFileShare"
   144  	// ItemTypeAzureSQLDb ...
   145  	ItemTypeAzureSQLDb ItemType = "AzureSqlDb"
   146  	// ItemTypeClient ...
   147  	ItemTypeClient ItemType = "Client"
   148  	// ItemTypeExchange ...
   149  	ItemTypeExchange ItemType = "Exchange"
   150  	// ItemTypeFileFolder ...
   151  	ItemTypeFileFolder ItemType = "FileFolder"
   152  	// ItemTypeGenericDataSource ...
   153  	ItemTypeGenericDataSource ItemType = "GenericDataSource"
   154  	// ItemTypeInvalid ...
   155  	ItemTypeInvalid ItemType = "Invalid"
   156  	// ItemTypeSAPAseDatabase ...
   157  	ItemTypeSAPAseDatabase ItemType = "SAPAseDatabase"
   158  	// ItemTypeSAPHanaDatabase ...
   159  	ItemTypeSAPHanaDatabase ItemType = "SAPHanaDatabase"
   160  	// ItemTypeSharepoint ...
   161  	ItemTypeSharepoint ItemType = "Sharepoint"
   162  	// ItemTypeSQLDataBase ...
   163  	ItemTypeSQLDataBase ItemType = "SQLDataBase"
   164  	// ItemTypeSQLDB ...
   165  	ItemTypeSQLDB ItemType = "SQLDB"
   166  	// ItemTypeSystemState ...
   167  	ItemTypeSystemState ItemType = "SystemState"
   168  	// ItemTypeVM ...
   169  	ItemTypeVM ItemType = "VM"
   170  	// ItemTypeVMwareVM ...
   171  	ItemTypeVMwareVM ItemType = "VMwareVM"
   172  )
   173  
   174  // PossibleItemTypeValues returns an array of possible values for the ItemType const type.
   175  func PossibleItemTypeValues() []ItemType {
   176  	return []ItemType{ItemTypeAzureFileShare, ItemTypeAzureSQLDb, ItemTypeClient, ItemTypeExchange, ItemTypeFileFolder, ItemTypeGenericDataSource, ItemTypeInvalid, ItemTypeSAPAseDatabase, ItemTypeSAPHanaDatabase, ItemTypeSharepoint, ItemTypeSQLDataBase, ItemTypeSQLDB, ItemTypeSystemState, ItemTypeVM, ItemTypeVMwareVM}
   177  }
   178  
   179  // ManagementType enumerates the values for management type.
   180  type ManagementType string
   181  
   182  const (
   183  	// ManagementTypeAzureBackupServer ...
   184  	ManagementTypeAzureBackupServer ManagementType = "AzureBackupServer"
   185  	// ManagementTypeAzureIaasVM ...
   186  	ManagementTypeAzureIaasVM ManagementType = "AzureIaasVM"
   187  	// ManagementTypeAzureSQL ...
   188  	ManagementTypeAzureSQL ManagementType = "AzureSql"
   189  	// ManagementTypeAzureStorage ...
   190  	ManagementTypeAzureStorage ManagementType = "AzureStorage"
   191  	// ManagementTypeAzureWorkload ...
   192  	ManagementTypeAzureWorkload ManagementType = "AzureWorkload"
   193  	// ManagementTypeDefaultBackup ...
   194  	ManagementTypeDefaultBackup ManagementType = "DefaultBackup"
   195  	// ManagementTypeDPM ...
   196  	ManagementTypeDPM ManagementType = "DPM"
   197  	// ManagementTypeInvalid ...
   198  	ManagementTypeInvalid ManagementType = "Invalid"
   199  	// ManagementTypeMAB ...
   200  	ManagementTypeMAB ManagementType = "MAB"
   201  )
   202  
   203  // PossibleManagementTypeValues returns an array of possible values for the ManagementType const type.
   204  func PossibleManagementTypeValues() []ManagementType {
   205  	return []ManagementType{ManagementTypeAzureBackupServer, ManagementTypeAzureIaasVM, ManagementTypeAzureSQL, ManagementTypeAzureStorage, ManagementTypeAzureWorkload, ManagementTypeDefaultBackup, ManagementTypeDPM, ManagementTypeInvalid, ManagementTypeMAB}
   206  }
   207  
   208  // ObjectType enumerates the values for object type.
   209  type ObjectType string
   210  
   211  const (
   212  	// ObjectTypeAzureFileShareBackupRequest ...
   213  	ObjectTypeAzureFileShareBackupRequest ObjectType = "AzureFileShareBackupRequest"
   214  	// ObjectTypeAzureWorkloadBackupRequest ...
   215  	ObjectTypeAzureWorkloadBackupRequest ObjectType = "AzureWorkloadBackupRequest"
   216  	// ObjectTypeBackupRequest ...
   217  	ObjectTypeBackupRequest ObjectType = "BackupRequest"
   218  	// ObjectTypeIaasVMBackupRequest ...
   219  	ObjectTypeIaasVMBackupRequest ObjectType = "IaasVMBackupRequest"
   220  )
   221  
   222  // PossibleObjectTypeValues returns an array of possible values for the ObjectType const type.
   223  func PossibleObjectTypeValues() []ObjectType {
   224  	return []ObjectType{ObjectTypeAzureFileShareBackupRequest, ObjectTypeAzureWorkloadBackupRequest, ObjectTypeBackupRequest, ObjectTypeIaasVMBackupRequest}
   225  }
   226  
   227  // ObjectTypeBasicILRRequest enumerates the values for object type basic ilr request.
   228  type ObjectTypeBasicILRRequest string
   229  
   230  const (
   231  	// ObjectTypeAzureFileShareProvisionILRRequest ...
   232  	ObjectTypeAzureFileShareProvisionILRRequest ObjectTypeBasicILRRequest = "AzureFileShareProvisionILRRequest"
   233  	// ObjectTypeIaasVMILRRegistrationRequest ...
   234  	ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = "IaasVMILRRegistrationRequest"
   235  	// ObjectTypeILRRequest ...
   236  	ObjectTypeILRRequest ObjectTypeBasicILRRequest = "ILRRequest"
   237  )
   238  
   239  // PossibleObjectTypeBasicILRRequestValues returns an array of possible values for the ObjectTypeBasicILRRequest const type.
   240  func PossibleObjectTypeBasicILRRequestValues() []ObjectTypeBasicILRRequest {
   241  	return []ObjectTypeBasicILRRequest{ObjectTypeAzureFileShareProvisionILRRequest, ObjectTypeIaasVMILRRegistrationRequest, ObjectTypeILRRequest}
   242  }
   243  
   244  // ObjectTypeBasicOperationStatusExtendedInfo enumerates the values for object type basic operation status
   245  // extended info.
   246  type ObjectTypeBasicOperationStatusExtendedInfo string
   247  
   248  const (
   249  	// ObjectTypeOperationStatusExtendedInfo ...
   250  	ObjectTypeOperationStatusExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusExtendedInfo"
   251  	// ObjectTypeOperationStatusJobExtendedInfo ...
   252  	ObjectTypeOperationStatusJobExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusJobExtendedInfo"
   253  	// ObjectTypeOperationStatusJobsExtendedInfo ...
   254  	ObjectTypeOperationStatusJobsExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusJobsExtendedInfo"
   255  	// ObjectTypeOperationStatusProvisionILRExtendedInfo ...
   256  	ObjectTypeOperationStatusProvisionILRExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusProvisionILRExtendedInfo"
   257  )
   258  
   259  // PossibleObjectTypeBasicOperationStatusExtendedInfoValues returns an array of possible values for the ObjectTypeBasicOperationStatusExtendedInfo const type.
   260  func PossibleObjectTypeBasicOperationStatusExtendedInfoValues() []ObjectTypeBasicOperationStatusExtendedInfo {
   261  	return []ObjectTypeBasicOperationStatusExtendedInfo{ObjectTypeOperationStatusExtendedInfo, ObjectTypeOperationStatusJobExtendedInfo, ObjectTypeOperationStatusJobsExtendedInfo, ObjectTypeOperationStatusProvisionILRExtendedInfo}
   262  }
   263  
   264  // ObjectTypeBasicRecoveryPoint enumerates the values for object type basic recovery point.
   265  type ObjectTypeBasicRecoveryPoint string
   266  
   267  const (
   268  	// ObjectTypeRecoveryPoint ...
   269  	ObjectTypeRecoveryPoint ObjectTypeBasicRecoveryPoint = "RecoveryPoint"
   270  )
   271  
   272  // PossibleObjectTypeBasicRecoveryPointValues returns an array of possible values for the ObjectTypeBasicRecoveryPoint const type.
   273  func PossibleObjectTypeBasicRecoveryPointValues() []ObjectTypeBasicRecoveryPoint {
   274  	return []ObjectTypeBasicRecoveryPoint{ObjectTypeRecoveryPoint}
   275  }
   276  
   277  // OperationStatusValues enumerates the values for operation status values.
   278  type OperationStatusValues string
   279  
   280  const (
   281  	// OperationStatusValuesCanceled ...
   282  	OperationStatusValuesCanceled OperationStatusValues = "Canceled"
   283  	// OperationStatusValuesFailed ...
   284  	OperationStatusValuesFailed OperationStatusValues = "Failed"
   285  	// OperationStatusValuesInProgress ...
   286  	OperationStatusValuesInProgress OperationStatusValues = "InProgress"
   287  	// OperationStatusValuesInvalid ...
   288  	OperationStatusValuesInvalid OperationStatusValues = "Invalid"
   289  	// OperationStatusValuesSucceeded ...
   290  	OperationStatusValuesSucceeded OperationStatusValues = "Succeeded"
   291  )
   292  
   293  // PossibleOperationStatusValuesValues returns an array of possible values for the OperationStatusValues const type.
   294  func PossibleOperationStatusValuesValues() []OperationStatusValues {
   295  	return []OperationStatusValues{OperationStatusValuesCanceled, OperationStatusValuesFailed, OperationStatusValuesInProgress, OperationStatusValuesInvalid, OperationStatusValuesSucceeded}
   296  }
   297  
   298  // OperationType enumerates the values for operation type.
   299  type OperationType string
   300  
   301  const (
   302  	// OperationTypeInvalid ...
   303  	OperationTypeInvalid OperationType = "Invalid"
   304  	// OperationTypeRegister ...
   305  	OperationTypeRegister OperationType = "Register"
   306  	// OperationTypeReregister ...
   307  	OperationTypeReregister OperationType = "Reregister"
   308  )
   309  
   310  // PossibleOperationTypeValues returns an array of possible values for the OperationType const type.
   311  func PossibleOperationTypeValues() []OperationType {
   312  	return []OperationType{OperationTypeInvalid, OperationTypeRegister, OperationTypeReregister}
   313  }
   314  
   315  // ProtectableContainerType enumerates the values for protectable container type.
   316  type ProtectableContainerType string
   317  
   318  const (
   319  	// ProtectableContainerTypeProtectableContainer ...
   320  	ProtectableContainerTypeProtectableContainer ProtectableContainerType = "ProtectableContainer"
   321  	// ProtectableContainerTypeStorageContainer ...
   322  	ProtectableContainerTypeStorageContainer ProtectableContainerType = "StorageContainer"
   323  	// ProtectableContainerTypeVMAppContainer ...
   324  	ProtectableContainerTypeVMAppContainer ProtectableContainerType = "VMAppContainer"
   325  )
   326  
   327  // PossibleProtectableContainerTypeValues returns an array of possible values for the ProtectableContainerType const type.
   328  func PossibleProtectableContainerTypeValues() []ProtectableContainerType {
   329  	return []ProtectableContainerType{ProtectableContainerTypeProtectableContainer, ProtectableContainerTypeStorageContainer, ProtectableContainerTypeVMAppContainer}
   330  }
   331  
   332  // ProtectableItemType enumerates the values for protectable item type.
   333  type ProtectableItemType string
   334  
   335  const (
   336  	// ProtectableItemTypeAzureFileShare ...
   337  	ProtectableItemTypeAzureFileShare ProtectableItemType = "AzureFileShare"
   338  	// ProtectableItemTypeAzureVMWorkloadProtectableItem ...
   339  	ProtectableItemTypeAzureVMWorkloadProtectableItem ProtectableItemType = "AzureVmWorkloadProtectableItem"
   340  	// ProtectableItemTypeIaaSVMProtectableItem ...
   341  	ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = "IaaSVMProtectableItem"
   342  	// ProtectableItemTypeMicrosoftClassicComputevirtualMachines ...
   343  	ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = "Microsoft.ClassicCompute/virtualMachines"
   344  	// ProtectableItemTypeMicrosoftComputevirtualMachines ...
   345  	ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = "Microsoft.Compute/virtualMachines"
   346  	// ProtectableItemTypeSAPAseSystem ...
   347  	ProtectableItemTypeSAPAseSystem ProtectableItemType = "SAPAseSystem"
   348  	// ProtectableItemTypeSAPHanaDatabase ...
   349  	ProtectableItemTypeSAPHanaDatabase ProtectableItemType = "SAPHanaDatabase"
   350  	// ProtectableItemTypeSAPHanaSystem ...
   351  	ProtectableItemTypeSAPHanaSystem ProtectableItemType = "SAPHanaSystem"
   352  	// ProtectableItemTypeSQLAvailabilityGroupContainer ...
   353  	ProtectableItemTypeSQLAvailabilityGroupContainer ProtectableItemType = "SQLAvailabilityGroupContainer"
   354  	// ProtectableItemTypeSQLDataBase ...
   355  	ProtectableItemTypeSQLDataBase ProtectableItemType = "SQLDataBase"
   356  	// ProtectableItemTypeSQLInstance ...
   357  	ProtectableItemTypeSQLInstance ProtectableItemType = "SQLInstance"
   358  	// ProtectableItemTypeWorkloadProtectableItem ...
   359  	ProtectableItemTypeWorkloadProtectableItem ProtectableItemType = "WorkloadProtectableItem"
   360  )
   361  
   362  // PossibleProtectableItemTypeValues returns an array of possible values for the ProtectableItemType const type.
   363  func PossibleProtectableItemTypeValues() []ProtectableItemType {
   364  	return []ProtectableItemType{ProtectableItemTypeAzureFileShare, ProtectableItemTypeAzureVMWorkloadProtectableItem, ProtectableItemTypeIaaSVMProtectableItem, ProtectableItemTypeMicrosoftClassicComputevirtualMachines, ProtectableItemTypeMicrosoftComputevirtualMachines, ProtectableItemTypeSAPAseSystem, ProtectableItemTypeSAPHanaDatabase, ProtectableItemTypeSAPHanaSystem, ProtectableItemTypeSQLAvailabilityGroupContainer, ProtectableItemTypeSQLDataBase, ProtectableItemTypeSQLInstance, ProtectableItemTypeWorkloadProtectableItem}
   365  }
   366  
   367  // ProtectionStatus enumerates the values for protection status.
   368  type ProtectionStatus string
   369  
   370  const (
   371  	// ProtectionStatusInvalid ...
   372  	ProtectionStatusInvalid ProtectionStatus = "Invalid"
   373  	// ProtectionStatusNotProtected ...
   374  	ProtectionStatusNotProtected ProtectionStatus = "NotProtected"
   375  	// ProtectionStatusProtected ...
   376  	ProtectionStatusProtected ProtectionStatus = "Protected"
   377  	// ProtectionStatusProtecting ...
   378  	ProtectionStatusProtecting ProtectionStatus = "Protecting"
   379  	// ProtectionStatusProtectionFailed ...
   380  	ProtectionStatusProtectionFailed ProtectionStatus = "ProtectionFailed"
   381  )
   382  
   383  // PossibleProtectionStatusValues returns an array of possible values for the ProtectionStatus const type.
   384  func PossibleProtectionStatusValues() []ProtectionStatus {
   385  	return []ProtectionStatus{ProtectionStatusInvalid, ProtectionStatusNotProtected, ProtectionStatusProtected, ProtectionStatusProtecting, ProtectionStatusProtectionFailed}
   386  }
   387  
   388  // SQLDataDirectoryType enumerates the values for sql data directory type.
   389  type SQLDataDirectoryType string
   390  
   391  const (
   392  	// SQLDataDirectoryTypeData ...
   393  	SQLDataDirectoryTypeData SQLDataDirectoryType = "Data"
   394  	// SQLDataDirectoryTypeInvalid ...
   395  	SQLDataDirectoryTypeInvalid SQLDataDirectoryType = "Invalid"
   396  	// SQLDataDirectoryTypeLog ...
   397  	SQLDataDirectoryTypeLog SQLDataDirectoryType = "Log"
   398  )
   399  
   400  // PossibleSQLDataDirectoryTypeValues returns an array of possible values for the SQLDataDirectoryType const type.
   401  func PossibleSQLDataDirectoryTypeValues() []SQLDataDirectoryType {
   402  	return []SQLDataDirectoryType{SQLDataDirectoryTypeData, SQLDataDirectoryTypeInvalid, SQLDataDirectoryTypeLog}
   403  }
   404  
   405  // StorageType enumerates the values for storage type.
   406  type StorageType string
   407  
   408  const (
   409  	// StorageTypeGeoRedundant ...
   410  	StorageTypeGeoRedundant StorageType = "GeoRedundant"
   411  	// StorageTypeInvalid ...
   412  	StorageTypeInvalid StorageType = "Invalid"
   413  	// StorageTypeLocallyRedundant ...
   414  	StorageTypeLocallyRedundant StorageType = "LocallyRedundant"
   415  )
   416  
   417  // PossibleStorageTypeValues returns an array of possible values for the StorageType const type.
   418  func PossibleStorageTypeValues() []StorageType {
   419  	return []StorageType{StorageTypeGeoRedundant, StorageTypeInvalid, StorageTypeLocallyRedundant}
   420  }
   421  
   422  // StorageTypeState enumerates the values for storage type state.
   423  type StorageTypeState string
   424  
   425  const (
   426  	// StorageTypeStateInvalid ...
   427  	StorageTypeStateInvalid StorageTypeState = "Invalid"
   428  	// StorageTypeStateLocked ...
   429  	StorageTypeStateLocked StorageTypeState = "Locked"
   430  	// StorageTypeStateUnlocked ...
   431  	StorageTypeStateUnlocked StorageTypeState = "Unlocked"
   432  )
   433  
   434  // PossibleStorageTypeStateValues returns an array of possible values for the StorageTypeState const type.
   435  func PossibleStorageTypeStateValues() []StorageTypeState {
   436  	return []StorageTypeState{StorageTypeStateInvalid, StorageTypeStateLocked, StorageTypeStateUnlocked}
   437  }
   438  
   439  // Type enumerates the values for type.
   440  type Type string
   441  
   442  const (
   443  	// TypeCopyOnlyFull ...
   444  	TypeCopyOnlyFull Type = "CopyOnlyFull"
   445  	// TypeDifferential ...
   446  	TypeDifferential Type = "Differential"
   447  	// TypeFull ...
   448  	TypeFull Type = "Full"
   449  	// TypeInvalid ...
   450  	TypeInvalid Type = "Invalid"
   451  	// TypeLog ...
   452  	TypeLog Type = "Log"
   453  )
   454  
   455  // PossibleTypeValues returns an array of possible values for the Type const type.
   456  func PossibleTypeValues() []Type {
   457  	return []Type{TypeCopyOnlyFull, TypeDifferential, TypeFull, TypeInvalid, TypeLog}
   458  }
   459  
   460  // WorkloadItemType enumerates the values for workload item type.
   461  type WorkloadItemType string
   462  
   463  const (
   464  	// WorkloadItemTypeInvalid ...
   465  	WorkloadItemTypeInvalid WorkloadItemType = "Invalid"
   466  	// WorkloadItemTypeSAPAseDatabase ...
   467  	WorkloadItemTypeSAPAseDatabase WorkloadItemType = "SAPAseDatabase"
   468  	// WorkloadItemTypeSAPAseSystem ...
   469  	WorkloadItemTypeSAPAseSystem WorkloadItemType = "SAPAseSystem"
   470  	// WorkloadItemTypeSAPHanaDatabase ...
   471  	WorkloadItemTypeSAPHanaDatabase WorkloadItemType = "SAPHanaDatabase"
   472  	// WorkloadItemTypeSAPHanaSystem ...
   473  	WorkloadItemTypeSAPHanaSystem WorkloadItemType = "SAPHanaSystem"
   474  	// WorkloadItemTypeSQLDataBase ...
   475  	WorkloadItemTypeSQLDataBase WorkloadItemType = "SQLDataBase"
   476  	// WorkloadItemTypeSQLInstance ...
   477  	WorkloadItemTypeSQLInstance WorkloadItemType = "SQLInstance"
   478  )
   479  
   480  // PossibleWorkloadItemTypeValues returns an array of possible values for the WorkloadItemType const type.
   481  func PossibleWorkloadItemTypeValues() []WorkloadItemType {
   482  	return []WorkloadItemType{WorkloadItemTypeInvalid, WorkloadItemTypeSAPAseDatabase, WorkloadItemTypeSAPAseSystem, WorkloadItemTypeSAPHanaDatabase, WorkloadItemTypeSAPHanaSystem, WorkloadItemTypeSQLDataBase, WorkloadItemTypeSQLInstance}
   483  }
   484  
   485  // WorkloadItemTypeBasicWorkloadItem enumerates the values for workload item type basic workload item.
   486  type WorkloadItemTypeBasicWorkloadItem string
   487  
   488  const (
   489  	// WorkloadItemTypeAzureVMWorkloadItem ...
   490  	WorkloadItemTypeAzureVMWorkloadItem WorkloadItemTypeBasicWorkloadItem = "AzureVmWorkloadItem"
   491  	// WorkloadItemTypeSAPAseDatabase1 ...
   492  	WorkloadItemTypeSAPAseDatabase1 WorkloadItemTypeBasicWorkloadItem = "SAPAseDatabase"
   493  	// WorkloadItemTypeSAPAseSystem1 ...
   494  	WorkloadItemTypeSAPAseSystem1 WorkloadItemTypeBasicWorkloadItem = "SAPAseSystem"
   495  	// WorkloadItemTypeSAPHanaDatabase1 ...
   496  	WorkloadItemTypeSAPHanaDatabase1 WorkloadItemTypeBasicWorkloadItem = "SAPHanaDatabase"
   497  	// WorkloadItemTypeSAPHanaSystem1 ...
   498  	WorkloadItemTypeSAPHanaSystem1 WorkloadItemTypeBasicWorkloadItem = "SAPHanaSystem"
   499  	// WorkloadItemTypeSQLDataBase1 ...
   500  	WorkloadItemTypeSQLDataBase1 WorkloadItemTypeBasicWorkloadItem = "SQLDataBase"
   501  	// WorkloadItemTypeSQLInstance1 ...
   502  	WorkloadItemTypeSQLInstance1 WorkloadItemTypeBasicWorkloadItem = "SQLInstance"
   503  	// WorkloadItemTypeWorkloadItem ...
   504  	WorkloadItemTypeWorkloadItem WorkloadItemTypeBasicWorkloadItem = "WorkloadItem"
   505  )
   506  
   507  // PossibleWorkloadItemTypeBasicWorkloadItemValues returns an array of possible values for the WorkloadItemTypeBasicWorkloadItem const type.
   508  func PossibleWorkloadItemTypeBasicWorkloadItemValues() []WorkloadItemTypeBasicWorkloadItem {
   509  	return []WorkloadItemTypeBasicWorkloadItem{WorkloadItemTypeAzureVMWorkloadItem, WorkloadItemTypeSAPAseDatabase1, WorkloadItemTypeSAPAseSystem1, WorkloadItemTypeSAPHanaDatabase1, WorkloadItemTypeSAPHanaSystem1, WorkloadItemTypeSQLDataBase1, WorkloadItemTypeSQLInstance1, WorkloadItemTypeWorkloadItem}
   510  }
   511  
   512  // WorkloadType enumerates the values for workload type.
   513  type WorkloadType string
   514  
   515  const (
   516  	// WorkloadTypeAzureFileShare ...
   517  	WorkloadTypeAzureFileShare WorkloadType = "AzureFileShare"
   518  	// WorkloadTypeAzureSQLDb ...
   519  	WorkloadTypeAzureSQLDb WorkloadType = "AzureSqlDb"
   520  	// WorkloadTypeClient ...
   521  	WorkloadTypeClient WorkloadType = "Client"
   522  	// WorkloadTypeExchange ...
   523  	WorkloadTypeExchange WorkloadType = "Exchange"
   524  	// WorkloadTypeFileFolder ...
   525  	WorkloadTypeFileFolder WorkloadType = "FileFolder"
   526  	// WorkloadTypeGenericDataSource ...
   527  	WorkloadTypeGenericDataSource WorkloadType = "GenericDataSource"
   528  	// WorkloadTypeInvalid ...
   529  	WorkloadTypeInvalid WorkloadType = "Invalid"
   530  	// WorkloadTypeSAPAseDatabase ...
   531  	WorkloadTypeSAPAseDatabase WorkloadType = "SAPAseDatabase"
   532  	// WorkloadTypeSAPHanaDatabase ...
   533  	WorkloadTypeSAPHanaDatabase WorkloadType = "SAPHanaDatabase"
   534  	// WorkloadTypeSharepoint ...
   535  	WorkloadTypeSharepoint WorkloadType = "Sharepoint"
   536  	// WorkloadTypeSQLDataBase ...
   537  	WorkloadTypeSQLDataBase WorkloadType = "SQLDataBase"
   538  	// WorkloadTypeSQLDB ...
   539  	WorkloadTypeSQLDB WorkloadType = "SQLDB"
   540  	// WorkloadTypeSystemState ...
   541  	WorkloadTypeSystemState WorkloadType = "SystemState"
   542  	// WorkloadTypeVM ...
   543  	WorkloadTypeVM WorkloadType = "VM"
   544  	// WorkloadTypeVMwareVM ...
   545  	WorkloadTypeVMwareVM WorkloadType = "VMwareVM"
   546  )
   547  
   548  // PossibleWorkloadTypeValues returns an array of possible values for the WorkloadType const type.
   549  func PossibleWorkloadTypeValues() []WorkloadType {
   550  	return []WorkloadType{WorkloadTypeAzureFileShare, WorkloadTypeAzureSQLDb, WorkloadTypeClient, WorkloadTypeExchange, WorkloadTypeFileFolder, WorkloadTypeGenericDataSource, WorkloadTypeInvalid, WorkloadTypeSAPAseDatabase, WorkloadTypeSAPHanaDatabase, WorkloadTypeSharepoint, WorkloadTypeSQLDataBase, WorkloadTypeSQLDB, WorkloadTypeSystemState, WorkloadTypeVM, WorkloadTypeVMwareVM}
   551  }
   552  

View as plain text