Files
threshold-plugin-azure/plugin/const.go
Jeff Mitchell 3542fae64d Fix tag filtering (#1)
It turns out you can't filter on both resource type and tags at the same
time, which means checking type needs to happen in code. Additionally,
you can't request provisioning state because populating $expand also
does bad things when using tags in filters.
2021-09-30 00:38:37 -04:00

23 lines
980 B
Go

package plugin
const (
constBaseUrl = "base_url"
constFilter = "filter"
constSubscriptionId = "subscription_id"
constClientId = "client_id"
constSecretValue = "secret_value"
constCredsLastRotatedTime = "creds_last_rotated_time"
constSecretId = "secret_id"
constTenantId = "tenant_id"
constDefaultFilter = "resourceType eq 'Microsoft.Compute/virtualMachines'"
constMsComputeService = "Microsoft.Compute"
constVirtualMachinesResource = "virtualMachines"
constMsNetworkService = "Microsoft.Network"
constNetworkInterfacesResource = "networkInterfaces"
constPublicIpAddressesResource = "publicIPAddresses"
constSubscriptions = "subscriptions"
constResourceGroups = "resourceGroups"
constProviders = "providers"
constDisableCredentialRotation = "disable_credential_rotation"
)