update_launch_configuration_defaults
¶
update_launch_configuration_defaults(
source_server_id: SourceServerID,
*,
config_overrides: Optional[mgnClientConfig] = None,
account_id: Optional[AccountID] = None,
small_volume_max_size: Optional[PositiveInteger] = None,
small_volume_configuration: Optional[SourceServerVolumeConfiguration] = None,
large_volume_configuration: Optional[SourceServerVolumeConfiguration] = None,
) -> UpdateLaunchConfigurationDefaultsResponse
Updates the launch configuration defaults of a source server. They apply only to disk mappings created later in the source server's Amazon Elastic Compute Cloud (Amazon EC2) launch template, and members you omit keep their current values.
Parameters:
-
source_server_id(SourceServerID) –Request to update the launch configuration defaults by Source Server ID.
-
account_id(Optional[AccountID], default:None) –Request to update the launch configuration defaults by Account ID.
-
small_volume_max_size(Optional[PositiveInteger], default:None) –Disks up to this size, in GiB, use the small volume configuration, and larger disks use the large one.
0means every disk uses the large one. If you omit it, the current value is kept. -
small_volume_configuration(Optional[SourceServerVolumeConfiguration], default:None) –Volume configuration for disks up to
smallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration,{}, clears all of them. -
large_volume_configuration(Optional[SourceServerVolumeConfiguration], default:None) –Volume configuration for disks larger than
smallVolumeMaxSize. If you omit it, the current one is kept. If you send it, it replaces the current one: fields you omit are cleared, and an empty configuration,{}, clears all of them.
Raises:
-
ResourceNotFoundException–Resource not found exception.
-
UninitializedAccountException–Uninitialized account exception.
-
ValidationException–Validate exception.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mgn/_services/mgn.py
7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 | |