appservice

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServiceSourceControlTokenDataSource

type AppServiceSourceControlTokenDataSource struct{}

func (AppServiceSourceControlTokenDataSource) Arguments

func (AppServiceSourceControlTokenDataSource) Attributes

func (AppServiceSourceControlTokenDataSource) ModelObject

func (d AppServiceSourceControlTokenDataSource) ModelObject() interface{}

func (AppServiceSourceControlTokenDataSource) Read

func (AppServiceSourceControlTokenDataSource) ResourceType

type AppServiceSourceControlTokenModel

type AppServiceSourceControlTokenModel struct {
	Token       string `tfschema:"token"`
	TokenSecret string `tfschema:"token_secret"`
	Type        string `tfschema:"type"`
}

type AppServiceSourceControlTokenResource

type AppServiceSourceControlTokenResource struct{}

func (AppServiceSourceControlTokenResource) Arguments

func (AppServiceSourceControlTokenResource) Attributes

func (AppServiceSourceControlTokenResource) Create

func (AppServiceSourceControlTokenResource) Delete

func (AppServiceSourceControlTokenResource) IDValidationFunc

func (AppServiceSourceControlTokenResource) ModelObject

func (r AppServiceSourceControlTokenResource) ModelObject() interface{}

func (AppServiceSourceControlTokenResource) Read

func (AppServiceSourceControlTokenResource) ResourceType

func (AppServiceSourceControlTokenResource) Update

type GitHubActionCodeConfig

type GitHubActionCodeConfig struct {
	RuntimeStack   string `tfschema:"runtime_stack"`
	RuntimeVersion string `tfschema:"runtime_version"`
}

type GitHubActionContainerConfig

type GitHubActionContainerConfig struct {
	RegistryURL      string `tfschema:"registry_url"`
	ImageName        string `tfschema:"image_name"`
	RegistryUsername string `tfschema:"registry_username"`
	RegistryPassword string `tfschema:"registry_password"`
}

type GithubActionConfiguration

type GithubActionConfiguration struct {
	CodeConfig           []GitHubActionCodeConfig      `tfschema:"code_configuration"`
	ContainerConfig      []GitHubActionContainerConfig `tfschema:"container_configuration"`
	UsesLinux            bool                          `tfschema:"linux_action"`
	GenerateWorkflowFile bool                          `tfschema:"generate_workflow_file"`
}

type LinuxFunctionAppDataSource

type LinuxFunctionAppDataSource struct{}

func (LinuxFunctionAppDataSource) Arguments

func (LinuxFunctionAppDataSource) Attributes

func (r LinuxFunctionAppDataSource) Attributes() map[string]*pluginsdk.Schema

func (LinuxFunctionAppDataSource) IDValidationFunc

func (LinuxFunctionAppDataSource) ModelObject

func (d LinuxFunctionAppDataSource) ModelObject() interface{}

func (LinuxFunctionAppDataSource) Read

func (LinuxFunctionAppDataSource) ResourceType

func (d LinuxFunctionAppDataSource) ResourceType() string

type LinuxFunctionAppDataSourceModel

type LinuxFunctionAppDataSourceModel struct {
	Name               string `tfschema:"name"`
	ResourceGroup      string `tfschema:"resource_group_name"`
	Location           string `tfschema:"location"`
	ServicePlanId      string `tfschema:"service_plan_id"`
	StorageAccountName string `tfschema:"storage_account_name"`

	StorageAccountKey string `tfschema:"storage_account_access_key"`
	StorageUsesMSI    bool   `tfschema:"storage_uses_managed_identity"` // Storage uses MSI not account key

	AppSettings               map[string]string                    `tfschema:"app_settings"`
	AuthSettings              []helpers.AuthSettings               `tfschema:"auth_settings"`
	Backup                    []helpers.Backup                     `tfschema:"backup"` // Not supported on Dynamic or Basic plans
	BuiltinLogging            bool                                 `tfschema:"builtin_logging_enabled"`
	ClientCertEnabled         bool                                 `tfschema:"client_certificate_enabled"`
	ClientCertMode            string                               `tfschema:"client_certificate_mode"`
	ConnectionStrings         []helpers.ConnectionString           `tfschema:"connection_string"`
	DailyMemoryTimeQuota      int                                  `tfschema:"daily_memory_time_quota"`
	Enabled                   bool                                 `tfschema:"enabled"`
	FunctionExtensionsVersion string                               `tfschema:"functions_extension_version"`
	ForceDisableContentShare  bool                                 `tfschema:"content_share_force_disabled"`
	HttpsOnly                 bool                                 `tfschema:"https_only"`
	SiteConfig                []helpers.SiteConfigLinuxFunctionApp `tfschema:"site_config"`
	Tags                      map[string]string                    `tfschema:"tags"`

	CustomDomainVerificationId    string   `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string   `tfschema:"default_hostname"`
	Kind                          string   `tfschema:"kind"`
	OutboundIPAddresses           string   `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string   `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string `tfschema:"possible_outbound_ip_address_list"`

	SiteCredentials []helpers.SiteCredential `tfschema:"site_credential"`
}

type LinuxFunctionAppModel

type LinuxFunctionAppModel struct {
	Name               string `tfschema:"name"`
	ResourceGroup      string `tfschema:"resource_group_name"`
	Location           string `tfschema:"location"`
	ServicePlanId      string `tfschema:"service_plan_id"`
	StorageAccountName string `tfschema:"storage_account_name"`

	StorageAccountKey string `tfschema:"storage_account_access_key"`
	StorageUsesMSI    bool   `tfschema:"storage_uses_managed_identity"` // Storage uses MSI not account key

	AppSettings               map[string]string                    `tfschema:"app_settings"`
	AuthSettings              []helpers.AuthSettings               `tfschema:"auth_settings"`
	Backup                    []helpers.Backup                     `tfschema:"backup"` // Not supported on Dynamic or Basic plans
	BuiltinLogging            bool                                 `tfschema:"builtin_logging_enabled"`
	ClientCertEnabled         bool                                 `tfschema:"client_certificate_enabled"`
	ClientCertMode            string                               `tfschema:"client_certificate_mode"`
	ConnectionStrings         []helpers.ConnectionString           `tfschema:"connection_string"`
	DailyMemoryTimeQuota      int                                  `tfschema:"daily_memory_time_quota"` // TODO - Value ignored in for linux apps, even in Consumption plans?
	Enabled                   bool                                 `tfschema:"enabled"`
	FunctionExtensionsVersion string                               `tfschema:"functions_extension_version"`
	ForceDisableContentShare  bool                                 `tfschema:"content_share_force_disabled"`
	HttpsOnly                 bool                                 `tfschema:"https_only"`
	SiteConfig                []helpers.SiteConfigLinuxFunctionApp `tfschema:"site_config"`
	Tags                      map[string]string                    `tfschema:"tags"`

	// Computed
	CustomDomainVerificationId    string   `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string   `tfschema:"default_hostname"`
	Kind                          string   `tfschema:"kind"`
	OutboundIPAddresses           string   `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string   `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string `tfschema:"possible_outbound_ip_address_list"`

	SiteCredentials []helpers.SiteCredential `tfschema:"site_credential"`
}

type LinuxFunctionAppResource

type LinuxFunctionAppResource struct{}

func (LinuxFunctionAppResource) Arguments

func (r LinuxFunctionAppResource) Arguments() map[string]*pluginsdk.Schema

func (LinuxFunctionAppResource) Attributes

func (r LinuxFunctionAppResource) Attributes() map[string]*pluginsdk.Schema

func (LinuxFunctionAppResource) Create

func (LinuxFunctionAppResource) CustomImporter

func (r LinuxFunctionAppResource) CustomImporter() sdk.ResourceRunFunc

func (LinuxFunctionAppResource) CustomizeDiff

func (r LinuxFunctionAppResource) CustomizeDiff() sdk.ResourceFunc

func (LinuxFunctionAppResource) Delete

func (LinuxFunctionAppResource) IDValidationFunc

func (LinuxFunctionAppResource) ModelObject

func (r LinuxFunctionAppResource) ModelObject() interface{}

func (LinuxFunctionAppResource) Read

func (LinuxFunctionAppResource) ResourceType

func (r LinuxFunctionAppResource) ResourceType() string

func (LinuxFunctionAppResource) Update

type LinuxFunctionAppSlotModel

type LinuxFunctionAppSlotModel struct {
	Name                          string                                   `tfschema:"name"`
	FunctionAppID                 string                                   `tfschema:"function_app_id"`
	StorageAccountName            string                                   `tfschema:"storage_account_name"`
	StorageAccountKey             string                                   `tfschema:"storage_account_access_key"`
	StorageUsesMSI                bool                                     `tfschema:"storage_uses_managed_identity"` // Storage uses MSI not account key
	AppSettings                   map[string]string                        `tfschema:"app_settings"`
	AuthSettings                  []helpers.AuthSettings                   `tfschema:"auth_settings"`
	Backup                        []helpers.Backup                         `tfschema:"backup"` // Not supported on Dynamic or Basic plans
	BuiltinLogging                bool                                     `tfschema:"builtin_logging_enabled"`
	ClientCertEnabled             bool                                     `tfschema:"client_certificate_enabled"`
	ClientCertMode                string                                   `tfschema:"client_certificate_mode"`
	ConnectionStrings             []helpers.ConnectionString               `tfschema:"connection_string"`
	DailyMemoryTimeQuota          int                                      `tfschema:"daily_memory_time_quota"` // TODO - Value ignored in for linux apps, even in Consumption plans?
	Enabled                       bool                                     `tfschema:"enabled"`
	FunctionExtensionsVersion     string                                   `tfschema:"functions_extension_version"`
	ForceDisableContentShare      bool                                     `tfschema:"content_share_force_disabled"`
	HttpsOnly                     bool                                     `tfschema:"https_only"`
	SiteConfig                    []helpers.SiteConfigLinuxFunctionAppSlot `tfschema:"site_config"`
	Tags                          map[string]string                        `tfschema:"tags"`
	CustomDomainVerificationId    string                                   `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string                                   `tfschema:"default_hostname"`
	Kind                          string                                   `tfschema:"kind"`
	OutboundIPAddresses           string                                   `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string                                 `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string                                   `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string                                 `tfschema:"possible_outbound_ip_address_list"`
	SiteCredentials               []helpers.SiteCredential                 `tfschema:"site_credential"`
}

type LinuxFunctionAppSlotResource

type LinuxFunctionAppSlotResource struct{}

func (LinuxFunctionAppSlotResource) Arguments

func (LinuxFunctionAppSlotResource) Attributes

func (LinuxFunctionAppSlotResource) Create

func (LinuxFunctionAppSlotResource) Delete

func (LinuxFunctionAppSlotResource) IDValidationFunc

func (LinuxFunctionAppSlotResource) ModelObject

func (r LinuxFunctionAppSlotResource) ModelObject() interface{}

func (LinuxFunctionAppSlotResource) Read

func (LinuxFunctionAppSlotResource) ResourceType

func (r LinuxFunctionAppSlotResource) ResourceType() string

func (LinuxFunctionAppSlotResource) Update

type LinuxWebAppDataSource

type LinuxWebAppDataSource struct{}

func (LinuxWebAppDataSource) Arguments

func (r LinuxWebAppDataSource) Arguments() map[string]*pluginsdk.Schema

func (LinuxWebAppDataSource) Attributes

func (r LinuxWebAppDataSource) Attributes() map[string]*pluginsdk.Schema

func (LinuxWebAppDataSource) ModelObject

func (r LinuxWebAppDataSource) ModelObject() interface{}

func (LinuxWebAppDataSource) Read

func (LinuxWebAppDataSource) ResourceType

func (r LinuxWebAppDataSource) ResourceType() string

type LinuxWebAppDataSourceModel

type LinuxWebAppDataSourceModel struct {
	Name                          string                     `tfschema:"name"`
	ResourceGroup                 string                     `tfschema:"resource_group_name"`
	Location                      string                     `tfschema:"location"`
	ServicePlanId                 string                     `tfschema:"service_plan_id"`
	AppSettings                   map[string]string          `tfschema:"app_settings"`
	AuthSettings                  []helpers.AuthSettings     `tfschema:"auth_settings"`
	Backup                        []helpers.Backup           `tfschema:"backup"`
	ClientAffinityEnabled         bool                       `tfschema:"client_affinity_enabled"`
	ClientCertEnabled             bool                       `tfschema:"client_certificate_enabled"`
	ClientCertMode                string                     `tfschema:"client_certificate_mode"`
	Enabled                       bool                       `tfschema:"enabled"`
	HttpsOnly                     bool                       `tfschema:"https_only"`
	KeyVaultReferenceIdentityID   string                     `tfschema:"key_vault_reference_identity_id"`
	LogsConfig                    []helpers.LogsConfig       `tfschema:"logs"`
	MetaData                      map[string]string          `tfschema:"app_metadata"`
	SiteConfig                    []helpers.SiteConfigLinux  `tfschema:"site_config"`
	StorageAccounts               []helpers.StorageAccount   `tfschema:"storage_account"`
	ConnectionStrings             []helpers.ConnectionString `tfschema:"connection_string"`
	Tags                          map[string]string          `tfschema:"tags"`
	CustomDomainVerificationId    string                     `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string                     `tfschema:"default_hostname"`
	Kind                          string                     `tfschema:"kind"`
	OutboundIPAddresses           string                     `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string                   `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string                     `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string                   `tfschema:"possible_outbound_ip_address_list"`
	SiteCredentials               []helpers.SiteCredential   `tfschema:"site_credential"`
}

type LinuxWebAppModel

type LinuxWebAppModel struct {
	Name                          string                     `tfschema:"name"`
	ResourceGroup                 string                     `tfschema:"resource_group_name"`
	Location                      string                     `tfschema:"location"`
	ServicePlanId                 string                     `tfschema:"service_plan_id"`
	AppSettings                   map[string]string          `tfschema:"app_settings"`
	AuthSettings                  []helpers.AuthSettings     `tfschema:"auth_settings"`
	Backup                        []helpers.Backup           `tfschema:"backup"`
	ClientAffinityEnabled         bool                       `tfschema:"client_affinity_enabled"`
	ClientCertEnabled             bool                       `tfschema:"client_certificate_enabled"`
	ClientCertMode                string                     `tfschema:"client_certificate_mode"`
	Enabled                       bool                       `tfschema:"enabled"`
	HttpsOnly                     bool                       `tfschema:"https_only"`
	KeyVaultReferenceIdentityID   string                     `tfschema:"key_vault_reference_identity_id"`
	LogsConfig                    []helpers.LogsConfig       `tfschema:"logs"`
	SiteConfig                    []helpers.SiteConfigLinux  `tfschema:"site_config"`
	StorageAccounts               []helpers.StorageAccount   `tfschema:"storage_account"`
	ConnectionStrings             []helpers.ConnectionString `tfschema:"connection_string"`
	Tags                          map[string]string          `tfschema:"tags"`
	CustomDomainVerificationId    string                     `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string                     `tfschema:"default_hostname"`
	Kind                          string                     `tfschema:"kind"`
	OutboundIPAddresses           string                     `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string                   `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string                     `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string                   `tfschema:"possible_outbound_ip_address_list"`
	SiteCredentials               []helpers.SiteCredential   `tfschema:"site_credential"`
}

type LinuxWebAppResource

type LinuxWebAppResource struct{}

func (LinuxWebAppResource) Arguments

func (r LinuxWebAppResource) Arguments() map[string]*pluginsdk.Schema

func (LinuxWebAppResource) Attributes

func (r LinuxWebAppResource) Attributes() map[string]*pluginsdk.Schema

func (LinuxWebAppResource) Create

func (LinuxWebAppResource) CustomImporter

func (r LinuxWebAppResource) CustomImporter() sdk.ResourceRunFunc

func (LinuxWebAppResource) Delete

func (LinuxWebAppResource) IDValidationFunc

func (r LinuxWebAppResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (LinuxWebAppResource) ModelObject

func (r LinuxWebAppResource) ModelObject() interface{}

func (LinuxWebAppResource) Read

func (LinuxWebAppResource) ResourceType

func (r LinuxWebAppResource) ResourceType() string

func (LinuxWebAppResource) Update

type LinuxWebAppSlotModel

type LinuxWebAppSlotModel struct {
	Name                          string                              `tfschema:"name"`
	AppServiceId                  string                              `tfschema:"app_service_id"`
	AppSettings                   map[string]string                   `tfschema:"app_settings"`
	AuthSettings                  []helpers.AuthSettings              `tfschema:"auth_settings"`
	Backup                        []helpers.Backup                    `tfschema:"backup"`
	ClientAffinityEnabled         bool                                `tfschema:"client_affinity_enabled"`
	ClientCertEnabled             bool                                `tfschema:"client_certificate_enabled"`
	ClientCertMode                string                              `tfschema:"client_certificate_mode"`
	Enabled                       bool                                `tfschema:"enabled"`
	HttpsOnly                     bool                                `tfschema:"https_only"`
	KeyVaultReferenceIdentityID   string                              `tfschema:"key_vault_reference_identity_id"`
	LogsConfig                    []helpers.LogsConfig                `tfschema:"logs"`
	MetaData                      map[string]string                   `tfschema:"app_metadata"`
	SiteConfig                    []helpers.SiteConfigLinuxWebAppSlot `tfschema:"site_config"`
	StorageAccounts               []helpers.StorageAccount            `tfschema:"storage_account"`
	ConnectionStrings             []helpers.ConnectionString          `tfschema:"connection_string"`
	Tags                          map[string]string                   `tfschema:"tags"`
	CustomDomainVerificationId    string                              `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string                              `tfschema:"default_hostname"`
	Kind                          string                              `tfschema:"kind"`
	OutboundIPAddresses           string                              `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string                            `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string                              `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string                            `tfschema:"possible_outbound_ip_address_list"`
	SiteCredentials               []helpers.SiteCredential            `tfschema:"site_credential"`
}

type LinuxWebAppSlotResource

type LinuxWebAppSlotResource struct{}

func (LinuxWebAppSlotResource) Arguments

func (r LinuxWebAppSlotResource) Arguments() map[string]*pluginsdk.Schema

func (LinuxWebAppSlotResource) Attributes

func (r LinuxWebAppSlotResource) Attributes() map[string]*pluginsdk.Schema

func (LinuxWebAppSlotResource) Create

func (LinuxWebAppSlotResource) Delete

func (LinuxWebAppSlotResource) IDValidationFunc

func (LinuxWebAppSlotResource) ModelObject

func (r LinuxWebAppSlotResource) ModelObject() interface{}

func (LinuxWebAppSlotResource) Read

func (LinuxWebAppSlotResource) ResourceType

func (r LinuxWebAppSlotResource) ResourceType() string

func (LinuxWebAppSlotResource) Update

type OSType

type OSType string
const (
	OSTypeLinux            OSType = "Linux"
	OSTypeWindows          OSType = "Windows"
	OSTypeWindowsContainer OSType = "WindowsContainer"
)

type Registration

type Registration struct{}

func (Registration) AssociatedGitHubLabel

func (r Registration) AssociatedGitHubLabel() string

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

func (Registration) Name

func (r Registration) Name() string

func (Registration) Resources

func (r Registration) Resources() []sdk.Resource

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

type ServicePlanDataSource

type ServicePlanDataSource struct{}

func (ServicePlanDataSource) Arguments

func (r ServicePlanDataSource) Arguments() map[string]*pluginsdk.Schema

func (ServicePlanDataSource) Attributes

func (r ServicePlanDataSource) Attributes() map[string]*pluginsdk.Schema

func (ServicePlanDataSource) ModelObject

func (r ServicePlanDataSource) ModelObject() interface{}

func (ServicePlanDataSource) Read

func (ServicePlanDataSource) ResourceType

func (r ServicePlanDataSource) ResourceType() string

type ServicePlanDataSourceModel

type ServicePlanDataSourceModel struct {
	Name                      string            `tfschema:"name"`
	ResourceGroup             string            `tfschema:"resource_group_name"`
	Location                  string            `tfschema:"location"`
	Kind                      string            `tfschema:"kind"`
	OSType                    OSType            `tfschema:"os_type"`
	Sku                       string            `tfschema:"sku_name"`
	AppServiceEnvironmentId   string            `tfschema:"app_service_environment_id"`
	PerSiteScaling            bool              `tfschema:"per_site_scaling_enabled"`
	Reserved                  bool              `tfschema:"reserved"`
	WorkerCount               int               `tfschema:"worker_count"`
	MaximumElasticWorkerCount int               `tfschema:"maximum_elastic_worker_count"`
	Tags                      map[string]string `tfschema:"tags"`
}

type ServicePlanModel

type ServicePlanModel struct {
	Name                      string            `tfschema:"name"`
	ResourceGroup             string            `tfschema:"resource_group_name"`
	Location                  string            `tfschema:"location"`
	Kind                      string            `tfschema:"kind"`
	OSType                    OSType            `tfschema:"os_type"`
	Sku                       string            `tfschema:"sku_name"`
	AppServiceEnvironmentId   string            `tfschema:"app_service_environment_id"`
	PerSiteScaling            bool              `tfschema:"per_site_scaling_enabled"`
	Reserved                  bool              `tfschema:"reserved"`
	WorkerCount               int               `tfschema:"worker_count"`
	MaximumElasticWorkerCount int               `tfschema:"maximum_elastic_worker_count"`
	Tags                      map[string]string `tfschema:"tags"`
}

type ServicePlanResource

type ServicePlanResource struct{}

func (ServicePlanResource) Arguments

func (r ServicePlanResource) Arguments() map[string]*pluginsdk.Schema

func (ServicePlanResource) Attributes

func (r ServicePlanResource) Attributes() map[string]*pluginsdk.Schema

func (ServicePlanResource) Create

func (ServicePlanResource) Delete

func (ServicePlanResource) IDValidationFunc

func (r ServicePlanResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (ServicePlanResource) ModelObject

func (r ServicePlanResource) ModelObject() interface{}

func (ServicePlanResource) Read

func (ServicePlanResource) ResourceType

func (r ServicePlanResource) ResourceType() string

func (ServicePlanResource) Update

type SourceControlModel

type SourceControlModel struct {
	AppID                     string                      `tfschema:"app_id"`
	SCMType                   string                      `tfschema:"scm_type"`
	RepoURL                   string                      `tfschema:"repo_url"`
	Branch                    string                      `tfschema:"branch"`
	LocalGitSCM               bool                        `tfschema:"use_local_git"`
	ManualIntegration         bool                        `tfschema:"use_manual_integration"`
	UseMercurial              bool                        `tfschema:"use_mercurial"`
	RollbackEnabled           bool                        `tfschema:"rollback_enabled"`
	UsesGithubAction          bool                        `tfschema:"uses_github_action"`
	GithubActionConfiguration []GithubActionConfiguration `tfschema:"github_action_configuration"`
}

type SourceControlResource

type SourceControlResource struct{}

func (SourceControlResource) Arguments

func (r SourceControlResource) Arguments() map[string]*pluginsdk.Schema

func (SourceControlResource) Attributes

func (r SourceControlResource) Attributes() map[string]*pluginsdk.Schema

func (SourceControlResource) Create

func (SourceControlResource) Delete

func (SourceControlResource) IDValidationFunc

func (r SourceControlResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (SourceControlResource) ModelObject

func (r SourceControlResource) ModelObject() interface{}

func (SourceControlResource) Read

func (SourceControlResource) ResourceType

func (r SourceControlResource) ResourceType() string

type SourceControlSlotModel

type SourceControlSlotModel struct {
	SlotID                    string                      `tfschema:"slot_id"`
	SCMType                   string                      `tfschema:"scm_type"`
	RepoURL                   string                      `tfschema:"repo_url"`
	Branch                    string                      `tfschema:"branch"`
	LocalGitSCM               bool                        `tfschema:"use_local_git"`
	ManualIntegration         bool                        `tfschema:"use_manual_integration"`
	UseMercurial              bool                        `tfschema:"use_mercurial"`
	RollbackEnabled           bool                        `tfschema:"rollback_enabled"`
	UsesGithubAction          bool                        `tfschema:"uses_github_action"`
	GithubActionConfiguration []GithubActionConfiguration `tfschema:"github_action_configuration"`
}

type SourceControlSlotResource

type SourceControlSlotResource struct{}

func (SourceControlSlotResource) Arguments

func (r SourceControlSlotResource) Arguments() map[string]*pluginsdk.Schema

func (SourceControlSlotResource) Attributes

func (r SourceControlSlotResource) Attributes() map[string]*pluginsdk.Schema

func (SourceControlSlotResource) Create

func (SourceControlSlotResource) Delete

func (SourceControlSlotResource) IDValidationFunc

func (SourceControlSlotResource) ModelObject

func (r SourceControlSlotResource) ModelObject() interface{}

func (SourceControlSlotResource) Read

func (SourceControlSlotResource) ResourceType

func (r SourceControlSlotResource) ResourceType() string

type WindowsFunctionAppDataSource

type WindowsFunctionAppDataSource struct{}

func (WindowsFunctionAppDataSource) Arguments

func (WindowsFunctionAppDataSource) Attributes

func (WindowsFunctionAppDataSource) ModelObject

func (d WindowsFunctionAppDataSource) ModelObject() interface{}

func (WindowsFunctionAppDataSource) Read

func (WindowsFunctionAppDataSource) ResourceType

func (d WindowsFunctionAppDataSource) ResourceType() string

type WindowsFunctionAppDataSourceModel

type WindowsFunctionAppDataSourceModel struct {
	Name               string `tfschema:"name"`
	ResourceGroup      string `tfschema:"resource_group_name"`
	Location           string `tfschema:"location"`
	ServicePlanId      string `tfschema:"service_plan_id"`
	StorageAccountName string `tfschema:"storage_account_name"`

	StorageAccountKey string `tfschema:"storage_account_access_key"`
	StorageUsesMSI    bool   `tfschema:"storage_uses_managed_identity"`

	AppSettings               map[string]string                      `tfschema:"app_settings"`
	AuthSettings              []helpers.AuthSettings                 `tfschema:"auth_settings"`
	Backup                    []helpers.Backup                       `tfschema:"backup"`
	BuiltinLogging            bool                                   `tfschema:"builtin_logging_enabled"`
	ClientCertEnabled         bool                                   `tfschema:"client_certificate_enabled"`
	ClientCertMode            string                                 `tfschema:"client_certificate_mode"`
	ConnectionStrings         []helpers.ConnectionString             `tfschema:"connection_string"`
	DailyMemoryTimeQuota      int                                    `tfschema:"daily_memory_time_quota"`
	Enabled                   bool                                   `tfschema:"enabled"`
	FunctionExtensionsVersion string                                 `tfschema:"functions_extension_version"`
	ForceDisableContentShare  bool                                   `tfschema:"content_share_force_disabled"`
	HttpsOnly                 bool                                   `tfschema:"https_only"`
	SiteConfig                []helpers.SiteConfigWindowsFunctionApp `tfschema:"site_config"`
	Tags                      map[string]string                      `tfschema:"tags"`

	CustomDomainVerificationId    string   `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string   `tfschema:"default_hostname"`
	Kind                          string   `tfschema:"kind"`
	OutboundIPAddresses           string   `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string   `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string `tfschema:"possible_outbound_ip_address_list"`

	SiteCredentials []helpers.SiteCredential `tfschema:"site_credential"`
}

type WindowsFunctionAppModel

type WindowsFunctionAppModel struct {
	Name               string `tfschema:"name"`
	ResourceGroup      string `tfschema:"resource_group_name"`
	Location           string `tfschema:"location"`
	ServicePlanId      string `tfschema:"service_plan_id"`
	StorageAccountName string `tfschema:"storage_account_name"`

	StorageAccountKey string `tfschema:"storage_account_access_key"`
	StorageUsesMSI    bool   `tfschema:"storage_uses_managed_identity"` // Storage uses MSI not account key

	AppSettings               map[string]string                      `tfschema:"app_settings"`
	AuthSettings              []helpers.AuthSettings                 `tfschema:"auth_settings"`
	Backup                    []helpers.Backup                       `tfschema:"backup"` // Not supported on Dynamic or Basic plans
	BuiltinLogging            bool                                   `tfschema:"builtin_logging_enabled"`
	ClientCertEnabled         bool                                   `tfschema:"client_certificate_enabled"`
	ClientCertMode            string                                 `tfschema:"client_certificate_mode"`
	ConnectionStrings         []helpers.ConnectionString             `tfschema:"connection_string"`
	DailyMemoryTimeQuota      int                                    `tfschema:"daily_memory_time_quota"`
	Enabled                   bool                                   `tfschema:"enabled"`
	FunctionExtensionsVersion string                                 `tfschema:"functions_extension_version"`
	ForceDisableContentShare  bool                                   `tfschema:"content_share_force_disabled"`
	HttpsOnly                 bool                                   `tfschema:"https_only"`
	SiteConfig                []helpers.SiteConfigWindowsFunctionApp `tfschema:"site_config"`
	Tags                      map[string]string                      `tfschema:"tags"`

	// Computed
	CustomDomainVerificationId    string   `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string   `tfschema:"default_hostname"`
	Kind                          string   `tfschema:"kind"`
	OutboundIPAddresses           string   `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string   `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string `tfschema:"possible_outbound_ip_address_list"`

	SiteCredentials []helpers.SiteCredential `tfschema:"site_credential"`
}

type WindowsFunctionAppResource

type WindowsFunctionAppResource struct{}

func (WindowsFunctionAppResource) Arguments

func (WindowsFunctionAppResource) Attributes

func (r WindowsFunctionAppResource) Attributes() map[string]*pluginsdk.Schema

func (WindowsFunctionAppResource) Create

func (WindowsFunctionAppResource) CustomImporter

func (r WindowsFunctionAppResource) CustomImporter() sdk.ResourceRunFunc

func (WindowsFunctionAppResource) CustomizeDiff

func (r WindowsFunctionAppResource) CustomizeDiff() sdk.ResourceFunc

func (WindowsFunctionAppResource) Delete

func (WindowsFunctionAppResource) IDValidationFunc

func (WindowsFunctionAppResource) ModelObject

func (r WindowsFunctionAppResource) ModelObject() interface{}

func (WindowsFunctionAppResource) Read

func (WindowsFunctionAppResource) ResourceType

func (r WindowsFunctionAppResource) ResourceType() string

func (WindowsFunctionAppResource) Update

type WindowsFunctionAppSlotModel

type WindowsFunctionAppSlotModel struct {
	Name                          string                                     `tfschema:"name"`
	FunctionAppID                 string                                     `tfschema:"function_app_id"`
	StorageAccountName            string                                     `tfschema:"storage_account_name"`
	StorageAccountKey             string                                     `tfschema:"storage_account_access_key"`
	StorageUsesMSI                bool                                       `tfschema:"storage_uses_managed_identity"` // Storage uses MSI not account key
	AppSettings                   map[string]string                          `tfschema:"app_settings"`
	AuthSettings                  []helpers.AuthSettings                     `tfschema:"auth_settings"`
	Backup                        []helpers.Backup                           `tfschema:"backup"` // Not supported on Dynamic or Basic plans
	BuiltinLogging                bool                                       `tfschema:"builtin_logging_enabled"`
	ClientCertEnabled             bool                                       `tfschema:"client_certificate_enabled"`
	ClientCertMode                string                                     `tfschema:"client_certificate_mode"`
	ConnectionStrings             []helpers.ConnectionString                 `tfschema:"connection_string"`
	DailyMemoryTimeQuota          int                                        `tfschema:"daily_memory_time_quota"`
	Enabled                       bool                                       `tfschema:"enabled"`
	FunctionExtensionsVersion     string                                     `tfschema:"functions_extension_version"`
	ForceDisableContentShare      bool                                       `tfschema:"content_share_force_disabled"`
	HttpsOnly                     bool                                       `tfschema:"https_only"`
	SiteConfig                    []helpers.SiteConfigWindowsFunctionAppSlot `tfschema:"site_config"`
	Tags                          map[string]string                          `tfschema:"tags"`
	CustomDomainVerificationId    string                                     `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string                                     `tfschema:"default_hostname"`
	Kind                          string                                     `tfschema:"kind"`
	OutboundIPAddresses           string                                     `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string                                   `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string                                     `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string                                   `tfschema:"possible_outbound_ip_address_list"`
	SiteCredentials               []helpers.SiteCredential                   `tfschema:"site_credential"`
}

type WindowsFunctionAppSlotResource

type WindowsFunctionAppSlotResource struct{}

func (WindowsFunctionAppSlotResource) Arguments

func (WindowsFunctionAppSlotResource) Attributes

func (WindowsFunctionAppSlotResource) Create

func (WindowsFunctionAppSlotResource) Delete

func (WindowsFunctionAppSlotResource) IDValidationFunc

func (WindowsFunctionAppSlotResource) ModelObject

func (r WindowsFunctionAppSlotResource) ModelObject() interface{}

func (WindowsFunctionAppSlotResource) Read

func (WindowsFunctionAppSlotResource) ResourceType

func (r WindowsFunctionAppSlotResource) ResourceType() string

func (WindowsFunctionAppSlotResource) Update

type WindowsWebAppDataSource

type WindowsWebAppDataSource struct{}

func (WindowsWebAppDataSource) Arguments

func (d WindowsWebAppDataSource) Arguments() map[string]*pluginsdk.Schema

func (WindowsWebAppDataSource) Attributes

func (d WindowsWebAppDataSource) Attributes() map[string]*pluginsdk.Schema

func (WindowsWebAppDataSource) ModelObject

func (d WindowsWebAppDataSource) ModelObject() interface{}

func (WindowsWebAppDataSource) Read

func (WindowsWebAppDataSource) ResourceType

func (d WindowsWebAppDataSource) ResourceType() string

type WindowsWebAppDataSourceModel

type WindowsWebAppDataSourceModel struct {
	Name                          string                      `tfschema:"name"`
	ResourceGroup                 string                      `tfschema:"resource_group_name"`
	Location                      string                      `tfschema:"location"`
	ServicePlanId                 string                      `tfschema:"service_plan_id"`
	AppSettings                   map[string]string           `tfschema:"app_settings"`
	AuthSettings                  []helpers.AuthSettings      `tfschema:"auth_settings"`
	Backup                        []helpers.Backup            `tfschema:"backup"`
	ClientAffinityEnabled         bool                        `tfschema:"client_affinity_enabled"`
	ClientCertEnabled             bool                        `tfschema:"client_certificate_enabled"`
	ClientCertMode                string                      `tfschema:"client_certificate_mode"`
	Enabled                       bool                        `tfschema:"enabled"`
	HttpsOnly                     bool                        `tfschema:"https_only"`
	LogsConfig                    []helpers.LogsConfig        `tfschema:"logs"`
	SiteConfig                    []helpers.SiteConfigWindows `tfschema:"site_config"`
	StorageAccounts               []helpers.StorageAccount    `tfschema:"storage_account"`
	ConnectionStrings             []helpers.ConnectionString  `tfschema:"connection_string"`
	CustomDomainVerificationId    string                      `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string                      `tfschema:"default_hostname"`
	Kind                          string                      `tfschema:"kind"`
	OutboundIPAddresses           string                      `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string                    `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string                      `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string                    `tfschema:"possible_outbound_ip_address_list"`
	SiteCredentials               []helpers.SiteCredential    `tfschema:"site_credential"`
	Tags                          map[string]string           `tfschema:"tags"`
}

type WindowsWebAppModel

type WindowsWebAppModel struct {
	Name                          string                      `tfschema:"name"`
	ResourceGroup                 string                      `tfschema:"resource_group_name"`
	Location                      string                      `tfschema:"location"`
	ServicePlanId                 string                      `tfschema:"service_plan_id"`
	AppSettings                   map[string]string           `tfschema:"app_settings"`
	AuthSettings                  []helpers.AuthSettings      `tfschema:"auth_settings"`
	Backup                        []helpers.Backup            `tfschema:"backup"`
	ClientAffinityEnabled         bool                        `tfschema:"client_affinity_enabled"`
	ClientCertEnabled             bool                        `tfschema:"client_certificate_enabled"`
	ClientCertMode                string                      `tfschema:"client_certificate_mode"`
	Enabled                       bool                        `tfschema:"enabled"`
	HttpsOnly                     bool                        `tfschema:"https_only"`
	KeyVaultReferenceIdentityID   string                      `tfschema:"key_vault_reference_identity_id"`
	LogsConfig                    []helpers.LogsConfig        `tfschema:"logs"`
	SiteConfig                    []helpers.SiteConfigWindows `tfschema:"site_config"`
	StorageAccounts               []helpers.StorageAccount    `tfschema:"storage_account"`
	ConnectionStrings             []helpers.ConnectionString  `tfschema:"connection_string"`
	CustomDomainVerificationId    string                      `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string                      `tfschema:"default_hostname"`
	Kind                          string                      `tfschema:"kind"`
	OutboundIPAddresses           string                      `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string                    `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string                      `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string                    `tfschema:"possible_outbound_ip_address_list"`
	SiteCredentials               []helpers.SiteCredential    `tfschema:"site_credential"`
	Tags                          map[string]string           `tfschema:"tags"`
}

type WindowsWebAppResource

type WindowsWebAppResource struct{}

func (WindowsWebAppResource) Arguments

func (r WindowsWebAppResource) Arguments() map[string]*pluginsdk.Schema

func (WindowsWebAppResource) Attributes

func (r WindowsWebAppResource) Attributes() map[string]*pluginsdk.Schema

func (WindowsWebAppResource) Create

func (WindowsWebAppResource) CustomImporter

func (r WindowsWebAppResource) CustomImporter() sdk.ResourceRunFunc

func (WindowsWebAppResource) Delete

func (WindowsWebAppResource) IDValidationFunc

func (r WindowsWebAppResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (WindowsWebAppResource) ModelObject

func (r WindowsWebAppResource) ModelObject() interface{}

func (WindowsWebAppResource) Read

func (WindowsWebAppResource) ResourceType

func (r WindowsWebAppResource) ResourceType() string

func (WindowsWebAppResource) Update

type WindowsWebAppSlotModel

type WindowsWebAppSlotModel struct {
	Name                          string                                `tfschema:"name"`
	AppServiceId                  string                                `tfschema:"app_service_id"`
	AppSettings                   map[string]string                     `tfschema:"app_settings"`
	AuthSettings                  []helpers.AuthSettings                `tfschema:"auth_settings"`
	Backup                        []helpers.Backup                      `tfschema:"backup"`
	ClientAffinityEnabled         bool                                  `tfschema:"client_affinity_enabled"`
	ClientCertEnabled             bool                                  `tfschema:"client_certificate_enabled"`
	ClientCertMode                string                                `tfschema:"client_certificate_mode"`
	Enabled                       bool                                  `tfschema:"enabled"`
	HttpsOnly                     bool                                  `tfschema:"https_only"`
	KeyVaultReferenceIdentityID   string                                `tfschema:"key_vault_reference_identity_id"`
	LogsConfig                    []helpers.LogsConfig                  `tfschema:"logs"`
	SiteConfig                    []helpers.SiteConfigWindowsWebAppSlot `tfschema:"site_config"`
	StorageAccounts               []helpers.StorageAccount              `tfschema:"storage_account"`
	ConnectionStrings             []helpers.ConnectionString            `tfschema:"connection_string"`
	CustomDomainVerificationId    string                                `tfschema:"custom_domain_verification_id"`
	DefaultHostname               string                                `tfschema:"default_hostname"`
	Kind                          string                                `tfschema:"kind"`
	OutboundIPAddresses           string                                `tfschema:"outbound_ip_addresses"`
	OutboundIPAddressList         []string                              `tfschema:"outbound_ip_address_list"`
	PossibleOutboundIPAddresses   string                                `tfschema:"possible_outbound_ip_addresses"`
	PossibleOutboundIPAddressList []string                              `tfschema:"possible_outbound_ip_address_list"`
	SiteCredentials               []helpers.SiteCredential              `tfschema:"site_credential"`
	Tags                          map[string]string                     `tfschema:"tags"`
}

type WindowsWebAppSlotResource

type WindowsWebAppSlotResource struct{}

func (WindowsWebAppSlotResource) Arguments

func (r WindowsWebAppSlotResource) Arguments() map[string]*pluginsdk.Schema

func (WindowsWebAppSlotResource) Attributes

func (r WindowsWebAppSlotResource) Attributes() map[string]*pluginsdk.Schema

func (WindowsWebAppSlotResource) Create

func (WindowsWebAppSlotResource) Delete

func (WindowsWebAppSlotResource) IDValidationFunc

func (WindowsWebAppSlotResource) ModelObject

func (r WindowsWebAppSlotResource) ModelObject() interface{}

func (WindowsWebAppSlotResource) Read

func (WindowsWebAppSlotResource) ResourceType

func (r WindowsWebAppSlotResource) ResourceType() string

func (WindowsWebAppSlotResource) Update

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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