새 Datafactory 관리 API에 문제가 있습니다. IRM을 만들 때 BadRequest를 얻습니다. 잘못된 것에 대한 설명이 없습니다.BadRequest를 사용하여 DatafactoryV2에 대한 IntegrationRuntimeResource를 만들지 못했습니다.
아래의 간단한 코드 샘플. 무엇이 잘못 되었을지에 대한 제안? 내가 오류에 대한 자세한 정보를 얻을 수있는 파워 쉘에서 만들어보십시오되어 이러한 경우에 무슨 오류가 발생할 때 어떤 설명을 얻을 해달라고 .NET 라이브러리를 사용하여 내 경험에서
private async Task<IntegrationRuntimeResource> GetOrCreateIntegrationRuntime(string irmName)
{
Log.Information("Creating IntegrationRuntime Resource with name {IrmName}", irmName);
var irmResource = new IntegrationRuntimeResource(new IntegrationRuntime(), type: IntegrationRuntimeType.SelfHosted, name: irmName);
return await AzureServiceFactory.GetDatafactoryManagementClient().IntegrationRuntimes
.CreateOrUpdateAsync(Config.ResourceGroupName, EnvironmentSettings.Datafactory.Name,
irmName, irmResource);
}