Agreement

Allows accepting the Legal Terms for a Marketplace Image.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var barracuda = new Azure.Marketplace.Agreement("barracuda", new Azure.Marketplace.AgreementArgs
        {
            Offer = "waf",
            Plan = "hourly",
            Publisher = "barracudanetworks",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/marketplace"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err = marketplace.NewAgreement(ctx, "barracuda", &marketplace.AgreementArgs{
            Offer:     pulumi.String("waf"),
            Plan:      pulumi.String("hourly"),
            Publisher: pulumi.String("barracudanetworks"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure as azure

barracuda = azure.marketplace.Agreement("barracuda",
    offer="waf",
    plan="hourly",
    publisher="barracudanetworks")
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const barracuda = new azure.marketplace.Agreement("barracuda", {
    offer: "waf",
    plan: "hourly",
    publisher: "barracudanetworks",
});

Create a Agreement Resource

def Agreement(resource_name, opts=None, offer=None, plan=None, publisher=None, __props__=None);
func NewAgreement(ctx *Context, name string, args AgreementArgs, opts ...ResourceOption) (*Agreement, error)
public Agreement(string name, AgreementArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args AgreementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AgreementArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AgreementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Agreement Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Agreement resource accepts the following input properties:

Offer string

The Offer of the Marketplace Image. Changing this forces a new resource to be created.

Plan string

The Plan of the Marketplace Image. Changing this forces a new resource to be created.

Publisher string

The Publisher of the Marketplace Image. Changing this forces a new resource to be created.

Offer string

The Offer of the Marketplace Image. Changing this forces a new resource to be created.

Plan string

The Plan of the Marketplace Image. Changing this forces a new resource to be created.

Publisher string

The Publisher of the Marketplace Image. Changing this forces a new resource to be created.

offer string

The Offer of the Marketplace Image. Changing this forces a new resource to be created.

plan string

The Plan of the Marketplace Image. Changing this forces a new resource to be created.

publisher string

The Publisher of the Marketplace Image. Changing this forces a new resource to be created.

offer str

The Offer of the Marketplace Image. Changing this forces a new resource to be created.

plan str

The Plan of the Marketplace Image. Changing this forces a new resource to be created.

publisher str

The Publisher of the Marketplace Image. Changing this forces a new resource to be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the Agreement resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
LicenseTextLink string
PrivacyPolicyLink string
Id string
The provider-assigned unique ID for this managed resource.
LicenseTextLink string
PrivacyPolicyLink string
id string
The provider-assigned unique ID for this managed resource.
licenseTextLink string
privacyPolicyLink string
id str
The provider-assigned unique ID for this managed resource.
license_text_link str
privacy_policy_link str

Look up an Existing Agreement Resource

Get an existing Agreement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AgreementState, opts?: CustomResourceOptions): Agreement
static get(resource_name, id, opts=None, license_text_link=None, offer=None, plan=None, privacy_policy_link=None, publisher=None, __props__=None);
func GetAgreement(ctx *Context, name string, id IDInput, state *AgreementState, opts ...ResourceOption) (*Agreement, error)
public static Agreement Get(string name, Input<string> id, AgreementState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

LicenseTextLink string
Offer string

The Offer of the Marketplace Image. Changing this forces a new resource to be created.

Plan string

The Plan of the Marketplace Image. Changing this forces a new resource to be created.

PrivacyPolicyLink string
Publisher string

The Publisher of the Marketplace Image. Changing this forces a new resource to be created.

LicenseTextLink string
Offer string

The Offer of the Marketplace Image. Changing this forces a new resource to be created.

Plan string

The Plan of the Marketplace Image. Changing this forces a new resource to be created.

PrivacyPolicyLink string
Publisher string

The Publisher of the Marketplace Image. Changing this forces a new resource to be created.

licenseTextLink string
offer string

The Offer of the Marketplace Image. Changing this forces a new resource to be created.

plan string

The Plan of the Marketplace Image. Changing this forces a new resource to be created.

privacyPolicyLink string
publisher string

The Publisher of the Marketplace Image. Changing this forces a new resource to be created.

license_text_link str
offer str

The Offer of the Marketplace Image. Changing this forces a new resource to be created.

plan str

The Plan of the Marketplace Image. Changing this forces a new resource to be created.

privacy_policy_link str
publisher str

The Publisher of the Marketplace Image. Changing this forces a new resource to be created.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.