import * as pulumi from "@pulumi/pulumi"; /** * Uses this data source to access information about an existing Marketplace Agreement. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const barracuda = azure.marketplace.getAgreement({ * publisher: "barracudanetworks", * offer: "waf", * plan: "hourly", * }); * export const azurermMarketplaceAgreementId = id; * export const azurermMarketplaceAgreementAccepted = accepted; * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.MarketplaceOrdering` - 2015-06-01 */ export declare function getAgreement(args: GetAgreementArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAgreement. */ export interface GetAgreementArgs { /** * The Offer of the Marketplace Image. */ offer: string; /** * The Plan of the Marketplace Image. */ plan: string; /** * The Publisher of the Marketplace Image. */ publisher: string; } /** * A collection of values returned by getAgreement. */ export interface GetAgreementResult { /** * Whether the Marketplace Agreement has been accepted. */ readonly accepted: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly licenseTextLink: string; readonly offer: string; readonly plan: string; readonly privacyPolicyLink: string; readonly publisher: string; } /** * Uses this data source to access information about an existing Marketplace Agreement. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const barracuda = azure.marketplace.getAgreement({ * publisher: "barracudanetworks", * offer: "waf", * plan: "hourly", * }); * export const azurermMarketplaceAgreementId = id; * export const azurermMarketplaceAgreementAccepted = accepted; * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.MarketplaceOrdering` - 2015-06-01 */ export declare function getAgreementOutput(args: GetAgreementOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAgreement. */ export interface GetAgreementOutputArgs { /** * The Offer of the Marketplace Image. */ offer: pulumi.Input; /** * The Plan of the Marketplace Image. */ plan: pulumi.Input; /** * The Publisher of the Marketplace Image. */ publisher: pulumi.Input; }