forked from vmware-tanzu/tanzu-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(AzureEnvironments): use upstream func for validation
remove hard-coded maps for Azure environments and call EnvironmentFromName function from go-autorest/azure library to leverage upstream provider to validate Azure Environments also enables initial ability to specify custom endpoints for AzureStackCloud by using the Environment 'AzureStackCloud' and specifying AZURE_ENVIRONMENT_FILEPATH and providing an AzureEnvironment json file Closes Issue vmware-tanzu#3162 Signed-off-by: Jeff Davis <[email protected]>
- Loading branch information
Jeff Davis
committed
Apr 21, 2023
1 parent
7081502
commit 8e58a88
Showing
5 changed files
with
113 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"name": "--unit-test--", | ||
"managementPortalURL": "--management-portal-url", | ||
"publishSettingsURL": "--publish-settings-url--", | ||
"serviceManagementEndpoint": "--service-management-endpoint--", | ||
"resourceManagerEndpoint": "--resource-management-endpoint--", | ||
"activeDirectoryEndpoint": "--active-directory-endpoint--", | ||
"galleryEndpoint": "--gallery-endpoint--", | ||
"keyVaultEndpoint": "--key-vault--endpoint--", | ||
"managedHSMEndpoint": "--managed-hsm-endpoint--", | ||
"graphEndpoint": "--graph-endpoint--", | ||
"storageEndpointSuffix": "--storage-endpoint-suffix--", | ||
"cosmosDBDNSSuffix": "--cosmos-db-dns-suffix--", | ||
"mariaDBDNSSuffix": "--maria-db-dns-suffix--", | ||
"mySqlDatabaseDNSSuffix": "--mysql-database-dns-suffix--", | ||
"postgresqlDatabaseDNSSuffix": "--postgresql-database-dns-suffix--", | ||
"sqlDatabaseDNSSuffix": "--sql-database-dns-suffix--", | ||
"trafficManagerDNSSuffix": "--traffic-manager-dns-suffix--", | ||
"keyVaultDNSSuffix": "--key-vault-dns-suffix--", | ||
"managedHSMDNSSuffix": "--managed-hsm-dns-suffix--", | ||
"serviceBusEndpointSuffix": "--service-bus-endpoint-suffix--", | ||
"serviceManagementVMDNSSuffix": "--asm-vm-dns-suffix--", | ||
"resourceManagerVMDNSSuffix": "--arm-vm-dns-suffix--", | ||
"containerRegistryDNSSuffix": "--container-registry-dns-suffix--", | ||
"tokenAudience": "--token-audience", | ||
"resourceIdentifiers": { | ||
"batch": "--batch-resource-id--", | ||
"datalake": "--datalake-resource-id--", | ||
"graph": "--graph-resource-id--", | ||
"keyVault": "--keyvault-resource-id--", | ||
"operationalInsights": "--operational-insights-resource-id--", | ||
"ossRDBMS": "--oss-rdbms-resource-id--", | ||
"cosmosDB": "--cosmosdb-resource-id--", | ||
"managedHSM": "--managed-hsm-resource-id--" | ||
} | ||
} |