2026-01-16 15:55:43 -08:00
|
|
|
// Copyright IBM Corp. 2021, 2025
|
2023-01-03 22:03:54 +00:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
2021-09-07 22:06:22 -04:00
|
|
|
package plugin
|
|
|
|
|
|
|
|
|
|
const (
|
2025-01-22 18:36:03 +00:00
|
|
|
// 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"
|
2025-01-22 18:36:03 +00:00
|
|
|
constSecretId = "secret_id"
|
2021-09-07 22:06:22 -04:00
|
|
|
constSecretValue = "secret_value"
|
|
|
|
|
constCredsLastRotatedTime = "creds_last_rotated_time"
|
|
|
|
|
constDisableCredentialRotation = "disable_credential_rotation"
|
2025-01-22 18:36:03 +00:00
|
|
|
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
|
|
|
)
|