containerapps

package
v1.44.1-0...-77b165e Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: MPL-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogsDestinationLogAnalytics string = "log-analytics"
	LogsDestinationAzureMonitor string = "azure-monitor"
	LogsDestinationNone         string = ""
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerAppCertificateModel

type ContainerAppCertificateModel struct {
	Name                 string                 `tfschema:"name"`
	ManagedEnvironmentId string                 `tfschema:"container_app_environment_id"`
	Tags                 map[string]interface{} `tfschema:"tags"`

	// Write only?
	CertificatePassword string `tfschema:"certificate_password"`
	CertificateBlob     string `tfschema:"certificate_blob_base64"`

	// Read Only
	SubjectName    string `tfschema:"subject_name"`
	Issuer         string `tfschema:"issuer"`
	IssueDate      string `tfschema:"issue_date"`
	ExpirationDate string `tfschema:"expiration_date"`
	Thumbprint     string `tfschema:"thumbprint"`
}

type ContainerAppCustomDomainResource

type ContainerAppCustomDomainResource struct{}

func (ContainerAppCustomDomainResource) Arguments

func (ContainerAppCustomDomainResource) Attributes

func (ContainerAppCustomDomainResource) Create

func (ContainerAppCustomDomainResource) Delete

func (ContainerAppCustomDomainResource) IDValidationFunc

func (ContainerAppCustomDomainResource) ModelObject

func (a ContainerAppCustomDomainResource) ModelObject() interface{}

func (ContainerAppCustomDomainResource) Read

func (ContainerAppCustomDomainResource) ResourceType

func (a ContainerAppCustomDomainResource) ResourceType() string

type ContainerAppCustomDomainResourceModel

type ContainerAppCustomDomainResourceModel struct {
	Name                 string `tfschema:"name"`
	ContainerAppId       string `tfschema:"container_app_id"`
	CertificateId        string `tfschema:"container_app_environment_certificate_id"`
	BindingType          string `tfschema:"certificate_binding_type"`
	ManagedCertificateId string `tfschema:"container_app_environment_managed_certificate_id"`
}

type ContainerAppDataSource

type ContainerAppDataSource struct{}

func (ContainerAppDataSource) Arguments

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

func (ContainerAppDataSource) Attributes

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

func (ContainerAppDataSource) ModelObject

func (r ContainerAppDataSource) ModelObject() interface{}

func (ContainerAppDataSource) Read

func (ContainerAppDataSource) ResourceType

func (r ContainerAppDataSource) ResourceType() string

type ContainerAppDataSourceModel

type ContainerAppDataSourceModel struct {
	Name                       string                                     `tfschema:"name"`
	ResourceGroup              string                                     `tfschema:"resource_group_name"`
	ManagedEnvironmentId       string                                     `tfschema:"container_app_environment_id"`
	Location                   string                                     `tfschema:"location"`
	RevisionMode               string                                     `tfschema:"revision_mode"`
	MaxInactiveRevisions       int64                                      `tfschema:"max_inactive_revisions"`
	Ingress                    []helpers.Ingress                          `tfschema:"ingress"`
	Registries                 []helpers.Registry                         `tfschema:"registry"`
	Secrets                    []helpers.Secret                           `tfschema:"secret"`
	Dapr                       []helpers.Dapr                             `tfschema:"dapr"`
	Template                   []helpers.ContainerTemplate                `tfschema:"template"`
	Identity                   []identity.ModelSystemAssignedUserAssigned `tfschema:"identity"`
	Tags                       map[string]interface{}                     `tfschema:"tags"`
	OutboundIpAddresses        []string                                   `tfschema:"outbound_ip_addresses"`
	LatestRevisionName         string                                     `tfschema:"latest_revision_name"`
	LatestRevisionFqdn         string                                     `tfschema:"latest_revision_fqdn"`
	CustomDomainVerificationId string                                     `tfschema:"custom_domain_verification_id"`
	WorkloadProfileName        string                                     `tfschema:"workload_profile_name"`
}

type ContainerAppEnvironmentCertificateDataSource

type ContainerAppEnvironmentCertificateDataSource struct{}

func (ContainerAppEnvironmentCertificateDataSource) Arguments

func (ContainerAppEnvironmentCertificateDataSource) Attributes

func (ContainerAppEnvironmentCertificateDataSource) ModelObject

func (r ContainerAppEnvironmentCertificateDataSource) ModelObject() interface{}

func (ContainerAppEnvironmentCertificateDataSource) Read

func (ContainerAppEnvironmentCertificateDataSource) ResourceType

type ContainerAppEnvironmentCertificateDataSourceModel

type ContainerAppEnvironmentCertificateDataSourceModel struct {
	Name                 string `tfschema:"name"`
	ManagedEnvironmentId string `tfschema:"container_app_environment_id"`

	// Read Only
	SubjectName    string                 `tfschema:"subject_name"`
	Issuer         string                 `tfschema:"issuer"`
	IssueDate      string                 `tfschema:"issue_date"`
	ExpirationDate string                 `tfschema:"expiration_date"`
	Thumbprint     string                 `tfschema:"thumbprint"`
	Tags           map[string]interface{} `tfschema:"tags"`
}

type ContainerAppEnvironmentCertificateResource

type ContainerAppEnvironmentCertificateResource struct{}

func (ContainerAppEnvironmentCertificateResource) Arguments

func (ContainerAppEnvironmentCertificateResource) Attributes

func (ContainerAppEnvironmentCertificateResource) Create

func (ContainerAppEnvironmentCertificateResource) Delete

func (ContainerAppEnvironmentCertificateResource) IDValidationFunc

func (ContainerAppEnvironmentCertificateResource) ModelObject

func (r ContainerAppEnvironmentCertificateResource) ModelObject() interface{}

func (ContainerAppEnvironmentCertificateResource) Read

func (ContainerAppEnvironmentCertificateResource) ResourceType

func (ContainerAppEnvironmentCertificateResource) Update

type ContainerAppEnvironmentCustomDomainModel

type ContainerAppEnvironmentCustomDomainModel struct {
	ManagedEnvironmentId string `tfschema:"container_app_environment_id"`

	CertificatePassword string `tfschema:"certificate_password"`
	CertificateValue    string `tfschema:"certificate_blob_base64"`
	DnsSuffix           string `tfschema:"dns_suffix"`
}

type ContainerAppEnvironmentCustomDomainResource

type ContainerAppEnvironmentCustomDomainResource struct{}

func (ContainerAppEnvironmentCustomDomainResource) Arguments

func (ContainerAppEnvironmentCustomDomainResource) Attributes

func (ContainerAppEnvironmentCustomDomainResource) Create

func (ContainerAppEnvironmentCustomDomainResource) Delete

func (ContainerAppEnvironmentCustomDomainResource) IDValidationFunc

func (ContainerAppEnvironmentCustomDomainResource) ModelObject

func (r ContainerAppEnvironmentCustomDomainResource) ModelObject() interface{}

func (ContainerAppEnvironmentCustomDomainResource) Read

func (ContainerAppEnvironmentCustomDomainResource) ResourceType

func (ContainerAppEnvironmentCustomDomainResource) Update

type ContainerAppEnvironmentDaprComponentModel

type ContainerAppEnvironmentDaprComponentModel struct {
	Name                 string                 `tfschema:"name"`
	ManagedEnvironmentId string                 `tfschema:"container_app_environment_id"`
	ComponentType        string                 `tfschema:"component_type"`
	Version              string                 `tfschema:"version"`
	IgnoreErrors         bool                   `tfschema:"ignore_errors"`
	InitTimeout          string                 `tfschema:"init_timeout"`
	Secrets              []helpers.DaprSecret   `tfschema:"secret"`
	Scopes               []string               `tfschema:"scopes"`
	Metadata             []helpers.DaprMetadata `tfschema:"metadata"`
}

type ContainerAppEnvironmentDaprComponentResource

type ContainerAppEnvironmentDaprComponentResource struct{}

func (ContainerAppEnvironmentDaprComponentResource) Arguments

func (ContainerAppEnvironmentDaprComponentResource) Attributes

func (ContainerAppEnvironmentDaprComponentResource) Create

func (ContainerAppEnvironmentDaprComponentResource) Delete

func (ContainerAppEnvironmentDaprComponentResource) IDValidationFunc

func (ContainerAppEnvironmentDaprComponentResource) ModelObject

func (r ContainerAppEnvironmentDaprComponentResource) ModelObject() interface{}

func (ContainerAppEnvironmentDaprComponentResource) Read

func (ContainerAppEnvironmentDaprComponentResource) ResourceType

func (ContainerAppEnvironmentDaprComponentResource) Update

type ContainerAppEnvironmentDataSource

type ContainerAppEnvironmentDataSource struct{}

func (ContainerAppEnvironmentDataSource) Arguments

func (ContainerAppEnvironmentDataSource) Attributes

func (ContainerAppEnvironmentDataSource) ModelObject

func (r ContainerAppEnvironmentDataSource) ModelObject() interface{}

func (ContainerAppEnvironmentDataSource) Read

func (ContainerAppEnvironmentDataSource) ResourceType

func (r ContainerAppEnvironmentDataSource) ResourceType() string

type ContainerAppEnvironmentDataSourceModel

type ContainerAppEnvironmentDataSourceModel struct {
	Name          string `tfschema:"name"`
	ResourceGroup string `tfschema:"resource_group_name"`

	Location                    string                 `tfschema:"location"`
	LogAnalyticsWorkspaceName   string                 `tfschema:"log_analytics_workspace_name"`
	InfrastructureSubnetId      string                 `tfschema:"infrastructure_subnet_id"`
	InternalLoadBalancerEnabled bool                   `tfschema:"internal_load_balancer_enabled"`
	Tags                        map[string]interface{} `tfschema:"tags"`

	CustomDomainVerificationId string `tfschema:"custom_domain_verification_id"`

	DefaultDomain         string `tfschema:"default_domain"`
	DockerBridgeCidr      string `tfschema:"docker_bridge_cidr"`
	PlatformReservedCidr  string `tfschema:"platform_reserved_cidr"`
	PlatformReservedDnsIP string `tfschema:"platform_reserved_dns_ip_address"`
	StaticIP              string `tfschema:"static_ip_address"`
}

type ContainerAppEnvironmentModel

type ContainerAppEnvironmentModel struct {
	Name                                    string                         `tfschema:"name"`
	ResourceGroup                           string                         `tfschema:"resource_group_name"`
	Location                                string                         `tfschema:"location"`
	DaprApplicationInsightsConnectionString string                         `tfschema:"dapr_application_insights_connection_string"`
	LogAnalyticsWorkspaceId                 string                         `tfschema:"log_analytics_workspace_id"`
	LogsDestination                         string                         `tfschema:"logs_destination"`
	InfrastructureSubnetId                  string                         `tfschema:"infrastructure_subnet_id"`
	InternalLoadBalancerEnabled             bool                           `tfschema:"internal_load_balancer_enabled"`
	ZoneRedundant                           bool                           `tfschema:"zone_redundancy_enabled"`
	Tags                                    map[string]interface{}         `tfschema:"tags"`
	WorkloadProfiles                        []helpers.WorkloadProfileModel `tfschema:"workload_profile"`
	InfrastructureResourceGroup             string                         `tfschema:"infrastructure_resource_group_name"`
	Mtls                                    bool                           `tfschema:"mutual_tls_enabled"`

	CustomDomainVerificationId string `tfschema:"custom_domain_verification_id"`

	DefaultDomain         string `tfschema:"default_domain"`
	DockerBridgeCidr      string `tfschema:"docker_bridge_cidr"`
	PlatformReservedCidr  string `tfschema:"platform_reserved_cidr"`
	PlatformReservedDnsIP string `tfschema:"platform_reserved_dns_ip_address"`
	StaticIP              string `tfschema:"static_ip_address"`
}

type ContainerAppEnvironmentResource

type ContainerAppEnvironmentResource struct{}

func (ContainerAppEnvironmentResource) Arguments

func (ContainerAppEnvironmentResource) Attributes

func (ContainerAppEnvironmentResource) Create

func (ContainerAppEnvironmentResource) CustomizeDiff

func (ContainerAppEnvironmentResource) Delete

func (ContainerAppEnvironmentResource) IDValidationFunc

func (ContainerAppEnvironmentResource) ModelObject

func (r ContainerAppEnvironmentResource) ModelObject() interface{}

func (ContainerAppEnvironmentResource) Read

func (ContainerAppEnvironmentResource) ResourceType

func (r ContainerAppEnvironmentResource) ResourceType() string

func (ContainerAppEnvironmentResource) Update

type ContainerAppEnvironmentStorageModel

type ContainerAppEnvironmentStorageModel struct {
	Name                      string `tfschema:"name"`
	ContainerAppEnvironmentId string `tfschema:"container_app_environment_id"`
	AccountName               string `tfschema:"account_name"`
	AccessKey                 string `tfschema:"access_key"`
	ShareName                 string `tfschema:"share_name"`
	AccessMode                string `tfschema:"access_mode"`
}

type ContainerAppEnvironmentStorageResource

type ContainerAppEnvironmentStorageResource struct{}

func (ContainerAppEnvironmentStorageResource) Arguments

func (ContainerAppEnvironmentStorageResource) Attributes

func (ContainerAppEnvironmentStorageResource) Create

func (ContainerAppEnvironmentStorageResource) Delete

func (ContainerAppEnvironmentStorageResource) IDValidationFunc

func (ContainerAppEnvironmentStorageResource) ModelObject

func (r ContainerAppEnvironmentStorageResource) ModelObject() interface{}

func (ContainerAppEnvironmentStorageResource) Read

func (ContainerAppEnvironmentStorageResource) ResourceType

func (ContainerAppEnvironmentStorageResource) Update

type ContainerAppJobModel

type ContainerAppJobModel struct {
	Name                      string                                     `tfschema:"name"`
	ResourceGroup             string                                     `tfschema:"resource_group_name"`
	Location                  string                                     `tfschema:"location"`
	ContainerAppEnvironmentId string                                     `tfschema:"container_app_environment_id"`
	WorkloadProfileName       string                                     `tfschema:"workload_profile_name"`
	Template                  []helpers.JobTemplateModel                 `tfschema:"template"`
	ReplicaRetryLimit         int64                                      `tfschema:"replica_retry_limit"`
	ReplicaTimeoutInSeconds   int64                                      `tfschema:"replica_timeout_in_seconds"`
	Secrets                   []helpers.Secret                           `tfschema:"secret"`
	SecretsDeprecated         []helpers.Secret                           `tfschema:"secrets,removedInNextMajorVersion"`
	Registries                []helpers.Registry                         `tfschema:"registry"`
	RegistriesDeprecated      []helpers.Registry                         `tfschema:"registries,removedInNextMajorVersion"`
	EventTriggerConfig        []helpers.EventTriggerConfiguration        `tfschema:"event_trigger_config"`
	ManualTriggerConfig       []helpers.ManualTriggerConfiguration       `tfschema:"manual_trigger_config"`
	ScheduleTriggerConfig     []helpers.ScheduleTriggerConfiguration     `tfschema:"schedule_trigger_config"`
	Identity                  []identity.ModelSystemAssignedUserAssigned `tfschema:"identity"`
	Tags                      map[string]interface{}                     `tfschema:"tags"`

	OutboundIPAddresses []string `tfschema:"outbound_ip_addresses"`
	EventStreamEndpoint string   `tfschema:"event_stream_endpoint"`
}

type ContainerAppJobResource

type ContainerAppJobResource struct{}

func (ContainerAppJobResource) Arguments

func (r ContainerAppJobResource) Arguments() map[string]*schema.Schema

func (ContainerAppJobResource) Attributes

func (r ContainerAppJobResource) Attributes() map[string]*schema.Schema

func (ContainerAppJobResource) Create

func (ContainerAppJobResource) Delete

func (ContainerAppJobResource) IDValidationFunc

func (ContainerAppJobResource) ModelObject

func (r ContainerAppJobResource) ModelObject() interface{}

func (ContainerAppJobResource) Read

func (ContainerAppJobResource) ResourceType

func (r ContainerAppJobResource) ResourceType() string

func (ContainerAppJobResource) Update

type ContainerAppModel

type ContainerAppModel struct {
	Name                 string `tfschema:"name"`
	ResourceGroup        string `tfschema:"resource_group_name"`
	ManagedEnvironmentId string `tfschema:"container_app_environment_id"`
	Location             string `tfschema:"location"`

	RevisionMode string                      `tfschema:"revision_mode"`
	Ingress      []helpers.Ingress           `tfschema:"ingress"`
	Registries   []helpers.Registry          `tfschema:"registry"`
	Secrets      []helpers.Secret            `tfschema:"secret"`
	Dapr         []helpers.Dapr              `tfschema:"dapr"`
	Template     []helpers.ContainerTemplate `tfschema:"template"`

	Identity             []identity.ModelSystemAssignedUserAssigned `tfschema:"identity"`
	WorkloadProfileName  string                                     `tfschema:"workload_profile_name"`
	MaxInactiveRevisions int64                                      `tfschema:"max_inactive_revisions"`
	Tags                 map[string]interface{}                     `tfschema:"tags"`

	OutboundIpAddresses        []string `tfschema:"outbound_ip_addresses"`
	LatestRevisionName         string   `tfschema:"latest_revision_name"`
	LatestRevisionFqdn         string   `tfschema:"latest_revision_fqdn"`
	CustomDomainVerificationId string   `tfschema:"custom_domain_verification_id"`
}

type ContainerAppResource

type ContainerAppResource struct{}

func (ContainerAppResource) Arguments

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

func (ContainerAppResource) Attributes

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

func (ContainerAppResource) Create

func (ContainerAppResource) CustomizeDiff

func (r ContainerAppResource) CustomizeDiff() sdk.ResourceFunc

func (ContainerAppResource) Delete

func (ContainerAppResource) IDValidationFunc

func (r ContainerAppResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (ContainerAppResource) ModelObject

func (r ContainerAppResource) ModelObject() interface{}

func (ContainerAppResource) Read

func (ContainerAppResource) ResourceType

func (r ContainerAppResource) ResourceType() string

func (ContainerAppResource) Update

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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