Files
threshold-plugin-azure/plugin/const.go
T

33 lines
1.1 KiB
Go
Raw Normal View History

// Copyright IBM Corp. 2021, 2025
// SPDX-License-Identifier: MPL-2.0
2021-09-07 22:06:22 -04:00
package plugin
const (
// Azure service constants
constMsComputeService = "Microsoft.Compute"
constMsNetworkService = "Microsoft.Network"
constSubscriptions = "subscriptions"
constResourceGroups = "resourceGroups"
constProviders = "providers"
// Resource type constants
constVirtualMachinesResource = "virtualMachines"
constVirtualMachineScaleSetsResource = "virtualMachineScaleSets"
constNetworkInterfacesResource = "networkInterfaces"
constPublicIpAddressesResource = "publicIPAddresses"
// Field constants
2021-09-07 22:06:22 -04:00
constFilter = "filter"
constSecretId = "secret_id"
2021-09-07 22:06:22 -04:00
constSecretValue = "secret_value"
constCredsLastRotatedTime = "creds_last_rotated_time"
constDisableCredentialRotation = "disable_credential_rotation"
constSubscriptionId = "subscription_id"
constTenantId = "tenant_id"
constClientId = "client_id"
constBaseUrl = "base_url"
// Worker pool configuration
constDefaultWorkers = 1000
2021-09-07 22:06:22 -04:00
)