access

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIPAccessListsAPI

func NewIPAccessListsAPI(ctx context.Context, m interface{}) ipAccessListsAPI

NewIPAccessListsAPI ...

func ResourceIPAccessList

func ResourceIPAccessList() *schema.Resource

ResourceIPAccessList manages IP access lists

func ResourceSqlPermissions

func ResourceSqlPermissions() *schema.Resource

ResourceSqlPermissions manages table ACLs

Types

type IpAccessListStatus

type IpAccessListStatus struct {
	ListID        string   `json:"list_id"`
	Label         string   `json:"label"`
	ListType      string   `json:"list_type"`
	IPAddresses   []string `json:"ip_addresses"`
	AddressCount  int      `json:"address_count,omitempty"`
	CreatedAt     int64    `json:"created_at,omitempty"`
	CreatorUserID int64    `json:"creator_user_id,omitempty"`
	UpdatedAt     int64    `json:"updated_at,omitempty"`
	UpdatorUserID int64    `json:"updator_user_id,omitempty"`
	Enabled       bool     `json:"enabled,omitempty"`
}

type IpAccessListStatusWrapper

type IpAccessListStatusWrapper struct {
	IPAccessList IpAccessListStatus `json:"ip_access_list,omitempty"`
}

type ListIPAccessListsResponse

type ListIPAccessListsResponse struct {
	ListIPAccessListsResponse []IpAccessListStatus `json:"ip_access_lists,omitempty"`
}

type PrivilegeAssignment

type PrivilegeAssignment struct {
	Principal  string   `json:"principal"`
	Privileges []string `json:"privileges" tf:"slice_set"`
}

PrivilegeAssignment ...

type SqlPermissions

type SqlPermissions struct {
	Table                string                `json:"table,omitempty" tf:"force_new"`
	View                 string                `json:"view,omitempty" tf:"force_new"`
	Database             string                `json:"database,omitempty" tf:"force_new"`
	Catalog              bool                  `json:"catalog,omitempty" tf:"force_new"`
	AnyFile              bool                  `json:"any_file,omitempty" tf:"force_new"`
	AnonymousFunction    bool                  `json:"anonymous_function,omitempty" tf:"force_new"`
	ClusterID            string                `json:"cluster_id,omitempty" tf:"computed"`
	PrivilegeAssignments []PrivilegeAssignment `json:"privilege_assignments,omitempty" tf:"slice_set"`
	// contains filtered or unexported fields
}

SqlPermissions defines table access control

func (*SqlPermissions) ID

func (ta *SqlPermissions) ID() string

ID returns Terraform resource ID

Jump to

Keyboard shortcuts

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