list_workloads
¶
list_workloads(
resource_group_name: ResourceGroupName,
component_name: ComponentName,
*,
config_overrides: Optional[ApplicationInsightsClientConfig] = None,
max_results: Optional[MaxEntities] = None,
next_token: Optional[PaginationToken] = None,
account_id: Optional[AccountId] = None,
) -> ListWorkloadsResponse
Lists the workloads that are configured on a given component.
Parameters:
-
resource_group_name(ResourceGroupName) –The name of the resource group.
-
component_name(ComponentName) –The name of the component.
-
max_results(Optional[MaxEntities], default:None) –The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
NextTokenvalue. -
next_token(Optional[PaginationToken], default:None) –The token to request the next page of results.
-
account_id(Optional[AccountId], default:None) –The Amazon Web Services account ID of the owner of the workload.
Raises:
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource does not exist in the customer account.
-
ValidationException–The parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_application_insights/_services/application_insights.py
2134 2135 2136 2137 2138 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 | |