datasource

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessList = map[string]schema.Attribute{
	"id": schema.Int64Attribute{
		Description: "The ID of the access list.",
		Required:    true,
	},
	"created_on": schema.StringAttribute{
		Description: "The date and time the access list was created.",
		Computed:    true,
	},
	"modified_on": schema.StringAttribute{
		Description: "The date and time the access list was last modified.",
		Computed:    true,
	},
	"name": schema.StringAttribute{
		Description: "The name of the access list.",
		Computed:    true,
	},
	"owner_user_id": schema.Int64Attribute{
		Description: "The ID of the user that owns the access list.",
		Computed:    true,
	},
	"authorization": schema.ListNestedAttribute{
		Description: "The authorization items of the access list.",
		Computed:    true,
		NestedObject: schema.NestedAttributeObject{
			Attributes: AccessListAuthorization,
		},
	},
	"access": schema.ListNestedAttribute{
		Description: "The access items of the access list.",
		Computed:    true,
		NestedObject: schema.NestedAttributeObject{
			Attributes: AccessListAccess,
		},
	},
	"pass_auth": schema.BoolAttribute{
		Description: "Whether or not to pass the authorization header to the upstream server.",
		Computed:    true,
	},
	"satisfy_any": schema.BoolAttribute{
		Description: "Whether or not to satisfy any of the authorization items.",
		Computed:    true,
	},
	"meta": schema.MapAttribute{
		Description: "The meta data associated with the access list.",
		ElementType: types.StringType,
		Computed:    true,
	},
}
View Source
var AccessListAccess = map[string]schema.Attribute{
	"id": schema.Int64Attribute{
		Description: "The ID of the access item.",
		Computed:    true,
	},
	"created_on": schema.StringAttribute{
		Description: "The date and time the access item was created.",
		Computed:    true,
	},
	"modified_on": schema.StringAttribute{
		Description: "The date and time the access item was last modified.",
		Computed:    true,
	},
	"address": schema.StringAttribute{
		Description: "The address of the access item.",
		Computed:    true,
	},
	"directive": schema.StringAttribute{
		Description: "The directive of the access item.",
		Computed:    true,
	},
	"meta": schema.MapAttribute{
		Description: "The meta data associated with the authorization item.",
		ElementType: types.StringType,
		Computed:    true,
	},
}
View Source
var AccessListAuthorization = map[string]schema.Attribute{
	"id": schema.Int64Attribute{
		Description: "The ID of the authorization item.",
		Computed:    true,
	},
	"created_on": schema.StringAttribute{
		Description: "The date and time the authorization item was created.",
		Computed:    true,
	},
	"modified_on": schema.StringAttribute{
		Description: "The date and time the authorization item was last modified.",
		Computed:    true,
	},
	"username": schema.StringAttribute{
		Description: "The username of the authorization item.",
		Computed:    true,
	},
	"password_hint": schema.StringAttribute{
		Description: "The password hint of the authorization item.",
		Computed:    true,
		Sensitive:   true,
	},
	"meta": schema.MapAttribute{
		Description: "The meta data associated with the authorization item.",
		ElementType: types.StringType,
		Computed:    true,
	},
}
View Source
var AccessLists = map[string]schema.Attribute{
	"access_lists": schema.ListNestedAttribute{
		Description: "The access lists.",
		Computed:    true,
		NestedObject: schema.NestedAttributeObject{
			Attributes: utils.MergeMaps(AccessList, nestedAccessList),
		},
	},
}
View Source
var Certificate = map[string]schema.Attribute{
	"id": schema.Int64Attribute{
		Description: "The ID of the certificate.",
		Required:    true,
	},
	"created_on": schema.StringAttribute{
		Description: "The date and time the certificate was created.",
		Computed:    true,
	},
	"modified_on": schema.StringAttribute{
		Description: "The date and time the certificate was last modified.",
		Computed:    true,
	},
	"provider_name": schema.StringAttribute{
		Description: "The provider of the certificate.",
		Computed:    true,
	},
	"nice_name": schema.StringAttribute{
		Description: "The nice name of the certificate.",
		Computed:    true,
	},
	"domain_names": schema.ListAttribute{
		Description: "The domain names associated with the certificate.",
		Computed:    true,
		ElementType: types.StringType,
	},
	"expires_on": schema.StringAttribute{
		Description: "The date and time the certificate expires.",
		Computed:    true,
	},
	"meta": schema.MapAttribute{
		Description: "The meta data associated with the certificate.",
		ElementType: types.StringType,
		Computed:    true,
	},
}
View Source
var Certificates = map[string]schema.Attribute{
	"certificates": schema.ListNestedAttribute{
		Description: "The certificates.",
		Computed:    true,
		NestedObject: schema.NestedAttributeObject{
			Attributes: utils.MergeMaps(Certificate, nestedCertificate),
		},
	},
}
View Source
var ProxyHost = map[string]schema.Attribute{
	"id": schema.Int64Attribute{
		Description: "The ID of the proxy host.",
		Required:    true,
	},
	"created_on": schema.StringAttribute{
		Description: "The date and time the proxy host was created.",
		Computed:    true,
	},
	"modified_on": schema.StringAttribute{
		Description: "The date and time the proxy host was last modified.",
		Computed:    true,
	},
	"owner_user_id": schema.Int64Attribute{
		Description: "The ID of the user that owns the proxy host.",
		Computed:    true,
	},
	"domain_names": schema.ListAttribute{
		Description: "The domain names associated with the proxy host.",
		Computed:    true,
		ElementType: types.StringType,
	},
	"forward_scheme": schema.StringAttribute{
		Description: "The scheme used to forward requests to the proxy host. Can be either `http` or `https`.",
		Computed:    true,
	},
	"forward_host": schema.StringAttribute{
		Description: "The host used to forward requests to the proxy host.",
		Computed:    true,
	},
	"forward_port": schema.Int64Attribute{
		Description: "The port used to forward requests to the proxy host.",
		Computed:    true,
	},
	"certificate_id": schema.StringAttribute{
		Description: "The ID of the certificate used by the proxy host.",
		Computed:    true,
	},
	"ssl_forced": schema.BoolAttribute{
		Description: "Whether SSL is forced for the proxy host.",
		Computed:    true,
	},
	"hsts_enabled": schema.BoolAttribute{
		Description: "Whether HSTS is enabled for the proxy host.",
		Computed:    true,
	},
	"hsts_subdomains": schema.BoolAttribute{
		Description: "Whether HSTS is enabled for subdomains of the proxy host.",
		Computed:    true,
	},
	"http2_support": schema.BoolAttribute{
		Description: "Whether HTTP/2 is supported for the proxy host.",
		Computed:    true,
	},
	"block_exploits": schema.BoolAttribute{
		Description: "Whether exploits are blocked for the proxy host.",
		Computed:    true,
	},
	"caching_enabled": schema.BoolAttribute{
		Description: "Whether caching is enabled for the proxy host.",
		Computed:    true,
	},
	"allow_websocket_upgrade": schema.BoolAttribute{
		Description: "Whether websocket upgrades are allowed for the proxy host.",
		Computed:    true,
	},
	"access_list_id": schema.Int64Attribute{
		Description: "The ID of the access list used by the proxy host.",
		Computed:    true,
	},
	"advanced_config": schema.StringAttribute{
		Description: "The advanced configuration used by the proxy host.",
		Computed:    true,
	},
	"enabled": schema.BoolAttribute{
		Description: "Whether the proxy host is enabled.",
		Computed:    true,
	},
	"meta": schema.MapAttribute{
		Description: "The meta data associated with the proxy host.",
		ElementType: types.StringType,
		Computed:    true,
	},
	"locations": schema.ListNestedAttribute{
		Description: "The locations associated with the proxy host.",
		Computed:    true,
		NestedObject: schema.NestedAttributeObject{
			Attributes: ProxyHostLocation,
		},
	},
}
View Source
var ProxyHostLocation = map[string]schema.Attribute{
	"path": schema.StringAttribute{
		Description: "The path associated with the location.",
		Computed:    true,
	},
	"forward_scheme": schema.StringAttribute{
		Description: "The scheme used to forward requests to the location. Can be either `http` or `https`.",
		Computed:    true,
	},
	"forward_host": schema.StringAttribute{
		Description: "The host used to forward requests to the location.",
		Computed:    true,
	},
	"forward_port": schema.Int64Attribute{
		Description: "The port used to forward requests to the location.",
		Computed:    true,
	},
	"advanced_config": schema.StringAttribute{
		Description: "The advanced configuration used by the location.",
		Computed:    true,
	},
}
View Source
var ProxyHosts = map[string]schema.Attribute{
	"proxy_hosts": schema.ListNestedAttribute{
		Description: "The proxy hosts.",
		Computed:    true,
		NestedObject: schema.NestedAttributeObject{
			Attributes: utils.MergeMaps(ProxyHost, nestedProxyHost),
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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