@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";
/**
* Defines the properties of an Experiment
*
* Uses Azure REST API version 2019-11-01.
*/
export declare function getExperiment(args: GetExperimentArgs, opts?: pulumi.InvokeOptions): Promise<GetExperimentResult>;
export interface GetExperimentArgs {
/**
* The Experiment identifier associated with the Experiment
*/
experimentName: string;
/**
* The Profile identifier associated with the Tenant and Partner
*/
profileName: string;
/**
* Name of the Resource group within the Azure subscription.
*/
resourceGroupName: string;
}
/**
* Defines the properties of an Experiment
*/
export interface GetExperimentResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The description of the details or intents of the Experiment
*/
readonly description?: string;
/**
* The state of the Experiment
*/
readonly enabledState?: string;
/**
* The endpoint A of an experiment
*/
readonly endpointA?: outputs.frontdoor.EndpointResponse;
/**
* The endpoint B of an experiment
*/
readonly endpointB?: outputs.frontdoor.EndpointResponse;
/**
* Resource ID.
*/
readonly id: string;
/**
* Resource location.
*/
readonly location?: string;
/**
* Resource name.
*/
readonly name: string;
/**
* Resource status.
*/
readonly resourceState: string;
/**
* The uri to the Script used in the Experiment
*/
readonly scriptFileUri: string;
/**
* The description of Experiment status from the server side
*/
readonly status: string;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type.
*/
readonly type: string;
}
/**
* Defines the properties of an Experiment
*
* Uses Azure REST API version 2019-11-01.
*/
export declare function getExperimentOutput(args: GetExperimentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetExperimentResult>;
export interface GetExperimentOutputArgs {
/**
* The Experiment identifier associated with the Experiment
*/
experimentName: pulumi.Input<string>;
/**
* The Profile identifier associated with the Tenant and Partner
*/
profileName: pulumi.Input<string>;
/**
* Name of the Resource group within the Azure subscription.
*/
resourceGroupName: pulumi.Input<string>;
}