@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.03 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get metrics configuration of the provided cluster.
*
* Uses Azure REST API version 2025-02-01.
*
* Other available API versions: 2024-07-01, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native networkcloud [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMetricsConfiguration(args: GetMetricsConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetMetricsConfigurationResult>;
export interface GetMetricsConfigurationArgs {
/**
* The name of the cluster.
*/
clusterName: string;
/**
* The name of the metrics configuration for the cluster.
*/
metricsConfigurationName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
export interface GetMetricsConfigurationResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The interval in minutes by which metrics will be collected.
*/
readonly collectionInterval: number;
/**
* The more detailed status of the metrics configuration.
*/
readonly detailedStatus: string;
/**
* The descriptive message about the current detailed status.
*/
readonly detailedStatusMessage: string;
/**
* The list of metrics that are available for the cluster but disabled at the moment.
*/
readonly disabledMetrics: string[];
/**
* The list of metric names that have been chosen to be enabled in addition to the core set of enabled metrics.
*/
readonly enabledMetrics?: string[];
/**
* Resource ETag.
*/
readonly etag: string;
/**
* The extended location of the cluster associated with the resource.
*/
readonly extendedLocation: outputs.networkcloud.ExtendedLocationResponse;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The provisioning state of the metrics configuration.
*/
readonly provisioningState: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.networkcloud.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get metrics configuration of the provided cluster.
*
* Uses Azure REST API version 2025-02-01.
*
* Other available API versions: 2024-07-01, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native networkcloud [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMetricsConfigurationOutput(args: GetMetricsConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMetricsConfigurationResult>;
export interface GetMetricsConfigurationOutputArgs {
/**
* The name of the cluster.
*/
clusterName: pulumi.Input<string>;
/**
* The name of the metrics configuration for the cluster.
*/
metricsConfigurationName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}