Skip to content

Commit

Permalink
[AutoPR recoveryservicesbackup/resource-manager] Azure Backup Version…
Browse files Browse the repository at this point in the history
… 2019-05-13 addition (#5923)

* Generated from 3212ec12fc1821b1b577b0d68951cd67370846d5

Lintdiff Failure fix

* Generated from 2826bc70cf4d5fb7c329219e9877b4d74f8a4c45

Semantics Failure fix

* Generated from c2fc52d415140376e70e64d0e3d4703c23ec0e2a

Camel casing failure

* Generated from 10b920e497dd60808ea1c9f89325bf3f366af79a

Update bms.json

Adding azure vm workload policy back and copying IaaSVMRestoreRequest to 2017-07-01

* Generated from a2315a7436ffff90c2187103294035a4377c5fec

Merge branch 'users/adit/generated'

* Generated from 2ed2ddce7a58909f89fc4cd728c4fe2efe1ca0d7

Incorporating PR comments

* Generated from 7f2f8e3f5b57d9fb2ab8c6731f8699a84b21ef43

Moving Get and Patch on vaultconfig to version 2019-05-13

Moving Patch and Get of vault config to 2019-05-13

* Generated from 1673d919ce100fe910b2e950b5ac297e30eb1c6a

Fixing validation errors

* Generated from e868833c4c6499353c9c04bbbfd3de261b750a9c

Updating vault config feature flag name

* Generated from 4b7c0f58757b9f9d86be85357070788cb8881978

Taken care of Ryan's comment

Policy comment is still pending

* Generated from f0e79eff1574dd894d881bbf697f016b0f5e8a6e

Moved all policy actions to 2019-05-13 version

* Generated from 94fc988ab4cbee533fa8fca60f8773a387e7f857

Mark additionalDetail as readonly
  • Loading branch information
AutorestCI authored and ArcturusZhang committed Oct 11, 2019
1 parent b26ac40 commit 0a14a78
Show file tree
Hide file tree
Showing 31 changed files with 5,087 additions and 15,048 deletions.
54 changes: 42 additions & 12 deletions profiles/latest/recoveryservices/mgmt/backup/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,16 @@ const (
type JobOperationType = original.JobOperationType

const (
JobOperationTypeBackup JobOperationType = original.JobOperationTypeBackup
JobOperationTypeConfigureBackup JobOperationType = original.JobOperationTypeConfigureBackup
JobOperationTypeDeleteBackupData JobOperationType = original.JobOperationTypeDeleteBackupData
JobOperationTypeDisableBackup JobOperationType = original.JobOperationTypeDisableBackup
JobOperationTypeInvalid JobOperationType = original.JobOperationTypeInvalid
JobOperationTypeRegister JobOperationType = original.JobOperationTypeRegister
JobOperationTypeRestore JobOperationType = original.JobOperationTypeRestore
JobOperationTypeUnRegister JobOperationType = original.JobOperationTypeUnRegister
JobOperationTypeBackup JobOperationType = original.JobOperationTypeBackup
JobOperationTypeConfigureBackup JobOperationType = original.JobOperationTypeConfigureBackup
JobOperationTypeCrossRegionRestore JobOperationType = original.JobOperationTypeCrossRegionRestore
JobOperationTypeDeleteBackupData JobOperationType = original.JobOperationTypeDeleteBackupData
JobOperationTypeDisableBackup JobOperationType = original.JobOperationTypeDisableBackup
JobOperationTypeInvalid JobOperationType = original.JobOperationTypeInvalid
JobOperationTypeRegister JobOperationType = original.JobOperationTypeRegister
JobOperationTypeRestore JobOperationType = original.JobOperationTypeRestore
JobOperationTypeUndelete JobOperationType = original.JobOperationTypeUndelete
JobOperationTypeUnRegister JobOperationType = original.JobOperationTypeUnRegister
)

type JobStatus = original.JobStatus
Expand Down Expand Up @@ -390,8 +392,9 @@ const (
type ObjectTypeBasicILRRequest = original.ObjectTypeBasicILRRequest

const (
ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = original.ObjectTypeIaasVMILRRegistrationRequest
ObjectTypeILRRequest ObjectTypeBasicILRRequest = original.ObjectTypeILRRequest
ObjectTypeAzureFileShareProvisionILRRequest ObjectTypeBasicILRRequest = original.ObjectTypeAzureFileShareProvisionILRRequest
ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = original.ObjectTypeIaasVMILRRegistrationRequest
ObjectTypeILRRequest ObjectTypeBasicILRRequest = original.ObjectTypeILRRequest
)

type ObjectTypeBasicOperationStatusExtendedInfo = original.ObjectTypeBasicOperationStatusExtendedInfo
Expand Down Expand Up @@ -501,7 +504,6 @@ const (
ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = original.ProtectableItemTypeIaaSVMProtectableItem
ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = original.ProtectableItemTypeMicrosoftClassicComputevirtualMachines
ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = original.ProtectableItemTypeMicrosoftComputevirtualMachines
ProtectableItemTypeSAPAseDatabase ProtectableItemType = original.ProtectableItemTypeSAPAseDatabase
ProtectableItemTypeSAPAseSystem ProtectableItemType = original.ProtectableItemTypeSAPAseSystem
ProtectableItemTypeSAPHanaDatabase ProtectableItemType = original.ProtectableItemTypeSAPHanaDatabase
ProtectableItemTypeSAPHanaSystem ProtectableItemType = original.ProtectableItemTypeSAPHanaSystem
Expand Down Expand Up @@ -581,6 +583,14 @@ const (
ProtectionStatusProtectionFailed ProtectionStatus = original.ProtectionStatusProtectionFailed
)

type RecoveryMode = original.RecoveryMode

const (
RecoveryModeFileRecovery RecoveryMode = original.RecoveryModeFileRecovery
RecoveryModeInvalid RecoveryMode = original.RecoveryModeInvalid
RecoveryModeWorkloadRecovery RecoveryMode = original.RecoveryModeWorkloadRecovery
)

type RecoveryPointTierStatus = original.RecoveryPointTierStatus

const (
Expand All @@ -603,6 +613,7 @@ type RecoveryType = original.RecoveryType
const (
RecoveryTypeAlternateLocation RecoveryType = original.RecoveryTypeAlternateLocation
RecoveryTypeInvalid RecoveryType = original.RecoveryTypeInvalid
RecoveryTypeOffline RecoveryType = original.RecoveryTypeOffline
RecoveryTypeOriginalLocation RecoveryType = original.RecoveryTypeOriginalLocation
RecoveryTypeRestoreDisks RecoveryType = original.RecoveryTypeRestoreDisks
)
Expand Down Expand Up @@ -686,6 +697,14 @@ const (
ScheduleRunTypeWeekly ScheduleRunType = original.ScheduleRunTypeWeekly
)

type SoftDeleteFeatureState = original.SoftDeleteFeatureState

const (
SoftDeleteFeatureStateDisabled SoftDeleteFeatureState = original.SoftDeleteFeatureStateDisabled
SoftDeleteFeatureStateEnabled SoftDeleteFeatureState = original.SoftDeleteFeatureStateEnabled
SoftDeleteFeatureStateInvalid SoftDeleteFeatureState = original.SoftDeleteFeatureStateInvalid
)

type StorageType = original.StorageType

const (
Expand Down Expand Up @@ -811,6 +830,7 @@ type AzureBackupServerEngine = original.AzureBackupServerEngine
type AzureFileShareBackupRequest = original.AzureFileShareBackupRequest
type AzureFileShareProtectableItem = original.AzureFileShareProtectableItem
type AzureFileShareProtectionPolicy = original.AzureFileShareProtectionPolicy
type AzureFileShareProvisionILRRequest = original.AzureFileShareProvisionILRRequest
type AzureFileShareRecoveryPoint = original.AzureFileShareRecoveryPoint
type AzureFileShareRestoreRequest = original.AzureFileShareRestoreRequest
type AzureFileshareProtectedItem = original.AzureFileshareProtectedItem
Expand Down Expand Up @@ -851,7 +871,6 @@ type AzureVMWorkloadProtectableItem = original.AzureVMWorkloadProtectableItem
type AzureVMWorkloadProtectedItem = original.AzureVMWorkloadProtectedItem
type AzureVMWorkloadProtectedItemExtendedInfo = original.AzureVMWorkloadProtectedItemExtendedInfo
type AzureVMWorkloadProtectionPolicy = original.AzureVMWorkloadProtectionPolicy
type AzureVMWorkloadSAPAseDatabaseProtectableItem = original.AzureVMWorkloadSAPAseDatabaseProtectableItem
type AzureVMWorkloadSAPAseDatabaseProtectedItem = original.AzureVMWorkloadSAPAseDatabaseProtectedItem
type AzureVMWorkloadSAPAseDatabaseWorkloadItem = original.AzureVMWorkloadSAPAseDatabaseWorkloadItem
type AzureVMWorkloadSAPAseSystemProtectableItem = original.AzureVMWorkloadSAPAseSystemProtectableItem
Expand Down Expand Up @@ -953,6 +972,8 @@ type DPMProtectedItemExtendedInfo = original.DPMProtectedItemExtendedInfo
type DailyRetentionFormat = original.DailyRetentionFormat
type DailyRetentionSchedule = original.DailyRetentionSchedule
type Day = original.Day
type DiskExclusionProperties = original.DiskExclusionProperties
type DiskInformation = original.DiskInformation
type DistributedNodesInfo = original.DistributedNodesInfo
type DpmBackupEngine = original.DpmBackupEngine
type DpmContainer = original.DpmContainer
Expand All @@ -971,6 +992,7 @@ type EnginesClient = original.EnginesClient
type ErrorDetail = original.ErrorDetail
type ExportJobsOperationResultInfo = original.ExportJobsOperationResultInfo
type ExportJobsOperationResultsClient = original.ExportJobsOperationResultsClient
type ExtendedProperties = original.ExtendedProperties
type FeatureSupportClient = original.FeatureSupportClient
type FeatureSupportRequest = original.FeatureSupportRequest
type GenericContainer = original.GenericContainer
Expand All @@ -990,6 +1012,7 @@ type IaasVMRestoreRequest = original.IaasVMRestoreRequest
type InquiryInfo = original.InquiryInfo
type InquiryValidation = original.InquiryValidation
type InstantItemRecoveryTarget = original.InstantItemRecoveryTarget
type InstantRPAdditionalDetails = original.InstantRPAdditionalDetails
type ItemLevelRecoveryConnectionsClient = original.ItemLevelRecoveryConnectionsClient
type Job = original.Job
type JobCancellationsClient = original.JobCancellationsClient
Expand Down Expand Up @@ -1084,6 +1107,7 @@ type ProtectionPolicyResourceList = original.ProtectionPolicyResourceList
type ProtectionPolicyResourceListIterator = original.ProtectionPolicyResourceListIterator
type ProtectionPolicyResourceListPage = original.ProtectionPolicyResourceListPage
type RecoveryPoint = original.RecoveryPoint
type RecoveryPointDiskConfiguration = original.RecoveryPointDiskConfiguration
type RecoveryPointResource = original.RecoveryPointResource
type RecoveryPointResourceList = original.RecoveryPointResourceList
type RecoveryPointResourceListIterator = original.RecoveryPointResourceListIterator
Expand Down Expand Up @@ -1577,6 +1601,9 @@ func PossibleProtectionStateValues() []ProtectionState {
func PossibleProtectionStatusValues() []ProtectionStatus {
return original.PossibleProtectionStatusValues()
}
func PossibleRecoveryModeValues() []RecoveryMode {
return original.PossibleRecoveryModeValues()
}
func PossibleRecoveryPointTierStatusValues() []RecoveryPointTierStatus {
return original.PossibleRecoveryPointTierStatusValues()
}
Expand Down Expand Up @@ -1613,6 +1640,9 @@ func PossibleSchedulePolicyTypeValues() []SchedulePolicyType {
func PossibleScheduleRunTypeValues() []ScheduleRunType {
return original.PossibleScheduleRunTypeValues()
}
func PossibleSoftDeleteFeatureStateValues() []SoftDeleteFeatureState {
return original.PossibleSoftDeleteFeatureStateValues()
}
func PossibleStorageTypeStateValues() []StorageTypeState {
return original.PossibleStorageTypeStateValues()
}
Expand Down
54 changes: 42 additions & 12 deletions profiles/preview/recoveryservices/mgmt/backup/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,16 @@ const (
type JobOperationType = original.JobOperationType

const (
JobOperationTypeBackup JobOperationType = original.JobOperationTypeBackup
JobOperationTypeConfigureBackup JobOperationType = original.JobOperationTypeConfigureBackup
JobOperationTypeDeleteBackupData JobOperationType = original.JobOperationTypeDeleteBackupData
JobOperationTypeDisableBackup JobOperationType = original.JobOperationTypeDisableBackup
JobOperationTypeInvalid JobOperationType = original.JobOperationTypeInvalid
JobOperationTypeRegister JobOperationType = original.JobOperationTypeRegister
JobOperationTypeRestore JobOperationType = original.JobOperationTypeRestore
JobOperationTypeUnRegister JobOperationType = original.JobOperationTypeUnRegister
JobOperationTypeBackup JobOperationType = original.JobOperationTypeBackup
JobOperationTypeConfigureBackup JobOperationType = original.JobOperationTypeConfigureBackup
JobOperationTypeCrossRegionRestore JobOperationType = original.JobOperationTypeCrossRegionRestore
JobOperationTypeDeleteBackupData JobOperationType = original.JobOperationTypeDeleteBackupData
JobOperationTypeDisableBackup JobOperationType = original.JobOperationTypeDisableBackup
JobOperationTypeInvalid JobOperationType = original.JobOperationTypeInvalid
JobOperationTypeRegister JobOperationType = original.JobOperationTypeRegister
JobOperationTypeRestore JobOperationType = original.JobOperationTypeRestore
JobOperationTypeUndelete JobOperationType = original.JobOperationTypeUndelete
JobOperationTypeUnRegister JobOperationType = original.JobOperationTypeUnRegister
)

type JobStatus = original.JobStatus
Expand Down Expand Up @@ -390,8 +392,9 @@ const (
type ObjectTypeBasicILRRequest = original.ObjectTypeBasicILRRequest

const (
ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = original.ObjectTypeIaasVMILRRegistrationRequest
ObjectTypeILRRequest ObjectTypeBasicILRRequest = original.ObjectTypeILRRequest
ObjectTypeAzureFileShareProvisionILRRequest ObjectTypeBasicILRRequest = original.ObjectTypeAzureFileShareProvisionILRRequest
ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = original.ObjectTypeIaasVMILRRegistrationRequest
ObjectTypeILRRequest ObjectTypeBasicILRRequest = original.ObjectTypeILRRequest
)

type ObjectTypeBasicOperationStatusExtendedInfo = original.ObjectTypeBasicOperationStatusExtendedInfo
Expand Down Expand Up @@ -501,7 +504,6 @@ const (
ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = original.ProtectableItemTypeIaaSVMProtectableItem
ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = original.ProtectableItemTypeMicrosoftClassicComputevirtualMachines
ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = original.ProtectableItemTypeMicrosoftComputevirtualMachines
ProtectableItemTypeSAPAseDatabase ProtectableItemType = original.ProtectableItemTypeSAPAseDatabase
ProtectableItemTypeSAPAseSystem ProtectableItemType = original.ProtectableItemTypeSAPAseSystem
ProtectableItemTypeSAPHanaDatabase ProtectableItemType = original.ProtectableItemTypeSAPHanaDatabase
ProtectableItemTypeSAPHanaSystem ProtectableItemType = original.ProtectableItemTypeSAPHanaSystem
Expand Down Expand Up @@ -581,6 +583,14 @@ const (
ProtectionStatusProtectionFailed ProtectionStatus = original.ProtectionStatusProtectionFailed
)

type RecoveryMode = original.RecoveryMode

const (
RecoveryModeFileRecovery RecoveryMode = original.RecoveryModeFileRecovery
RecoveryModeInvalid RecoveryMode = original.RecoveryModeInvalid
RecoveryModeWorkloadRecovery RecoveryMode = original.RecoveryModeWorkloadRecovery
)

type RecoveryPointTierStatus = original.RecoveryPointTierStatus

const (
Expand All @@ -603,6 +613,7 @@ type RecoveryType = original.RecoveryType
const (
RecoveryTypeAlternateLocation RecoveryType = original.RecoveryTypeAlternateLocation
RecoveryTypeInvalid RecoveryType = original.RecoveryTypeInvalid
RecoveryTypeOffline RecoveryType = original.RecoveryTypeOffline
RecoveryTypeOriginalLocation RecoveryType = original.RecoveryTypeOriginalLocation
RecoveryTypeRestoreDisks RecoveryType = original.RecoveryTypeRestoreDisks
)
Expand Down Expand Up @@ -686,6 +697,14 @@ const (
ScheduleRunTypeWeekly ScheduleRunType = original.ScheduleRunTypeWeekly
)

type SoftDeleteFeatureState = original.SoftDeleteFeatureState

const (
SoftDeleteFeatureStateDisabled SoftDeleteFeatureState = original.SoftDeleteFeatureStateDisabled
SoftDeleteFeatureStateEnabled SoftDeleteFeatureState = original.SoftDeleteFeatureStateEnabled
SoftDeleteFeatureStateInvalid SoftDeleteFeatureState = original.SoftDeleteFeatureStateInvalid
)

type StorageType = original.StorageType

const (
Expand Down Expand Up @@ -811,6 +830,7 @@ type AzureBackupServerEngine = original.AzureBackupServerEngine
type AzureFileShareBackupRequest = original.AzureFileShareBackupRequest
type AzureFileShareProtectableItem = original.AzureFileShareProtectableItem
type AzureFileShareProtectionPolicy = original.AzureFileShareProtectionPolicy
type AzureFileShareProvisionILRRequest = original.AzureFileShareProvisionILRRequest
type AzureFileShareRecoveryPoint = original.AzureFileShareRecoveryPoint
type AzureFileShareRestoreRequest = original.AzureFileShareRestoreRequest
type AzureFileshareProtectedItem = original.AzureFileshareProtectedItem
Expand Down Expand Up @@ -851,7 +871,6 @@ type AzureVMWorkloadProtectableItem = original.AzureVMWorkloadProtectableItem
type AzureVMWorkloadProtectedItem = original.AzureVMWorkloadProtectedItem
type AzureVMWorkloadProtectedItemExtendedInfo = original.AzureVMWorkloadProtectedItemExtendedInfo
type AzureVMWorkloadProtectionPolicy = original.AzureVMWorkloadProtectionPolicy
type AzureVMWorkloadSAPAseDatabaseProtectableItem = original.AzureVMWorkloadSAPAseDatabaseProtectableItem
type AzureVMWorkloadSAPAseDatabaseProtectedItem = original.AzureVMWorkloadSAPAseDatabaseProtectedItem
type AzureVMWorkloadSAPAseDatabaseWorkloadItem = original.AzureVMWorkloadSAPAseDatabaseWorkloadItem
type AzureVMWorkloadSAPAseSystemProtectableItem = original.AzureVMWorkloadSAPAseSystemProtectableItem
Expand Down Expand Up @@ -953,6 +972,8 @@ type DPMProtectedItemExtendedInfo = original.DPMProtectedItemExtendedInfo
type DailyRetentionFormat = original.DailyRetentionFormat
type DailyRetentionSchedule = original.DailyRetentionSchedule
type Day = original.Day
type DiskExclusionProperties = original.DiskExclusionProperties
type DiskInformation = original.DiskInformation
type DistributedNodesInfo = original.DistributedNodesInfo
type DpmBackupEngine = original.DpmBackupEngine
type DpmContainer = original.DpmContainer
Expand All @@ -971,6 +992,7 @@ type EnginesClient = original.EnginesClient
type ErrorDetail = original.ErrorDetail
type ExportJobsOperationResultInfo = original.ExportJobsOperationResultInfo
type ExportJobsOperationResultsClient = original.ExportJobsOperationResultsClient
type ExtendedProperties = original.ExtendedProperties
type FeatureSupportClient = original.FeatureSupportClient
type FeatureSupportRequest = original.FeatureSupportRequest
type GenericContainer = original.GenericContainer
Expand All @@ -990,6 +1012,7 @@ type IaasVMRestoreRequest = original.IaasVMRestoreRequest
type InquiryInfo = original.InquiryInfo
type InquiryValidation = original.InquiryValidation
type InstantItemRecoveryTarget = original.InstantItemRecoveryTarget
type InstantRPAdditionalDetails = original.InstantRPAdditionalDetails
type ItemLevelRecoveryConnectionsClient = original.ItemLevelRecoveryConnectionsClient
type Job = original.Job
type JobCancellationsClient = original.JobCancellationsClient
Expand Down Expand Up @@ -1084,6 +1107,7 @@ type ProtectionPolicyResourceList = original.ProtectionPolicyResourceList
type ProtectionPolicyResourceListIterator = original.ProtectionPolicyResourceListIterator
type ProtectionPolicyResourceListPage = original.ProtectionPolicyResourceListPage
type RecoveryPoint = original.RecoveryPoint
type RecoveryPointDiskConfiguration = original.RecoveryPointDiskConfiguration
type RecoveryPointResource = original.RecoveryPointResource
type RecoveryPointResourceList = original.RecoveryPointResourceList
type RecoveryPointResourceListIterator = original.RecoveryPointResourceListIterator
Expand Down Expand Up @@ -1577,6 +1601,9 @@ func PossibleProtectionStateValues() []ProtectionState {
func PossibleProtectionStatusValues() []ProtectionStatus {
return original.PossibleProtectionStatusValues()
}
func PossibleRecoveryModeValues() []RecoveryMode {
return original.PossibleRecoveryModeValues()
}
func PossibleRecoveryPointTierStatusValues() []RecoveryPointTierStatus {
return original.PossibleRecoveryPointTierStatusValues()
}
Expand Down Expand Up @@ -1613,6 +1640,9 @@ func PossibleSchedulePolicyTypeValues() []SchedulePolicyType {
func PossibleScheduleRunTypeValues() []ScheduleRunType {
return original.PossibleScheduleRunTypeValues()
}
func PossibleSoftDeleteFeatureStateValues() []SoftDeleteFeatureState {
return original.PossibleSoftDeleteFeatureStateValues()
}
func PossibleStorageTypeStateValues() []StorageTypeState {
return original.PossibleStorageTypeStateValues()
}
Expand Down
Loading

0 comments on commit 0a14a78

Please sign in to comment.