Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Please support Sovereign clouds like AzureUSGovernment  #658

@actions-devops

Description

@actions-devops

Hello, Please add an option to specify the sovereign cloud option similiar to the AZ CLI command

az cloud set --name AzureUSGovernment

Please also use the following endpoints for login (AzureUSGovernment as an example)

{
    "endpoints": {
      "activeDirectory": "https://login.microsoftonline.us",
      "activeDirectoryDataLakeResourceId": null,
      "activeDirectoryGraphResourceId": "https://graph.windows.net/",
      "activeDirectoryResourceId": "https://management.core.usgovcloudapi.net/",
      "appInsightsResourceId": "https://api.applicationinsights.us",
      "appInsightsTelemetryChannelResourceId": "https://dc.applicationinsights.us/v2/track",
      "batchResourceId": "https://batch.core.usgovcloudapi.net/",
      "gallery": "https://gallery.usgovcloudapi.net/",
      "logAnalyticsResourceId": "https://api.loganalytics.us",
      "management": "https://management.core.usgovcloudapi.net/",
      "mediaResourceId": "https://rest.media.usgovcloudapi.net",
      "microsoftGraphResourceId": "https://graph.microsoft.us/",
      "ossrdbmsResourceId": "https://ossrdbms-aad.database.usgovcloudapi.net",
      "resourceManager": "https://management.usgovcloudapi.net/",
      "sqlManagement": "https://management.core.usgovcloudapi.net:8443/",
      "vmImageAliasDoc": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json"
    },
    "isActive": true,
    "name": "AzureUSGovernment",
    "profile": "latest",
    "suffixes": {
      "acrLoginServerEndpoint": ".azurecr.us",
      "azureDatalakeAnalyticsCatalogAndJobEndpoint": null,
      "azureDatalakeStoreFileSystemEndpoint": null,
      "keyvaultDns": ".vault.usgovcloudapi.net",
      "mariadbServerEndpoint": ".mariadb.database.usgovcloudapi.net",
      "mysqlServerEndpoint": ".mysql.database.usgovcloudapi.net",
      "postgresqlServerEndpoint": ".postgres.database.usgovcloudapi.net",
      "sqlServerHostname": ".database.usgovcloudapi.net",
      "storageEndpoint": "core.usgovcloudapi.net"
    }
  }

Metadata

Metadata

Assignees

Labels

acienhancement ✨A new feature suggestion or improvement upon an existing feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions