...

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

Documentation: github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-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  // DataSourceType enumerates the values for data source type.
    10  type DataSourceType string
    11  
    12  const (
    13  	// AzureSQLDb ...
    14  	AzureSQLDb DataSourceType = "AzureSqlDb"
    15  	// DPMUnknown ...
    16  	DPMUnknown DataSourceType = "DPMUnknown"
    17  	// Exchange ...
    18  	Exchange DataSourceType = "Exchange"
    19  	// FileFolder ...
    20  	FileFolder DataSourceType = "FileFolder"
    21  	// Invalid ...
    22  	Invalid DataSourceType = "Invalid"
    23  	// Sharepoint ...
    24  	Sharepoint DataSourceType = "Sharepoint"
    25  	// SQLDB ...
    26  	SQLDB DataSourceType = "SQLDB"
    27  	// VM ...
    28  	VM DataSourceType = "VM"
    29  )
    30  
    31  // PossibleDataSourceTypeValues returns an array of possible values for the DataSourceType const type.
    32  func PossibleDataSourceTypeValues() []DataSourceType {
    33  	return []DataSourceType{AzureSQLDb, DPMUnknown, Exchange, FileFolder, Invalid, Sharepoint, SQLDB, VM}
    34  }
    35  
    36  // DayOfWeek enumerates the values for day of week.
    37  type DayOfWeek string
    38  
    39  const (
    40  	// Friday ...
    41  	Friday DayOfWeek = "Friday"
    42  	// Monday ...
    43  	Monday DayOfWeek = "Monday"
    44  	// Saturday ...
    45  	Saturday DayOfWeek = "Saturday"
    46  	// Sunday ...
    47  	Sunday DayOfWeek = "Sunday"
    48  	// Thursday ...
    49  	Thursday DayOfWeek = "Thursday"
    50  	// Tuesday ...
    51  	Tuesday DayOfWeek = "Tuesday"
    52  	// Wednesday ...
    53  	Wednesday DayOfWeek = "Wednesday"
    54  )
    55  
    56  // PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.
    57  func PossibleDayOfWeekValues() []DayOfWeek {
    58  	return []DayOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}
    59  }
    60  
    61  // EngineType enumerates the values for engine type.
    62  type EngineType string
    63  
    64  const (
    65  	// BackupEngineTypeAzureBackupServerEngine ...
    66  	BackupEngineTypeAzureBackupServerEngine EngineType = "AzureBackupServerEngine"
    67  	// BackupEngineTypeBackupEngineBase ...
    68  	BackupEngineTypeBackupEngineBase EngineType = "BackupEngineBase"
    69  	// BackupEngineTypeDpmBackupEngine ...
    70  	BackupEngineTypeDpmBackupEngine EngineType = "DpmBackupEngine"
    71  )
    72  
    73  // PossibleEngineTypeValues returns an array of possible values for the EngineType const type.
    74  func PossibleEngineTypeValues() []EngineType {
    75  	return []EngineType{BackupEngineTypeAzureBackupServerEngine, BackupEngineTypeBackupEngineBase, BackupEngineTypeDpmBackupEngine}
    76  }
    77  
    78  // HTTPStatusCode enumerates the values for http status code.
    79  type HTTPStatusCode string
    80  
    81  const (
    82  	// Accepted ...
    83  	Accepted HTTPStatusCode = "Accepted"
    84  	// Ambiguous ...
    85  	Ambiguous HTTPStatusCode = "Ambiguous"
    86  	// BadGateway ...
    87  	BadGateway HTTPStatusCode = "BadGateway"
    88  	// BadRequest ...
    89  	BadRequest HTTPStatusCode = "BadRequest"
    90  	// Conflict ...
    91  	Conflict HTTPStatusCode = "Conflict"
    92  	// Continue ...
    93  	Continue HTTPStatusCode = "Continue"
    94  	// Created ...
    95  	Created HTTPStatusCode = "Created"
    96  	// ExpectationFailed ...
    97  	ExpectationFailed HTTPStatusCode = "ExpectationFailed"
    98  	// Forbidden ...
    99  	Forbidden HTTPStatusCode = "Forbidden"
   100  	// Found ...
   101  	Found HTTPStatusCode = "Found"
   102  	// GatewayTimeout ...
   103  	GatewayTimeout HTTPStatusCode = "GatewayTimeout"
   104  	// Gone ...
   105  	Gone HTTPStatusCode = "Gone"
   106  	// HTTPVersionNotSupported ...
   107  	HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported"
   108  	// InternalServerError ...
   109  	InternalServerError HTTPStatusCode = "InternalServerError"
   110  	// LengthRequired ...
   111  	LengthRequired HTTPStatusCode = "LengthRequired"
   112  	// MethodNotAllowed ...
   113  	MethodNotAllowed HTTPStatusCode = "MethodNotAllowed"
   114  	// Moved ...
   115  	Moved HTTPStatusCode = "Moved"
   116  	// MovedPermanently ...
   117  	MovedPermanently HTTPStatusCode = "MovedPermanently"
   118  	// MultipleChoices ...
   119  	MultipleChoices HTTPStatusCode = "MultipleChoices"
   120  	// NoContent ...
   121  	NoContent HTTPStatusCode = "NoContent"
   122  	// NonAuthoritativeInformation ...
   123  	NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation"
   124  	// NotAcceptable ...
   125  	NotAcceptable HTTPStatusCode = "NotAcceptable"
   126  	// NotFound ...
   127  	NotFound HTTPStatusCode = "NotFound"
   128  	// NotImplemented ...
   129  	NotImplemented HTTPStatusCode = "NotImplemented"
   130  	// NotModified ...
   131  	NotModified HTTPStatusCode = "NotModified"
   132  	// OK ...
   133  	OK HTTPStatusCode = "OK"
   134  	// PartialContent ...
   135  	PartialContent HTTPStatusCode = "PartialContent"
   136  	// PaymentRequired ...
   137  	PaymentRequired HTTPStatusCode = "PaymentRequired"
   138  	// PreconditionFailed ...
   139  	PreconditionFailed HTTPStatusCode = "PreconditionFailed"
   140  	// ProxyAuthenticationRequired ...
   141  	ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired"
   142  	// Redirect ...
   143  	Redirect HTTPStatusCode = "Redirect"
   144  	// RedirectKeepVerb ...
   145  	RedirectKeepVerb HTTPStatusCode = "RedirectKeepVerb"
   146  	// RedirectMethod ...
   147  	RedirectMethod HTTPStatusCode = "RedirectMethod"
   148  	// RequestedRangeNotSatisfiable ...
   149  	RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable"
   150  	// RequestEntityTooLarge ...
   151  	RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge"
   152  	// RequestTimeout ...
   153  	RequestTimeout HTTPStatusCode = "RequestTimeout"
   154  	// RequestURITooLong ...
   155  	RequestURITooLong HTTPStatusCode = "RequestUriTooLong"
   156  	// ResetContent ...
   157  	ResetContent HTTPStatusCode = "ResetContent"
   158  	// SeeOther ...
   159  	SeeOther HTTPStatusCode = "SeeOther"
   160  	// ServiceUnavailable ...
   161  	ServiceUnavailable HTTPStatusCode = "ServiceUnavailable"
   162  	// SwitchingProtocols ...
   163  	SwitchingProtocols HTTPStatusCode = "SwitchingProtocols"
   164  	// TemporaryRedirect ...
   165  	TemporaryRedirect HTTPStatusCode = "TemporaryRedirect"
   166  	// Unauthorized ...
   167  	Unauthorized HTTPStatusCode = "Unauthorized"
   168  	// UnsupportedMediaType ...
   169  	UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType"
   170  	// Unused ...
   171  	Unused HTTPStatusCode = "Unused"
   172  	// UpgradeRequired ...
   173  	UpgradeRequired HTTPStatusCode = "UpgradeRequired"
   174  	// UseProxy ...
   175  	UseProxy HTTPStatusCode = "UseProxy"
   176  )
   177  
   178  // PossibleHTTPStatusCodeValues returns an array of possible values for the HTTPStatusCode const type.
   179  func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
   180  	return []HTTPStatusCode{Accepted, Ambiguous, BadGateway, BadRequest, Conflict, Continue, Created, ExpectationFailed, Forbidden, Found, GatewayTimeout, Gone, HTTPVersionNotSupported, InternalServerError, LengthRequired, MethodNotAllowed, Moved, MovedPermanently, MultipleChoices, NoContent, NonAuthoritativeInformation, NotAcceptable, NotFound, NotImplemented, NotModified, OK, PartialContent, PaymentRequired, PreconditionFailed, ProxyAuthenticationRequired, Redirect, RedirectKeepVerb, RedirectMethod, RequestedRangeNotSatisfiable, RequestEntityTooLarge, RequestTimeout, RequestURITooLong, ResetContent, SeeOther, ServiceUnavailable, SwitchingProtocols, TemporaryRedirect, Unauthorized, UnsupportedMediaType, Unused, UpgradeRequired, UseProxy}
   181  }
   182  
   183  // ItemType enumerates the values for item type.
   184  type ItemType string
   185  
   186  const (
   187  	// ItemTypeAzureSQLDb ...
   188  	ItemTypeAzureSQLDb ItemType = "AzureSqlDb"
   189  	// ItemTypeDPMUnknown ...
   190  	ItemTypeDPMUnknown ItemType = "DPMUnknown"
   191  	// ItemTypeExchange ...
   192  	ItemTypeExchange ItemType = "Exchange"
   193  	// ItemTypeFileFolder ...
   194  	ItemTypeFileFolder ItemType = "FileFolder"
   195  	// ItemTypeInvalid ...
   196  	ItemTypeInvalid ItemType = "Invalid"
   197  	// ItemTypeSharepoint ...
   198  	ItemTypeSharepoint ItemType = "Sharepoint"
   199  	// ItemTypeSQLDB ...
   200  	ItemTypeSQLDB ItemType = "SQLDB"
   201  	// ItemTypeVM ...
   202  	ItemTypeVM ItemType = "VM"
   203  )
   204  
   205  // PossibleItemTypeValues returns an array of possible values for the ItemType const type.
   206  func PossibleItemTypeValues() []ItemType {
   207  	return []ItemType{ItemTypeAzureSQLDb, ItemTypeDPMUnknown, ItemTypeExchange, ItemTypeFileFolder, ItemTypeInvalid, ItemTypeSharepoint, ItemTypeSQLDB, ItemTypeVM}
   208  }
   209  
   210  // JobOperationType enumerates the values for job operation type.
   211  type JobOperationType string
   212  
   213  const (
   214  	// JobOperationTypeBackup ...
   215  	JobOperationTypeBackup JobOperationType = "Backup"
   216  	// JobOperationTypeConfigureBackup ...
   217  	JobOperationTypeConfigureBackup JobOperationType = "ConfigureBackup"
   218  	// JobOperationTypeDeleteBackupData ...
   219  	JobOperationTypeDeleteBackupData JobOperationType = "DeleteBackupData"
   220  	// JobOperationTypeDisableBackup ...
   221  	JobOperationTypeDisableBackup JobOperationType = "DisableBackup"
   222  	// JobOperationTypeInvalid ...
   223  	JobOperationTypeInvalid JobOperationType = "Invalid"
   224  	// JobOperationTypeRestore ...
   225  	JobOperationTypeRestore JobOperationType = "Restore"
   226  )
   227  
   228  // PossibleJobOperationTypeValues returns an array of possible values for the JobOperationType const type.
   229  func PossibleJobOperationTypeValues() []JobOperationType {
   230  	return []JobOperationType{JobOperationTypeBackup, JobOperationTypeConfigureBackup, JobOperationTypeDeleteBackupData, JobOperationTypeDisableBackup, JobOperationTypeInvalid, JobOperationTypeRestore}
   231  }
   232  
   233  // JobStatus enumerates the values for job status.
   234  type JobStatus string
   235  
   236  const (
   237  	// JobStatusCancelled ...
   238  	JobStatusCancelled JobStatus = "Cancelled"
   239  	// JobStatusCancelling ...
   240  	JobStatusCancelling JobStatus = "Cancelling"
   241  	// JobStatusCompleted ...
   242  	JobStatusCompleted JobStatus = "Completed"
   243  	// JobStatusCompletedWithWarnings ...
   244  	JobStatusCompletedWithWarnings JobStatus = "CompletedWithWarnings"
   245  	// JobStatusFailed ...
   246  	JobStatusFailed JobStatus = "Failed"
   247  	// JobStatusInProgress ...
   248  	JobStatusInProgress JobStatus = "InProgress"
   249  	// JobStatusInvalid ...
   250  	JobStatusInvalid JobStatus = "Invalid"
   251  )
   252  
   253  // PossibleJobStatusValues returns an array of possible values for the JobStatus const type.
   254  func PossibleJobStatusValues() []JobStatus {
   255  	return []JobStatus{JobStatusCancelled, JobStatusCancelling, JobStatusCompleted, JobStatusCompletedWithWarnings, JobStatusFailed, JobStatusInProgress, JobStatusInvalid}
   256  }
   257  
   258  // JobSupportedAction enumerates the values for job supported action.
   259  type JobSupportedAction string
   260  
   261  const (
   262  	// JobSupportedActionCancellable ...
   263  	JobSupportedActionCancellable JobSupportedAction = "Cancellable"
   264  	// JobSupportedActionInvalid ...
   265  	JobSupportedActionInvalid JobSupportedAction = "Invalid"
   266  	// JobSupportedActionRetriable ...
   267  	JobSupportedActionRetriable JobSupportedAction = "Retriable"
   268  )
   269  
   270  // PossibleJobSupportedActionValues returns an array of possible values for the JobSupportedAction const type.
   271  func PossibleJobSupportedActionValues() []JobSupportedAction {
   272  	return []JobSupportedAction{JobSupportedActionCancellable, JobSupportedActionInvalid, JobSupportedActionRetriable}
   273  }
   274  
   275  // JobType enumerates the values for job type.
   276  type JobType string
   277  
   278  const (
   279  	// JobTypeAzureIaaSVMJob ...
   280  	JobTypeAzureIaaSVMJob JobType = "AzureIaaSVMJob"
   281  	// JobTypeDpmJob ...
   282  	JobTypeDpmJob JobType = "DpmJob"
   283  	// JobTypeJob ...
   284  	JobTypeJob JobType = "Job"
   285  	// JobTypeMabJob ...
   286  	JobTypeMabJob JobType = "MabJob"
   287  )
   288  
   289  // PossibleJobTypeValues returns an array of possible values for the JobType const type.
   290  func PossibleJobTypeValues() []JobType {
   291  	return []JobType{JobTypeAzureIaaSVMJob, JobTypeDpmJob, JobTypeJob, JobTypeMabJob}
   292  }
   293  
   294  // MabServerType enumerates the values for mab server type.
   295  type MabServerType string
   296  
   297  const (
   298  	// MabServerTypeAzureSQLContainer ...
   299  	MabServerTypeAzureSQLContainer MabServerType = "AzureSqlContainer"
   300  	// MabServerTypeClusterResource ...
   301  	MabServerTypeClusterResource MabServerType = "ClusterResource"
   302  	// MabServerTypeDPMContainer ...
   303  	MabServerTypeDPMContainer MabServerType = "DPMContainer"
   304  	// MabServerTypeDPMVenusContainer ...
   305  	MabServerTypeDPMVenusContainer MabServerType = "DPMVenusContainer"
   306  	// MabServerTypeIaasVMContainer ...
   307  	MabServerTypeIaasVMContainer MabServerType = "IaasVMContainer"
   308  	// MabServerTypeIaasVMServiceContainer ...
   309  	MabServerTypeIaasVMServiceContainer MabServerType = "IaasVMServiceContainer"
   310  	// MabServerTypeInvalid ...
   311  	MabServerTypeInvalid MabServerType = "Invalid"
   312  	// MabServerTypeMABContainer ...
   313  	MabServerTypeMABContainer MabServerType = "MABContainer"
   314  	// MabServerTypeUnknown ...
   315  	MabServerTypeUnknown MabServerType = "Unknown"
   316  	// MabServerTypeWindows ...
   317  	MabServerTypeWindows MabServerType = "Windows"
   318  	// MabServerTypeWindowsServer ...
   319  	MabServerTypeWindowsServer MabServerType = "WindowsServer"
   320  )
   321  
   322  // PossibleMabServerTypeValues returns an array of possible values for the MabServerType const type.
   323  func PossibleMabServerTypeValues() []MabServerType {
   324  	return []MabServerType{MabServerTypeAzureSQLContainer, MabServerTypeClusterResource, MabServerTypeDPMContainer, MabServerTypeDPMVenusContainer, MabServerTypeIaasVMContainer, MabServerTypeIaasVMServiceContainer, MabServerTypeInvalid, MabServerTypeMABContainer, MabServerTypeUnknown, MabServerTypeWindows, MabServerTypeWindowsServer}
   325  }
   326  
   327  // ManagementType enumerates the values for management type.
   328  type ManagementType string
   329  
   330  const (
   331  	// ManagementTypeAzureBackupServer ...
   332  	ManagementTypeAzureBackupServer ManagementType = "AzureBackupServer"
   333  	// ManagementTypeAzureIaasVM ...
   334  	ManagementTypeAzureIaasVM ManagementType = "AzureIaasVM"
   335  	// ManagementTypeAzureSQL ...
   336  	ManagementTypeAzureSQL ManagementType = "AzureSql"
   337  	// ManagementTypeDPM ...
   338  	ManagementTypeDPM ManagementType = "DPM"
   339  	// ManagementTypeInvalid ...
   340  	ManagementTypeInvalid ManagementType = "Invalid"
   341  	// ManagementTypeMAB ...
   342  	ManagementTypeMAB ManagementType = "MAB"
   343  )
   344  
   345  // PossibleManagementTypeValues returns an array of possible values for the ManagementType const type.
   346  func PossibleManagementTypeValues() []ManagementType {
   347  	return []ManagementType{ManagementTypeAzureBackupServer, ManagementTypeAzureIaasVM, ManagementTypeAzureSQL, ManagementTypeDPM, ManagementTypeInvalid, ManagementTypeMAB}
   348  }
   349  
   350  // ManagementTypeBasicProtectionPolicy enumerates the values for management type basic protection policy.
   351  type ManagementTypeBasicProtectionPolicy string
   352  
   353  const (
   354  	// BackupManagementTypeAzureIaasVM ...
   355  	BackupManagementTypeAzureIaasVM ManagementTypeBasicProtectionPolicy = "AzureIaasVM"
   356  	// BackupManagementTypeAzureSQL ...
   357  	BackupManagementTypeAzureSQL ManagementTypeBasicProtectionPolicy = "AzureSql"
   358  	// BackupManagementTypeMAB ...
   359  	BackupManagementTypeMAB ManagementTypeBasicProtectionPolicy = "MAB"
   360  	// BackupManagementTypeProtectionPolicy ...
   361  	BackupManagementTypeProtectionPolicy ManagementTypeBasicProtectionPolicy = "ProtectionPolicy"
   362  )
   363  
   364  // PossibleManagementTypeBasicProtectionPolicyValues returns an array of possible values for the ManagementTypeBasicProtectionPolicy const type.
   365  func PossibleManagementTypeBasicProtectionPolicyValues() []ManagementTypeBasicProtectionPolicy {
   366  	return []ManagementTypeBasicProtectionPolicy{BackupManagementTypeAzureIaasVM, BackupManagementTypeAzureSQL, BackupManagementTypeMAB, BackupManagementTypeProtectionPolicy}
   367  }
   368  
   369  // MonthOfYear enumerates the values for month of year.
   370  type MonthOfYear string
   371  
   372  const (
   373  	// MonthOfYearApril ...
   374  	MonthOfYearApril MonthOfYear = "April"
   375  	// MonthOfYearAugust ...
   376  	MonthOfYearAugust MonthOfYear = "August"
   377  	// MonthOfYearDecember ...
   378  	MonthOfYearDecember MonthOfYear = "December"
   379  	// MonthOfYearFebruary ...
   380  	MonthOfYearFebruary MonthOfYear = "February"
   381  	// MonthOfYearInvalid ...
   382  	MonthOfYearInvalid MonthOfYear = "Invalid"
   383  	// MonthOfYearJanuary ...
   384  	MonthOfYearJanuary MonthOfYear = "January"
   385  	// MonthOfYearJuly ...
   386  	MonthOfYearJuly MonthOfYear = "July"
   387  	// MonthOfYearJune ...
   388  	MonthOfYearJune MonthOfYear = "June"
   389  	// MonthOfYearMarch ...
   390  	MonthOfYearMarch MonthOfYear = "March"
   391  	// MonthOfYearMay ...
   392  	MonthOfYearMay MonthOfYear = "May"
   393  	// MonthOfYearNovember ...
   394  	MonthOfYearNovember MonthOfYear = "November"
   395  	// MonthOfYearOctober ...
   396  	MonthOfYearOctober MonthOfYear = "October"
   397  	// MonthOfYearSeptember ...
   398  	MonthOfYearSeptember MonthOfYear = "September"
   399  )
   400  
   401  // PossibleMonthOfYearValues returns an array of possible values for the MonthOfYear const type.
   402  func PossibleMonthOfYearValues() []MonthOfYear {
   403  	return []MonthOfYear{MonthOfYearApril, MonthOfYearAugust, MonthOfYearDecember, MonthOfYearFebruary, MonthOfYearInvalid, MonthOfYearJanuary, MonthOfYearJuly, MonthOfYearJune, MonthOfYearMarch, MonthOfYearMay, MonthOfYearNovember, MonthOfYearOctober, MonthOfYearSeptember}
   404  }
   405  
   406  // ObjectType enumerates the values for object type.
   407  type ObjectType string
   408  
   409  const (
   410  	// ObjectTypeOperationStatusExtendedInfo ...
   411  	ObjectTypeOperationStatusExtendedInfo ObjectType = "OperationStatusExtendedInfo"
   412  	// ObjectTypeOperationStatusJobExtendedInfo ...
   413  	ObjectTypeOperationStatusJobExtendedInfo ObjectType = "OperationStatusJobExtendedInfo"
   414  	// ObjectTypeOperationStatusJobsExtendedInfo ...
   415  	ObjectTypeOperationStatusJobsExtendedInfo ObjectType = "OperationStatusJobsExtendedInfo"
   416  	// ObjectTypeOperationStatusProvisionILRExtendedInfo ...
   417  	ObjectTypeOperationStatusProvisionILRExtendedInfo ObjectType = "OperationStatusProvisionILRExtendedInfo"
   418  )
   419  
   420  // PossibleObjectTypeValues returns an array of possible values for the ObjectType const type.
   421  func PossibleObjectTypeValues() []ObjectType {
   422  	return []ObjectType{ObjectTypeOperationStatusExtendedInfo, ObjectTypeOperationStatusJobExtendedInfo, ObjectTypeOperationStatusJobsExtendedInfo, ObjectTypeOperationStatusProvisionILRExtendedInfo}
   423  }
   424  
   425  // ObjectTypeBasicILRRequest enumerates the values for object type basic ilr request.
   426  type ObjectTypeBasicILRRequest string
   427  
   428  const (
   429  	// ObjectTypeIaasVMILRRegistrationRequest ...
   430  	ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = "IaasVMILRRegistrationRequest"
   431  	// ObjectTypeILRRequest ...
   432  	ObjectTypeILRRequest ObjectTypeBasicILRRequest = "ILRRequest"
   433  )
   434  
   435  // PossibleObjectTypeBasicILRRequestValues returns an array of possible values for the ObjectTypeBasicILRRequest const type.
   436  func PossibleObjectTypeBasicILRRequestValues() []ObjectTypeBasicILRRequest {
   437  	return []ObjectTypeBasicILRRequest{ObjectTypeIaasVMILRRegistrationRequest, ObjectTypeILRRequest}
   438  }
   439  
   440  // ObjectTypeBasicOperationResultInfoBase enumerates the values for object type basic operation result info
   441  // base.
   442  type ObjectTypeBasicOperationResultInfoBase string
   443  
   444  const (
   445  	// ObjectTypeExportJobsOperationResultInfo ...
   446  	ObjectTypeExportJobsOperationResultInfo ObjectTypeBasicOperationResultInfoBase = "ExportJobsOperationResultInfo"
   447  	// ObjectTypeOperationResultInfo ...
   448  	ObjectTypeOperationResultInfo ObjectTypeBasicOperationResultInfoBase = "OperationResultInfo"
   449  	// ObjectTypeOperationResultInfoBase ...
   450  	ObjectTypeOperationResultInfoBase ObjectTypeBasicOperationResultInfoBase = "OperationResultInfoBase"
   451  )
   452  
   453  // PossibleObjectTypeBasicOperationResultInfoBaseValues returns an array of possible values for the ObjectTypeBasicOperationResultInfoBase const type.
   454  func PossibleObjectTypeBasicOperationResultInfoBaseValues() []ObjectTypeBasicOperationResultInfoBase {
   455  	return []ObjectTypeBasicOperationResultInfoBase{ObjectTypeExportJobsOperationResultInfo, ObjectTypeOperationResultInfo, ObjectTypeOperationResultInfoBase}
   456  }
   457  
   458  // ObjectTypeBasicRecoveryPoint enumerates the values for object type basic recovery point.
   459  type ObjectTypeBasicRecoveryPoint string
   460  
   461  const (
   462  	// ObjectTypeGenericRecoveryPoint ...
   463  	ObjectTypeGenericRecoveryPoint ObjectTypeBasicRecoveryPoint = "GenericRecoveryPoint"
   464  	// ObjectTypeIaasVMRecoveryPoint ...
   465  	ObjectTypeIaasVMRecoveryPoint ObjectTypeBasicRecoveryPoint = "IaasVMRecoveryPoint"
   466  	// ObjectTypeRecoveryPoint ...
   467  	ObjectTypeRecoveryPoint ObjectTypeBasicRecoveryPoint = "RecoveryPoint"
   468  )
   469  
   470  // PossibleObjectTypeBasicRecoveryPointValues returns an array of possible values for the ObjectTypeBasicRecoveryPoint const type.
   471  func PossibleObjectTypeBasicRecoveryPointValues() []ObjectTypeBasicRecoveryPoint {
   472  	return []ObjectTypeBasicRecoveryPoint{ObjectTypeGenericRecoveryPoint, ObjectTypeIaasVMRecoveryPoint, ObjectTypeRecoveryPoint}
   473  }
   474  
   475  // ObjectTypeBasicRequest enumerates the values for object type basic request.
   476  type ObjectTypeBasicRequest string
   477  
   478  const (
   479  	// ObjectTypeBackupRequest ...
   480  	ObjectTypeBackupRequest ObjectTypeBasicRequest = "BackupRequest"
   481  	// ObjectTypeIaasVMBackupRequest ...
   482  	ObjectTypeIaasVMBackupRequest ObjectTypeBasicRequest = "IaasVMBackupRequest"
   483  )
   484  
   485  // PossibleObjectTypeBasicRequestValues returns an array of possible values for the ObjectTypeBasicRequest const type.
   486  func PossibleObjectTypeBasicRequestValues() []ObjectTypeBasicRequest {
   487  	return []ObjectTypeBasicRequest{ObjectTypeBackupRequest, ObjectTypeIaasVMBackupRequest}
   488  }
   489  
   490  // ObjectTypeBasicRestoreRequest enumerates the values for object type basic restore request.
   491  type ObjectTypeBasicRestoreRequest string
   492  
   493  const (
   494  	// ObjectTypeIaasVMRestoreRequest ...
   495  	ObjectTypeIaasVMRestoreRequest ObjectTypeBasicRestoreRequest = "IaasVMRestoreRequest"
   496  	// ObjectTypeRestoreRequest ...
   497  	ObjectTypeRestoreRequest ObjectTypeBasicRestoreRequest = "RestoreRequest"
   498  )
   499  
   500  // PossibleObjectTypeBasicRestoreRequestValues returns an array of possible values for the ObjectTypeBasicRestoreRequest const type.
   501  func PossibleObjectTypeBasicRestoreRequestValues() []ObjectTypeBasicRestoreRequest {
   502  	return []ObjectTypeBasicRestoreRequest{ObjectTypeIaasVMRestoreRequest, ObjectTypeRestoreRequest}
   503  }
   504  
   505  // OperationStatusValues enumerates the values for operation status values.
   506  type OperationStatusValues string
   507  
   508  const (
   509  	// OperationStatusValuesCanceled ...
   510  	OperationStatusValuesCanceled OperationStatusValues = "Canceled"
   511  	// OperationStatusValuesFailed ...
   512  	OperationStatusValuesFailed OperationStatusValues = "Failed"
   513  	// OperationStatusValuesInProgress ...
   514  	OperationStatusValuesInProgress OperationStatusValues = "InProgress"
   515  	// OperationStatusValuesInvalid ...
   516  	OperationStatusValuesInvalid OperationStatusValues = "Invalid"
   517  	// OperationStatusValuesSucceeded ...
   518  	OperationStatusValuesSucceeded OperationStatusValues = "Succeeded"
   519  )
   520  
   521  // PossibleOperationStatusValuesValues returns an array of possible values for the OperationStatusValues const type.
   522  func PossibleOperationStatusValuesValues() []OperationStatusValues {
   523  	return []OperationStatusValues{OperationStatusValuesCanceled, OperationStatusValuesFailed, OperationStatusValuesInProgress, OperationStatusValuesInvalid, OperationStatusValuesSucceeded}
   524  }
   525  
   526  // ProtectableItemType enumerates the values for protectable item type.
   527  type ProtectableItemType string
   528  
   529  const (
   530  	// ProtectableItemTypeIaaSVMProtectableItem ...
   531  	ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = "IaaSVMProtectableItem"
   532  	// ProtectableItemTypeMicrosoftClassicComputevirtualMachines ...
   533  	ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = "Microsoft.ClassicCompute/virtualMachines"
   534  	// ProtectableItemTypeMicrosoftComputevirtualMachines ...
   535  	ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = "Microsoft.Compute/virtualMachines"
   536  	// ProtectableItemTypeWorkloadProtectableItem ...
   537  	ProtectableItemTypeWorkloadProtectableItem ProtectableItemType = "WorkloadProtectableItem"
   538  )
   539  
   540  // PossibleProtectableItemTypeValues returns an array of possible values for the ProtectableItemType const type.
   541  func PossibleProtectableItemTypeValues() []ProtectableItemType {
   542  	return []ProtectableItemType{ProtectableItemTypeIaaSVMProtectableItem, ProtectableItemTypeMicrosoftClassicComputevirtualMachines, ProtectableItemTypeMicrosoftComputevirtualMachines, ProtectableItemTypeWorkloadProtectableItem}
   543  }
   544  
   545  // ProtectableObjectType enumerates the values for protectable object type.
   546  type ProtectableObjectType string
   547  
   548  const (
   549  	// ProtectableObjectTypeAzureSQLContainer ...
   550  	ProtectableObjectTypeAzureSQLContainer ProtectableObjectType = "AzureSqlContainer"
   551  	// ProtectableObjectTypeIaaSVMContainer ...
   552  	ProtectableObjectTypeIaaSVMContainer ProtectableObjectType = "IaaSVMContainer"
   553  	// ProtectableObjectTypeMABWindowsContainer ...
   554  	ProtectableObjectTypeMABWindowsContainer ProtectableObjectType = "MABWindowsContainer"
   555  	// ProtectableObjectTypeMicrosoftClassicComputevirtualMachines ...
   556  	ProtectableObjectTypeMicrosoftClassicComputevirtualMachines ProtectableObjectType = "Microsoft.ClassicCompute/virtualMachines"
   557  	// ProtectableObjectTypeMicrosoftComputevirtualMachines ...
   558  	ProtectableObjectTypeMicrosoftComputevirtualMachines ProtectableObjectType = "Microsoft.Compute/virtualMachines"
   559  	// ProtectableObjectTypeProtectionContainer ...
   560  	ProtectableObjectTypeProtectionContainer ProtectableObjectType = "ProtectionContainer"
   561  )
   562  
   563  // PossibleProtectableObjectTypeValues returns an array of possible values for the ProtectableObjectType const type.
   564  func PossibleProtectableObjectTypeValues() []ProtectableObjectType {
   565  	return []ProtectableObjectType{ProtectableObjectTypeAzureSQLContainer, ProtectableObjectTypeIaaSVMContainer, ProtectableObjectTypeMABWindowsContainer, ProtectableObjectTypeMicrosoftClassicComputevirtualMachines, ProtectableObjectTypeMicrosoftComputevirtualMachines, ProtectableObjectTypeProtectionContainer}
   566  }
   567  
   568  // ProtectedItemState enumerates the values for protected item state.
   569  type ProtectedItemState string
   570  
   571  const (
   572  	// ProtectedItemStateInvalid ...
   573  	ProtectedItemStateInvalid ProtectedItemState = "Invalid"
   574  	// ProtectedItemStateIRPending ...
   575  	ProtectedItemStateIRPending ProtectedItemState = "IRPending"
   576  	// ProtectedItemStateProtected ...
   577  	ProtectedItemStateProtected ProtectedItemState = "Protected"
   578  	// ProtectedItemStateProtectionError ...
   579  	ProtectedItemStateProtectionError ProtectedItemState = "ProtectionError"
   580  	// ProtectedItemStateProtectionPaused ...
   581  	ProtectedItemStateProtectionPaused ProtectedItemState = "ProtectionPaused"
   582  	// ProtectedItemStateProtectionStopped ...
   583  	ProtectedItemStateProtectionStopped ProtectedItemState = "ProtectionStopped"
   584  )
   585  
   586  // PossibleProtectedItemStateValues returns an array of possible values for the ProtectedItemState const type.
   587  func PossibleProtectedItemStateValues() []ProtectedItemState {
   588  	return []ProtectedItemState{ProtectedItemStateInvalid, ProtectedItemStateIRPending, ProtectedItemStateProtected, ProtectedItemStateProtectionError, ProtectedItemStateProtectionPaused, ProtectedItemStateProtectionStopped}
   589  }
   590  
   591  // ProtectedItemType enumerates the values for protected item type.
   592  type ProtectedItemType string
   593  
   594  const (
   595  	// ProtectedItemTypeAzureIaaSVMProtectedItem ...
   596  	ProtectedItemTypeAzureIaaSVMProtectedItem ProtectedItemType = "AzureIaaSVMProtectedItem"
   597  	// ProtectedItemTypeMabFileFolderProtectedItem ...
   598  	ProtectedItemTypeMabFileFolderProtectedItem ProtectedItemType = "MabFileFolderProtectedItem"
   599  	// ProtectedItemTypeMicrosoftClassicComputevirtualMachines ...
   600  	ProtectedItemTypeMicrosoftClassicComputevirtualMachines ProtectedItemType = "Microsoft.ClassicCompute/virtualMachines"
   601  	// ProtectedItemTypeMicrosoftComputevirtualMachines ...
   602  	ProtectedItemTypeMicrosoftComputevirtualMachines ProtectedItemType = "Microsoft.Compute/virtualMachines"
   603  	// ProtectedItemTypeMicrosoftSqlserversdatabases ...
   604  	ProtectedItemTypeMicrosoftSqlserversdatabases ProtectedItemType = "Microsoft.Sql/servers/databases"
   605  	// ProtectedItemTypeProtectedItem ...
   606  	ProtectedItemTypeProtectedItem ProtectedItemType = "ProtectedItem"
   607  )
   608  
   609  // PossibleProtectedItemTypeValues returns an array of possible values for the ProtectedItemType const type.
   610  func PossibleProtectedItemTypeValues() []ProtectedItemType {
   611  	return []ProtectedItemType{ProtectedItemTypeAzureIaaSVMProtectedItem, ProtectedItemTypeMabFileFolderProtectedItem, ProtectedItemTypeMicrosoftClassicComputevirtualMachines, ProtectedItemTypeMicrosoftComputevirtualMachines, ProtectedItemTypeMicrosoftSqlserversdatabases, ProtectedItemTypeProtectedItem}
   612  }
   613  
   614  // ProtectionState enumerates the values for protection state.
   615  type ProtectionState string
   616  
   617  const (
   618  	// ProtectionStateInvalid ...
   619  	ProtectionStateInvalid ProtectionState = "Invalid"
   620  	// ProtectionStateIRPending ...
   621  	ProtectionStateIRPending ProtectionState = "IRPending"
   622  	// ProtectionStateProtected ...
   623  	ProtectionStateProtected ProtectionState = "Protected"
   624  	// ProtectionStateProtectionError ...
   625  	ProtectionStateProtectionError ProtectionState = "ProtectionError"
   626  	// ProtectionStateProtectionPaused ...
   627  	ProtectionStateProtectionPaused ProtectionState = "ProtectionPaused"
   628  	// ProtectionStateProtectionStopped ...
   629  	ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped"
   630  )
   631  
   632  // PossibleProtectionStateValues returns an array of possible values for the ProtectionState const type.
   633  func PossibleProtectionStateValues() []ProtectionState {
   634  	return []ProtectionState{ProtectionStateInvalid, ProtectionStateIRPending, ProtectionStateProtected, ProtectionStateProtectionError, ProtectionStateProtectionPaused, ProtectionStateProtectionStopped}
   635  }
   636  
   637  // ProtectionStatus enumerates the values for protection status.
   638  type ProtectionStatus string
   639  
   640  const (
   641  	// ProtectionStatusInvalid ...
   642  	ProtectionStatusInvalid ProtectionStatus = "Invalid"
   643  	// ProtectionStatusNotProtected ...
   644  	ProtectionStatusNotProtected ProtectionStatus = "NotProtected"
   645  	// ProtectionStatusProtected ...
   646  	ProtectionStatusProtected ProtectionStatus = "Protected"
   647  	// ProtectionStatusProtecting ...
   648  	ProtectionStatusProtecting ProtectionStatus = "Protecting"
   649  )
   650  
   651  // PossibleProtectionStatusValues returns an array of possible values for the ProtectionStatus const type.
   652  func PossibleProtectionStatusValues() []ProtectionStatus {
   653  	return []ProtectionStatus{ProtectionStatusInvalid, ProtectionStatusNotProtected, ProtectionStatusProtected, ProtectionStatusProtecting}
   654  }
   655  
   656  // RecoveryType enumerates the values for recovery type.
   657  type RecoveryType string
   658  
   659  const (
   660  	// RecoveryTypeAlternateLocation ...
   661  	RecoveryTypeAlternateLocation RecoveryType = "AlternateLocation"
   662  	// RecoveryTypeInvalid ...
   663  	RecoveryTypeInvalid RecoveryType = "Invalid"
   664  	// RecoveryTypeOriginalLocation ...
   665  	RecoveryTypeOriginalLocation RecoveryType = "OriginalLocation"
   666  	// RecoveryTypeRestoreDisks ...
   667  	RecoveryTypeRestoreDisks RecoveryType = "RestoreDisks"
   668  )
   669  
   670  // PossibleRecoveryTypeValues returns an array of possible values for the RecoveryType const type.
   671  func PossibleRecoveryTypeValues() []RecoveryType {
   672  	return []RecoveryType{RecoveryTypeAlternateLocation, RecoveryTypeInvalid, RecoveryTypeOriginalLocation, RecoveryTypeRestoreDisks}
   673  }
   674  
   675  // RetentionDurationType enumerates the values for retention duration type.
   676  type RetentionDurationType string
   677  
   678  const (
   679  	// RetentionDurationTypeDays ...
   680  	RetentionDurationTypeDays RetentionDurationType = "Days"
   681  	// RetentionDurationTypeInvalid ...
   682  	RetentionDurationTypeInvalid RetentionDurationType = "Invalid"
   683  	// RetentionDurationTypeMonths ...
   684  	RetentionDurationTypeMonths RetentionDurationType = "Months"
   685  	// RetentionDurationTypeWeeks ...
   686  	RetentionDurationTypeWeeks RetentionDurationType = "Weeks"
   687  	// RetentionDurationTypeYears ...
   688  	RetentionDurationTypeYears RetentionDurationType = "Years"
   689  )
   690  
   691  // PossibleRetentionDurationTypeValues returns an array of possible values for the RetentionDurationType const type.
   692  func PossibleRetentionDurationTypeValues() []RetentionDurationType {
   693  	return []RetentionDurationType{RetentionDurationTypeDays, RetentionDurationTypeInvalid, RetentionDurationTypeMonths, RetentionDurationTypeWeeks, RetentionDurationTypeYears}
   694  }
   695  
   696  // RetentionPolicyType enumerates the values for retention policy type.
   697  type RetentionPolicyType string
   698  
   699  const (
   700  	// RetentionPolicyTypeLongTermRetentionPolicy ...
   701  	RetentionPolicyTypeLongTermRetentionPolicy RetentionPolicyType = "LongTermRetentionPolicy"
   702  	// RetentionPolicyTypeRetentionPolicy ...
   703  	RetentionPolicyTypeRetentionPolicy RetentionPolicyType = "RetentionPolicy"
   704  	// RetentionPolicyTypeSimpleRetentionPolicy ...
   705  	RetentionPolicyTypeSimpleRetentionPolicy RetentionPolicyType = "SimpleRetentionPolicy"
   706  )
   707  
   708  // PossibleRetentionPolicyTypeValues returns an array of possible values for the RetentionPolicyType const type.
   709  func PossibleRetentionPolicyTypeValues() []RetentionPolicyType {
   710  	return []RetentionPolicyType{RetentionPolicyTypeLongTermRetentionPolicy, RetentionPolicyTypeRetentionPolicy, RetentionPolicyTypeSimpleRetentionPolicy}
   711  }
   712  
   713  // RetentionScheduleFormat enumerates the values for retention schedule format.
   714  type RetentionScheduleFormat string
   715  
   716  const (
   717  	// RetentionScheduleFormatDaily ...
   718  	RetentionScheduleFormatDaily RetentionScheduleFormat = "Daily"
   719  	// RetentionScheduleFormatInvalid ...
   720  	RetentionScheduleFormatInvalid RetentionScheduleFormat = "Invalid"
   721  	// RetentionScheduleFormatWeekly ...
   722  	RetentionScheduleFormatWeekly RetentionScheduleFormat = "Weekly"
   723  )
   724  
   725  // PossibleRetentionScheduleFormatValues returns an array of possible values for the RetentionScheduleFormat const type.
   726  func PossibleRetentionScheduleFormatValues() []RetentionScheduleFormat {
   727  	return []RetentionScheduleFormat{RetentionScheduleFormatDaily, RetentionScheduleFormatInvalid, RetentionScheduleFormatWeekly}
   728  }
   729  
   730  // SchedulePolicyType enumerates the values for schedule policy type.
   731  type SchedulePolicyType string
   732  
   733  const (
   734  	// SchedulePolicyTypeLongTermSchedulePolicy ...
   735  	SchedulePolicyTypeLongTermSchedulePolicy SchedulePolicyType = "LongTermSchedulePolicy"
   736  	// SchedulePolicyTypeSchedulePolicy ...
   737  	SchedulePolicyTypeSchedulePolicy SchedulePolicyType = "SchedulePolicy"
   738  	// SchedulePolicyTypeSimpleSchedulePolicy ...
   739  	SchedulePolicyTypeSimpleSchedulePolicy SchedulePolicyType = "SimpleSchedulePolicy"
   740  )
   741  
   742  // PossibleSchedulePolicyTypeValues returns an array of possible values for the SchedulePolicyType const type.
   743  func PossibleSchedulePolicyTypeValues() []SchedulePolicyType {
   744  	return []SchedulePolicyType{SchedulePolicyTypeLongTermSchedulePolicy, SchedulePolicyTypeSchedulePolicy, SchedulePolicyTypeSimpleSchedulePolicy}
   745  }
   746  
   747  // ScheduleRunType enumerates the values for schedule run type.
   748  type ScheduleRunType string
   749  
   750  const (
   751  	// ScheduleRunTypeDaily ...
   752  	ScheduleRunTypeDaily ScheduleRunType = "Daily"
   753  	// ScheduleRunTypeInvalid ...
   754  	ScheduleRunTypeInvalid ScheduleRunType = "Invalid"
   755  	// ScheduleRunTypeWeekly ...
   756  	ScheduleRunTypeWeekly ScheduleRunType = "Weekly"
   757  )
   758  
   759  // PossibleScheduleRunTypeValues returns an array of possible values for the ScheduleRunType const type.
   760  func PossibleScheduleRunTypeValues() []ScheduleRunType {
   761  	return []ScheduleRunType{ScheduleRunTypeDaily, ScheduleRunTypeInvalid, ScheduleRunTypeWeekly}
   762  }
   763  
   764  // WeekOfMonth enumerates the values for week of month.
   765  type WeekOfMonth string
   766  
   767  const (
   768  	// First ...
   769  	First WeekOfMonth = "First"
   770  	// Fourth ...
   771  	Fourth WeekOfMonth = "Fourth"
   772  	// Last ...
   773  	Last WeekOfMonth = "Last"
   774  	// Second ...
   775  	Second WeekOfMonth = "Second"
   776  	// Third ...
   777  	Third WeekOfMonth = "Third"
   778  )
   779  
   780  // PossibleWeekOfMonthValues returns an array of possible values for the WeekOfMonth const type.
   781  func PossibleWeekOfMonthValues() []WeekOfMonth {
   782  	return []WeekOfMonth{First, Fourth, Last, Second, Third}
   783  }
   784  
   785  // WorkloadType enumerates the values for workload type.
   786  type WorkloadType string
   787  
   788  const (
   789  	// WorkloadTypeAzureSQLDb ...
   790  	WorkloadTypeAzureSQLDb WorkloadType = "AzureSqlDb"
   791  	// WorkloadTypeDPMUnknown ...
   792  	WorkloadTypeDPMUnknown WorkloadType = "DPMUnknown"
   793  	// WorkloadTypeExchange ...
   794  	WorkloadTypeExchange WorkloadType = "Exchange"
   795  	// WorkloadTypeFileFolder ...
   796  	WorkloadTypeFileFolder WorkloadType = "FileFolder"
   797  	// WorkloadTypeInvalid ...
   798  	WorkloadTypeInvalid WorkloadType = "Invalid"
   799  	// WorkloadTypeSharepoint ...
   800  	WorkloadTypeSharepoint WorkloadType = "Sharepoint"
   801  	// WorkloadTypeSQLDB ...
   802  	WorkloadTypeSQLDB WorkloadType = "SQLDB"
   803  	// WorkloadTypeVM ...
   804  	WorkloadTypeVM WorkloadType = "VM"
   805  )
   806  
   807  // PossibleWorkloadTypeValues returns an array of possible values for the WorkloadType const type.
   808  func PossibleWorkloadTypeValues() []WorkloadType {
   809  	return []WorkloadType{WorkloadTypeAzureSQLDb, WorkloadTypeDPMUnknown, WorkloadTypeExchange, WorkloadTypeFileFolder, WorkloadTypeInvalid, WorkloadTypeSharepoint, WorkloadTypeSQLDB, WorkloadTypeVM}
   810  }
   811  

View as plain text