vra

package
v0.0.0-...-81f5abf Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The access token for API operations.
	AccessToken pulumi.StringPtrOutput `pulumi:"accessToken"`
	// Specify timeout for how often to reauthorize the access token
	ReauthorizeTimeout pulumi.StringPtrOutput `pulumi:"reauthorizeTimeout"`
	// The refresh token for API operations.
	RefreshToken pulumi.StringPtrOutput `pulumi:"refreshToken"`
	// The base url for API operations.
	Url pulumi.StringPtrOutput `pulumi:"url"`
}

The provider type for the vra package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

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.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The access token for API operations.
	AccessToken pulumi.StringPtrInput
	// Specify whether to validate TLS certificates.
	Insecure pulumi.BoolPtrInput
	// Specify timeout for how often to reauthorize the access token
	ReauthorizeTimeout pulumi.StringPtrInput
	// The refresh token for API operations.
	RefreshToken pulumi.StringPtrInput
	// The base url for API operations.
	Url pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) AccessToken

func (o ProviderOutput) AccessToken() pulumi.StringPtrOutput

The access token for API operations.

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ReauthorizeTimeout

func (o ProviderOutput) ReauthorizeTimeout() pulumi.StringPtrOutput

Specify timeout for how often to reauthorize the access token

func (ProviderOutput) RefreshToken

func (o ProviderOutput) RefreshToken() pulumi.StringPtrOutput

The refresh token for API operations.

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

func (ProviderOutput) Url

The base url for API operations.

Jump to

Keyboard shortcuts

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