getAgreement

Uses this data source to access information about an existing Marketplace Agreement.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.marketplace.MarketplaceFunctions;
import com.pulumi.azure.marketplace.inputs.GetAgreementArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var barracuda = MarketplaceFunctions.getAgreement(GetAgreementArgs.builder()
.publisher("barracudanetworks")
.offer("waf")
.plan("hourly")
.build());
ctx.export("azurermMarketplaceAgreementId", data.azurerm_marketplace_agreement().id());
}
}

Return

A collection of values returned by getAgreement.

Parameters

argument

A collection of arguments for invoking getAgreement.


suspend fun getAgreement(offer: String, plan: String, publisher: String): GetAgreementResult

Return

A collection of values returned by getAgreement.

See also

Parameters

offer

The Offer of the Marketplace Image.

plan

The Plan of the Marketplace Image.

publisher

The Publisher of the Marketplace Image.


Return

A collection of values returned by getAgreement.

See also

Parameters

argument

Builder for com.pulumi.azure.marketplace.kotlin.inputs.GetAgreementPlainArgs.