provision_device
async
¶
provision_device(
name: DeviceName,
*,
config_overrides: Optional[AsyncPanoramaClientConfig] = None,
description: Optional[Description] = None,
tags: Optional[TagMap] = None,
networking_configuration: Optional[NetworkPayload] = None,
) -> ProvisionDeviceResponse
Creates a device and returns a configuration archive. The configuration archive is a ZIP file that contains a provisioning certificate that is valid for 5 minutes. Name the configuration archive certificates-omni_device-name.zip and transfer it to the device within 5 minutes. Use the included USB storage device and connect it to the USB 3.0 port next to the HDMI output.
Parameters:
-
name(DeviceName) –A name for the device.
-
description(Optional[Description], default:None) –A description for the device.
-
tags(Optional[TagMap], default:None) –Tags for the device.
-
networking_configuration(Optional[NetworkPayload], default:None) –A networking configuration for the device.
Raises:
-
AccessDeniedException–The requestor does not have permission to access the target action or resource.
-
ConflictException–The target resource is in use.
-
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
2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 | |