Exemplo n.º 1
0
 public void IntegrationRuntimes_GetMonitoringData()
 {
     RunTest("IntegrationRuntimes_GetMonitoringData", (example, client, responseCode) =>
     {
         IntegrationRuntimeMonitoringData response = client.IntegrationRuntimes.GetMonitoringData(RGN(example), FN(example), IRN(example));
         CheckResponseBody(example, client, responseCode, response);
     });
 }
        public PSIntegrationRuntimeMetrics(IntegrationRuntimeMonitoringData data, string resourceGroupName, string factoryName)
        {
            if (data == null)
            {
                throw new ArgumentNullException(nameof(data));
            }

            this._monitoringData   = data;
            this.ResourceGroupName = resourceGroupName;
            this.DataFactoryName   = factoryName;
        }
Exemplo n.º 3
0
        public virtual async Task <PSIntegrationRuntimeMetrics> GetIntegrationRuntimeMetricAsync(
            string resourceGroupName,
            string dataFactoryName,
            string integrationRuntimeName)
        {
            IntegrationRuntimeMonitoringData data = await this.DataFactoryManagementClient.IntegrationRuntimes.GetMonitoringDataAsync(
                resourceGroupName,
                dataFactoryName,
                integrationRuntimeName);

            return(new PSIntegrationRuntimeMetrics(data, resourceGroupName, dataFactoryName));
        }
 public PSIntegrationRuntimeMetrics()
 {
     _monitoringData = new IntegrationRuntimeMonitoringData();
 }