create_volume_from_backup
async
¶
create_volume_from_backup(
*,
config_overrides: Optional[AsyncFSxClientConfig] = None,
backup_id: Optional[BackupId] = None,
client_request_token: Optional[ClientRequestToken] = None,
name: Optional[VolumeName] = None,
ontap_configuration: Optional[CreateOntapVolumeConfiguration] = None,
tags: Optional[Tags] = None,
) -> CreateVolumeFromBackupResponse
Creates a new Amazon FSx for NetApp ONTAP volume from an existing Amazon FSx volume backup.
Parameters:
-
name(Optional[VolumeName], default:None) –The name of the new volume you're creating.
-
ontap_configuration(Optional[CreateOntapVolumeConfiguration], default:None) –Specifies the configuration of the ONTAP volume that you are creating.
Raises:
-
BackupNotFound–No Amazon FSx backups were found based upon the supplied parameters.
-
BadRequest–A generic error indicating a failure with a client request.
-
FileSystemNotFound–No Amazon FSx file systems were found based upon supplied parameters.
-
IncompatibleParameterError–The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.
-
InternalServerError–A generic error indicating a server-side failure.
-
MissingVolumeConfiguration–A volume configuration is required for this operation.
-
ServiceLimitExceeded–An error indicating that a particular service limit was exceeded. You can increase some service limits by contacting Amazon Web Services Support.
-
StorageVirtualMachineNotFound–No FSx for ONTAP SVMs were found based upon the supplied parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_fsx/_services/async_f_sx.py
2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 | |