NAME

IO::K8s::PrometheusOperator::V1alpha1::AzureSDConfig - AzureSDConfig allow retrieving scrape targets from Azure VMs.

VERSION

version 1.108

authenticationMethod

authenticationMethod defines the authentication method, either `OAuth` or `ManagedIdentity` or `SDK`. See https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview SDK authentication method uses environment variables by default. See https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication

authorization

authorization defines the authorization header configuration to authenticate against the target HTTP endpoint. Cannot be set at the same time as `oAuth2`, or `basicAuth`.

basicAuth

basicAuth defines the information to authenticate against the target HTTP endpoint. More info: https://prometheus.io/docs/operating/configuration/#endpoints Cannot be set at the same time as `authorization`, or `oAuth2`.

clientID

clientID defines client ID. Only required with the OAuth authentication method.

clientSecret

clientSecret defines client secret. Only required with the OAuth authentication method.

enableHTTP2

enableHTTP2 defines whether to enable HTTP2.

environment

environment defines the Azure environment.

followRedirects

followRedirects defines whether HTTP requests follow HTTP 3xx redirects.

noProxy

noProxy defines a comma-separated string that can contain IPs, CIDR notation, domain names that should be excluded from proxying. IP and domain names can contain port numbers.

It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.

oauth2

oauth2 defines the configuration to use on every scrape request.

port

port defines the port to scrape metrics from. If using the public IP address, this must instead be specified in the relabeling rule.

proxyConnectHeader

proxyConnectHeader optionally specifies headers to send to proxies during CONNECT requests.

It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.

proxyFromEnvironment

proxyFromEnvironment defines whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).

It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.

proxyUrl

proxyUrl defines the HTTP proxy server to use.

refreshInterval

refreshInterval defines the time after which the provided names are refreshed. If not set, Prometheus uses its default value.

resourceGroup

resourceGroup defines resource group name. Limits discovery to this resource group. Requires Prometheus v2.35.0 and above

subscriptionID

subscriptionID defines subscription ID. Always required.

tenantID

tenantID defines tenant ID. Only required with the OAuth authentication method.

tlsConfig

tlsConfig defines the TLS configuration applying to the target HTTP endpoint.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHORS

  • Torsten Raudssus <getty@cpan.org>

  • Jose Luis Martinez Torres <jlmartin@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004