Skip to content

azurermMarketplaceAgreement

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

Example Usage

import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new cdktf.TerraformOutput(this, "azurerm_marketplace_agreement_id", {
  value: "${data.azurerm_marketplace_agreement.id}",
});
new azurerm.dataAzurermMarketplaceAgreement.DataAzurermMarketplaceAgreement(
  this,
  "barracuda",
  {
    offer: "waf",
    plan: "hourly",
    publisher: "barracudanetworks",
  }
);

Argument Reference

The following arguments are supported:

  • offer - The Offer of the Marketplace Image.

  • plan - The Plan of the Marketplace Image.

  • publisher - The Publisher of the Marketplace Image.

Attributes Reference

The following attributes are exported:

  • id - The ID of the Marketplace Agreement.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the Marketplace Agreement.