private static async Task <Aci.Arm.Deployment> GetAciInstanceData(string subscriptionId, string resourceGroupName, string aciName) { var resp = await ArmHelper.GetAciDeploymentDetails(subscriptionId, resourceGroupName, aciName); var aciResult = JsonSerializer.Deserialize <Aci.Arm.Deployment>(JsonSerializer.Serialize(resp)); return(aciResult); }