/// <summary> /// Initializes a new instance of the /// A2AProtectionIntentDiskInputDetails class. /// </summary> /// <param name="diskUri">The disk Uri.</param> /// <param name="recoveryAzureStorageAccountCustomInput">The recovery /// VHD storage account input.</param> /// <param name="primaryStagingStorageAccountCustomInput">The primary /// staging storage account input.</param> public A2AProtectionIntentDiskInputDetails(string diskUri, StorageAccountCustomDetails recoveryAzureStorageAccountCustomInput = default(StorageAccountCustomDetails), StorageAccountCustomDetails primaryStagingStorageAccountCustomInput = default(StorageAccountCustomDetails)) { DiskUri = diskUri; RecoveryAzureStorageAccountCustomInput = recoveryAzureStorageAccountCustomInput; PrimaryStagingStorageAccountCustomInput = primaryStagingStorageAccountCustomInput; CustomInit(); }
/// <summary> /// Initializes a new instance of the A2ACreateProtectionIntentInput /// class. /// </summary> /// <param name="fabricObjectId">The fabric specific object Id of the /// virtual machine.</param> /// <param name="primaryLocation">The primary location for the virtual /// machine.</param> /// <param name="recoveryLocation">The recovery location for the /// virtual machine.</param> /// <param name="recoverySubscriptionId">The recovery subscription Id /// of the virtual machine.</param> /// <param name="recoveryAvailabilityType">The recovery availability /// type of the virtual machine. Possible values include: 'Single', /// 'AvailabilitySet', 'AvailabilityZone'</param> /// <param name="recoveryResourceGroupId">The recovery resource group /// Id. Valid for V2 scenarios.</param> /// <param name="protectionProfileCustomInput">The protection profile /// custom inputs.</param> /// <param name="primaryStagingStorageAccountCustomInput">The primary /// staging storage account input.</param> /// <param name="recoveryAvailabilitySetCustomInput">The recovery /// availability set input.</param> /// <param name="recoveryVirtualNetworkCustomInput">The recovery /// virtual network input.</param> /// <param name="recoveryProximityPlacementGroupCustomInput">The /// recovery proximity placement group custom input.</param> /// <param name="autoProtectionOfDataDisk">A value indicating whether /// the auto protection is enabled. Possible values include: /// 'Disabled', 'Enabled'</param> /// <param name="vmDisks">The list of vm disk inputs.</param> /// <param name="vmManagedDisks">The list of vm managed disk /// inputs.</param> /// <param name="multiVmGroupName">The multi vm group name.</param> /// <param name="multiVmGroupId">The multi vm group id.</param> /// <param name="recoveryBootDiagStorageAccount">The boot diagnostic /// storage account.</param> /// <param name="diskEncryptionInfo">The recovery disk encryption /// information (for two pass flows).</param> /// <param name="recoveryAvailabilityZone">The recovery availability /// zone.</param> /// <param name="agentAutoUpdateStatus">A value indicating whether the /// auto update is enabled. Possible values include: 'Disabled', /// 'Enabled'</param> /// <param name="automationAccountAuthenticationType">A value /// indicating the authentication type for automation account. The /// default value is "RunAsAccount". Possible values include: /// 'RunAsAccount', 'SystemAssignedIdentity'</param> /// <param name="automationAccountArmId">The automation account arm /// id.</param> 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 <A2AProtectionIntentDiskInputDetails> vmDisks = default(IList <A2AProtectionIntentDiskInputDetails>), IList <A2AProtectionIntentManagedDiskInputDetails> vmManagedDisks = default(IList <A2AProtectionIntentManagedDiskInputDetails>), 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; RecoveryLocation = recoveryLocation; RecoverySubscriptionId = recoverySubscriptionId; RecoveryAvailabilityType = recoveryAvailabilityType; ProtectionProfileCustomInput = protectionProfileCustomInput; RecoveryResourceGroupId = recoveryResourceGroupId; PrimaryStagingStorageAccountCustomInput = primaryStagingStorageAccountCustomInput; RecoveryAvailabilitySetCustomInput = recoveryAvailabilitySetCustomInput; RecoveryVirtualNetworkCustomInput = recoveryVirtualNetworkCustomInput; RecoveryProximityPlacementGroupCustomInput = recoveryProximityPlacementGroupCustomInput; AutoProtectionOfDataDisk = autoProtectionOfDataDisk; VmDisks = vmDisks; VmManagedDisks = vmManagedDisks; MultiVmGroupName = multiVmGroupName; MultiVmGroupId = multiVmGroupId; RecoveryBootDiagStorageAccount = recoveryBootDiagStorageAccount; DiskEncryptionInfo = diskEncryptionInfo; RecoveryAvailabilityZone = recoveryAvailabilityZone; AgentAutoUpdateStatus = agentAutoUpdateStatus; AutomationAccountAuthenticationType = automationAccountAuthenticationType; AutomationAccountArmId = automationAccountArmId; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// A2AProtectionIntentManagedDiskInputDetails class. /// </summary> /// <param name="diskId">The disk Id.</param> /// <param name="primaryStagingStorageAccountCustomInput">The primary /// staging storage account input.</param> /// <param name="recoveryResourceGroupCustomInput">The recovery /// resource group input.</param> /// <param name="recoveryReplicaDiskAccountType">The replica disk type. /// Its an optional value and will be same as source disk type if not /// user provided.</param> /// <param name="recoveryTargetDiskAccountType">The target disk type /// after failover. Its an optional value and will be same as source /// disk type if not user provided.</param> /// <param name="recoveryDiskEncryptionSetId">The recovery disk /// encryption set Id.</param> /// <param name="diskEncryptionInfo">The recovery disk encryption /// information (for one / single pass flows).</param> public A2AProtectionIntentManagedDiskInputDetails(string diskId, StorageAccountCustomDetails primaryStagingStorageAccountCustomInput = default(StorageAccountCustomDetails), RecoveryResourceGroupCustomDetails recoveryResourceGroupCustomInput = default(RecoveryResourceGroupCustomDetails), string recoveryReplicaDiskAccountType = default(string), string recoveryTargetDiskAccountType = default(string), string recoveryDiskEncryptionSetId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo)) { DiskId = diskId; PrimaryStagingStorageAccountCustomInput = primaryStagingStorageAccountCustomInput; RecoveryResourceGroupCustomInput = recoveryResourceGroupCustomInput; RecoveryReplicaDiskAccountType = recoveryReplicaDiskAccountType; RecoveryTargetDiskAccountType = recoveryTargetDiskAccountType; RecoveryDiskEncryptionSetId = recoveryDiskEncryptionSetId; DiskEncryptionInfo = diskEncryptionInfo; CustomInit(); }