UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

102 lines (101 loc) 2.62 kB
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>; }