- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
61 lines
1.1 KiB
Bash
Executable File
61 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Optional: lock to a specific subscription (otherwise uses your default)
|
|
# az account set --subscription "<YOUR_SUBSCRIPTION_ID>"
|
|
|
|
regions=(
|
|
australiacentral
|
|
australiaeast
|
|
australiasoutheast
|
|
austriaeast
|
|
belgiumcentral
|
|
brazilsouth
|
|
canadacentral
|
|
canadaeast
|
|
centralindia
|
|
chilecentral
|
|
eastasia
|
|
francecentral
|
|
germanywestcentral
|
|
indonesiacentral
|
|
israelcentral
|
|
italynorth
|
|
japaneast
|
|
japanwest
|
|
koreacentral
|
|
koreasouth
|
|
malaysiawest
|
|
mexicocentral
|
|
newzealandnorth
|
|
northeurope
|
|
polandcentral
|
|
qatarcentral
|
|
southafricanorth
|
|
southindia
|
|
southeastasia
|
|
spaincentral
|
|
swedencentral
|
|
switzerlandnorth
|
|
uaenorth
|
|
uksouth
|
|
ukwest
|
|
westeurope
|
|
westindia
|
|
)
|
|
|
|
echo "Checking Standard Dplsv6 Family vCPU usage and limits across ${#regions[@]} regions..."
|
|
echo
|
|
|
|
for region in "${regions[@]}"; do
|
|
echo "=============================="
|
|
echo "Region: $region"
|
|
az vm list-usage \
|
|
--location "$region" \
|
|
--query "[?contains(name.value, 'standardDplsv6Family')].{Name:name.localizedValue,Usage:currentValue,Limit:limit}" \
|
|
-o table
|
|
echo
|
|
done
|
|
|
|
|