@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.62 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* The metric setting details for the role
*
* Uses Azure REST API version 2023-07-01.
*
* Other available API versions: 2022-03-01, 2022-04-01-preview, 2022-12-01-preview, 2023-01-01-preview, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native databoxedge [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMonitoringConfig(args: GetMonitoringConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitoringConfigResult>;
export interface GetMonitoringConfigArgs {
/**
* The device name.
*/
deviceName: string;
/**
* The resource group name.
*/
resourceGroupName: string;
/**
* The role name.
*/
roleName: string;
}
/**
* The metric setting details for the role
*/
export interface GetMonitoringConfigResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The path ID that uniquely identifies the object.
*/
readonly id: string;
/**
* The metrics configuration details
*/
readonly metricConfigurations: outputs.databoxedge.MetricConfigurationResponse[];
/**
* The object name.
*/
readonly name: string;
/**
* Metadata pertaining to creation and last modification of MonitoringConfiguration
*/
readonly systemData: outputs.databoxedge.SystemDataResponse;
/**
* The hierarchical type of the object.
*/
readonly type: string;
}
/**
* The metric setting details for the role
*
* Uses Azure REST API version 2023-07-01.
*
* Other available API versions: 2022-03-01, 2022-04-01-preview, 2022-12-01-preview, 2023-01-01-preview, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native databoxedge [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMonitoringConfigOutput(args: GetMonitoringConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMonitoringConfigResult>;
export interface GetMonitoringConfigOutputArgs {
/**
* The device name.
*/
deviceName: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The role name.
*/
roleName: pulumi.Input<string>;
}