base

package
v0.0.0-...-61a8510 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

base provider template

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// Id of account created
	AccountId pulumix.Output[string] `pulumi:"accountId"`
	// Environment of account
	Environment pulumix.Output[string] `pulumi:"environment"`
	// Name of account created
	Name pulumix.Output[string] `pulumi:"name"`
}

Account to define

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)

GetAccount gets an existing Account 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 NewAccount

func NewAccount(ctx *pulumi.Context,
	name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)

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

type AccountArgs

type AccountArgs struct {
	// Name of account
	Name pulumix.Input[*string]
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountOutput

type AccountOutput struct{ *pulumi.OutputState }

func (AccountOutput) AccountId

func (o AccountOutput) AccountId() pulumix.Output[string]

Id of account created

func (AccountOutput) ElementType

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) Environment

func (o AccountOutput) Environment() pulumix.Output[string]

Environment of account

func (AccountOutput) Name

func (o AccountOutput) Name() pulumix.Output[string]

Name of account created

func (AccountOutput) ToAccountOutput

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext

func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput

func (AccountOutput) ToOutput

type AccountState

type AccountState struct {
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type LookupAccountArgs

type LookupAccountArgs struct {
	// Name of the Account
	AccountName string `pulumi:"accountName"`
}

type LookupAccountOutputArgs

type LookupAccountOutputArgs struct {
	// Name of the Account
	AccountName pulumix.Input[string] `pulumi:"accountName"`
}

func (LookupAccountOutputArgs) ToOutput

type LookupAccountResult

type LookupAccountResult struct {
	// Id of account created
	AccountId string `pulumi:"accountId"`
	// Environment of account
	Environment string `pulumi:"environment"`
	// Name of account created
	Name string `pulumi:"name"`
}

func LookupAccount

func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)

GetOrganization gets the Organization information

type LookupAccountResultOutput

type LookupAccountResultOutput struct{ *pulumi.OutputState }

func (LookupAccountResultOutput) AccountId

func (LookupAccountResultOutput) ElementType

func (LookupAccountResultOutput) ElementType() reflect.Type

func (LookupAccountResultOutput) Environment

func (LookupAccountResultOutput) Name

func (LookupAccountResultOutput) ToOutput

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// Your access token
	AccessToken pulumix.Output[string] `pulumi:"accessToken"`
	// Environment
	Environment pulumix.Output[*string] `pulumi:"environment"`
}

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

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

type ProviderArgs

type ProviderArgs struct {
	// Your access token
	AccessToken pulumix.Input[string]
	// Environment
	Environment pulumix.Input[*string]
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) AccessToken

func (o ProviderOutput) AccessToken() pulumix.Output[string]

Your access token

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Environment

func (o ProviderOutput) Environment() pulumix.Output[*string]

Environment

func (ProviderOutput) ToOutput

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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