Class 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",
});
}
}
Inherited Members
Namespace: Pulumi.Azure.Marketplace
Assembly: Pulumi.Azure.dll
Syntax
public class Agreement : CustomResource
Constructors
View SourceAgreement(String, AgreementArgs, CustomResourceOptions)
Create a Agreement resource with the given unique name, arguments, and options.
Declaration
public Agreement(string name, AgreementArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AgreementArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceLicenseTextLink
Declaration
public Output<string> LicenseTextLink { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Offer
The Offer of the Marketplace Image. Changing this forces a new resource to be created.
Declaration
public Output<string> Offer { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Plan
The Plan of the Marketplace Image. Changing this forces a new resource to be created.
Declaration
public Output<string> Plan { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrivacyPolicyLink
Declaration
public Output<string> PrivacyPolicyLink { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Publisher
The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
Declaration
public Output<string> Publisher { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, AgreementState, CustomResourceOptions)
Get an existing Agreement resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Agreement Get(string name, Input<string> id, AgreementState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| AgreementState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Agreement |