Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ class MetricsClient: # pylint: disable=client-accepts-api-version-keyword
resources. For global resources, the region should be 'global'. Required.
:param credential: The credential to authenticate the client.
:type credential: ~azure.core.credentials.TokenCredential
:keyword str audience: The audience to use when requesting a token. If not provided, the public cloud audience
will be assumed. Defaults to 'https://metrics.monitor.azure.com'.
"""

def __init__(self, endpoint: str, credential: TokenCredential, **kwargs: Any) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ class MetricsClient: # pylint: disable=client-accepts-api-version-keyword
resources. For global resources, the region should be 'global'. Required.
:param credential: The credential to authenticate the client.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:keyword str audience: The audience to use when requesting a token. If not provided, the public cloud audience
will be assumed. Defaults to 'https://metrics.monitor.azure.com'.
"""

def __init__(self, endpoint: str, credential: AsyncTokenCredential, **kwargs: Any) -> None:
Expand Down