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
6 changes: 0 additions & 6 deletions client/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ func AuthorityUrl(region string, defaultUrl string) string {
return constants.AzureChina().ActiveDirectoryAuthority
case constants.Cloud:
return constants.AzureCloud().ActiveDirectoryAuthority
case constants.Germany:
return constants.AzureGermany().ActiveDirectoryAuthority
case constants.USGovL4:
return constants.AzureUSGovernment().ActiveDirectoryAuthority
case constants.USGovL5:
Expand All @@ -72,8 +70,6 @@ func GraphUrl(region string, defaultUrl string) string {
return constants.AzureChina().MicrosoftGraphUrl
case constants.Cloud:
return constants.AzureCloud().MicrosoftGraphUrl
case constants.Germany:
return constants.AzureGermany().MicrosoftGraphUrl
case constants.USGovL4:
return constants.AzureUSGovernment().MicrosoftGraphUrl
case constants.USGovL5:
Expand All @@ -93,8 +89,6 @@ func ResourceManagerUrl(region string, defaultUrl string) string {
return constants.AzureChina().ResourceManagerUrl
case constants.Cloud:
return constants.AzureCloud().ResourceManagerUrl
case constants.Germany:
return constants.AzureGermany().ResourceManagerUrl
case constants.USGovL4:
return constants.AzureUSGovernment().ResourceManagerUrl
case constants.USGovL5:
Expand Down
1 change: 0 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const EnvPrefix string = "AZUREHOUND"
var AzRegions = []string{
constants.China,
constants.Cloud,
constants.Germany,
constants.USGovL4,
constants.USGovL5,
}
Expand Down
9 changes: 0 additions & 9 deletions constants/environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ package constants
const (
China string = "china"
Cloud string = "cloud"
Germany string = "germany"
USGovL4 string = "usgovl4"
USGovL5 string = "usgovl5"
)
Expand Down Expand Up @@ -61,11 +60,3 @@ func AzureChina() Environment {
"https://management.chinacloudapi.cn",
}
}

func AzureGermany() Environment {
return Environment{
"https://login.microsoftonline.de",
"https://graph.microsoft.de",
"https://management.microsoftazure.de",
}
}
Loading