appservice

package
v2.85.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServiceSourceControlModel

type AppServiceSourceControlModel 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 AppServiceSourceControlResource

type AppServiceSourceControlResource struct{}

func (AppServiceSourceControlResource) Arguments

func (AppServiceSourceControlResource) Attributes

func (AppServiceSourceControlResource) Create

func (AppServiceSourceControlResource) Delete

func (AppServiceSourceControlResource) IDValidationFunc

func (AppServiceSourceControlResource) ModelObject

func (r AppServiceSourceControlResource) ModelObject() interface{}

func (AppServiceSourceControlResource) Read

func (AppServiceSourceControlResource) ResourceType

func (r AppServiceSourceControlResource) ResourceType() string

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 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_cert_enabled"`
	ClientCertMode                string                     `tfschema:"client_cert_mode"`
	Enabled                       bool                       `tfschema:"enabled"`
	HttpsOnly                     bool                       `tfschema:"https_only"`
	Identity                      []helpers.Identity         `tfschema:"identity"`
	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_cert_enabled"`
	ClientCertMode                string                     `tfschema:"client_cert_mode"`
	Enabled                       bool                       `tfschema:"enabled"`
	HttpsOnly                     bool                       `tfschema:"https_only"`
	Identity                      []helpers.Identity         `tfschema:"identity"`
	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 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 OSType

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

type Registration

type Registration struct{}

func (Registration) DataSources

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

func (Registration) Name

func (r Registration) Name() string

func (Registration) PackagePath

func (r Registration) PackagePath() 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"`
	NumberOfWorkers           int               `tfschema:"number_of_workers"`
	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"`
	NumberOfWorkers           int               `tfschema:"number_of_workers"`
	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 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_cert_enabled"`
	ClientCertMode                string                      `tfschema:"client_cert_mode"`
	Enabled                       bool                        `tfschema:"enabled"`
	HttpsOnly                     bool                        `tfschema:"https_only"`
	Identity                      []helpers.Identity          `tfschema:"identity"`
	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_cert_enabled"`
	ClientCertMode                string                      `tfschema:"client_cert_mode"`
	Enabled                       bool                        `tfschema:"enabled"`
	HttpsOnly                     bool                        `tfschema:"https_only"`
	Identity                      []helpers.Identity          `tfschema:"identity"`
	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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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