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