diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AContainerMappingInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AContainerMappingInput.cs
index cd2554cec6c1..edf6cc9d87ce 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AContainerMappingInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AContainerMappingInput.cs
@@ -35,10 +35,15 @@ public A2AContainerMappingInput()
/// 'Enabled'
/// The automation account arm
/// id.
- public A2AContainerMappingInput(string agentAutoUpdateStatus = default(string), string automationAccountArmId = default(string))
+ /// A value
+ /// indicating the type authentication to use for automation Account.
+ /// Possible values include: 'RunAsAccount',
+ /// 'SystemAssignedIdentity'
+ public A2AContainerMappingInput(string agentAutoUpdateStatus = default(string), string automationAccountArmId = default(string), string automationAccountAuthenticationType = default(string))
{
AgentAutoUpdateStatus = agentAutoUpdateStatus;
AutomationAccountArmId = automationAccountArmId;
+ AutomationAccountAuthenticationType = automationAccountAuthenticationType;
CustomInit();
}
@@ -60,5 +65,13 @@ public A2AContainerMappingInput()
[JsonProperty(PropertyName = "automationAccountArmId")]
public string AutomationAccountArmId { get; set; }
+ ///
+ /// Gets or sets a value indicating the type authentication to use for
+ /// automation Account. Possible values include: 'RunAsAccount',
+ /// 'SystemAssignedIdentity'
+ ///
+ [JsonProperty(PropertyName = "automationAccountAuthenticationType")]
+ public string AutomationAccountAuthenticationType { get; set; }
+
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACreateProtectionIntentInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACreateProtectionIntentInput.cs
index 1d4407d6687b..dd7e65bed270 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACreateProtectionIntentInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACreateProtectionIntentInput.cs
@@ -72,7 +72,16 @@ public A2ACreateProtectionIntentInput()
/// information (for two pass flows).
/// The recovery availability
/// zone.
- public A2ACreateProtectionIntentInput(string fabricObjectId, string primaryLocation, string recoveryLocation, string recoverySubscriptionId, string recoveryAvailabilityType, string recoveryResourceGroupId, ProtectionProfileCustomDetails protectionProfileCustomInput = default(ProtectionProfileCustomDetails), StorageAccountCustomDetails primaryStagingStorageAccountCustomInput = default(StorageAccountCustomDetails), RecoveryAvailabilitySetCustomDetails recoveryAvailabilitySetCustomInput = default(RecoveryAvailabilitySetCustomDetails), RecoveryVirtualNetworkCustomDetails recoveryVirtualNetworkCustomInput = default(RecoveryVirtualNetworkCustomDetails), RecoveryProximityPlacementGroupCustomDetails recoveryProximityPlacementGroupCustomInput = default(RecoveryProximityPlacementGroupCustomDetails), string autoProtectionOfDataDisk = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string multiVmGroupName = default(string), string multiVmGroupId = default(string), StorageAccountCustomDetails recoveryBootDiagStorageAccount = default(StorageAccountCustomDetails), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string))
+ /// A value indicating whether the
+ /// auto update is enabled. Possible values include: 'Disabled',
+ /// 'Enabled'
+ /// A value
+ /// indicating the authentication type for automation account. The
+ /// default value is "RunAsAccount". Possible values include:
+ /// 'RunAsAccount', 'SystemAssignedIdentity'
+ /// The automation account arm
+ /// id.
+ public A2ACreateProtectionIntentInput(string fabricObjectId, string primaryLocation, string recoveryLocation, string recoverySubscriptionId, string recoveryAvailabilityType, string recoveryResourceGroupId, ProtectionProfileCustomDetails protectionProfileCustomInput = default(ProtectionProfileCustomDetails), StorageAccountCustomDetails primaryStagingStorageAccountCustomInput = default(StorageAccountCustomDetails), RecoveryAvailabilitySetCustomDetails recoveryAvailabilitySetCustomInput = default(RecoveryAvailabilitySetCustomDetails), RecoveryVirtualNetworkCustomDetails recoveryVirtualNetworkCustomInput = default(RecoveryVirtualNetworkCustomDetails), RecoveryProximityPlacementGroupCustomDetails recoveryProximityPlacementGroupCustomInput = default(RecoveryProximityPlacementGroupCustomDetails), string autoProtectionOfDataDisk = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string multiVmGroupName = default(string), string multiVmGroupId = default(string), StorageAccountCustomDetails recoveryBootDiagStorageAccount = default(StorageAccountCustomDetails), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string), string agentAutoUpdateStatus = default(string), string automationAccountAuthenticationType = default(string), string automationAccountArmId = default(string))
{
FabricObjectId = fabricObjectId;
PrimaryLocation = primaryLocation;
@@ -93,6 +102,9 @@ public A2ACreateProtectionIntentInput()
RecoveryBootDiagStorageAccount = recoveryBootDiagStorageAccount;
DiskEncryptionInfo = diskEncryptionInfo;
RecoveryAvailabilityZone = recoveryAvailabilityZone;
+ AgentAutoUpdateStatus = agentAutoUpdateStatus;
+ AutomationAccountAuthenticationType = automationAccountAuthenticationType;
+ AutomationAccountArmId = automationAccountArmId;
CustomInit();
}
@@ -220,6 +232,27 @@ public A2ACreateProtectionIntentInput()
[JsonProperty(PropertyName = "recoveryAvailabilityZone")]
public string RecoveryAvailabilityZone { get; set; }
+ ///
+ /// Gets or sets a value indicating whether the auto update is enabled.
+ /// Possible values include: 'Disabled', 'Enabled'
+ ///
+ [JsonProperty(PropertyName = "agentAutoUpdateStatus")]
+ public string AgentAutoUpdateStatus { get; set; }
+
+ ///
+ /// Gets or sets a value indicating the authentication type for
+ /// automation account. The default value is "RunAsAccount". Possible
+ /// values include: 'RunAsAccount', 'SystemAssignedIdentity'
+ ///
+ [JsonProperty(PropertyName = "automationAccountAuthenticationType")]
+ public string AutomationAccountAuthenticationType { get; set; }
+
+ ///
+ /// Gets or sets the automation account arm id.
+ ///
+ [JsonProperty(PropertyName = "automationAccountArmId")]
+ public string AutomationAccountArmId { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AEnableProtectionInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AEnableProtectionInput.cs
index 2e4eabe9f745..134d0f9f587e 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AEnableProtectionInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AEnableProtectionInput.cs
@@ -61,7 +61,9 @@ public A2AEnableProtectionInput()
/// The recovery subnet name.
/// The virtual machine
/// scale set Id.
- public A2AEnableProtectionInput(string fabricObjectId, string recoveryContainerId = default(string), string recoveryResourceGroupId = default(string), string recoveryCloudServiceId = default(string), string recoveryAvailabilitySetId = default(string), string recoveryProximityPlacementGroupId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string multiVmGroupName = default(string), string multiVmGroupId = default(string), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string), string recoveryAzureNetworkId = default(string), string recoverySubnetName = default(string), string recoveryVirtualMachineScaleSetId = default(string))
+ /// The recovery
+ /// capacity reservation group Id.
+ public A2AEnableProtectionInput(string fabricObjectId, string recoveryContainerId = default(string), string recoveryResourceGroupId = default(string), string recoveryCloudServiceId = default(string), string recoveryAvailabilitySetId = default(string), string recoveryProximityPlacementGroupId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string multiVmGroupName = default(string), string multiVmGroupId = default(string), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string), string recoveryAzureNetworkId = default(string), string recoverySubnetName = default(string), string recoveryVirtualMachineScaleSetId = default(string), string recoveryCapacityReservationGroupId = default(string))
{
FabricObjectId = fabricObjectId;
RecoveryContainerId = recoveryContainerId;
@@ -79,6 +81,7 @@ public A2AEnableProtectionInput()
RecoveryAzureNetworkId = recoveryAzureNetworkId;
RecoverySubnetName = recoverySubnetName;
RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId;
+ RecoveryCapacityReservationGroupId = recoveryCapacityReservationGroupId;
CustomInit();
}
@@ -185,6 +188,12 @@ public A2AEnableProtectionInput()
[JsonProperty(PropertyName = "recoveryVirtualMachineScaleSetId")]
public string RecoveryVirtualMachineScaleSetId { get; set; }
+ ///
+ /// Gets or sets the recovery capacity reservation group Id.
+ ///
+ [JsonProperty(PropertyName = "recoveryCapacityReservationGroupId")]
+ public string RecoveryCapacityReservationGroupId { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectionContainerMappingDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectionContainerMappingDetails.cs
index 5ceb06ff8c83..3b9f1f92b968 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectionContainerMappingDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectionContainerMappingDetails.cs
@@ -37,12 +37,17 @@ public A2AProtectionContainerMappingDetails()
/// 'Enabled'
/// The automation account arm
/// id.
+ /// A value
+ /// indicating the type authentication to use for automation Account.
+ /// Possible values include: 'RunAsAccount',
+ /// 'SystemAssignedIdentity'
/// The schedule arm name.
/// The job schedule arm name.
- public A2AProtectionContainerMappingDetails(string agentAutoUpdateStatus = default(string), string automationAccountArmId = default(string), string scheduleName = default(string), string jobScheduleName = default(string))
+ public A2AProtectionContainerMappingDetails(string agentAutoUpdateStatus = default(string), string automationAccountArmId = default(string), string automationAccountAuthenticationType = default(string), string scheduleName = default(string), string jobScheduleName = default(string))
{
AgentAutoUpdateStatus = agentAutoUpdateStatus;
AutomationAccountArmId = automationAccountArmId;
+ AutomationAccountAuthenticationType = automationAccountAuthenticationType;
ScheduleName = scheduleName;
JobScheduleName = jobScheduleName;
CustomInit();
@@ -66,6 +71,14 @@ public A2AProtectionContainerMappingDetails()
[JsonProperty(PropertyName = "automationAccountArmId")]
public string AutomationAccountArmId { get; set; }
+ ///
+ /// Gets or sets a value indicating the type authentication to use for
+ /// automation Account. Possible values include: 'RunAsAccount',
+ /// 'SystemAssignedIdentity'
+ ///
+ [JsonProperty(PropertyName = "automationAccountAuthenticationType")]
+ public string AutomationAccountAuthenticationType { get; set; }
+
///
/// Gets or sets the schedule arm name.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationDetails.cs
index 00cbb73d00d4..6a66955590ff 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationDetails.cs
@@ -127,7 +127,9 @@ public A2AReplicationDetails()
/// 'Disabled', 'Enabled'
/// The recovery virtual
/// machine scale set id.
- public A2AReplicationDetails(string fabricObjectId = default(string), string initialPrimaryZone = default(string), string initialPrimaryFabricLocation = default(string), string initialRecoveryZone = default(string), string initialRecoveryFabricLocation = default(string), string multiVmGroupId = default(string), string multiVmGroupName = default(string), string multiVmGroupCreateOption = default(string), string managementId = default(string), IList protectedDisks = default(IList), IList unprotectedDisks = default(IList), IList protectedManagedDisks = default(IList), string recoveryBootDiagStorageAccountId = default(string), string primaryFabricLocation = default(string), string recoveryFabricLocation = default(string), string osType = default(string), string recoveryAzureVMSize = default(string), string recoveryAzureVMName = default(string), string recoveryAzureResourceGroupId = default(string), string recoveryCloudService = default(string), string recoveryAvailabilitySet = default(string), string selectedRecoveryAzureNetworkId = default(string), string selectedTfoAzureNetworkId = default(string), IList vmNics = default(IList), AzureToAzureVmSyncedConfigDetails vmSyncedConfigDetails = default(AzureToAzureVmSyncedConfigDetails), int? monitoringPercentageCompletion = default(int?), string monitoringJobType = default(string), System.DateTime? lastHeartbeat = default(System.DateTime?), string agentVersion = default(string), System.DateTime? agentExpiryDate = default(System.DateTime?), bool? isReplicationAgentUpdateRequired = default(bool?), System.DateTime? agentCertificateExpiryDate = default(System.DateTime?), bool? isReplicationAgentCertificateUpdateRequired = default(bool?), string recoveryFabricObjectId = default(string), string vmProtectionState = default(string), string vmProtectionStateDescription = default(string), string lifecycleId = default(string), string testFailoverRecoveryFabricObjectId = default(string), long? rpoInSeconds = default(long?), System.DateTime? lastRpoCalculatedTime = default(System.DateTime?), string primaryAvailabilityZone = default(string), string recoveryAvailabilityZone = default(string), string vmEncryptionType = default(string), string tfoAzureVMName = default(string), string recoveryAzureGeneration = default(string), string recoveryProximityPlacementGroupId = default(string), string autoProtectionOfDataDisk = default(string), string recoveryVirtualMachineScaleSetId = default(string))
+ /// The recovery
+ /// capacity reservation group Id.
+ public A2AReplicationDetails(string fabricObjectId = default(string), string initialPrimaryZone = default(string), string initialPrimaryFabricLocation = default(string), string initialRecoveryZone = default(string), string initialRecoveryFabricLocation = default(string), string multiVmGroupId = default(string), string multiVmGroupName = default(string), string multiVmGroupCreateOption = default(string), string managementId = default(string), IList protectedDisks = default(IList), IList unprotectedDisks = default(IList), IList protectedManagedDisks = default(IList), string recoveryBootDiagStorageAccountId = default(string), string primaryFabricLocation = default(string), string recoveryFabricLocation = default(string), string osType = default(string), string recoveryAzureVMSize = default(string), string recoveryAzureVMName = default(string), string recoveryAzureResourceGroupId = default(string), string recoveryCloudService = default(string), string recoveryAvailabilitySet = default(string), string selectedRecoveryAzureNetworkId = default(string), string selectedTfoAzureNetworkId = default(string), IList vmNics = default(IList), AzureToAzureVmSyncedConfigDetails vmSyncedConfigDetails = default(AzureToAzureVmSyncedConfigDetails), int? monitoringPercentageCompletion = default(int?), string monitoringJobType = default(string), System.DateTime? lastHeartbeat = default(System.DateTime?), string agentVersion = default(string), System.DateTime? agentExpiryDate = default(System.DateTime?), bool? isReplicationAgentUpdateRequired = default(bool?), System.DateTime? agentCertificateExpiryDate = default(System.DateTime?), bool? isReplicationAgentCertificateUpdateRequired = default(bool?), string recoveryFabricObjectId = default(string), string vmProtectionState = default(string), string vmProtectionStateDescription = default(string), string lifecycleId = default(string), string testFailoverRecoveryFabricObjectId = default(string), long? rpoInSeconds = default(long?), System.DateTime? lastRpoCalculatedTime = default(System.DateTime?), string primaryAvailabilityZone = default(string), string recoveryAvailabilityZone = default(string), string vmEncryptionType = default(string), string tfoAzureVMName = default(string), string recoveryAzureGeneration = default(string), string recoveryProximityPlacementGroupId = default(string), string autoProtectionOfDataDisk = default(string), string recoveryVirtualMachineScaleSetId = default(string), string recoveryCapacityReservationGroupId = default(string))
{
FabricObjectId = fabricObjectId;
InitialPrimaryZone = initialPrimaryZone;
@@ -177,6 +179,7 @@ public A2AReplicationDetails()
RecoveryProximityPlacementGroupId = recoveryProximityPlacementGroupId;
AutoProtectionOfDataDisk = autoProtectionOfDataDisk;
RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId;
+ RecoveryCapacityReservationGroupId = recoveryCapacityReservationGroupId;
CustomInit();
}
@@ -486,5 +489,11 @@ public A2AReplicationDetails()
[JsonProperty(PropertyName = "recoveryVirtualMachineScaleSetId")]
public string RecoveryVirtualMachineScaleSetId { get; set; }
+ ///
+ /// Gets or sets the recovery capacity reservation group Id.
+ ///
+ [JsonProperty(PropertyName = "recoveryCapacityReservationGroupId")]
+ public string RecoveryCapacityReservationGroupId { get; set; }
+
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.cs
index acec692bd0de..2a0f2bbabdd7 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.cs
@@ -71,7 +71,16 @@ public A2AReplicationIntentDetails()
/// information (for two pass flows).
/// The recovery availability
/// zone.
- public A2AReplicationIntentDetails(string recoveryAvailabilityType, string fabricObjectId = default(string), string primaryLocation = default(string), string recoveryLocation = default(string), string recoverySubscriptionId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string recoveryResourceGroupId = default(string), ProtectionProfileCustomDetails protectionProfile = default(ProtectionProfileCustomDetails), StorageAccountCustomDetails primaryStagingStorageAccount = default(StorageAccountCustomDetails), RecoveryAvailabilitySetCustomDetails recoveryAvailabilitySet = default(RecoveryAvailabilitySetCustomDetails), RecoveryVirtualNetworkCustomDetails recoveryVirtualNetwork = default(RecoveryVirtualNetworkCustomDetails), RecoveryProximityPlacementGroupCustomDetails recoveryProximityPlacementGroup = default(RecoveryProximityPlacementGroupCustomDetails), string autoProtectionOfDataDisk = default(string), string multiVmGroupName = default(string), string multiVmGroupId = default(string), StorageAccountCustomDetails recoveryBootDiagStorageAccount = default(StorageAccountCustomDetails), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string))
+ /// A value indicating whether the
+ /// auto update is enabled. Possible values include: 'Disabled',
+ /// 'Enabled'
+ /// The automation account arm
+ /// id.
+ /// A value
+ /// indicating the type authentication to use for automation Account.
+ /// Possible values include: 'RunAsAccount',
+ /// 'SystemAssignedIdentity'
+ public A2AReplicationIntentDetails(string recoveryAvailabilityType, string fabricObjectId = default(string), string primaryLocation = default(string), string recoveryLocation = default(string), string recoverySubscriptionId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string recoveryResourceGroupId = default(string), ProtectionProfileCustomDetails protectionProfile = default(ProtectionProfileCustomDetails), StorageAccountCustomDetails primaryStagingStorageAccount = default(StorageAccountCustomDetails), RecoveryAvailabilitySetCustomDetails recoveryAvailabilitySet = default(RecoveryAvailabilitySetCustomDetails), RecoveryVirtualNetworkCustomDetails recoveryVirtualNetwork = default(RecoveryVirtualNetworkCustomDetails), RecoveryProximityPlacementGroupCustomDetails recoveryProximityPlacementGroup = default(RecoveryProximityPlacementGroupCustomDetails), string autoProtectionOfDataDisk = default(string), string multiVmGroupName = default(string), string multiVmGroupId = default(string), StorageAccountCustomDetails recoveryBootDiagStorageAccount = default(StorageAccountCustomDetails), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string), string agentAutoUpdateStatus = default(string), string automationAccountArmId = default(string), string automationAccountAuthenticationType = default(string))
{
FabricObjectId = fabricObjectId;
PrimaryLocation = primaryLocation;
@@ -92,6 +101,9 @@ public A2AReplicationIntentDetails()
DiskEncryptionInfo = diskEncryptionInfo;
RecoveryAvailabilityZone = recoveryAvailabilityZone;
RecoveryAvailabilityType = recoveryAvailabilityType;
+ AgentAutoUpdateStatus = agentAutoUpdateStatus;
+ AutomationAccountArmId = automationAccountArmId;
+ AutomationAccountAuthenticationType = automationAccountAuthenticationType;
CustomInit();
}
@@ -216,6 +228,27 @@ public A2AReplicationIntentDetails()
[JsonProperty(PropertyName = "recoveryAvailabilityType")]
public string RecoveryAvailabilityType { get; set; }
+ ///
+ /// Gets or sets a value indicating whether the auto update is enabled.
+ /// Possible values include: 'Disabled', 'Enabled'
+ ///
+ [JsonProperty(PropertyName = "agentAutoUpdateStatus")]
+ public string AgentAutoUpdateStatus { get; set; }
+
+ ///
+ /// Gets or sets the automation account arm id.
+ ///
+ [JsonProperty(PropertyName = "automationAccountArmId")]
+ public string AutomationAccountArmId { get; set; }
+
+ ///
+ /// Gets or sets a value indicating the type authentication to use for
+ /// automation Account. Possible values include: 'RunAsAccount',
+ /// 'SystemAssignedIdentity'
+ ///
+ [JsonProperty(PropertyName = "automationAccountAuthenticationType")]
+ public string AutomationAccountAuthenticationType { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ASwitchProtectionInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ASwitchProtectionInput.cs
index 7ba42f8e95e9..7b816463ccaa 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ASwitchProtectionInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ASwitchProtectionInput.cs
@@ -52,9 +52,11 @@ public A2ASwitchProtectionInput()
/// proximity placement group Id.
/// The virtual machine
/// scale set id.
+ /// The recovery
+ /// capacity reservation group Id.
/// The recovery disk encryption
/// information.
- public A2ASwitchProtectionInput(string recoveryContainerId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string recoveryResourceGroupId = default(string), string recoveryCloudServiceId = default(string), string recoveryAvailabilitySetId = default(string), string policyId = default(string), string recoveryBootDiagStorageAccountId = default(string), string recoveryAvailabilityZone = default(string), string recoveryProximityPlacementGroupId = default(string), string recoveryVirtualMachineScaleSetId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo))
+ public A2ASwitchProtectionInput(string recoveryContainerId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string recoveryResourceGroupId = default(string), string recoveryCloudServiceId = default(string), string recoveryAvailabilitySetId = default(string), string policyId = default(string), string recoveryBootDiagStorageAccountId = default(string), string recoveryAvailabilityZone = default(string), string recoveryProximityPlacementGroupId = default(string), string recoveryVirtualMachineScaleSetId = default(string), string recoveryCapacityReservationGroupId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo))
{
RecoveryContainerId = recoveryContainerId;
VmDisks = vmDisks;
@@ -67,6 +69,7 @@ public A2ASwitchProtectionInput()
RecoveryAvailabilityZone = recoveryAvailabilityZone;
RecoveryProximityPlacementGroupId = recoveryProximityPlacementGroupId;
RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId;
+ RecoveryCapacityReservationGroupId = recoveryCapacityReservationGroupId;
DiskEncryptionInfo = diskEncryptionInfo;
CustomInit();
}
@@ -143,6 +146,12 @@ public A2ASwitchProtectionInput()
[JsonProperty(PropertyName = "recoveryVirtualMachineScaleSetId")]
public string RecoveryVirtualMachineScaleSetId { get; set; }
+ ///
+ /// Gets or sets the recovery capacity reservation group Id.
+ ///
+ [JsonProperty(PropertyName = "recoveryCapacityReservationGroupId")]
+ public string RecoveryCapacityReservationGroupId { get; set; }
+
///
/// Gets or sets the recovery disk encryption information.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateContainerMappingInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateContainerMappingInput.cs
index 45058b1b69a2..99b2fcfed0e1 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateContainerMappingInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateContainerMappingInput.cs
@@ -37,10 +37,15 @@ public A2AUpdateContainerMappingInput()
/// 'Enabled'
/// The automation account arm
/// id.
- public A2AUpdateContainerMappingInput(string agentAutoUpdateStatus = default(string), string automationAccountArmId = default(string))
+ /// A value
+ /// indicating the type authentication to use for automation Account.
+ /// Possible values include: 'RunAsAccount',
+ /// 'SystemAssignedIdentity'
+ public A2AUpdateContainerMappingInput(string agentAutoUpdateStatus = default(string), string automationAccountArmId = default(string), string automationAccountAuthenticationType = default(string))
{
AgentAutoUpdateStatus = agentAutoUpdateStatus;
AutomationAccountArmId = automationAccountArmId;
+ AutomationAccountAuthenticationType = automationAccountAuthenticationType;
CustomInit();
}
@@ -62,5 +67,13 @@ public A2AUpdateContainerMappingInput()
[JsonProperty(PropertyName = "automationAccountArmId")]
public string AutomationAccountArmId { get; set; }
+ ///
+ /// Gets or sets a value indicating the type authentication to use for
+ /// automation Account. Possible values include: 'RunAsAccount',
+ /// 'SystemAssignedIdentity'
+ ///
+ [JsonProperty(PropertyName = "automationAccountAuthenticationType")]
+ public string AutomationAccountAuthenticationType { get; set; }
+
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemInput.cs
index cc5ef32cffaa..f0881a7dea31 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemInput.cs
@@ -50,7 +50,9 @@ public A2AUpdateReplicationProtectedItemInput()
/// proximity placement group Id.
/// The recovery virtual
/// machine scale set Id.
- public A2AUpdateReplicationProtectedItemInput(string recoveryCloudServiceId = default(string), string recoveryResourceGroupId = default(string), IList managedDiskUpdateDetails = default(IList), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string tfoAzureVMName = default(string), string recoveryProximityPlacementGroupId = default(string), string recoveryVirtualMachineScaleSetId = default(string))
+ /// The recovery
+ /// capacity reservation group Id.
+ public A2AUpdateReplicationProtectedItemInput(string recoveryCloudServiceId = default(string), string recoveryResourceGroupId = default(string), IList managedDiskUpdateDetails = default(IList), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string tfoAzureVMName = default(string), string recoveryProximityPlacementGroupId = default(string), string recoveryVirtualMachineScaleSetId = default(string), string recoveryCapacityReservationGroupId = default(string))
{
RecoveryCloudServiceId = recoveryCloudServiceId;
RecoveryResourceGroupId = recoveryResourceGroupId;
@@ -60,6 +62,7 @@ public A2AUpdateReplicationProtectedItemInput()
TfoAzureVMName = tfoAzureVMName;
RecoveryProximityPlacementGroupId = recoveryProximityPlacementGroupId;
RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId;
+ RecoveryCapacityReservationGroupId = recoveryCapacityReservationGroupId;
CustomInit();
}
@@ -116,5 +119,11 @@ public A2AUpdateReplicationProtectedItemInput()
[JsonProperty(PropertyName = "recoveryVirtualMachineScaleSetId")]
public string RecoveryVirtualMachineScaleSetId { get; set; }
+ ///
+ /// Gets or sets the recovery capacity reservation group Id.
+ ///
+ [JsonProperty(PropertyName = "recoveryCapacityReservationGroupId")]
+ public string RecoveryCapacityReservationGroupId { get; set; }
+
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AutomationAccountAuthenticationType.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AutomationAccountAuthenticationType.cs
new file mode 100644
index 000000000000..d18c4cbd4b5f
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AutomationAccountAuthenticationType.cs
@@ -0,0 +1,22 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
+{
+
+ ///
+ /// Defines values for AutomationAccountAuthenticationType.
+ ///
+ public static class AutomationAccountAuthenticationType
+ {
+ public const string RunAsAccount = "RunAsAccount";
+ public const string SystemAssignedIdentity = "SystemAssignedIdentity";
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVVirtualMachineDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVVirtualMachineDetails.cs
index 4320822c8588..1b59d20fc169 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVVirtualMachineDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVVirtualMachineDetails.cs
@@ -51,7 +51,9 @@ public HyperVVirtualMachineDetails()
/// shared VHD attached. String value of SrsDataContract.PresenceStatus
/// enum. Possible values include: 'Unknown', 'Present',
/// 'NotPresent'
- public HyperVVirtualMachineDetails(string sourceItemId = default(string), string generation = default(string), OSDetails osDetails = default(OSDetails), IList diskDetails = default(IList), string hasPhysicalDisk = default(string), string hasFibreChannelAdapter = default(string), string hasSharedVhd = default(string))
+ /// The Id of the hyper-v host in
+ /// fabric.
+ public HyperVVirtualMachineDetails(string sourceItemId = default(string), string generation = default(string), OSDetails osDetails = default(OSDetails), IList diskDetails = default(IList), string hasPhysicalDisk = default(string), string hasFibreChannelAdapter = default(string), string hasSharedVhd = default(string), string hyperVHostId = default(string))
{
SourceItemId = sourceItemId;
Generation = generation;
@@ -60,6 +62,7 @@ public HyperVVirtualMachineDetails()
HasPhysicalDisk = hasPhysicalDisk;
HasFibreChannelAdapter = hasFibreChannelAdapter;
HasSharedVhd = hasSharedVhd;
+ HyperVHostId = hyperVHostId;
CustomInit();
}
@@ -116,5 +119,11 @@ public HyperVVirtualMachineDetails()
[JsonProperty(PropertyName = "hasSharedVhd")]
public string HasSharedVhd { get; set; }
+ ///
+ /// Gets or sets the Id of the hyper-v host in fabric.
+ ///
+ [JsonProperty(PropertyName = "hyperVHostId")]
+ public string HyperVHostId { get; set; }
+
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/VmmVirtualMachineDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/VmmVirtualMachineDetails.cs
index ddea52187010..c5409a9ffe2a 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/VmmVirtualMachineDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/VmmVirtualMachineDetails.cs
@@ -49,8 +49,10 @@ public VmmVirtualMachineDetails()
/// shared VHD attached. String value of SrsDataContract.PresenceStatus
/// enum. Possible values include: 'Unknown', 'Present',
/// 'NotPresent'
- public VmmVirtualMachineDetails(string sourceItemId = default(string), string generation = default(string), OSDetails osDetails = default(OSDetails), IList diskDetails = default(IList), string hasPhysicalDisk = default(string), string hasFibreChannelAdapter = default(string), string hasSharedVhd = default(string))
- : base(sourceItemId, generation, osDetails, diskDetails, hasPhysicalDisk, hasFibreChannelAdapter, hasSharedVhd)
+ /// The Id of the hyper-v host in
+ /// fabric.
+ public VmmVirtualMachineDetails(string sourceItemId = default(string), string generation = default(string), OSDetails osDetails = default(OSDetails), IList diskDetails = default(IList), string hasPhysicalDisk = default(string), string hasFibreChannelAdapter = default(string), string hasSharedVhd = default(string), string hyperVHostId = default(string))
+ : base(sourceItemId, generation, osDetails, diskDetails, hasPhysicalDisk, hasFibreChannelAdapter, hasSharedVhd, hyperVHostId)
{
CustomInit();
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SdkInfo_SiteRecoveryManagementClient.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SdkInfo_SiteRecoveryManagementClient.cs
index c19bdcad8ab4..310cd67f793c 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SdkInfo_SiteRecoveryManagementClient.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SdkInfo_SiteRecoveryManagementClient.cs
@@ -19,46 +19,35 @@ public static IEnumerable> ApiInfo_SiteRecoveryMan
{
return new Tuple[]
{
- new Tuple("Compute", "ReplicationEligibilityResults", "2021-06-01"),
- new Tuple("RecoveryServices", "MigrationRecoveryPoints", "2021-06-01"),
- new Tuple("RecoveryServices", "Operations", "2021-06-01"),
- new Tuple("RecoveryServices", "RecoveryPoints", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationAlertSettings", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationEvents", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationFabrics", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationJobs", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationLogicalNetworks", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationMigrationItems", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationNetworkMappings", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationNetworks", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationPolicies", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationProtectableItems", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationProtectedItems", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationProtectionContainerMappings", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationProtectionContainers", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationProtectionIntents", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationRecoveryPlans", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationRecoveryServicesProviders", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationStorageClassificationMappings", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationStorageClassifications", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationVaultHealth", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationVaultSetting", "2021-06-01"),
- new Tuple("RecoveryServices", "ReplicationvCenters", "2021-06-01"),
- new Tuple("RecoveryServices", "SupportedOperatingSystems", "2021-06-01"),
- new Tuple("RecoveryServices", "TargetComputeSizes", "2021-06-01"),
+ new Tuple("Compute", "ReplicationEligibilityResults", "2021-08-01"),
+ new Tuple("RecoveryServices", "MigrationRecoveryPoints", "2021-08-01"),
+ new Tuple("RecoveryServices", "Operations", "2021-08-01"),
+ new Tuple("RecoveryServices", "RecoveryPoints", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationAlertSettings", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationEvents", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationFabrics", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationJobs", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationLogicalNetworks", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationMigrationItems", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationNetworkMappings", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationNetworks", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationPolicies", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationProtectableItems", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationProtectedItems", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationProtectionContainerMappings", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationProtectionContainers", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationProtectionIntents", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationRecoveryPlans", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationRecoveryServicesProviders", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationStorageClassificationMappings", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationStorageClassifications", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationVaultHealth", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationVaultSetting", "2021-08-01"),
+ new Tuple("RecoveryServices", "ReplicationvCenters", "2021-08-01"),
+ new Tuple("RecoveryServices", "SupportedOperatingSystems", "2021-08-01"),
+ new Tuple("RecoveryServices", "TargetComputeSizes", "2021-08-01"),
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "v2";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/recoveryservicessiterecovery/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\\GIT\\AsrOneSdk\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "6de27dc43268e23cbb322bdf18016c8b944f8926";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SiteRecoveryManagementClient.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SiteRecoveryManagementClient.cs
index 4eceaebde18a..5a0caded8289 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SiteRecoveryManagementClient.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SiteRecoveryManagementClient.cs
@@ -486,7 +486,7 @@ private void Initialize()
ReplicationVaultHealth = new ReplicationVaultHealthOperations(this);
ReplicationVaultSetting = new ReplicationVaultSettingOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
- ApiVersion = "2021-06-01";
+ ApiVersion = "2021-08-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;