Documentation ¶
Overview ¶
Package gtm contains implementation for Akamai Terraform sub-provider responsible for managing Global Traffic Management (GTM) domain configuration and administration
Index ¶
- Variables
- func GetQueryArgs(d *schema.ResourceData) (map[string]string, error)
- func NewGTMAsmapDataSource() datasource.DataSource
- func NewGTMCidrmapDataSource() datasource.DataSource
- func NewGTMDomainDataSource() datasource.DataSource
- func NewGTMDomainsDataSource() datasource.DataSource
- func NewGTMResourceDataSource() datasource.DataSource
- func NewGTMResourcesDataSource() datasource.DataSource
- type FrameworkSubprovider
- type PluginSubprovider
Constants ¶
This section is empty.
Variables ¶
var HashiAcc = false
HashiAcc is Hack for Hashicorp Acceptance Tests
Functions ¶
func GetQueryArgs ¶
func GetQueryArgs(d *schema.ResourceData) (map[string]string, error)
GetQueryArgs retrieves optional query args. contractId, groupId [and accountSwitchKey] supported.
func NewGTMAsmapDataSource ¶ added in v5.6.0
func NewGTMAsmapDataSource() datasource.DataSource
NewGTMAsmapDataSource returns a new GTM asmap data source
func NewGTMCidrmapDataSource ¶ added in v5.6.0
func NewGTMCidrmapDataSource() datasource.DataSource
NewGTMCidrmapDataSource returns a new GTM cidrmap data source
func NewGTMDomainDataSource ¶ added in v5.6.0
func NewGTMDomainDataSource() datasource.DataSource
NewGTMDomainDataSource returns a new GTM domain data source
func NewGTMDomainsDataSource ¶ added in v5.6.0
func NewGTMDomainsDataSource() datasource.DataSource
NewGTMDomainsDataSource returns a new GTM domains data source
func NewGTMResourceDataSource ¶ added in v5.6.0
func NewGTMResourceDataSource() datasource.DataSource
NewGTMResourceDataSource returns a new GTM resource data source.
func NewGTMResourcesDataSource ¶ added in v5.6.0
func NewGTMResourcesDataSource() datasource.DataSource
NewGTMResourcesDataSource returns a new GTM resources data source.
Types ¶
type FrameworkSubprovider ¶ added in v5.6.0
type FrameworkSubprovider struct {
// contains filtered or unexported fields
}
FrameworkSubprovider gathers property resources and data sources written using terraform-plugin-framework
func NewFrameworkSubprovider ¶ added in v5.6.0
func NewFrameworkSubprovider() *FrameworkSubprovider
NewFrameworkSubprovider returns a core Framework based sub provider
func (*FrameworkSubprovider) Client ¶ added in v5.6.0
func (f *FrameworkSubprovider) Client(meta meta.Meta) gtm.GTM
Client returns the GTM interface
func (*FrameworkSubprovider) DataSources ¶ added in v5.6.0
func (f *FrameworkSubprovider) DataSources() []func() datasource.DataSource
DataSources returns the GTM data sources implemented using terraform-plugin-framework
func (*FrameworkSubprovider) Resources ¶ added in v5.6.0
func (f *FrameworkSubprovider) Resources() []func() resource.Resource
Resources returns the GTM resources implemented using terraform-plugin-framework
type PluginSubprovider ¶ added in v5.6.0
type PluginSubprovider struct {
// contains filtered or unexported fields
}
PluginSubprovider gathers gtm resources and data sources
func NewSubprovider ¶
func NewSubprovider() *PluginSubprovider
NewSubprovider returns a new GTM subprovider
func (*PluginSubprovider) Client ¶ added in v5.6.0
func (p *PluginSubprovider) Client(meta meta.Meta) gtm.GTM
Client returns the GTM interface
func (*PluginSubprovider) DataSources ¶ added in v5.6.0
func (p *PluginSubprovider) DataSources() map[string]*schema.Resource
DataSources returns terraform data sources for gtm
Source Files ¶
- common.go
- data_akamai_gtm_asmap.go
- data_akamai_gtm_cidrmap.go
- data_akamai_gtm_datacenter.go
- data_akamai_gtm_datacenters.go
- data_akamai_gtm_default_datacenter.go
- data_akamai_gtm_domain.go
- data_akamai_gtm_domains.go
- data_akamai_gtm_resource.go
- data_akamai_gtm_resources.go
- gtm.go
- provider.go
- resource_akamai_gtm_asmap.go
- resource_akamai_gtm_cidrmap.go
- resource_akamai_gtm_datacenter.go
- resource_akamai_gtm_domain.go
- resource_akamai_gtm_geomap.go
- resource_akamai_gtm_property.go
- resource_akamai_gtm_resource.go