marketplace

package
v3.55.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agreement

type Agreement struct {
	pulumi.CustomResourceState

	LicenseTextLink pulumi.StringOutput `pulumi:"licenseTextLink"`
	// The Offer of the Marketplace Image. Changing this forces a new resource to be created.
	Offer pulumi.StringOutput `pulumi:"offer"`
	// The Plan of the Marketplace Image. Changing this forces a new resource to be created.
	Plan              pulumi.StringOutput `pulumi:"plan"`
	PrivacyPolicyLink pulumi.StringOutput `pulumi:"privacyPolicyLink"`
	// The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
	Publisher pulumi.StringOutput `pulumi:"publisher"`
}

Allows accepting the Legal Terms for a Marketplace Image.

## Example Usage

```go 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

Marketplace Agreement can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:marketplace/agreement:Agreement example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.MarketplaceOrdering/agreements/publisher1/offers/offer1/plans/plan1

```

func GetAgreement

func GetAgreement(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AgreementState, opts ...pulumi.ResourceOption) (*Agreement, error)

GetAgreement gets an existing Agreement resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAgreement

func NewAgreement(ctx *pulumi.Context,
	name string, args *AgreementArgs, opts ...pulumi.ResourceOption) (*Agreement, error)

NewAgreement registers a new resource with the given unique name, arguments, and options.

func (*Agreement) ElementType added in v3.31.1

func (*Agreement) ElementType() reflect.Type

func (*Agreement) ToAgreementOutput added in v3.31.1

func (i *Agreement) ToAgreementOutput() AgreementOutput

func (*Agreement) ToAgreementOutputWithContext added in v3.31.1

func (i *Agreement) ToAgreementOutputWithContext(ctx context.Context) AgreementOutput

func (*Agreement) ToAgreementPtrOutput added in v3.47.1

func (i *Agreement) ToAgreementPtrOutput() AgreementPtrOutput

func (*Agreement) ToAgreementPtrOutputWithContext added in v3.47.1

func (i *Agreement) ToAgreementPtrOutputWithContext(ctx context.Context) AgreementPtrOutput

type AgreementArgs

type AgreementArgs struct {
	// The Offer of the Marketplace Image. Changing this forces a new resource to be created.
	Offer pulumi.StringInput
	// The Plan of the Marketplace Image. Changing this forces a new resource to be created.
	Plan pulumi.StringInput
	// The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
	Publisher pulumi.StringInput
}

The set of arguments for constructing a Agreement resource.

func (AgreementArgs) ElementType

func (AgreementArgs) ElementType() reflect.Type

type AgreementArray added in v3.47.1

type AgreementArray []AgreementInput

func (AgreementArray) ElementType added in v3.47.1

func (AgreementArray) ElementType() reflect.Type

func (AgreementArray) ToAgreementArrayOutput added in v3.47.1

func (i AgreementArray) ToAgreementArrayOutput() AgreementArrayOutput

func (AgreementArray) ToAgreementArrayOutputWithContext added in v3.47.1

func (i AgreementArray) ToAgreementArrayOutputWithContext(ctx context.Context) AgreementArrayOutput

type AgreementArrayInput added in v3.47.1

type AgreementArrayInput interface {
	pulumi.Input

	ToAgreementArrayOutput() AgreementArrayOutput
	ToAgreementArrayOutputWithContext(context.Context) AgreementArrayOutput
}

AgreementArrayInput is an input type that accepts AgreementArray and AgreementArrayOutput values. You can construct a concrete instance of `AgreementArrayInput` via:

AgreementArray{ AgreementArgs{...} }

type AgreementArrayOutput added in v3.47.1

type AgreementArrayOutput struct{ *pulumi.OutputState }

func (AgreementArrayOutput) ElementType added in v3.47.1

func (AgreementArrayOutput) ElementType() reflect.Type

func (AgreementArrayOutput) Index added in v3.47.1

func (AgreementArrayOutput) ToAgreementArrayOutput added in v3.47.1

func (o AgreementArrayOutput) ToAgreementArrayOutput() AgreementArrayOutput

func (AgreementArrayOutput) ToAgreementArrayOutputWithContext added in v3.47.1

func (o AgreementArrayOutput) ToAgreementArrayOutputWithContext(ctx context.Context) AgreementArrayOutput

type AgreementInput added in v3.31.1

type AgreementInput interface {
	pulumi.Input

	ToAgreementOutput() AgreementOutput
	ToAgreementOutputWithContext(ctx context.Context) AgreementOutput
}

type AgreementMap added in v3.47.1

type AgreementMap map[string]AgreementInput

func (AgreementMap) ElementType added in v3.47.1

func (AgreementMap) ElementType() reflect.Type

func (AgreementMap) ToAgreementMapOutput added in v3.47.1

func (i AgreementMap) ToAgreementMapOutput() AgreementMapOutput

func (AgreementMap) ToAgreementMapOutputWithContext added in v3.47.1

func (i AgreementMap) ToAgreementMapOutputWithContext(ctx context.Context) AgreementMapOutput

type AgreementMapInput added in v3.47.1

type AgreementMapInput interface {
	pulumi.Input

	ToAgreementMapOutput() AgreementMapOutput
	ToAgreementMapOutputWithContext(context.Context) AgreementMapOutput
}

AgreementMapInput is an input type that accepts AgreementMap and AgreementMapOutput values. You can construct a concrete instance of `AgreementMapInput` via:

AgreementMap{ "key": AgreementArgs{...} }

type AgreementMapOutput added in v3.47.1

type AgreementMapOutput struct{ *pulumi.OutputState }

func (AgreementMapOutput) ElementType added in v3.47.1

func (AgreementMapOutput) ElementType() reflect.Type

func (AgreementMapOutput) MapIndex added in v3.47.1

func (AgreementMapOutput) ToAgreementMapOutput added in v3.47.1

func (o AgreementMapOutput) ToAgreementMapOutput() AgreementMapOutput

func (AgreementMapOutput) ToAgreementMapOutputWithContext added in v3.47.1

func (o AgreementMapOutput) ToAgreementMapOutputWithContext(ctx context.Context) AgreementMapOutput

type AgreementOutput added in v3.31.1

type AgreementOutput struct {
	*pulumi.OutputState
}

func (AgreementOutput) ElementType added in v3.31.1

func (AgreementOutput) ElementType() reflect.Type

func (AgreementOutput) ToAgreementOutput added in v3.31.1

func (o AgreementOutput) ToAgreementOutput() AgreementOutput

func (AgreementOutput) ToAgreementOutputWithContext added in v3.31.1

func (o AgreementOutput) ToAgreementOutputWithContext(ctx context.Context) AgreementOutput

func (AgreementOutput) ToAgreementPtrOutput added in v3.47.1

func (o AgreementOutput) ToAgreementPtrOutput() AgreementPtrOutput

func (AgreementOutput) ToAgreementPtrOutputWithContext added in v3.47.1

func (o AgreementOutput) ToAgreementPtrOutputWithContext(ctx context.Context) AgreementPtrOutput

type AgreementPtrInput added in v3.47.1

type AgreementPtrInput interface {
	pulumi.Input

	ToAgreementPtrOutput() AgreementPtrOutput
	ToAgreementPtrOutputWithContext(ctx context.Context) AgreementPtrOutput
}

type AgreementPtrOutput added in v3.47.1

type AgreementPtrOutput struct {
	*pulumi.OutputState
}

func (AgreementPtrOutput) ElementType added in v3.47.1

func (AgreementPtrOutput) ElementType() reflect.Type

func (AgreementPtrOutput) ToAgreementPtrOutput added in v3.47.1

func (o AgreementPtrOutput) ToAgreementPtrOutput() AgreementPtrOutput

func (AgreementPtrOutput) ToAgreementPtrOutputWithContext added in v3.47.1

func (o AgreementPtrOutput) ToAgreementPtrOutputWithContext(ctx context.Context) AgreementPtrOutput

type AgreementState

type AgreementState struct {
	LicenseTextLink pulumi.StringPtrInput
	// The Offer of the Marketplace Image. Changing this forces a new resource to be created.
	Offer pulumi.StringPtrInput
	// The Plan of the Marketplace Image. Changing this forces a new resource to be created.
	Plan              pulumi.StringPtrInput
	PrivacyPolicyLink pulumi.StringPtrInput
	// The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
	Publisher pulumi.StringPtrInput
}

func (AgreementState) ElementType

func (AgreementState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL