@kengachu-pulumi/azure-native-apimanagement
Version:
Pulumi Azure Native package for apimanagement
59 lines (58 loc) • 1.6 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets the details of the Diagnostic specified by its identifier.
*/
export declare function getDiagnostic(args: GetDiagnosticArgs, opts?: pulumi.InvokeOptions): Promise<GetDiagnosticResult>;
export interface GetDiagnosticArgs {
/**
* Diagnostic identifier. Must be unique in the current API Management service instance.
*/
diagnosticId: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
/**
* The name of the API Management service.
*/
serviceName: string;
}
/**
* Diagnostic details.
*/
export interface GetDiagnosticResult {
/**
* Indicates whether a diagnostic should receive data or not.
*/
readonly enabled: boolean;
/**
* Resource ID.
*/
readonly id: string;
/**
* Resource name.
*/
readonly name: string;
/**
* Resource type for API Management resource.
*/
readonly type: string;
}
/**
* Gets the details of the Diagnostic specified by its identifier.
*/
export declare function getDiagnosticOutput(args: GetDiagnosticOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDiagnosticResult>;
export interface GetDiagnosticOutputArgs {
/**
* Diagnostic identifier. Must be unique in the current API Management service instance.
*/
diagnosticId: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the API Management service.
*/
serviceName: pulumi.Input<string>;
}