azurejustrun

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Overview

Provides some simple components to run azure apps

Index

Constants

View Source
const (
	PublicAccessContainer = PublicAccess("Container")
	PublicAccessBlob      = PublicAccess("Blob")
	PublicAccessNone      = PublicAccess("None")
)
View Source
const (
	StorageSkuName_Standard_LRS    = StorageSkuName("Standard_LRS")
	StorageSkuName_Standard_GRS    = StorageSkuName("Standard_GRS")
	StorageSkuName_Standard_RAGRS  = StorageSkuName("Standard_RAGRS")
	StorageSkuName_Standard_ZRS    = StorageSkuName("Standard_ZRS")
	StorageSkuName_Premium_LRS     = StorageSkuName("Premium_LRS")
	StorageSkuName_Premium_ZRS     = StorageSkuName("Premium_ZRS")
	StorageSkuName_Standard_GZRS   = StorageSkuName("Standard_GZRS")
	StorageSkuName_Standard_RAGZRS = StorageSkuName("Standard_RAGZRS")
)

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 Containerapp

type Containerapp struct {
	pulumi.ResourceState

	// The URL of the container app
	Url pulumi.StringPtrOutput `pulumi:"url"`
}

This represents a container app component resource

func NewContainerapp

func NewContainerapp(ctx *pulumi.Context,
	name string, args *ContainerappArgs, opts ...pulumi.ResourceOption) (*Containerapp, error)

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

func (*Containerapp) ElementType

func (*Containerapp) ElementType() reflect.Type

func (*Containerapp) ToContainerappOutput

func (i *Containerapp) ToContainerappOutput() ContainerappOutput

func (*Containerapp) ToContainerappOutputWithContext

func (i *Containerapp) ToContainerappOutputWithContext(ctx context.Context) ContainerappOutput

type ContainerappArgs

type ContainerappArgs struct {
	// The name of the docker image. One will be created if not provided
	DockerImageName pulumi.StringPtrInput
	// The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
	ImageDirectory pulumi.StringPtrInput
	// The name prefix given to child resources of this component. Should not contain dashes.
	NamePrefix pulumi.StringPtrInput
	// The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
	RegistryName pulumi.StringPtrInput
	// The resource group to use. One will be created if not provided.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the storage account to use. One will be created if not provided.
	StorageAccountName pulumi.StringPtrInput
	// The version of the created docker image
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a Containerapp resource.

func (ContainerappArgs) ElementType

func (ContainerappArgs) ElementType() reflect.Type

type ContainerappArray

type ContainerappArray []ContainerappInput

func (ContainerappArray) ElementType

func (ContainerappArray) ElementType() reflect.Type

func (ContainerappArray) ToContainerappArrayOutput

func (i ContainerappArray) ToContainerappArrayOutput() ContainerappArrayOutput

func (ContainerappArray) ToContainerappArrayOutputWithContext

func (i ContainerappArray) ToContainerappArrayOutputWithContext(ctx context.Context) ContainerappArrayOutput

type ContainerappArrayInput

type ContainerappArrayInput interface {
	pulumi.Input

	ToContainerappArrayOutput() ContainerappArrayOutput
	ToContainerappArrayOutputWithContext(context.Context) ContainerappArrayOutput
}

ContainerappArrayInput is an input type that accepts ContainerappArray and ContainerappArrayOutput values. You can construct a concrete instance of `ContainerappArrayInput` via:

ContainerappArray{ ContainerappArgs{...} }

type ContainerappArrayOutput

type ContainerappArrayOutput struct{ *pulumi.OutputState }

func (ContainerappArrayOutput) ElementType

func (ContainerappArrayOutput) ElementType() reflect.Type

func (ContainerappArrayOutput) Index

func (ContainerappArrayOutput) ToContainerappArrayOutput

func (o ContainerappArrayOutput) ToContainerappArrayOutput() ContainerappArrayOutput

func (ContainerappArrayOutput) ToContainerappArrayOutputWithContext

func (o ContainerappArrayOutput) ToContainerappArrayOutputWithContext(ctx context.Context) ContainerappArrayOutput

type ContainerappInput

type ContainerappInput interface {
	pulumi.Input

	ToContainerappOutput() ContainerappOutput
	ToContainerappOutputWithContext(ctx context.Context) ContainerappOutput
}

type ContainerappMap

type ContainerappMap map[string]ContainerappInput

func (ContainerappMap) ElementType

func (ContainerappMap) ElementType() reflect.Type

func (ContainerappMap) ToContainerappMapOutput

func (i ContainerappMap) ToContainerappMapOutput() ContainerappMapOutput

func (ContainerappMap) ToContainerappMapOutputWithContext

func (i ContainerappMap) ToContainerappMapOutputWithContext(ctx context.Context) ContainerappMapOutput

type ContainerappMapInput

type ContainerappMapInput interface {
	pulumi.Input

	ToContainerappMapOutput() ContainerappMapOutput
	ToContainerappMapOutputWithContext(context.Context) ContainerappMapOutput
}

ContainerappMapInput is an input type that accepts ContainerappMap and ContainerappMapOutput values. You can construct a concrete instance of `ContainerappMapInput` via:

ContainerappMap{ "key": ContainerappArgs{...} }

type ContainerappMapOutput

type ContainerappMapOutput struct{ *pulumi.OutputState }

func (ContainerappMapOutput) ElementType

func (ContainerappMapOutput) ElementType() reflect.Type

func (ContainerappMapOutput) MapIndex

func (ContainerappMapOutput) ToContainerappMapOutput

func (o ContainerappMapOutput) ToContainerappMapOutput() ContainerappMapOutput

func (ContainerappMapOutput) ToContainerappMapOutputWithContext

func (o ContainerappMapOutput) ToContainerappMapOutputWithContext(ctx context.Context) ContainerappMapOutput

type ContainerappOutput

type ContainerappOutput struct{ *pulumi.OutputState }

func (ContainerappOutput) ElementType

func (ContainerappOutput) ElementType() reflect.Type

func (ContainerappOutput) ToContainerappOutput

func (o ContainerappOutput) ToContainerappOutput() ContainerappOutput

func (ContainerappOutput) ToContainerappOutputWithContext

func (o ContainerappOutput) ToContainerappOutputWithContext(ctx context.Context) ContainerappOutput

func (ContainerappOutput) Url

The URL of the container app

type Emptytype

type Emptytype struct {
}

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 PublicAccess

type PublicAccess string

Specifies whether data in the container may be accessed publicly and the level of access.

func (PublicAccess) ElementType

func (PublicAccess) ElementType() reflect.Type

func (PublicAccess) ToPublicAccessOutput

func (e PublicAccess) ToPublicAccessOutput() PublicAccessOutput

func (PublicAccess) ToPublicAccessOutputWithContext

func (e PublicAccess) ToPublicAccessOutputWithContext(ctx context.Context) PublicAccessOutput

func (PublicAccess) ToPublicAccessPtrOutput

func (e PublicAccess) ToPublicAccessPtrOutput() PublicAccessPtrOutput

func (PublicAccess) ToPublicAccessPtrOutputWithContext

func (e PublicAccess) ToPublicAccessPtrOutputWithContext(ctx context.Context) PublicAccessPtrOutput

func (PublicAccess) ToStringOutput

func (e PublicAccess) ToStringOutput() pulumi.StringOutput

func (PublicAccess) ToStringOutputWithContext

func (e PublicAccess) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PublicAccess) ToStringPtrOutput

func (e PublicAccess) ToStringPtrOutput() pulumi.StringPtrOutput

func (PublicAccess) ToStringPtrOutputWithContext

func (e PublicAccess) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PublicAccessInput

type PublicAccessInput interface {
	pulumi.Input

	ToPublicAccessOutput() PublicAccessOutput
	ToPublicAccessOutputWithContext(context.Context) PublicAccessOutput
}

PublicAccessInput is an input type that accepts PublicAccessArgs and PublicAccessOutput values. You can construct a concrete instance of `PublicAccessInput` via:

PublicAccessArgs{...}

type PublicAccessOutput

type PublicAccessOutput struct{ *pulumi.OutputState }

func (PublicAccessOutput) ElementType

func (PublicAccessOutput) ElementType() reflect.Type

func (PublicAccessOutput) ToPublicAccessOutput

func (o PublicAccessOutput) ToPublicAccessOutput() PublicAccessOutput

func (PublicAccessOutput) ToPublicAccessOutputWithContext

func (o PublicAccessOutput) ToPublicAccessOutputWithContext(ctx context.Context) PublicAccessOutput

func (PublicAccessOutput) ToPublicAccessPtrOutput

func (o PublicAccessOutput) ToPublicAccessPtrOutput() PublicAccessPtrOutput

func (PublicAccessOutput) ToPublicAccessPtrOutputWithContext

func (o PublicAccessOutput) ToPublicAccessPtrOutputWithContext(ctx context.Context) PublicAccessPtrOutput

func (PublicAccessOutput) ToStringOutput

func (o PublicAccessOutput) ToStringOutput() pulumi.StringOutput

func (PublicAccessOutput) ToStringOutputWithContext

func (o PublicAccessOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PublicAccessOutput) ToStringPtrOutput

func (o PublicAccessOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (PublicAccessOutput) ToStringPtrOutputWithContext

func (o PublicAccessOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PublicAccessPtrInput

type PublicAccessPtrInput interface {
	pulumi.Input

	ToPublicAccessPtrOutput() PublicAccessPtrOutput
	ToPublicAccessPtrOutputWithContext(context.Context) PublicAccessPtrOutput
}

func PublicAccessPtr

func PublicAccessPtr(v string) PublicAccessPtrInput

type PublicAccessPtrOutput

type PublicAccessPtrOutput struct{ *pulumi.OutputState }

func (PublicAccessPtrOutput) Elem

func (PublicAccessPtrOutput) ElementType

func (PublicAccessPtrOutput) ElementType() reflect.Type

func (PublicAccessPtrOutput) ToPublicAccessPtrOutput

func (o PublicAccessPtrOutput) ToPublicAccessPtrOutput() PublicAccessPtrOutput

func (PublicAccessPtrOutput) ToPublicAccessPtrOutputWithContext

func (o PublicAccessPtrOutput) ToPublicAccessPtrOutputWithContext(ctx context.Context) PublicAccessPtrOutput

func (PublicAccessPtrOutput) ToStringPtrOutput

func (o PublicAccessPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (PublicAccessPtrOutput) ToStringPtrOutputWithContext

func (o PublicAccessPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type StorageSkuName

type StorageSkuName string

The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.

func (StorageSkuName) ElementType

func (StorageSkuName) ElementType() reflect.Type

func (StorageSkuName) ToStorageSkuNameOutput

func (e StorageSkuName) ToStorageSkuNameOutput() StorageSkuNameOutput

func (StorageSkuName) ToStorageSkuNameOutputWithContext

func (e StorageSkuName) ToStorageSkuNameOutputWithContext(ctx context.Context) StorageSkuNameOutput

func (StorageSkuName) ToStorageSkuNamePtrOutput

func (e StorageSkuName) ToStorageSkuNamePtrOutput() StorageSkuNamePtrOutput

func (StorageSkuName) ToStorageSkuNamePtrOutputWithContext

func (e StorageSkuName) ToStorageSkuNamePtrOutputWithContext(ctx context.Context) StorageSkuNamePtrOutput

func (StorageSkuName) ToStringOutput

func (e StorageSkuName) ToStringOutput() pulumi.StringOutput

func (StorageSkuName) ToStringOutputWithContext

func (e StorageSkuName) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (StorageSkuName) ToStringPtrOutput

func (e StorageSkuName) ToStringPtrOutput() pulumi.StringPtrOutput

func (StorageSkuName) ToStringPtrOutputWithContext

func (e StorageSkuName) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type StorageSkuNameInput

type StorageSkuNameInput interface {
	pulumi.Input

	ToStorageSkuNameOutput() StorageSkuNameOutput
	ToStorageSkuNameOutputWithContext(context.Context) StorageSkuNameOutput
}

StorageSkuNameInput is an input type that accepts StorageSkuNameArgs and StorageSkuNameOutput values. You can construct a concrete instance of `StorageSkuNameInput` via:

StorageSkuNameArgs{...}

type StorageSkuNameOutput

type StorageSkuNameOutput struct{ *pulumi.OutputState }

func (StorageSkuNameOutput) ElementType

func (StorageSkuNameOutput) ElementType() reflect.Type

func (StorageSkuNameOutput) ToStorageSkuNameOutput

func (o StorageSkuNameOutput) ToStorageSkuNameOutput() StorageSkuNameOutput

func (StorageSkuNameOutput) ToStorageSkuNameOutputWithContext

func (o StorageSkuNameOutput) ToStorageSkuNameOutputWithContext(ctx context.Context) StorageSkuNameOutput

func (StorageSkuNameOutput) ToStorageSkuNamePtrOutput

func (o StorageSkuNameOutput) ToStorageSkuNamePtrOutput() StorageSkuNamePtrOutput

func (StorageSkuNameOutput) ToStorageSkuNamePtrOutputWithContext

func (o StorageSkuNameOutput) ToStorageSkuNamePtrOutputWithContext(ctx context.Context) StorageSkuNamePtrOutput

func (StorageSkuNameOutput) ToStringOutput

func (o StorageSkuNameOutput) ToStringOutput() pulumi.StringOutput

func (StorageSkuNameOutput) ToStringOutputWithContext

func (o StorageSkuNameOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (StorageSkuNameOutput) ToStringPtrOutput

func (o StorageSkuNameOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (StorageSkuNameOutput) ToStringPtrOutputWithContext

func (o StorageSkuNameOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type StorageSkuNamePtrInput

type StorageSkuNamePtrInput interface {
	pulumi.Input

	ToStorageSkuNamePtrOutput() StorageSkuNamePtrOutput
	ToStorageSkuNamePtrOutputWithContext(context.Context) StorageSkuNamePtrOutput
}

func StorageSkuNamePtr

func StorageSkuNamePtr(v string) StorageSkuNamePtrInput

type StorageSkuNamePtrOutput

type StorageSkuNamePtrOutput struct{ *pulumi.OutputState }

func (StorageSkuNamePtrOutput) Elem

func (StorageSkuNamePtrOutput) ElementType

func (StorageSkuNamePtrOutput) ElementType() reflect.Type

func (StorageSkuNamePtrOutput) ToStorageSkuNamePtrOutput

func (o StorageSkuNamePtrOutput) ToStorageSkuNamePtrOutput() StorageSkuNamePtrOutput

func (StorageSkuNamePtrOutput) ToStorageSkuNamePtrOutputWithContext

func (o StorageSkuNamePtrOutput) ToStorageSkuNamePtrOutputWithContext(ctx context.Context) StorageSkuNamePtrOutput

func (StorageSkuNamePtrOutput) ToStringPtrOutput

func (o StorageSkuNamePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (StorageSkuNamePtrOutput) ToStringPtrOutputWithContext

func (o StorageSkuNamePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Webapp

type Webapp struct {
	pulumi.ResourceState

	// The URL of the web app
	Url pulumi.StringPtrOutput `pulumi:"url"`
}

This represents a web app component resource

func NewWebapp

func NewWebapp(ctx *pulumi.Context,
	name string, args *WebappArgs, opts ...pulumi.ResourceOption) (*Webapp, error)

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

func (*Webapp) ElementType

func (*Webapp) ElementType() reflect.Type

func (*Webapp) ToWebappOutput

func (i *Webapp) ToWebappOutput() WebappOutput

func (*Webapp) ToWebappOutputWithContext

func (i *Webapp) ToWebappOutputWithContext(ctx context.Context) WebappOutput

type WebappArgs

type WebappArgs struct {
	// The tier of the compute instance running the server. Also see appSkuName
	AppSkuName pulumi.StringPtrInput
	// The name of the compute instance running the server. Also see appSkuTier
	AppSkuTier pulumi.StringPtrInput
	// The public access level of the BlobContainer containg the website data.
	ContainerPublicAccess PublicAccessPtrInput
	// The relative file path to the folder containing web files.
	FilePath pulumi.StringPtrInput
	// The name prefix given to child resources of this component. Should not contain dashes.
	NamePrefix pulumi.StringPtrInput
	// The resource group to use. One will be created if not provided.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the storage account to use. One will be created if not provided.
	StorageAccountName pulumi.StringPtrInput
	// The SKU name of the storage account created, if storageAccount is not provided
	StorageSkuName StorageSkuNamePtrInput
}

The set of arguments for constructing a Webapp resource.

func (WebappArgs) ElementType

func (WebappArgs) ElementType() reflect.Type

type WebappArray

type WebappArray []WebappInput

func (WebappArray) ElementType

func (WebappArray) ElementType() reflect.Type

func (WebappArray) ToWebappArrayOutput

func (i WebappArray) ToWebappArrayOutput() WebappArrayOutput

func (WebappArray) ToWebappArrayOutputWithContext

func (i WebappArray) ToWebappArrayOutputWithContext(ctx context.Context) WebappArrayOutput

type WebappArrayInput

type WebappArrayInput interface {
	pulumi.Input

	ToWebappArrayOutput() WebappArrayOutput
	ToWebappArrayOutputWithContext(context.Context) WebappArrayOutput
}

WebappArrayInput is an input type that accepts WebappArray and WebappArrayOutput values. You can construct a concrete instance of `WebappArrayInput` via:

WebappArray{ WebappArgs{...} }

type WebappArrayOutput

type WebappArrayOutput struct{ *pulumi.OutputState }

func (WebappArrayOutput) ElementType

func (WebappArrayOutput) ElementType() reflect.Type

func (WebappArrayOutput) Index

func (WebappArrayOutput) ToWebappArrayOutput

func (o WebappArrayOutput) ToWebappArrayOutput() WebappArrayOutput

func (WebappArrayOutput) ToWebappArrayOutputWithContext

func (o WebappArrayOutput) ToWebappArrayOutputWithContext(ctx context.Context) WebappArrayOutput

type WebappInput

type WebappInput interface {
	pulumi.Input

	ToWebappOutput() WebappOutput
	ToWebappOutputWithContext(ctx context.Context) WebappOutput
}

type WebappMap

type WebappMap map[string]WebappInput

func (WebappMap) ElementType

func (WebappMap) ElementType() reflect.Type

func (WebappMap) ToWebappMapOutput

func (i WebappMap) ToWebappMapOutput() WebappMapOutput

func (WebappMap) ToWebappMapOutputWithContext

func (i WebappMap) ToWebappMapOutputWithContext(ctx context.Context) WebappMapOutput

type WebappMapInput

type WebappMapInput interface {
	pulumi.Input

	ToWebappMapOutput() WebappMapOutput
	ToWebappMapOutputWithContext(context.Context) WebappMapOutput
}

WebappMapInput is an input type that accepts WebappMap and WebappMapOutput values. You can construct a concrete instance of `WebappMapInput` via:

WebappMap{ "key": WebappArgs{...} }

type WebappMapOutput

type WebappMapOutput struct{ *pulumi.OutputState }

func (WebappMapOutput) ElementType

func (WebappMapOutput) ElementType() reflect.Type

func (WebappMapOutput) MapIndex

func (WebappMapOutput) ToWebappMapOutput

func (o WebappMapOutput) ToWebappMapOutput() WebappMapOutput

func (WebappMapOutput) ToWebappMapOutputWithContext

func (o WebappMapOutput) ToWebappMapOutputWithContext(ctx context.Context) WebappMapOutput

type WebappOutput

type WebappOutput struct{ *pulumi.OutputState }

func (WebappOutput) ElementType

func (WebappOutput) ElementType() reflect.Type

func (WebappOutput) ToWebappOutput

func (o WebappOutput) ToWebappOutput() WebappOutput

func (WebappOutput) ToWebappOutputWithContext

func (o WebappOutput) ToWebappOutputWithContext(ctx context.Context) WebappOutput

func (WebappOutput) Url

The URL of the web app

Jump to

Keyboard shortcuts

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