create_application_instance
async
¶
create_application_instance(
manifest_payload: ManifestPayload,
default_runtime_context_device: DefaultRuntimeContextDevice,
*,
config_overrides: Optional[AsyncPanoramaClientConfig] = None,
name: Optional[ApplicationInstanceName] = None,
description: Optional[Description] = None,
manifest_overrides_payload: Optional[ManifestOverridesPayload] = None,
application_instance_id_to_replace: Optional[ApplicationInstanceId] = None,
runtime_role_arn: Optional[RuntimeRoleArn] = None,
tags: Optional[TagMap] = None,
) -> CreateApplicationInstanceResponse
Creates an application instance and deploys it to a device.
Parameters:
-
name(Optional[ApplicationInstanceName], default:None) –A name for the application instance.
-
description(Optional[Description], default:None) –A description for the application instance.
-
manifest_payload(ManifestPayload) –The application's manifest document.
-
manifest_overrides_payload(Optional[ManifestOverridesPayload], default:None) –Setting overrides for the application manifest.
-
application_instance_id_to_replace(Optional[ApplicationInstanceId], default:None) –The ID of an application instance to replace with the new instance.
-
runtime_role_arn(Optional[RuntimeRoleArn], default:None) –The ARN of a runtime role for the application instance.
-
default_runtime_context_device(DefaultRuntimeContextDevice) –A device's ID.
-
tags(Optional[TagMap], default:None) –Tags for the application instance.
Raises:
-
AccessDeniedException–The requestor does not have permission to access the target action or resource.
-
InternalServerException–An internal error occurred.
-
ServiceQuotaExceededException–The request would cause a limit to be exceeded.
-
ValidationException–The request contains an invalid parameter value.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_panorama/_services/async_panorama.py
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 | |