Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions sdk/azcore/arm/client_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ type Endpoint string
const (
// AzureChina is the Azure Resource Manager China cloud endpoint.
AzureChina Endpoint = "https://management.chinacloudapi.cn/"
// AzureGermany is the Azure Resource Manager Germany cloud endpoint.
AzureGermany Endpoint = "https://management.microsoftazure.de/"
// AzureGovernment is the Azure Resource Manager US government cloud endpoint.
AzureGovernment Endpoint = "https://management.usgovcloudapi.net/"
// AzurePublicCloud is the Azure Resource Manager public cloud endpoint.
Expand Down
3 changes: 0 additions & 3 deletions sdk/azcore/internal/shared/shared_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ func TestHasStatusCode(t *testing.T) {
}

func TestEndpointToScope(t *testing.T) {
if s := EndpointToScope("https://management.microsoftazure.de/"); s != "https://management.microsoftazure.de//.default" {
t.Fatalf("unexpected scope %s", s)
}
if s := EndpointToScope("https://management.usgovcloudapi.net"); s != "https://management.usgovcloudapi.net//.default" {
t.Fatalf("unexpected scope %s", s)
}
Expand Down