Documentation
¶
Index ¶
- func NewIPAccessListsAPI(ctx context.Context, m interface{}) ipAccessListsAPI
- func ResourceIPAccessList() *schema.Resource
- func ResourceSqlPermissions() *schema.Resource
- type IpAccessListStatus
- type IpAccessListStatusWrapper
- type ListIPAccessListsResponse
- type PrivilegeAssignment
- type SqlPermissions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIPAccessListsAPI ¶
NewIPAccessListsAPI ...
func ResourceIPAccessList ¶
ResourceIPAccessList manages IP access lists
func ResourceSqlPermissions ¶
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
Click to show internal directories.
Click to hide internal directories.