Skip to content

azurermMarketplaceAgreement

Allows accepting the Legal Terms for a Marketplace Image.

Example Usage

/*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 azurerm.marketplaceAgreement.MarketplaceAgreement(this, "barracuda", {
  offer: "waf",
  plan: "hourly",
  publisher: "barracudanetworks",
});

Argument Reference

The following arguments are supported:

  • offer - (Required) The Offer of the Marketplace Image. Changing this forces a new resource to be created.

  • plan - (Required) The Plan of the Marketplace Image. Changing this forces a new resource to be created.

  • publisher - (Required) The Publisher of the Marketplace Image. Changing this forces a new resource to be created.

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:

  • create - (Defaults to 30 minutes) Used when creating the Marketplace Agreement.
  • update - (Defaults to 30 minutes) Used when updating the Marketplace Agreement.
  • read - (Defaults to 5 minutes) Used when retrieving the Marketplace Agreement.
  • delete - (Defaults to 30 minutes) Used when deleting the Marketplace Agreement.

Import

Marketplace Agreement can be imported using the resourceId, e.g.

terraform import azurerm_marketplace_agreement.example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MarketplaceOrdering/agreements/publisher1/offers/offer1/plans/plan1