@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
60 lines (59 loc) • 1.84 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The `dynatrace.MobileApplication` data source allows the mobile application ID to be retrieved by its name.
*
* - `name` (String) - The name of the mobile application
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const example = dynatrace.getMobileApplication({
* name: "Terraform",
* });
* export const id = example.then(example => example.id);
* ```
*/
export declare function getMobileApplication(args: GetMobileApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetMobileApplicationResult>;
/**
* A collection of arguments for invoking getMobileApplication.
*/
export interface GetMobileApplicationArgs {
name: string;
}
/**
* A collection of values returned by getMobileApplication.
*/
export interface GetMobileApplicationResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
}
/**
* The `dynatrace.MobileApplication` data source allows the mobile application ID to be retrieved by its name.
*
* - `name` (String) - The name of the mobile application
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const example = dynatrace.getMobileApplication({
* name: "Terraform",
* });
* export const id = example.then(example => example.id);
* ```
*/
export declare function getMobileApplicationOutput(args: GetMobileApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMobileApplicationResult>;
/**
* A collection of arguments for invoking getMobileApplication.
*/
export interface GetMobileApplicationOutputArgs {
name: pulumi.Input<string>;
}