зеркало из https://github.com/Azure/AzureRMR.git
update ARM API version
This commit is contained in:
Родитель
3a6ec5419e
Коммит
c9c74f28be
|
@ -6,7 +6,7 @@ utils::globalVariables(c("self", "private", "pool"))
|
||||||
|
|
||||||
.onLoad <- function(libname, pkgname)
|
.onLoad <- function(libname, pkgname)
|
||||||
{
|
{
|
||||||
options(azure_api_version="2019-08-01")
|
options(azure_api_version="2019-10-01")
|
||||||
options(azure_api_mgmt_version="2016-09-01")
|
options(azure_api_mgmt_version="2016-09-01")
|
||||||
options(azure_roledef_api_version="2018-01-01-preview")
|
options(azure_roledef_api_version="2018-01-01-preview")
|
||||||
options(azure_roleasn_api_version="2018-12-01-preview")
|
options(azure_roleasn_api_version="2018-12-01-preview")
|
||||||
|
|
|
@ -128,7 +128,7 @@ find_resource_host <- function(token)
|
||||||
else url <- httr::parse_url(token$resource) # v1 token is the easy case
|
else url <- httr::parse_url(token$resource) # v1 token is the easy case
|
||||||
|
|
||||||
if(is.null(url$scheme))
|
if(is.null(url$scheme))
|
||||||
stop("Could not find Graph host URL", call.=FALSE)
|
stop("Could not find Resource Manager host URL", call.=FALSE)
|
||||||
url$path <- NULL
|
url$path <- NULL
|
||||||
url
|
url
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче