@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.79 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* The request to update subscriptions needed to be monitored by the Datadog monitor resource.
*
* Uses Azure REST API version 2023-10-20.
*
* Other available API versions: 2023-01-01, 2023-07-07. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datadog [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMonitoredSubscription(args: GetMonitoredSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitoredSubscriptionResult>;
export interface GetMonitoredSubscriptionArgs {
/**
* The configuration name. Only 'default' value is supported.
*/
configurationName: string;
/**
* Monitor resource name
*/
monitorName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* The request to update subscriptions needed to be monitored by the Datadog monitor resource.
*/
export interface GetMonitoredSubscriptionResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The id of the monitored subscription resource.
*/
readonly id: string;
/**
* Name of the monitored subscription resource.
*/
readonly name: string;
/**
* The request to update subscriptions needed to be monitored by the Datadog monitor resource.
*/
readonly properties: outputs.datadog.SubscriptionListResponse;
/**
* The type of the monitored subscription resource.
*/
readonly type: string;
}
/**
* The request to update subscriptions needed to be monitored by the Datadog monitor resource.
*
* Uses Azure REST API version 2023-10-20.
*
* Other available API versions: 2023-01-01, 2023-07-07. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datadog [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMonitoredSubscriptionOutput(args: GetMonitoredSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMonitoredSubscriptionResult>;
export interface GetMonitoredSubscriptionOutputArgs {
/**
* The configuration name. Only 'default' value is supported.
*/
configurationName: pulumi.Input<string>;
/**
* Monitor resource name
*/
monitorName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}