prometheus operator v0.71.2

ScrapeConfig.spec.consulSDConfigs[].tlsConfig.cert.secret.spec.azureSDConfigs

AzureSDConfigs defines a list of Azure service discovery configurations.

9 fields
ScrapeConfig.spec.consulSDConfigs[].tlsConfig.cert.secret.spec.azureSDConfigs fields and descriptions
Field / TypeDescription
authenticationMethod
string

# The authentication method, either OAuth or ManagedIdentity. See https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview

  • enum: ["OAuth","ManagedIdentity"]
clientID
string

Optional client ID. Only required with the OAuth authentication method.

object

Optional client secret. Only required with the OAuth authentication method.

  • x-kubernetes-map-type: "atomic"
environment
string

The Azure environment.

port
integer

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

refreshInterval
string

RefreshInterval configures the refresh interval at which Prometheus will re-read the instance list.

  • pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
resourceGroup
string

Optional resource group name. Limits discovery to this resource group.

subscriptionID
string required

The subscription ID. Always required.

  • minLength: 1
tenantID
string

Optional tenant ID. Only required with the OAuth authentication method.