marketplace

package
v5.74.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 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/v5/go/azure/marketplace"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := marketplace.NewAgreement(ctx, "barracuda", &marketplace.AgreementArgs{
			Publisher: pulumi.String("barracudanetworks"),
			Offer:     pulumi.String("waf"),
			Plan:      pulumi.String("hourly"),
		})
		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

func (*Agreement) ElementType() reflect.Type

func (*Agreement) ToAgreementOutput

func (i *Agreement) ToAgreementOutput() AgreementOutput

func (*Agreement) ToAgreementOutputWithContext

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

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

type AgreementArray []AgreementInput

func (AgreementArray) ElementType

func (AgreementArray) ElementType() reflect.Type

func (AgreementArray) ToAgreementArrayOutput

func (i AgreementArray) ToAgreementArrayOutput() AgreementArrayOutput

func (AgreementArray) ToAgreementArrayOutputWithContext

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

type AgreementArrayInput

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

type AgreementArrayOutput struct{ *pulumi.OutputState }

func (AgreementArrayOutput) ElementType

func (AgreementArrayOutput) ElementType() reflect.Type

func (AgreementArrayOutput) Index

func (AgreementArrayOutput) ToAgreementArrayOutput

func (o AgreementArrayOutput) ToAgreementArrayOutput() AgreementArrayOutput

func (AgreementArrayOutput) ToAgreementArrayOutputWithContext

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

type AgreementInput

type AgreementInput interface {
	pulumi.Input

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

type AgreementMap

type AgreementMap map[string]AgreementInput

func (AgreementMap) ElementType

func (AgreementMap) ElementType() reflect.Type

func (AgreementMap) ToAgreementMapOutput

func (i AgreementMap) ToAgreementMapOutput() AgreementMapOutput

func (AgreementMap) ToAgreementMapOutputWithContext

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

type AgreementMapInput

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

type AgreementMapOutput struct{ *pulumi.OutputState }

func (AgreementMapOutput) ElementType

func (AgreementMapOutput) ElementType() reflect.Type

func (AgreementMapOutput) MapIndex

func (AgreementMapOutput) ToAgreementMapOutput

func (o AgreementMapOutput) ToAgreementMapOutput() AgreementMapOutput

func (AgreementMapOutput) ToAgreementMapOutputWithContext

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

type AgreementOutput

type AgreementOutput struct{ *pulumi.OutputState }

func (AgreementOutput) ElementType

func (AgreementOutput) ElementType() reflect.Type
func (o AgreementOutput) LicenseTextLink() pulumi.StringOutput

func (AgreementOutput) Offer added in v5.5.0

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

func (AgreementOutput) Plan added in v5.5.0

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

func (o AgreementOutput) PrivacyPolicyLink() pulumi.StringOutput

func (AgreementOutput) Publisher added in v5.5.0

func (o AgreementOutput) Publisher() pulumi.StringOutput

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

func (AgreementOutput) ToAgreementOutput

func (o AgreementOutput) ToAgreementOutput() AgreementOutput

func (AgreementOutput) ToAgreementOutputWithContext

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

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

type LookupAgreementArgs added in v5.30.0

type LookupAgreementArgs struct {
	// The Offer of the Marketplace Image.
	Offer string `pulumi:"offer"`
	// The Plan of the Marketplace Image.
	Plan string `pulumi:"plan"`
	// The Publisher of the Marketplace Image.
	Publisher string `pulumi:"publisher"`
}

A collection of arguments for invoking getAgreement.

type LookupAgreementOutputArgs added in v5.30.0

type LookupAgreementOutputArgs struct {
	// The Offer of the Marketplace Image.
	Offer pulumi.StringInput `pulumi:"offer"`
	// The Plan of the Marketplace Image.
	Plan pulumi.StringInput `pulumi:"plan"`
	// The Publisher of the Marketplace Image.
	Publisher pulumi.StringInput `pulumi:"publisher"`
}

A collection of arguments for invoking getAgreement.

func (LookupAgreementOutputArgs) ElementType added in v5.30.0

func (LookupAgreementOutputArgs) ElementType() reflect.Type

type LookupAgreementResult added in v5.30.0

type LookupAgreementResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id                string `pulumi:"id"`
	LicenseTextLink   string `pulumi:"licenseTextLink"`
	Offer             string `pulumi:"offer"`
	Plan              string `pulumi:"plan"`
	PrivacyPolicyLink string `pulumi:"privacyPolicyLink"`
	Publisher         string `pulumi:"publisher"`
}

A collection of values returned by getAgreement.

func LookupAgreement added in v5.30.0

func LookupAgreement(ctx *pulumi.Context, args *LookupAgreementArgs, opts ...pulumi.InvokeOption) (*LookupAgreementResult, error)

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/marketplace"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := marketplace.LookupAgreement(ctx, &marketplace.LookupAgreementArgs{
			Publisher: "barracudanetworks",
			Offer:     "waf",
			Plan:      "hourly",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("azurermMarketplaceAgreementId", id)
		return nil
	})
}

```

type LookupAgreementResultOutput added in v5.30.0

type LookupAgreementResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAgreement.

func LookupAgreementOutput added in v5.30.0

func (LookupAgreementResultOutput) ElementType added in v5.30.0

func (LookupAgreementResultOutput) Id added in v5.30.0

The provider-assigned unique ID for this managed resource.

func (o LookupAgreementResultOutput) LicenseTextLink() pulumi.StringOutput

func (LookupAgreementResultOutput) Offer added in v5.30.0

func (LookupAgreementResultOutput) Plan added in v5.30.0

func (o LookupAgreementResultOutput) PrivacyPolicyLink() pulumi.StringOutput

func (LookupAgreementResultOutput) Publisher added in v5.30.0

func (LookupAgreementResultOutput) ToLookupAgreementResultOutput added in v5.30.0

func (o LookupAgreementResultOutput) ToLookupAgreementResultOutput() LookupAgreementResultOutput

func (LookupAgreementResultOutput) ToLookupAgreementResultOutputWithContext added in v5.30.0

func (o LookupAgreementResultOutput) ToLookupAgreementResultOutputWithContext(ctx context.Context) LookupAgreementResultOutput

type RoleAssignment added in v5.47.0

type RoleAssignment struct {
	pulumi.CustomResourceState

	Condition                          pulumi.StringPtrOutput `pulumi:"condition"`
	ConditionVersion                   pulumi.StringPtrOutput `pulumi:"conditionVersion"`
	DelegatedManagedIdentityResourceId pulumi.StringPtrOutput `pulumi:"delegatedManagedIdentityResourceId"`
	Description                        pulumi.StringPtrOutput `pulumi:"description"`
	Name                               pulumi.StringOutput    `pulumi:"name"`
	PrincipalId                        pulumi.StringOutput    `pulumi:"principalId"`
	PrincipalType                      pulumi.StringOutput    `pulumi:"principalType"`
	RoleDefinitionId                   pulumi.StringPtrOutput `pulumi:"roleDefinitionId"`
	RoleDefinitionName                 pulumi.StringPtrOutput `pulumi:"roleDefinitionName"`
	SkipServicePrincipalAadCheck       pulumi.BoolPtrOutput   `pulumi:"skipServicePrincipalAadCheck"`
}

func GetRoleAssignment added in v5.47.0

func GetRoleAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleAssignmentState, opts ...pulumi.ResourceOption) (*RoleAssignment, error)

GetRoleAssignment gets an existing RoleAssignment 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 NewRoleAssignment added in v5.47.0

func NewRoleAssignment(ctx *pulumi.Context,
	name string, args *RoleAssignmentArgs, opts ...pulumi.ResourceOption) (*RoleAssignment, error)

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

func (*RoleAssignment) ElementType added in v5.47.0

func (*RoleAssignment) ElementType() reflect.Type

func (*RoleAssignment) ToRoleAssignmentOutput added in v5.47.0

func (i *RoleAssignment) ToRoleAssignmentOutput() RoleAssignmentOutput

func (*RoleAssignment) ToRoleAssignmentOutputWithContext added in v5.47.0

func (i *RoleAssignment) ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput

type RoleAssignmentArgs added in v5.47.0

type RoleAssignmentArgs struct {
	Condition                          pulumi.StringPtrInput
	ConditionVersion                   pulumi.StringPtrInput
	DelegatedManagedIdentityResourceId pulumi.StringPtrInput
	Description                        pulumi.StringPtrInput
	Name                               pulumi.StringPtrInput
	PrincipalId                        pulumi.StringInput
	RoleDefinitionId                   pulumi.StringPtrInput
	RoleDefinitionName                 pulumi.StringPtrInput
	SkipServicePrincipalAadCheck       pulumi.BoolPtrInput
}

The set of arguments for constructing a RoleAssignment resource.

func (RoleAssignmentArgs) ElementType added in v5.47.0

func (RoleAssignmentArgs) ElementType() reflect.Type

type RoleAssignmentArray added in v5.47.0

type RoleAssignmentArray []RoleAssignmentInput

func (RoleAssignmentArray) ElementType added in v5.47.0

func (RoleAssignmentArray) ElementType() reflect.Type

func (RoleAssignmentArray) ToRoleAssignmentArrayOutput added in v5.47.0

func (i RoleAssignmentArray) ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput

func (RoleAssignmentArray) ToRoleAssignmentArrayOutputWithContext added in v5.47.0

func (i RoleAssignmentArray) ToRoleAssignmentArrayOutputWithContext(ctx context.Context) RoleAssignmentArrayOutput

type RoleAssignmentArrayInput added in v5.47.0

type RoleAssignmentArrayInput interface {
	pulumi.Input

	ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput
	ToRoleAssignmentArrayOutputWithContext(context.Context) RoleAssignmentArrayOutput
}

RoleAssignmentArrayInput is an input type that accepts RoleAssignmentArray and RoleAssignmentArrayOutput values. You can construct a concrete instance of `RoleAssignmentArrayInput` via:

RoleAssignmentArray{ RoleAssignmentArgs{...} }

type RoleAssignmentArrayOutput added in v5.47.0

type RoleAssignmentArrayOutput struct{ *pulumi.OutputState }

func (RoleAssignmentArrayOutput) ElementType added in v5.47.0

func (RoleAssignmentArrayOutput) ElementType() reflect.Type

func (RoleAssignmentArrayOutput) Index added in v5.47.0

func (RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutput added in v5.47.0

func (o RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput

func (RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutputWithContext added in v5.47.0

func (o RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutputWithContext(ctx context.Context) RoleAssignmentArrayOutput

type RoleAssignmentInput added in v5.47.0

type RoleAssignmentInput interface {
	pulumi.Input

	ToRoleAssignmentOutput() RoleAssignmentOutput
	ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput
}

type RoleAssignmentMap added in v5.47.0

type RoleAssignmentMap map[string]RoleAssignmentInput

func (RoleAssignmentMap) ElementType added in v5.47.0

func (RoleAssignmentMap) ElementType() reflect.Type

func (RoleAssignmentMap) ToRoleAssignmentMapOutput added in v5.47.0

func (i RoleAssignmentMap) ToRoleAssignmentMapOutput() RoleAssignmentMapOutput

func (RoleAssignmentMap) ToRoleAssignmentMapOutputWithContext added in v5.47.0

func (i RoleAssignmentMap) ToRoleAssignmentMapOutputWithContext(ctx context.Context) RoleAssignmentMapOutput

type RoleAssignmentMapInput added in v5.47.0

type RoleAssignmentMapInput interface {
	pulumi.Input

	ToRoleAssignmentMapOutput() RoleAssignmentMapOutput
	ToRoleAssignmentMapOutputWithContext(context.Context) RoleAssignmentMapOutput
}

RoleAssignmentMapInput is an input type that accepts RoleAssignmentMap and RoleAssignmentMapOutput values. You can construct a concrete instance of `RoleAssignmentMapInput` via:

RoleAssignmentMap{ "key": RoleAssignmentArgs{...} }

type RoleAssignmentMapOutput added in v5.47.0

type RoleAssignmentMapOutput struct{ *pulumi.OutputState }

func (RoleAssignmentMapOutput) ElementType added in v5.47.0

func (RoleAssignmentMapOutput) ElementType() reflect.Type

func (RoleAssignmentMapOutput) MapIndex added in v5.47.0

func (RoleAssignmentMapOutput) ToRoleAssignmentMapOutput added in v5.47.0

func (o RoleAssignmentMapOutput) ToRoleAssignmentMapOutput() RoleAssignmentMapOutput

func (RoleAssignmentMapOutput) ToRoleAssignmentMapOutputWithContext added in v5.47.0

func (o RoleAssignmentMapOutput) ToRoleAssignmentMapOutputWithContext(ctx context.Context) RoleAssignmentMapOutput

type RoleAssignmentOutput added in v5.47.0

type RoleAssignmentOutput struct{ *pulumi.OutputState }

func (RoleAssignmentOutput) Condition added in v5.47.0

func (RoleAssignmentOutput) ConditionVersion added in v5.47.0

func (o RoleAssignmentOutput) ConditionVersion() pulumi.StringPtrOutput

func (RoleAssignmentOutput) DelegatedManagedIdentityResourceId added in v5.47.0

func (o RoleAssignmentOutput) DelegatedManagedIdentityResourceId() pulumi.StringPtrOutput

func (RoleAssignmentOutput) Description added in v5.47.0

func (RoleAssignmentOutput) ElementType added in v5.47.0

func (RoleAssignmentOutput) ElementType() reflect.Type

func (RoleAssignmentOutput) Name added in v5.47.0

func (RoleAssignmentOutput) PrincipalId added in v5.47.0

func (o RoleAssignmentOutput) PrincipalId() pulumi.StringOutput

func (RoleAssignmentOutput) PrincipalType added in v5.47.0

func (o RoleAssignmentOutput) PrincipalType() pulumi.StringOutput

func (RoleAssignmentOutput) RoleDefinitionId added in v5.47.0

func (o RoleAssignmentOutput) RoleDefinitionId() pulumi.StringPtrOutput

func (RoleAssignmentOutput) RoleDefinitionName added in v5.47.0

func (o RoleAssignmentOutput) RoleDefinitionName() pulumi.StringPtrOutput

func (RoleAssignmentOutput) SkipServicePrincipalAadCheck added in v5.47.0

func (o RoleAssignmentOutput) SkipServicePrincipalAadCheck() pulumi.BoolPtrOutput

func (RoleAssignmentOutput) ToRoleAssignmentOutput added in v5.47.0

func (o RoleAssignmentOutput) ToRoleAssignmentOutput() RoleAssignmentOutput

func (RoleAssignmentOutput) ToRoleAssignmentOutputWithContext added in v5.47.0

func (o RoleAssignmentOutput) ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput

type RoleAssignmentState added in v5.47.0

type RoleAssignmentState struct {
	Condition                          pulumi.StringPtrInput
	ConditionVersion                   pulumi.StringPtrInput
	DelegatedManagedIdentityResourceId pulumi.StringPtrInput
	Description                        pulumi.StringPtrInput
	Name                               pulumi.StringPtrInput
	PrincipalId                        pulumi.StringPtrInput
	PrincipalType                      pulumi.StringPtrInput
	RoleDefinitionId                   pulumi.StringPtrInput
	RoleDefinitionName                 pulumi.StringPtrInput
	SkipServicePrincipalAadCheck       pulumi.BoolPtrInput
}

func (RoleAssignmentState) ElementType added in v5.47.0

func (RoleAssignmentState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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