Documentation ¶
Index ¶
- type ActiveSlot
- type ActiveSlotArgs
- type ActiveSlotState
- type AppService
- func (r *AppService) AppServicePlanId() *pulumi.StringOutput
- func (r *AppService) AppSettings() *pulumi.MapOutput
- func (r *AppService) AuthSettings() *pulumi.Output
- func (r *AppService) ClientAffinityEnabled() *pulumi.BoolOutput
- func (r *AppService) ClientCertEnabled() *pulumi.BoolOutput
- func (r *AppService) ConnectionStrings() *pulumi.ArrayOutput
- func (r *AppService) DefaultSiteHostname() *pulumi.StringOutput
- func (r *AppService) Enabled() *pulumi.BoolOutput
- func (r *AppService) HttpsOnly() *pulumi.BoolOutput
- func (r *AppService) ID() *pulumi.IDOutput
- func (r *AppService) Identity() *pulumi.Output
- func (r *AppService) Location() *pulumi.StringOutput
- func (r *AppService) Name() *pulumi.StringOutput
- func (r *AppService) OutboundIpAddresses() *pulumi.StringOutput
- func (r *AppService) PossibleOutboundIpAddresses() *pulumi.StringOutput
- func (r *AppService) ResourceGroupName() *pulumi.StringOutput
- func (r *AppService) SiteConfig() *pulumi.Output
- func (r *AppService) SiteCredential() *pulumi.Output
- func (r *AppService) SourceControl() *pulumi.Output
- func (r *AppService) Tags() *pulumi.MapOutput
- func (r *AppService) URN() *pulumi.URNOutput
- type AppServiceArgs
- type AppServiceState
- type CustomHostnameBinding
- func (r *CustomHostnameBinding) AppServiceName() *pulumi.StringOutput
- func (r *CustomHostnameBinding) Hostname() *pulumi.StringOutput
- func (r *CustomHostnameBinding) ID() *pulumi.IDOutput
- func (r *CustomHostnameBinding) ResourceGroupName() *pulumi.StringOutput
- func (r *CustomHostnameBinding) URN() *pulumi.URNOutput
- type CustomHostnameBindingArgs
- type CustomHostnameBindingState
- type FunctionApp
- func (r *FunctionApp) AppServicePlanId() *pulumi.StringOutput
- func (r *FunctionApp) AppSettings() *pulumi.MapOutput
- func (r *FunctionApp) ClientAffinityEnabled() *pulumi.BoolOutput
- func (r *FunctionApp) ConnectionStrings() *pulumi.ArrayOutput
- func (r *FunctionApp) DefaultHostname() *pulumi.StringOutput
- func (r *FunctionApp) EnableBuiltinLogging() *pulumi.BoolOutput
- func (r *FunctionApp) Enabled() *pulumi.BoolOutput
- func (r *FunctionApp) HttpsOnly() *pulumi.BoolOutput
- func (r *FunctionApp) ID() *pulumi.IDOutput
- func (r *FunctionApp) Identity() *pulumi.Output
- func (r *FunctionApp) Kind() *pulumi.StringOutput
- func (r *FunctionApp) Location() *pulumi.StringOutput
- func (r *FunctionApp) Name() *pulumi.StringOutput
- func (r *FunctionApp) OutboundIpAddresses() *pulumi.StringOutput
- func (r *FunctionApp) PossibleOutboundIpAddresses() *pulumi.StringOutput
- func (r *FunctionApp) ResourceGroupName() *pulumi.StringOutput
- func (r *FunctionApp) SiteConfig() *pulumi.Output
- func (r *FunctionApp) SiteCredential() *pulumi.Output
- func (r *FunctionApp) StorageConnectionString() *pulumi.StringOutput
- func (r *FunctionApp) Tags() *pulumi.MapOutput
- func (r *FunctionApp) URN() *pulumi.URNOutput
- func (r *FunctionApp) Version() *pulumi.StringOutput
- type FunctionAppArgs
- type FunctionAppState
- type GetAppServiceArgs
- type GetAppServicePlanArgs
- type GetAppServicePlanResult
- type GetAppServiceResult
- type Plan
- func (r *Plan) AppServiceEnvironmentId() *pulumi.StringOutput
- func (r *Plan) ID() *pulumi.IDOutput
- func (r *Plan) Kind() *pulumi.StringOutput
- func (r *Plan) Location() *pulumi.StringOutput
- func (r *Plan) MaximumNumberOfWorkers() *pulumi.IntOutput
- func (r *Plan) Name() *pulumi.StringOutput
- func (r *Plan) PerSiteScaling() *pulumi.BoolOutput
- func (r *Plan) Properties() *pulumi.Output
- func (r *Plan) Reserved() *pulumi.BoolOutput
- func (r *Plan) ResourceGroupName() *pulumi.StringOutput
- func (r *Plan) Sku() *pulumi.Output
- func (r *Plan) Tags() *pulumi.MapOutput
- func (r *Plan) URN() *pulumi.URNOutput
- type PlanArgs
- type PlanState
- type Slot
- func (r *Slot) AppServiceName() *pulumi.StringOutput
- func (r *Slot) AppServicePlanId() *pulumi.StringOutput
- func (r *Slot) AppSettings() *pulumi.MapOutput
- func (r *Slot) ClientAffinityEnabled() *pulumi.BoolOutput
- func (r *Slot) ConnectionStrings() *pulumi.ArrayOutput
- func (r *Slot) DefaultSiteHostname() *pulumi.StringOutput
- func (r *Slot) Enabled() *pulumi.BoolOutput
- func (r *Slot) HttpsOnly() *pulumi.BoolOutput
- func (r *Slot) ID() *pulumi.IDOutput
- func (r *Slot) Identity() *pulumi.Output
- func (r *Slot) Location() *pulumi.StringOutput
- func (r *Slot) Name() *pulumi.StringOutput
- func (r *Slot) ResourceGroupName() *pulumi.StringOutput
- func (r *Slot) SiteConfig() *pulumi.Output
- func (r *Slot) SiteCredential() *pulumi.Output
- func (r *Slot) Tags() *pulumi.MapOutput
- func (r *Slot) URN() *pulumi.URNOutput
- type SlotArgs
- type SlotState
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.
func (*AppService) AppSettings ¶
func (r *AppService) AppSettings() *pulumi.MapOutput
A key-value pair of App Settings.
func (*AppService) AuthSettings ¶ added in v0.18.5
func (r *AppService) AuthSettings() *pulumi.Output
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) ClientCertEnabled ¶ added in v0.16.8
func (r *AppService) ClientCertEnabled() *pulumi.BoolOutput
Does the App Service require client certificates for incoming requests? Defaults to `false`.
func (*AppService) ConnectionStrings ¶
func (r *AppService) ConnectionStrings() *pulumi.ArrayOutput
One or more `connection_string` blocks 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?
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
Specifies the name of the App Service. Changing this forces a new resource to be created.
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) PossibleOutboundIpAddresses ¶ added in v0.16.7
func (r *AppService) PossibleOutboundIpAddresses() *pulumi.StringOutput
A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12,52.143.43.17` - not all of which are necessarily in use. Superset of `outbound_ip_addresses`.
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. AppServicePlanId interface{} // A key-value pair of App Settings. AppSettings interface{} AuthSettings interface{} // Should the App Service send session affinity cookies, which route client requests in the same session to the same instance? ClientAffinityEnabled interface{} // Does the App Service require client certificates for incoming requests? Defaults to `false`. ClientCertEnabled interface{} // One or more `connection_string` blocks as defined below. ConnectionStrings interface{} // Is the App Service Enabled? 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{} // Specifies the name of the App Service. Changing this forces a new resource to be created. 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. AppServicePlanId interface{} // A key-value pair of App Settings. AppSettings interface{} AuthSettings interface{} // Should the App Service send session affinity cookies, which route client requests in the same session to the same instance? ClientAffinityEnabled interface{} // Does the App Service require client certificates for incoming requests? Defaults to `false`. ClientCertEnabled interface{} // One or more `connection_string` blocks 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? 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{} // Specifies the name of the App Service. Changing this forces a new resource to be created. Name interface{} // A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12` OutboundIpAddresses interface{} // A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12,52.143.43.17` - not all of which are necessarily in use. Superset of `outbound_ip_addresses`. PossibleOutboundIpAddresses 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 ¶
func (r *CustomHostnameBinding) ID() *pulumi.IDOutput
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 ¶
func (r *CustomHostnameBinding) URN() *pulumi.URNOutput
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) EnableBuiltinLogging ¶ added in v0.16.5
func (r *FunctionApp) EnableBuiltinLogging() *pulumi.BoolOutput
Should the built-in logging of this Function App be enabled? Defaults to `true`.
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) Kind ¶ added in v0.16.8
func (r *FunctionApp) Kind() *pulumi.StringOutput
The Function App kind - such as `functionapp,linux,container`
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) PossibleOutboundIpAddresses ¶ added in v0.18.0
func (r *FunctionApp) PossibleOutboundIpAddresses() *pulumi.StringOutput
A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12,52.143.43.17` - not all of which are necessarily in use. Superset of `outbound_ip_addresses`.
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. 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{} // Should the built-in logging of this Function App be enabled? Defaults to `true`. EnableBuiltinLogging 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. 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{} // Should the built-in logging of this Function App be enabled? Defaults to `true`. EnableBuiltinLogging 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{} // The Function App kind - such as `functionapp,linux,container` Kind 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{} // A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12,52.143.43.17` - not all of which are necessarily in use. Superset of `outbound_ip_addresses`. PossibleOutboundIpAddresses 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. 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{} }
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{} Name interface{} // A `properties` block as documented below. Properties interface{} ResourceGroupName 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 access information about an existing 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{} // Does the App Service require client certificates for incoming requests? ClientCertEnabled 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{} // 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{} // A comma separated list of outbound IP addresses - such as `52.23.25.3,52.143.43.12,52.143.43.17` - not all of which are necessarily in use. Superset of `outbound_ip_addresses`. PossibleOutboundIpAddresses interface{} ResourceGroupName interface{} // A `site_config` block as defined below. SiteConfigs 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 access information about an existing App Service.
type Plan ¶
type Plan struct {
// contains filtered or unexported fields
}
Manage 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) AppServiceEnvironmentId ¶ added in v0.16.6
func (r *Plan) AppServiceEnvironmentId() *pulumi.StringOutput
The ID of the App Service Environment where the App Service Plan should be located. Changing forces a new resource to be created.
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`, `elastic` (for Premium Consumption) 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 ¶
The maximum number of workers supported with the App Service Plan's sku.
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) PerSiteScaling ¶ added in v0.16.6
func (r *Plan) PerSiteScaling() *pulumi.BoolOutput
Can Apps assigned to this App Service Plan be scaled independently? If set to `false` apps assigned to this plan will scale to all instances of the plan. Defaults to `false`.
func (*Plan) Properties ¶
func (*Plan) Reserved ¶ added in v0.16.6
func (r *Plan) Reserved() *pulumi.BoolOutput
Is this App Service Plan `Reserved`. Defaults to `false`.
func (*Plan) ResourceGroupName ¶
func (r *Plan) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the App Service Plan component.
type PlanArgs ¶
type PlanArgs struct { // The ID of the App Service Environment where the App Service Plan should be located. Changing forces a new resource to be created. AppServiceEnvironmentId interface{} // The kind of the App Service Plan to create. Possible values are `Windows` (also available as `App`), `Linux`, `elastic` (for Premium Consumption) 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{} // Can Apps assigned to this App Service Plan be scaled independently? If set to `false` apps assigned to this plan will scale to all instances of the plan. Defaults to `false`. PerSiteScaling interface{} Properties interface{} // Is this App Service Plan `Reserved`. Defaults to `false`. Reserved 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 ID of the App Service Environment where the App Service Plan should be located. Changing forces a new resource to be created. AppServiceEnvironmentId interface{} // The kind of the App Service Plan to create. Possible values are `Windows` (also available as `App`), `Linux`, `elastic` (for Premium Consumption) 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{} // The maximum number of workers supported with the App Service Plan's sku. MaximumNumberOfWorkers interface{} // Specifies the name of the App Service Plan component. Changing this forces a new resource to be created. Name interface{} // Can Apps assigned to this App Service Plan be scaled independently? If set to `false` apps assigned to this plan will scale to all instances of the plan. Defaults to `false`. PerSiteScaling interface{} Properties interface{} // Is this App Service Plan `Reserved`. Defaults to `false`. Reserved 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 ¶
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) HttpsOnly ¶
func (r *Slot) HttpsOnly() *pulumi.BoolOutput
Can the App Service Slot only be accessed via HTTPS? Defaults to `false`.
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) 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 ¶
A `site_config` object as defined below.
func (*Slot) SiteCredential ¶ added in v0.18.3
A `site_credential` block as defined below, which contains the site-level credentials used to publish to this App Service.
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 `site_credential` block as defined below, which contains the site-level credentials used to publish to this App Service. SiteCredential interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering Slot resources.