ArmRecoveryServicesSiteRecoveryModelFactory.InMageRcmEnableProtectionContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of InMageRcmEnableProtectionContent.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmEnableProtectionContent InMageRcmEnableProtectionContent (string fabricDiscoveryMachineId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmDiskContent> disksToInclude = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmDisksDefaultContent disksDefault = default, Azure.Core.ResourceIdentifier targetResourceGroupId = default, Azure.Core.ResourceIdentifier targetNetworkId = default, Azure.Core.ResourceIdentifier testNetworkId = default, string targetSubnetName = default, string testSubnetName = default, string targetVmName = default, string targetVmSize = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryLicenseType? licenseType = default, Azure.Core.ResourceIdentifier targetAvailabilitySetId = default, string targetAvailabilityZone = default, Azure.Core.ResourceIdentifier targetProximityPlacementGroupId = default, Azure.Core.ResourceIdentifier targetBootDiagnosticsStorageAccountId = default, string runAsAccountId = default, Guid processServerId = default, string multiVmGroupName = default);
static member InMageRcmEnableProtectionContent : string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmDiskContent> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmDisksDefaultContent * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * string * string * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryLicenseType> * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Guid * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageRcmEnableProtectionContent
Public Shared Function InMageRcmEnableProtectionContent (Optional fabricDiscoveryMachineId As String = Nothing, Optional disksToInclude As IEnumerable(Of InMageRcmDiskContent) = Nothing, Optional disksDefault As InMageRcmDisksDefaultContent = Nothing, Optional targetResourceGroupId As ResourceIdentifier = Nothing, Optional targetNetworkId As ResourceIdentifier = Nothing, Optional testNetworkId As ResourceIdentifier = Nothing, Optional targetSubnetName As String = Nothing, Optional testSubnetName As String = Nothing, Optional targetVmName As String = Nothing, Optional targetVmSize As String = Nothing, Optional licenseType As Nullable(Of SiteRecoveryLicenseType) = Nothing, Optional targetAvailabilitySetId As ResourceIdentifier = Nothing, Optional targetAvailabilityZone As String = Nothing, Optional targetProximityPlacementGroupId As ResourceIdentifier = Nothing, Optional targetBootDiagnosticsStorageAccountId As ResourceIdentifier = Nothing, Optional runAsAccountId As String = Nothing, Optional processServerId As Guid = Nothing, Optional multiVmGroupName As String = Nothing) As InMageRcmEnableProtectionContent
Parameters
- fabricDiscoveryMachineId
- String
The ARM Id of discovered machine.
- disksToInclude
- IEnumerable<InMageRcmDiskContent>
The disks to include list.
- disksDefault
- InMageRcmDisksDefaultContent
The default disk input.
- targetResourceGroupId
- ResourceIdentifier
The target resource group ARM Id.
- targetNetworkId
- ResourceIdentifier
The selected target network ARM Id.
- testNetworkId
- ResourceIdentifier
The selected test network ARM Id.
- targetSubnetName
- String
The selected target subnet name.
- testSubnetName
- String
The selected test subnet name.
- targetVmName
- String
The target VM name.
- targetVmSize
- String
The target VM size.
- licenseType
- Nullable<SiteRecoveryLicenseType>
The license type.
- targetAvailabilitySetId
- ResourceIdentifier
The target availability set ARM Id.
- targetAvailabilityZone
- String
The target availability zone.
- targetProximityPlacementGroupId
- ResourceIdentifier
The target proximity placement group Id.
- targetBootDiagnosticsStorageAccountId
- ResourceIdentifier
The target boot diagnostics storage account ARM Id.
- runAsAccountId
- String
The run-as account Id.
- processServerId
- Guid
The process server Id.
- multiVmGroupName
- String
The multi VM group name.
Returns
A new InMageRcmEnableProtectionContent instance for mocking.
Applies to
Azure SDK for .NET