azurestaticwebsite

package
v0.0.4-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package azure-static-website exports types, functions, subpackages for provisioning azure-static-website resources.

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
}

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 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) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

type Website

type Website struct {
	pulumi.ResourceState

	// Blah.
	CdnURL pulumi.StringPtrOutput `pulumi:"cdnURL"`
	// Fixme.
	CustomDomainURL pulumi.StringPtrOutput `pulumi:"customDomainURL"`
	// Blah
	OriginURL pulumi.StringOutput `pulumi:"originURL"`
	// Blah
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

func NewWebsite

func NewWebsite(ctx *pulumi.Context,
	name string, args *WebsiteArgs, opts ...pulumi.ResourceOption) (*Website, error)

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

func (*Website) ElementType

func (*Website) ElementType() reflect.Type

func (*Website) ToWebsiteOutput

func (i *Website) ToWebsiteOutput() WebsiteOutput

func (*Website) ToWebsiteOutputWithContext

func (i *Website) ToWebsiteOutputWithContext(ctx context.Context) WebsiteOutput

type WebsiteArgs

type WebsiteArgs struct {
	// default 404 page
	ErrorDocument pulumi.StringPtrInput
	// The default document for the site. Defaults to index.html
	IndexDocument pulumi.StringPtrInput
	// The root directory containing the website's contents.
	SitePath pulumi.StringInput
	// Provision CloudFront CDN to serve content.
	WithCDN pulumi.BoolPtrInput
}

The set of arguments for constructing a Website resource.

func (WebsiteArgs) ElementType

func (WebsiteArgs) ElementType() reflect.Type

type WebsiteArray

type WebsiteArray []WebsiteInput

func (WebsiteArray) ElementType

func (WebsiteArray) ElementType() reflect.Type

func (WebsiteArray) ToWebsiteArrayOutput

func (i WebsiteArray) ToWebsiteArrayOutput() WebsiteArrayOutput

func (WebsiteArray) ToWebsiteArrayOutputWithContext

func (i WebsiteArray) ToWebsiteArrayOutputWithContext(ctx context.Context) WebsiteArrayOutput

type WebsiteArrayInput

type WebsiteArrayInput interface {
	pulumi.Input

	ToWebsiteArrayOutput() WebsiteArrayOutput
	ToWebsiteArrayOutputWithContext(context.Context) WebsiteArrayOutput
}

WebsiteArrayInput is an input type that accepts WebsiteArray and WebsiteArrayOutput values. You can construct a concrete instance of `WebsiteArrayInput` via:

WebsiteArray{ WebsiteArgs{...} }

type WebsiteArrayOutput

type WebsiteArrayOutput struct{ *pulumi.OutputState }

func (WebsiteArrayOutput) ElementType

func (WebsiteArrayOutput) ElementType() reflect.Type

func (WebsiteArrayOutput) Index

func (WebsiteArrayOutput) ToWebsiteArrayOutput

func (o WebsiteArrayOutput) ToWebsiteArrayOutput() WebsiteArrayOutput

func (WebsiteArrayOutput) ToWebsiteArrayOutputWithContext

func (o WebsiteArrayOutput) ToWebsiteArrayOutputWithContext(ctx context.Context) WebsiteArrayOutput

type WebsiteInput

type WebsiteInput interface {
	pulumi.Input

	ToWebsiteOutput() WebsiteOutput
	ToWebsiteOutputWithContext(ctx context.Context) WebsiteOutput
}

type WebsiteMap

type WebsiteMap map[string]WebsiteInput

func (WebsiteMap) ElementType

func (WebsiteMap) ElementType() reflect.Type

func (WebsiteMap) ToWebsiteMapOutput

func (i WebsiteMap) ToWebsiteMapOutput() WebsiteMapOutput

func (WebsiteMap) ToWebsiteMapOutputWithContext

func (i WebsiteMap) ToWebsiteMapOutputWithContext(ctx context.Context) WebsiteMapOutput

type WebsiteMapInput

type WebsiteMapInput interface {
	pulumi.Input

	ToWebsiteMapOutput() WebsiteMapOutput
	ToWebsiteMapOutputWithContext(context.Context) WebsiteMapOutput
}

WebsiteMapInput is an input type that accepts WebsiteMap and WebsiteMapOutput values. You can construct a concrete instance of `WebsiteMapInput` via:

WebsiteMap{ "key": WebsiteArgs{...} }

type WebsiteMapOutput

type WebsiteMapOutput struct{ *pulumi.OutputState }

func (WebsiteMapOutput) ElementType

func (WebsiteMapOutput) ElementType() reflect.Type

func (WebsiteMapOutput) MapIndex

func (WebsiteMapOutput) ToWebsiteMapOutput

func (o WebsiteMapOutput) ToWebsiteMapOutput() WebsiteMapOutput

func (WebsiteMapOutput) ToWebsiteMapOutputWithContext

func (o WebsiteMapOutput) ToWebsiteMapOutputWithContext(ctx context.Context) WebsiteMapOutput

type WebsiteOutput

type WebsiteOutput struct{ *pulumi.OutputState }

func (WebsiteOutput) ElementType

func (WebsiteOutput) ElementType() reflect.Type

func (WebsiteOutput) ToWebsiteOutput

func (o WebsiteOutput) ToWebsiteOutput() WebsiteOutput

func (WebsiteOutput) ToWebsiteOutputWithContext

func (o WebsiteOutput) ToWebsiteOutputWithContext(ctx context.Context) WebsiteOutput

Jump to

Keyboard shortcuts

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