appservice

package
v0.15.1-dev Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveSlot

type ActiveSlot struct {
	// contains filtered or unexported fields
}

Promotes an App Service Slot to Production within an App Service.

-> **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azurerm_app_service` resource will be overwritten when promoting a Slot using the `azurerm_app_service_active_slot` resource.

func GetActiveSlot

func GetActiveSlot(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ActiveSlotState, opts ...pulumi.ResourceOpt) (*ActiveSlot, error)

GetActiveSlot gets an existing ActiveSlot 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 NewActiveSlot

func NewActiveSlot(ctx *pulumi.Context,
	name string, args *ActiveSlotArgs, opts ...pulumi.ResourceOpt) (*ActiveSlot, error)

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

func (*ActiveSlot) AppServiceName

func (r *ActiveSlot) AppServiceName() *pulumi.StringOutput

The name of the App Service within which the Slot exists. Changing this forces a new resource to be created.

func (*ActiveSlot) AppServiceSlotName

func (r *ActiveSlot) AppServiceSlotName() *pulumi.StringOutput

The name of the App Service Slot which should be promoted to the Production Slot within the App Service.

func (*ActiveSlot) ID

func (r *ActiveSlot) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ActiveSlot) ResourceGroupName

func (r *ActiveSlot) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which the App Service exists. Changing this forces a new resource to be created.

func (*ActiveSlot) URN

func (r *ActiveSlot) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ActiveSlotArgs

type ActiveSlotArgs struct {
	// The name of the App Service within which the Slot exists.  Changing this forces a new resource to be created.
	AppServiceName interface{}
	// The name of the App Service Slot which should be promoted to the Production Slot within the App Service.
	AppServiceSlotName interface{}
	// The name of the resource group in which the App Service exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
}

The set of arguments for constructing a ActiveSlot resource.

type ActiveSlotState

type ActiveSlotState struct {
	// The name of the App Service within which the Slot exists.  Changing this forces a new resource to be created.
	AppServiceName interface{}
	// The name of the App Service Slot which should be promoted to the Production Slot within the App Service.
	AppServiceSlotName interface{}
	// The name of the resource group in which the App Service exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
}

Input properties used for looking up and filtering ActiveSlot resources.

type AppService

type AppService struct {
	// contains filtered or unexported fields
}

Manages an App Service (within an App Service Plan).

-> **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azurerm_app_service` resource will be overwritten when promoting a Slot using the `azurerm_app_service_active_slot` resource.

func GetAppService

func GetAppService(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AppServiceState, opts ...pulumi.ResourceOpt) (*AppService, error)

GetAppService gets an existing AppService 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 NewAppService

func NewAppService(ctx *pulumi.Context,
	name string, args *AppServiceArgs, opts ...pulumi.ResourceOpt) (*AppService, error)

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

func (*AppService) AppServicePlanId

func (r *AppService) AppServicePlanId() *pulumi.StringOutput

The ID of the App Service Plan within which to create this App Service. Changing this forces a new resource to be created.

func (*AppService) AppSettings

func (r *AppService) AppSettings() *pulumi.MapOutput

A key-value pair of App Settings.

func (*AppService) ClientAffinityEnabled

func (r *AppService) ClientAffinityEnabled() *pulumi.BoolOutput

Should the App Service send session affinity cookies, which route client requests in the same session to the same instance?

func (*AppService) ConnectionStrings

func (r *AppService) ConnectionStrings() *pulumi.ArrayOutput

An `connection_string` block as defined below.

func (*AppService) DefaultSiteHostname

func (r *AppService) DefaultSiteHostname() *pulumi.StringOutput

The Default Hostname associated with the App Service - such as `mysite.azurewebsites.net`

func (*AppService) Enabled

func (r *AppService) Enabled() *pulumi.BoolOutput

Is the App Service Enabled? Changing this forces a new resource to be created.

func (*AppService) HttpsOnly

func (r *AppService) HttpsOnly() *pulumi.BoolOutput

Can the App Service only be accessed via HTTPS? Defaults to `false`.

func (*AppService) ID

func (r *AppService) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*AppService) Identity

func (r *AppService) Identity() *pulumi.Output

A Managed Service Identity block as defined below.

func (*AppService) Location

func (r *AppService) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*AppService) Name

func (r *AppService) Name() *pulumi.StringOutput

The name of the Connection String.

func (*AppService) OutboundIpAddresses

func (r *AppService) OutboundIpAddresses() *pulumi.StringOutput

A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12`

func (*AppService) ResourceGroupName

func (r *AppService) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the App Service.

func (*AppService) SiteConfig

func (r *AppService) SiteConfig() *pulumi.Output

A `site_config` block as defined below.

func (*AppService) SiteCredential

func (r *AppService) SiteCredential() *pulumi.Output

A `site_credential` block as defined below, which contains the site-level credentials used to publish to this App Service.

func (*AppService) SourceControl

func (r *AppService) SourceControl() *pulumi.Output

A `source_control` block as defined below, which contains the Source Control information when `scm_type` is set to `LocalGit`.

func (*AppService) Tags

func (r *AppService) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*AppService) URN

func (r *AppService) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type AppServiceArgs

type AppServiceArgs struct {
	// The ID of the App Service Plan within which to create this App Service. Changing this forces a new resource to be created.
	AppServicePlanId interface{}
	// A key-value pair of App Settings.
	AppSettings interface{}
	// Should the App Service send session affinity cookies, which route client requests in the same session to the same instance?
	ClientAffinityEnabled interface{}
	// An `connection_string` block as defined below.
	ConnectionStrings interface{}
	// Is the App Service Enabled? Changing this forces a new resource to be created.
	Enabled interface{}
	// Can the App Service only be accessed via HTTPS? Defaults to `false`.
	HttpsOnly interface{}
	// A Managed Service Identity block as defined below.
	Identity interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// The name of the Connection String.
	Name interface{}
	// The name of the resource group in which to create the App Service.
	ResourceGroupName interface{}
	// A `site_config` block as defined below.
	SiteConfig interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a AppService resource.

type AppServiceState

type AppServiceState struct {
	// The ID of the App Service Plan within which to create this App Service. Changing this forces a new resource to be created.
	AppServicePlanId interface{}
	// A key-value pair of App Settings.
	AppSettings interface{}
	// Should the App Service send session affinity cookies, which route client requests in the same session to the same instance?
	ClientAffinityEnabled interface{}
	// An `connection_string` block as defined below.
	ConnectionStrings interface{}
	// The Default Hostname associated with the App Service - such as `mysite.azurewebsites.net`
	DefaultSiteHostname interface{}
	// Is the App Service Enabled? Changing this forces a new resource to be created.
	Enabled interface{}
	// Can the App Service only be accessed via HTTPS? Defaults to `false`.
	HttpsOnly interface{}
	// A Managed Service Identity block as defined below.
	Identity interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// The name of the Connection String.
	Name interface{}
	// A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12`
	OutboundIpAddresses interface{}
	// The name of the resource group in which to create the App Service.
	ResourceGroupName interface{}
	// A `site_config` block as defined below.
	SiteConfig interface{}
	// A `site_credential` block as defined below, which contains the site-level credentials used to publish to this App Service.
	SiteCredential interface{}
	// A `source_control` block as defined below, which contains the Source Control information when `scm_type` is set to `LocalGit`.
	SourceControl interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering AppService resources.

type CustomHostnameBinding

type CustomHostnameBinding struct {
	// contains filtered or unexported fields
}

Manages a Hostname Binding within an App Service.

func GetCustomHostnameBinding

func GetCustomHostnameBinding(ctx *pulumi.Context,
	name string, id pulumi.ID, state *CustomHostnameBindingState, opts ...pulumi.ResourceOpt) (*CustomHostnameBinding, error)

GetCustomHostnameBinding gets an existing CustomHostnameBinding 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 NewCustomHostnameBinding

func NewCustomHostnameBinding(ctx *pulumi.Context,
	name string, args *CustomHostnameBindingArgs, opts ...pulumi.ResourceOpt) (*CustomHostnameBinding, error)

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

func (*CustomHostnameBinding) AppServiceName

func (r *CustomHostnameBinding) AppServiceName() *pulumi.StringOutput

The name of the App Service in which to add the Custom Hostname Binding. Changing this forces a new resource to be created.

func (*CustomHostnameBinding) Hostname

func (r *CustomHostnameBinding) Hostname() *pulumi.StringOutput

Specifies the Custom Hostname to use for the App Service, example `www.example.com`. Changing this forces a new resource to be created.

func (*CustomHostnameBinding) ID

ID is this resource's unique identifier assigned by its provider.

func (*CustomHostnameBinding) ResourceGroupName

func (r *CustomHostnameBinding) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which the App Service exists. Changing this forces a new resource to be created.

func (*CustomHostnameBinding) URN

URN is this resource's unique name assigned by Pulumi.

type CustomHostnameBindingArgs

type CustomHostnameBindingArgs struct {
	// The name of the App Service in which to add the Custom Hostname Binding. Changing this forces a new resource to be created.
	AppServiceName interface{}
	// Specifies the Custom Hostname to use for the App Service, example `www.example.com`. Changing this forces a new resource to be created.
	Hostname interface{}
	// The name of the resource group in which the App Service exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
}

The set of arguments for constructing a CustomHostnameBinding resource.

type CustomHostnameBindingState

type CustomHostnameBindingState struct {
	// The name of the App Service in which to add the Custom Hostname Binding. Changing this forces a new resource to be created.
	AppServiceName interface{}
	// Specifies the Custom Hostname to use for the App Service, example `www.example.com`. Changing this forces a new resource to be created.
	Hostname interface{}
	// The name of the resource group in which the App Service exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
}

Input properties used for looking up and filtering CustomHostnameBinding resources.

type FunctionApp

type FunctionApp struct {
	// contains filtered or unexported fields
}

Manages a Function App.

func GetFunctionApp

func GetFunctionApp(ctx *pulumi.Context,
	name string, id pulumi.ID, state *FunctionAppState, opts ...pulumi.ResourceOpt) (*FunctionApp, error)

GetFunctionApp gets an existing FunctionApp 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 NewFunctionApp

func NewFunctionApp(ctx *pulumi.Context,
	name string, args *FunctionAppArgs, opts ...pulumi.ResourceOpt) (*FunctionApp, error)

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

func (*FunctionApp) AppServicePlanId

func (r *FunctionApp) AppServicePlanId() *pulumi.StringOutput

The ID of the App Service Plan within which to create this Function App. Changing this forces a new resource to be created.

func (*FunctionApp) AppSettings

func (r *FunctionApp) AppSettings() *pulumi.MapOutput

A key-value pair of App Settings.

func (*FunctionApp) ClientAffinityEnabled

func (r *FunctionApp) ClientAffinityEnabled() *pulumi.BoolOutput

Should the Function App send session affinity cookies, which route client requests in the same session to the same instance?

func (*FunctionApp) ConnectionStrings

func (r *FunctionApp) ConnectionStrings() *pulumi.ArrayOutput

An `connection_string` block as defined below.

func (*FunctionApp) DefaultHostname

func (r *FunctionApp) DefaultHostname() *pulumi.StringOutput

The default hostname associated with the Function App - such as `mysite.azurewebsites.net`

func (*FunctionApp) Enabled

func (r *FunctionApp) Enabled() *pulumi.BoolOutput

Is the Function App enabled?

func (*FunctionApp) HttpsOnly

func (r *FunctionApp) HttpsOnly() *pulumi.BoolOutput

Can the Function App only be accessed via HTTPS? Defaults to `false`.

func (*FunctionApp) ID

func (r *FunctionApp) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*FunctionApp) Identity added in v0.15.0

func (r *FunctionApp) Identity() *pulumi.Output

An `identity` block as defined below.

func (*FunctionApp) Location

func (r *FunctionApp) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*FunctionApp) Name

func (r *FunctionApp) Name() *pulumi.StringOutput

The name of the Connection String.

func (*FunctionApp) OutboundIpAddresses

func (r *FunctionApp) OutboundIpAddresses() *pulumi.StringOutput

A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12`

func (*FunctionApp) ResourceGroupName

func (r *FunctionApp) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the Function App.

func (*FunctionApp) SiteConfig

func (r *FunctionApp) SiteConfig() *pulumi.Output

A `site_config` object as defined below.

func (*FunctionApp) SiteCredential added in v0.15.0

func (r *FunctionApp) SiteCredential() *pulumi.Output

A `site_credential` block as defined below, which contains the site-level credentials used to publish to this App Service.

func (*FunctionApp) StorageConnectionString

func (r *FunctionApp) StorageConnectionString() *pulumi.StringOutput

The connection string of the backend storage account which will be used by this Function App (such as the dashboard, logs).

func (*FunctionApp) Tags

func (r *FunctionApp) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*FunctionApp) URN

func (r *FunctionApp) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*FunctionApp) Version

func (r *FunctionApp) Version() *pulumi.StringOutput

The runtime version associated with the Function App. Possible values are `~1` and `beta`. Defaults to `~1`.

type FunctionAppArgs

type FunctionAppArgs struct {
	// The ID of the App Service Plan within which to create this Function App. Changing this forces a new resource to be created.
	AppServicePlanId interface{}
	// A key-value pair of App Settings.
	AppSettings interface{}
	// Should the Function App send session affinity cookies, which route client requests in the same session to the same instance?
	ClientAffinityEnabled interface{}
	// An `connection_string` block as defined below.
	ConnectionStrings interface{}
	// Is the Function App enabled?
	Enabled interface{}
	// Can the Function App only be accessed via HTTPS? Defaults to `false`.
	HttpsOnly interface{}
	// An `identity` block as defined below.
	Identity interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// The name of the Connection String.
	Name interface{}
	// The name of the resource group in which to create the Function App.
	ResourceGroupName interface{}
	// A `site_config` object as defined below.
	SiteConfig interface{}
	// The connection string of the backend storage account which will be used by this Function App (such as the dashboard, logs).
	StorageConnectionString interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The runtime version associated with the Function App. Possible values are `~1` and `beta`. Defaults to `~1`.
	Version interface{}
}

The set of arguments for constructing a FunctionApp resource.

type FunctionAppState

type FunctionAppState struct {
	// The ID of the App Service Plan within which to create this Function App. Changing this forces a new resource to be created.
	AppServicePlanId interface{}
	// A key-value pair of App Settings.
	AppSettings interface{}
	// Should the Function App send session affinity cookies, which route client requests in the same session to the same instance?
	ClientAffinityEnabled interface{}
	// An `connection_string` block as defined below.
	ConnectionStrings interface{}
	// The default hostname associated with the Function App - such as `mysite.azurewebsites.net`
	DefaultHostname interface{}
	// Is the Function App enabled?
	Enabled interface{}
	// Can the Function App only be accessed via HTTPS? Defaults to `false`.
	HttpsOnly interface{}
	// An `identity` block as defined below.
	Identity interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// The name of the Connection String.
	Name interface{}
	// A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12`
	OutboundIpAddresses interface{}
	// The name of the resource group in which to create the Function App.
	ResourceGroupName interface{}
	// A `site_config` object as defined below.
	SiteConfig interface{}
	// A `site_credential` block as defined below, which contains the site-level credentials used to publish to this App Service.
	SiteCredential interface{}
	// The connection string of the backend storage account which will be used by this Function App (such as the dashboard, logs).
	StorageConnectionString interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The runtime version associated with the Function App. Possible values are `~1` and `beta`. Defaults to `~1`.
	Version interface{}
}

Input properties used for looking up and filtering FunctionApp resources.

type GetAppServiceArgs

type GetAppServiceArgs struct {
	// The name of the App Service.
	Name interface{}
	// The Name of the Resource Group where the App Service exists.
	ResourceGroupName interface{}
	SiteConfig        interface{}
}

A collection of arguments for invoking getAppService.

type GetAppServicePlanArgs

type GetAppServicePlanArgs struct {
	// The name of the App Service Plan.
	Name interface{}
	// The Name of the Resource Group where the App Service Plan exists.
	ResourceGroupName interface{}
}

A collection of arguments for invoking getAppServicePlan.

type GetAppServicePlanResult

type GetAppServicePlanResult struct {
	// The Operating System type of the App Service Plan
	Kind interface{}
	// The Azure location where the App Service Plan exists
	Location interface{}
	// Maximum number of instances that can be assigned to this App Service plan.
	MaximumNumberOfWorkers interface{}
	// A `properties` block as documented below.
	Properties interface{}
	// A `sku` block as documented below.
	Sku interface{}
	// A mapping of tags assigned to the resource.
	Tags interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getAppServicePlan.

func LookupAppServicePlan

func LookupAppServicePlan(ctx *pulumi.Context, args *GetAppServicePlanArgs) (*GetAppServicePlanResult, error)

Use this data source to obtain information about an App Service Plan (formerly known as a `Server Farm`).

type GetAppServiceResult

type GetAppServiceResult struct {
	// The ID of the App Service Plan within which the App Service exists.
	AppServicePlanId interface{}
	// A key-value pair of App Settings for the App Service.
	AppSettings interface{}
	// Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
	ClientAffinityEnabled interface{}
	// An `connection_string` block as defined below.
	ConnectionStrings   interface{}
	DefaultSiteHostname interface{}
	// Is the App Service Enabled?
	Enabled interface{}
	// Can the App Service only be accessed via HTTPS?
	HttpsOnly interface{}
	// The Azure location where the App Service exists.
	Location            interface{}
	OutboundIpAddresses interface{}
	// A `site_config` block as defined below.
	SiteConfig      interface{}
	SiteCredentials interface{}
	SourceControls  interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getAppService.

func LookupAppService

func LookupAppService(ctx *pulumi.Context, args *GetAppServiceArgs) (*GetAppServiceResult, error)

Use this data source to obtain information about an App Service.

type Plan

type Plan struct {
	// contains filtered or unexported fields
}

Create an App Service Plan component.

func GetPlan

func GetPlan(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PlanState, opts ...pulumi.ResourceOpt) (*Plan, error)

GetPlan gets an existing Plan 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 NewPlan

func NewPlan(ctx *pulumi.Context,
	name string, args *PlanArgs, opts ...pulumi.ResourceOpt) (*Plan, error)

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

func (*Plan) ID

func (r *Plan) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Plan) Kind

func (r *Plan) Kind() *pulumi.StringOutput

The kind of the App Service Plan to create. Possible values are `Windows` (also available as `App`), `Linux` and `FunctionApp` (for a Consumption Plan). Defaults to `Windows`. Changing this forces a new resource to be created.

func (*Plan) Location

func (r *Plan) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*Plan) MaximumNumberOfWorkers

func (r *Plan) MaximumNumberOfWorkers() *pulumi.IntOutput

Maximum number of instances that can be assigned to this App Service plan.

func (*Plan) Name

func (r *Plan) Name() *pulumi.StringOutput

Specifies the name of the App Service Plan component. Changing this forces a new resource to be created.

func (*Plan) Properties

func (r *Plan) Properties() *pulumi.Output

A `properties` block as documented below.

func (*Plan) ResourceGroupName

func (r *Plan) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the App Service Plan component.

func (*Plan) Sku

func (r *Plan) Sku() *pulumi.Output

A `sku` block as documented below.

func (*Plan) Tags

func (r *Plan) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Plan) URN

func (r *Plan) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type PlanArgs

type PlanArgs struct {
	// The kind of the App Service Plan to create. Possible values are `Windows` (also available as `App`), `Linux` and `FunctionApp` (for a Consumption Plan). Defaults to `Windows`. Changing this forces a new resource to be created.
	Kind interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the App Service Plan component. Changing this forces a new resource to be created.
	Name interface{}
	// A `properties` block as documented below.
	Properties interface{}
	// The name of the resource group in which to create the App Service Plan component.
	ResourceGroupName interface{}
	// A `sku` block as documented below.
	Sku interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a Plan resource.

type PlanState

type PlanState struct {
	// The kind of the App Service Plan to create. Possible values are `Windows` (also available as `App`), `Linux` and `FunctionApp` (for a Consumption Plan). Defaults to `Windows`. Changing this forces a new resource to be created.
	Kind interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Maximum number of instances that can be assigned to this App Service plan.
	MaximumNumberOfWorkers interface{}
	// Specifies the name of the App Service Plan component. Changing this forces a new resource to be created.
	Name interface{}
	// A `properties` block as documented below.
	Properties interface{}
	// The name of the resource group in which to create the App Service Plan component.
	ResourceGroupName interface{}
	// A `sku` block as documented below.
	Sku interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering Plan resources.

type Slot

type Slot struct {
	// contains filtered or unexported fields
}

Manages an App Service Slot (within an App Service).

-> **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azurerm_app_service` resource will be overwritten when promoting a Slot using the `azurerm_app_service_active_slot` resource.

func GetSlot

func GetSlot(ctx *pulumi.Context,
	name string, id pulumi.ID, state *SlotState, opts ...pulumi.ResourceOpt) (*Slot, error)

GetSlot gets an existing Slot 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 NewSlot

func NewSlot(ctx *pulumi.Context,
	name string, args *SlotArgs, opts ...pulumi.ResourceOpt) (*Slot, error)

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

func (*Slot) AppServiceName

func (r *Slot) AppServiceName() *pulumi.StringOutput

The name of the App Service within which to create the App Service Slot. Changing this forces a new resource to be created.

func (*Slot) AppServicePlanId

func (r *Slot) AppServicePlanId() *pulumi.StringOutput

The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.

func (*Slot) AppSettings

func (r *Slot) AppSettings() *pulumi.MapOutput

A key-value pair of App Settings.

func (*Slot) ClientAffinityEnabled

func (r *Slot) ClientAffinityEnabled() *pulumi.BoolOutput

Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?

func (*Slot) ConnectionStrings

func (r *Slot) ConnectionStrings() *pulumi.ArrayOutput

An `connection_string` block as defined below.

func (*Slot) DefaultSiteHostname

func (r *Slot) DefaultSiteHostname() *pulumi.StringOutput

The Default Hostname associated with the App Service Slot - such as `mysite.azurewebsites.net`

func (*Slot) Enabled

func (r *Slot) Enabled() *pulumi.BoolOutput

Is the App Service Slot Enabled?

func (*Slot) HttpsOnly

func (r *Slot) HttpsOnly() *pulumi.BoolOutput

Can the App Service Slot only be accessed via HTTPS? Defaults to `false`.

func (*Slot) ID

func (r *Slot) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Slot) Identity added in v0.15.0

func (r *Slot) Identity() *pulumi.Output

A Managed Service Identity block as defined below.

func (*Slot) Location

func (r *Slot) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*Slot) Name

func (r *Slot) Name() *pulumi.StringOutput

The name of the Connection String.

func (*Slot) ResourceGroupName

func (r *Slot) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the App Service Slot component.

func (*Slot) SiteConfig

func (r *Slot) SiteConfig() *pulumi.Output

A `site_config` object as defined below.

func (*Slot) Tags

func (r *Slot) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Slot) URN

func (r *Slot) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type SlotArgs

type SlotArgs struct {
	// The name of the App Service within which to create the App Service Slot.  Changing this forces a new resource to be created.
	AppServiceName interface{}
	// The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
	AppServicePlanId interface{}
	// A key-value pair of App Settings.
	AppSettings interface{}
	// Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
	ClientAffinityEnabled interface{}
	// An `connection_string` block as defined below.
	ConnectionStrings interface{}
	// Is the App Service Slot Enabled?
	Enabled interface{}
	// Can the App Service Slot only be accessed via HTTPS? Defaults to `false`.
	HttpsOnly interface{}
	// A Managed Service Identity block as defined below.
	Identity interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// The name of the Connection String.
	Name interface{}
	// The name of the resource group in which to create the App Service Slot component.
	ResourceGroupName interface{}
	// A `site_config` object as defined below.
	SiteConfig interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a Slot resource.

type SlotState

type SlotState struct {
	// The name of the App Service within which to create the App Service Slot.  Changing this forces a new resource to be created.
	AppServiceName interface{}
	// The ID of the App Service Plan within which to create this App Service Slot. Changing this forces a new resource to be created.
	AppServicePlanId interface{}
	// A key-value pair of App Settings.
	AppSettings interface{}
	// Should the App Service Slot send session affinity cookies, which route client requests in the same session to the same instance?
	ClientAffinityEnabled interface{}
	// An `connection_string` block as defined below.
	ConnectionStrings interface{}
	// The Default Hostname associated with the App Service Slot - such as `mysite.azurewebsites.net`
	DefaultSiteHostname interface{}
	// Is the App Service Slot Enabled?
	Enabled interface{}
	// Can the App Service Slot only be accessed via HTTPS? Defaults to `false`.
	HttpsOnly interface{}
	// A Managed Service Identity block as defined below.
	Identity interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// The name of the Connection String.
	Name interface{}
	// The name of the resource group in which to create the App Service Slot component.
	ResourceGroupName interface{}
	// A `site_config` object as defined below.
	SiteConfig interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering Slot resources.

Jump to

Keyboard shortcuts

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