list_workloads
async
¶
list_workloads(
resource_group_name: ResourceGroupName,
component_name: ComponentName,
*,
config_overrides: Optional[AsyncApplicationInsightsClientConfig] = 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/async_application_insights.py
1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 | |