Documentation
¶
Index ¶
- type AccessControlRequest
- func (a AccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan AccessControlRequest)
- func (newState *AccessControlRequest) SyncEffectiveFieldsDuringRead(existingState AccessControlRequest)
- func (o AccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AccessControlRequest) Type(ctx context.Context) attr.Type
- type AccessControlResponse
- func (o *AccessControlResponse) GetAllPermissions(ctx context.Context) ([]Permission, bool)
- func (a AccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *AccessControlResponse) SetAllPermissions(ctx context.Context, v []Permission)
- func (newState *AccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan AccessControlResponse)
- func (newState *AccessControlResponse) SyncEffectiveFieldsDuringRead(existingState AccessControlResponse)
- func (o AccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AccessControlResponse) Type(ctx context.Context) attr.Type
- type ComplexValue
- func (a ComplexValue) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ComplexValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan ComplexValue)
- func (newState *ComplexValue) SyncEffectiveFieldsDuringRead(existingState ComplexValue)
- func (o ComplexValue) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ComplexValue) Type(ctx context.Context) attr.Type
- type DeleteAccountGroupRequest
- func (a DeleteAccountGroupRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteAccountGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountGroupRequest)
- func (newState *DeleteAccountGroupRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountGroupRequest)
- func (o DeleteAccountGroupRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteAccountGroupRequest) Type(ctx context.Context) attr.Type
- type DeleteAccountServicePrincipalRequest
- func (a DeleteAccountServicePrincipalRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteAccountServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountServicePrincipalRequest)
- func (newState *DeleteAccountServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountServicePrincipalRequest)
- func (o DeleteAccountServicePrincipalRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteAccountServicePrincipalRequest) Type(ctx context.Context) attr.Type
- type DeleteAccountUserRequest
- func (a DeleteAccountUserRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteAccountUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountUserRequest)
- func (newState *DeleteAccountUserRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountUserRequest)
- func (o DeleteAccountUserRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteAccountUserRequest) Type(ctx context.Context) attr.Type
- type DeleteGroupRequest
- func (a DeleteGroupRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteGroupRequest)
- func (newState *DeleteGroupRequest) SyncEffectiveFieldsDuringRead(existingState DeleteGroupRequest)
- func (o DeleteGroupRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteGroupRequest) Type(ctx context.Context) attr.Type
- type DeleteResponse
- func (a DeleteResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse)
- func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse)
- func (o DeleteResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteResponse) Type(ctx context.Context) attr.Type
- type DeleteServicePrincipalRequest
- func (a DeleteServicePrincipalRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServicePrincipalRequest)
- func (newState *DeleteServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState DeleteServicePrincipalRequest)
- func (o DeleteServicePrincipalRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteServicePrincipalRequest) Type(ctx context.Context) attr.Type
- type DeleteUserRequest
- func (a DeleteUserRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteUserRequest)
- func (newState *DeleteUserRequest) SyncEffectiveFieldsDuringRead(existingState DeleteUserRequest)
- func (o DeleteUserRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteUserRequest) Type(ctx context.Context) attr.Type
- type DeleteWorkspaceAssignmentRequest
- func (a DeleteWorkspaceAssignmentRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWorkspaceAssignmentRequest)
- func (newState *DeleteWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspaceAssignmentRequest)
- func (o DeleteWorkspaceAssignmentRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteWorkspaceAssignmentRequest) Type(ctx context.Context) attr.Type
- type DeleteWorkspacePermissionAssignmentResponse
- func (a DeleteWorkspacePermissionAssignmentResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteWorkspacePermissionAssignmentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWorkspacePermissionAssignmentResponse)
- func (newState *DeleteWorkspacePermissionAssignmentResponse) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspacePermissionAssignmentResponse)
- func (o DeleteWorkspacePermissionAssignmentResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteWorkspacePermissionAssignmentResponse) Type(ctx context.Context) attr.Type
- type GetAccountGroupRequest
- func (a GetAccountGroupRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetAccountGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountGroupRequest)
- func (newState *GetAccountGroupRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountGroupRequest)
- func (o GetAccountGroupRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetAccountGroupRequest) Type(ctx context.Context) attr.Type
- type GetAccountServicePrincipalRequest
- func (a GetAccountServicePrincipalRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetAccountServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountServicePrincipalRequest)
- func (newState *GetAccountServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountServicePrincipalRequest)
- func (o GetAccountServicePrincipalRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetAccountServicePrincipalRequest) Type(ctx context.Context) attr.Type
- type GetAccountUserRequest
- func (a GetAccountUserRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetAccountUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountUserRequest)
- func (newState *GetAccountUserRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountUserRequest)
- func (o GetAccountUserRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetAccountUserRequest) Type(ctx context.Context) attr.Type
- type GetAssignableRolesForResourceRequest
- func (a GetAssignableRolesForResourceRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetAssignableRolesForResourceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAssignableRolesForResourceRequest)
- func (newState *GetAssignableRolesForResourceRequest) SyncEffectiveFieldsDuringRead(existingState GetAssignableRolesForResourceRequest)
- func (o GetAssignableRolesForResourceRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetAssignableRolesForResourceRequest) Type(ctx context.Context) attr.Type
- type GetAssignableRolesForResourceResponse
- func (a GetAssignableRolesForResourceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetAssignableRolesForResourceResponse) GetRoles(ctx context.Context) ([]Role, bool)
- func (o *GetAssignableRolesForResourceResponse) SetRoles(ctx context.Context, v []Role)
- func (newState *GetAssignableRolesForResourceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAssignableRolesForResourceResponse)
- func (newState *GetAssignableRolesForResourceResponse) SyncEffectiveFieldsDuringRead(existingState GetAssignableRolesForResourceResponse)
- func (o GetAssignableRolesForResourceResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetAssignableRolesForResourceResponse) Type(ctx context.Context) attr.Type
- type GetGroupRequest
- func (a GetGroupRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetGroupRequest)
- func (newState *GetGroupRequest) SyncEffectiveFieldsDuringRead(existingState GetGroupRequest)
- func (o GetGroupRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetGroupRequest) Type(ctx context.Context) attr.Type
- type GetPasswordPermissionLevelsResponse
- func (a GetPasswordPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetPasswordPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]PasswordPermissionsDescription, bool)
- func (o *GetPasswordPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []PasswordPermissionsDescription)
- func (newState *GetPasswordPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPasswordPermissionLevelsResponse)
- func (newState *GetPasswordPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetPasswordPermissionLevelsResponse)
- func (o GetPasswordPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetPasswordPermissionLevelsResponse) Type(ctx context.Context) attr.Type
- type GetPermissionLevelsRequest
- func (a GetPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPermissionLevelsRequest)
- func (newState *GetPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetPermissionLevelsRequest)
- func (o GetPermissionLevelsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetPermissionLevelsRequest) Type(ctx context.Context) attr.Type
- type GetPermissionLevelsResponse
- func (a GetPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]PermissionsDescription, bool)
- func (o *GetPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []PermissionsDescription)
- func (newState *GetPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPermissionLevelsResponse)
- func (newState *GetPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetPermissionLevelsResponse)
- func (o GetPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetPermissionLevelsResponse) Type(ctx context.Context) attr.Type
- type GetPermissionRequest
- func (a GetPermissionRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetPermissionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPermissionRequest)
- func (newState *GetPermissionRequest) SyncEffectiveFieldsDuringRead(existingState GetPermissionRequest)
- func (o GetPermissionRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetPermissionRequest) Type(ctx context.Context) attr.Type
- type GetRuleSetRequest
- func (a GetRuleSetRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetRuleSetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRuleSetRequest)
- func (newState *GetRuleSetRequest) SyncEffectiveFieldsDuringRead(existingState GetRuleSetRequest)
- func (o GetRuleSetRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetRuleSetRequest) Type(ctx context.Context) attr.Type
- type GetServicePrincipalRequest
- func (a GetServicePrincipalRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServicePrincipalRequest)
- func (newState *GetServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState GetServicePrincipalRequest)
- func (o GetServicePrincipalRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetServicePrincipalRequest) Type(ctx context.Context) attr.Type
- type GetUserRequest
- func (a GetUserRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetUserRequest)
- func (newState *GetUserRequest) SyncEffectiveFieldsDuringRead(existingState GetUserRequest)
- func (o GetUserRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetUserRequest) Type(ctx context.Context) attr.Type
- type GetWorkspaceAssignmentRequest
- func (a GetWorkspaceAssignmentRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceAssignmentRequest)
- func (newState *GetWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceAssignmentRequest)
- func (o GetWorkspaceAssignmentRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetWorkspaceAssignmentRequest) Type(ctx context.Context) attr.Type
- type GrantRule
- func (a GrantRule) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GrantRule) GetPrincipals(ctx context.Context) ([]types.String, bool)
- func (o *GrantRule) SetPrincipals(ctx context.Context, v []types.String)
- func (newState *GrantRule) SyncEffectiveFieldsDuringCreateOrUpdate(plan GrantRule)
- func (newState *GrantRule) SyncEffectiveFieldsDuringRead(existingState GrantRule)
- func (o GrantRule) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GrantRule) Type(ctx context.Context) attr.Type
- type Group
- func (a Group) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Group) GetEntitlements(ctx context.Context) ([]ComplexValue, bool)
- func (o *Group) GetGroups(ctx context.Context) ([]ComplexValue, bool)
- func (o *Group) GetMembers(ctx context.Context) ([]ComplexValue, bool)
- func (o *Group) GetMeta(ctx context.Context) (ResourceMeta, bool)
- func (o *Group) GetRoles(ctx context.Context) ([]ComplexValue, bool)
- func (o *Group) GetSchemas(ctx context.Context) ([]types.String, bool)
- func (o *Group) SetEntitlements(ctx context.Context, v []ComplexValue)
- func (o *Group) SetGroups(ctx context.Context, v []ComplexValue)
- func (o *Group) SetMembers(ctx context.Context, v []ComplexValue)
- func (o *Group) SetMeta(ctx context.Context, v ResourceMeta)
- func (o *Group) SetRoles(ctx context.Context, v []ComplexValue)
- func (o *Group) SetSchemas(ctx context.Context, v []types.String)
- func (newState *Group) SyncEffectiveFieldsDuringCreateOrUpdate(plan Group)
- func (newState *Group) SyncEffectiveFieldsDuringRead(existingState Group)
- func (o Group) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Group) Type(ctx context.Context) attr.Type
- type ListAccountGroupsRequest
- func (a ListAccountGroupsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListAccountGroupsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountGroupsRequest)
- func (newState *ListAccountGroupsRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountGroupsRequest)
- func (o ListAccountGroupsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListAccountGroupsRequest) Type(ctx context.Context) attr.Type
- type ListAccountServicePrincipalsRequest
- func (a ListAccountServicePrincipalsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListAccountServicePrincipalsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountServicePrincipalsRequest)
- func (newState *ListAccountServicePrincipalsRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountServicePrincipalsRequest)
- func (o ListAccountServicePrincipalsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListAccountServicePrincipalsRequest) Type(ctx context.Context) attr.Type
- type ListAccountUsersRequest
- func (a ListAccountUsersRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListAccountUsersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountUsersRequest)
- func (newState *ListAccountUsersRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountUsersRequest)
- func (o ListAccountUsersRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListAccountUsersRequest) Type(ctx context.Context) attr.Type
- type ListGroupsRequest
- func (a ListGroupsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListGroupsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGroupsRequest)
- func (newState *ListGroupsRequest) SyncEffectiveFieldsDuringRead(existingState ListGroupsRequest)
- func (o ListGroupsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListGroupsRequest) Type(ctx context.Context) attr.Type
- type ListGroupsResponse
- func (a ListGroupsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListGroupsResponse) GetResources(ctx context.Context) ([]Group, bool)
- func (o *ListGroupsResponse) GetSchemas(ctx context.Context) ([]types.String, bool)
- func (o *ListGroupsResponse) SetResources(ctx context.Context, v []Group)
- func (o *ListGroupsResponse) SetSchemas(ctx context.Context, v []types.String)
- func (newState *ListGroupsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGroupsResponse)
- func (newState *ListGroupsResponse) SyncEffectiveFieldsDuringRead(existingState ListGroupsResponse)
- func (o ListGroupsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListGroupsResponse) Type(ctx context.Context) attr.Type
- type ListServicePrincipalResponse
- func (a ListServicePrincipalResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListServicePrincipalResponse) GetResources(ctx context.Context) ([]ServicePrincipal, bool)
- func (o *ListServicePrincipalResponse) GetSchemas(ctx context.Context) ([]types.String, bool)
- func (o *ListServicePrincipalResponse) SetResources(ctx context.Context, v []ServicePrincipal)
- func (o *ListServicePrincipalResponse) SetSchemas(ctx context.Context, v []types.String)
- func (newState *ListServicePrincipalResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListServicePrincipalResponse)
- func (newState *ListServicePrincipalResponse) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalResponse)
- func (o ListServicePrincipalResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListServicePrincipalResponse) Type(ctx context.Context) attr.Type
- type ListServicePrincipalsRequest
- func (a ListServicePrincipalsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListServicePrincipalsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListServicePrincipalsRequest)
- func (newState *ListServicePrincipalsRequest) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalsRequest)
- func (o ListServicePrincipalsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListServicePrincipalsRequest) Type(ctx context.Context) attr.Type
- type ListUsersRequest
- func (a ListUsersRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListUsersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListUsersRequest)
- func (newState *ListUsersRequest) SyncEffectiveFieldsDuringRead(existingState ListUsersRequest)
- func (o ListUsersRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListUsersRequest) Type(ctx context.Context) attr.Type
- type ListUsersResponse
- func (a ListUsersResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListUsersResponse) GetResources(ctx context.Context) ([]User, bool)
- func (o *ListUsersResponse) GetSchemas(ctx context.Context) ([]types.String, bool)
- func (o *ListUsersResponse) SetResources(ctx context.Context, v []User)
- func (o *ListUsersResponse) SetSchemas(ctx context.Context, v []types.String)
- func (newState *ListUsersResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListUsersResponse)
- func (newState *ListUsersResponse) SyncEffectiveFieldsDuringRead(existingState ListUsersResponse)
- func (o ListUsersResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListUsersResponse) Type(ctx context.Context) attr.Type
- type ListWorkspaceAssignmentRequest
- func (a ListWorkspaceAssignmentRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWorkspaceAssignmentRequest)
- func (newState *ListWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState ListWorkspaceAssignmentRequest)
- func (o ListWorkspaceAssignmentRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListWorkspaceAssignmentRequest) Type(ctx context.Context) attr.Type
- type MigratePermissionsRequest
- func (a MigratePermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *MigratePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan MigratePermissionsRequest)
- func (newState *MigratePermissionsRequest) SyncEffectiveFieldsDuringRead(existingState MigratePermissionsRequest)
- func (o MigratePermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o MigratePermissionsRequest) Type(ctx context.Context) attr.Type
- type MigratePermissionsResponse
- func (a MigratePermissionsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *MigratePermissionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan MigratePermissionsResponse)
- func (newState *MigratePermissionsResponse) SyncEffectiveFieldsDuringRead(existingState MigratePermissionsResponse)
- func (o MigratePermissionsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o MigratePermissionsResponse) Type(ctx context.Context) attr.Type
- type Name
- func (a Name) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Name) SyncEffectiveFieldsDuringCreateOrUpdate(plan Name)
- func (newState *Name) SyncEffectiveFieldsDuringRead(existingState Name)
- func (o Name) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Name) Type(ctx context.Context) attr.Type
- type ObjectPermissions
- func (o *ObjectPermissions) GetAccessControlList(ctx context.Context) ([]AccessControlResponse, bool)
- func (a ObjectPermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ObjectPermissions) SetAccessControlList(ctx context.Context, v []AccessControlResponse)
- func (newState *ObjectPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ObjectPermissions)
- func (newState *ObjectPermissions) SyncEffectiveFieldsDuringRead(existingState ObjectPermissions)
- func (o ObjectPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ObjectPermissions) Type(ctx context.Context) attr.Type
- type PartialUpdate
- func (a PartialUpdate) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PartialUpdate) GetOperations(ctx context.Context) ([]Patch, bool)
- func (o *PartialUpdate) GetSchemas(ctx context.Context) ([]types.String, bool)
- func (o *PartialUpdate) SetOperations(ctx context.Context, v []Patch)
- func (o *PartialUpdate) SetSchemas(ctx context.Context, v []types.String)
- func (newState *PartialUpdate) SyncEffectiveFieldsDuringCreateOrUpdate(plan PartialUpdate)
- func (newState *PartialUpdate) SyncEffectiveFieldsDuringRead(existingState PartialUpdate)
- func (o PartialUpdate) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PartialUpdate) Type(ctx context.Context) attr.Type
- type PasswordAccessControlRequest
- func (a PasswordAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PasswordAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordAccessControlRequest)
- func (newState *PasswordAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState PasswordAccessControlRequest)
- func (o PasswordAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PasswordAccessControlRequest) Type(ctx context.Context) attr.Type
- type PasswordAccessControlResponse
- func (o *PasswordAccessControlResponse) GetAllPermissions(ctx context.Context) ([]PasswordPermission, bool)
- func (a PasswordAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PasswordAccessControlResponse) SetAllPermissions(ctx context.Context, v []PasswordPermission)
- func (newState *PasswordAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordAccessControlResponse)
- func (newState *PasswordAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState PasswordAccessControlResponse)
- func (o PasswordAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PasswordAccessControlResponse) Type(ctx context.Context) attr.Type
- type PasswordPermission
- func (a PasswordPermission) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PasswordPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *PasswordPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *PasswordPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordPermission)
- func (newState *PasswordPermission) SyncEffectiveFieldsDuringRead(existingState PasswordPermission)
- func (o PasswordPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PasswordPermission) Type(ctx context.Context) attr.Type
- type PasswordPermissions
- func (o *PasswordPermissions) GetAccessControlList(ctx context.Context) ([]PasswordAccessControlResponse, bool)
- func (a PasswordPermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PasswordPermissions) SetAccessControlList(ctx context.Context, v []PasswordAccessControlResponse)
- func (newState *PasswordPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordPermissions)
- func (newState *PasswordPermissions) SyncEffectiveFieldsDuringRead(existingState PasswordPermissions)
- func (o PasswordPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PasswordPermissions) Type(ctx context.Context) attr.Type
- type PasswordPermissionsDescription
- func (a PasswordPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PasswordPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordPermissionsDescription)
- func (newState *PasswordPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState PasswordPermissionsDescription)
- func (o PasswordPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PasswordPermissionsDescription) Type(ctx context.Context) attr.Type
- type PasswordPermissionsRequest
- func (o *PasswordPermissionsRequest) GetAccessControlList(ctx context.Context) ([]PasswordAccessControlRequest, bool)
- func (a PasswordPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PasswordPermissionsRequest) SetAccessControlList(ctx context.Context, v []PasswordAccessControlRequest)
- func (newState *PasswordPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordPermissionsRequest)
- func (newState *PasswordPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState PasswordPermissionsRequest)
- func (o PasswordPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PasswordPermissionsRequest) Type(ctx context.Context) attr.Type
- type Patch
- func (a Patch) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Patch) SyncEffectiveFieldsDuringCreateOrUpdate(plan Patch)
- func (newState *Patch) SyncEffectiveFieldsDuringRead(existingState Patch)
- func (o Patch) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Patch) Type(ctx context.Context) attr.Type
- type PatchResponse
- func (a PatchResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PatchResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PatchResponse)
- func (newState *PatchResponse) SyncEffectiveFieldsDuringRead(existingState PatchResponse)
- func (o PatchResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PatchResponse) Type(ctx context.Context) attr.Type
- type Permission
- func (a Permission) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *Permission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *Permission) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *Permission) SyncEffectiveFieldsDuringCreateOrUpdate(plan Permission)
- func (newState *Permission) SyncEffectiveFieldsDuringRead(existingState Permission)
- func (o Permission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Permission) Type(ctx context.Context) attr.Type
- type PermissionAssignment
- func (a PermissionAssignment) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PermissionAssignment) GetPermissions(ctx context.Context) ([]types.String, bool)
- func (o *PermissionAssignment) GetPrincipal(ctx context.Context) (PrincipalOutput, bool)
- func (o *PermissionAssignment) SetPermissions(ctx context.Context, v []types.String)
- func (o *PermissionAssignment) SetPrincipal(ctx context.Context, v PrincipalOutput)
- func (newState *PermissionAssignment) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermissionAssignment)
- func (newState *PermissionAssignment) SyncEffectiveFieldsDuringRead(existingState PermissionAssignment)
- func (o PermissionAssignment) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PermissionAssignment) Type(ctx context.Context) attr.Type
- type PermissionAssignments
- func (a PermissionAssignments) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PermissionAssignments) GetPermissionAssignments(ctx context.Context) ([]PermissionAssignment, bool)
- func (o *PermissionAssignments) SetPermissionAssignments(ctx context.Context, v []PermissionAssignment)
- func (newState *PermissionAssignments) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermissionAssignments)
- func (newState *PermissionAssignments) SyncEffectiveFieldsDuringRead(existingState PermissionAssignments)
- func (o PermissionAssignments) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PermissionAssignments) Type(ctx context.Context) attr.Type
- type PermissionOutput
- func (a PermissionOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PermissionOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermissionOutput)
- func (newState *PermissionOutput) SyncEffectiveFieldsDuringRead(existingState PermissionOutput)
- func (o PermissionOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PermissionOutput) Type(ctx context.Context) attr.Type
- type PermissionsDescription
- func (a PermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermissionsDescription)
- func (newState *PermissionsDescription) SyncEffectiveFieldsDuringRead(existingState PermissionsDescription)
- func (o PermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PermissionsDescription) Type(ctx context.Context) attr.Type
- type PermissionsRequest
- func (o *PermissionsRequest) GetAccessControlList(ctx context.Context) ([]AccessControlRequest, bool)
- func (a PermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PermissionsRequest) SetAccessControlList(ctx context.Context, v []AccessControlRequest)
- func (newState *PermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermissionsRequest)
- func (newState *PermissionsRequest) SyncEffectiveFieldsDuringRead(existingState PermissionsRequest)
- func (o PermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PermissionsRequest) Type(ctx context.Context) attr.Type
- type PrincipalOutput
- func (a PrincipalOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PrincipalOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan PrincipalOutput)
- func (newState *PrincipalOutput) SyncEffectiveFieldsDuringRead(existingState PrincipalOutput)
- func (o PrincipalOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PrincipalOutput) Type(ctx context.Context) attr.Type
- type ResourceMeta
- func (a ResourceMeta) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ResourceMeta) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResourceMeta)
- func (newState *ResourceMeta) SyncEffectiveFieldsDuringRead(existingState ResourceMeta)
- func (o ResourceMeta) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ResourceMeta) Type(ctx context.Context) attr.Type
- type Role
- func (a Role) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Role) SyncEffectiveFieldsDuringCreateOrUpdate(plan Role)
- func (newState *Role) SyncEffectiveFieldsDuringRead(existingState Role)
- func (o Role) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Role) Type(ctx context.Context) attr.Type
- type RuleSetResponse
- func (a RuleSetResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RuleSetResponse) GetGrantRules(ctx context.Context) ([]GrantRule, bool)
- func (o *RuleSetResponse) SetGrantRules(ctx context.Context, v []GrantRule)
- func (newState *RuleSetResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RuleSetResponse)
- func (newState *RuleSetResponse) SyncEffectiveFieldsDuringRead(existingState RuleSetResponse)
- func (o RuleSetResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RuleSetResponse) Type(ctx context.Context) attr.Type
- type RuleSetUpdateRequest
- func (a RuleSetUpdateRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *RuleSetUpdateRequest) GetGrantRules(ctx context.Context) ([]GrantRule, bool)
- func (o *RuleSetUpdateRequest) SetGrantRules(ctx context.Context, v []GrantRule)
- func (newState *RuleSetUpdateRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RuleSetUpdateRequest)
- func (newState *RuleSetUpdateRequest) SyncEffectiveFieldsDuringRead(existingState RuleSetUpdateRequest)
- func (o RuleSetUpdateRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RuleSetUpdateRequest) Type(ctx context.Context) attr.Type
- type ServicePrincipal
- func (a ServicePrincipal) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServicePrincipal) GetEntitlements(ctx context.Context) ([]ComplexValue, bool)
- func (o *ServicePrincipal) GetGroups(ctx context.Context) ([]ComplexValue, bool)
- func (o *ServicePrincipal) GetRoles(ctx context.Context) ([]ComplexValue, bool)
- func (o *ServicePrincipal) GetSchemas(ctx context.Context) ([]types.String, bool)
- func (o *ServicePrincipal) SetEntitlements(ctx context.Context, v []ComplexValue)
- func (o *ServicePrincipal) SetGroups(ctx context.Context, v []ComplexValue)
- func (o *ServicePrincipal) SetRoles(ctx context.Context, v []ComplexValue)
- func (o *ServicePrincipal) SetSchemas(ctx context.Context, v []types.String)
- func (newState *ServicePrincipal) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServicePrincipal)
- func (newState *ServicePrincipal) SyncEffectiveFieldsDuringRead(existingState ServicePrincipal)
- func (o ServicePrincipal) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServicePrincipal) Type(ctx context.Context) attr.Type
- type UpdateResponse
- func (a UpdateResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse)
- func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse)
- func (o UpdateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateResponse) Type(ctx context.Context) attr.Type
- type UpdateRuleSetRequest
- func (a UpdateRuleSetRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UpdateRuleSetRequest) GetRuleSet(ctx context.Context) (RuleSetUpdateRequest, bool)
- func (o *UpdateRuleSetRequest) SetRuleSet(ctx context.Context, v RuleSetUpdateRequest)
- func (newState *UpdateRuleSetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateRuleSetRequest)
- func (newState *UpdateRuleSetRequest) SyncEffectiveFieldsDuringRead(existingState UpdateRuleSetRequest)
- func (o UpdateRuleSetRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateRuleSetRequest) Type(ctx context.Context) attr.Type
- type UpdateWorkspaceAssignments
- func (a UpdateWorkspaceAssignments) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *UpdateWorkspaceAssignments) GetPermissions(ctx context.Context) ([]types.String, bool)
- func (o *UpdateWorkspaceAssignments) SetPermissions(ctx context.Context, v []types.String)
- func (newState *UpdateWorkspaceAssignments) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateWorkspaceAssignments)
- func (newState *UpdateWorkspaceAssignments) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceAssignments)
- func (o UpdateWorkspaceAssignments) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UpdateWorkspaceAssignments) Type(ctx context.Context) attr.Type
- type User
- func (a User) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *User) GetEmails(ctx context.Context) ([]ComplexValue, bool)
- func (o *User) GetEntitlements(ctx context.Context) ([]ComplexValue, bool)
- func (o *User) GetGroups(ctx context.Context) ([]ComplexValue, bool)
- func (o *User) GetName(ctx context.Context) (Name, bool)
- func (o *User) GetRoles(ctx context.Context) ([]ComplexValue, bool)
- func (o *User) GetSchemas(ctx context.Context) ([]types.String, bool)
- func (o *User) SetEmails(ctx context.Context, v []ComplexValue)
- func (o *User) SetEntitlements(ctx context.Context, v []ComplexValue)
- func (o *User) SetGroups(ctx context.Context, v []ComplexValue)
- func (o *User) SetName(ctx context.Context, v Name)
- func (o *User) SetRoles(ctx context.Context, v []ComplexValue)
- func (o *User) SetSchemas(ctx context.Context, v []types.String)
- func (newState *User) SyncEffectiveFieldsDuringCreateOrUpdate(plan User)
- func (newState *User) SyncEffectiveFieldsDuringRead(existingState User)
- func (o User) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o User) Type(ctx context.Context) attr.Type
- type WorkspacePermissions
- func (a WorkspacePermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *WorkspacePermissions) GetPermissions(ctx context.Context) ([]PermissionOutput, bool)
- func (o *WorkspacePermissions) SetPermissions(ctx context.Context, v []PermissionOutput)
- func (newState *WorkspacePermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspacePermissions)
- func (newState *WorkspacePermissions) SyncEffectiveFieldsDuringRead(existingState WorkspacePermissions)
- func (o WorkspacePermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o WorkspacePermissions) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessControlRequest ¶
type AccessControlRequest struct { // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
func (AccessControlRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan AccessControlRequest)
func (*AccessControlRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AccessControlRequest) SyncEffectiveFieldsDuringRead(existingState AccessControlRequest)
func (AccessControlRequest) ToObjectValue ¶ added in v1.61.0
func (o AccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AccessControlRequest only implements ToObjectValue() and Type().
type AccessControlResponse ¶
type AccessControlResponse struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions" tf:"optional"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name" tf:"optional"` // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
func (*AccessControlResponse) GetAllPermissions ¶ added in v1.61.0
func (o *AccessControlResponse) GetAllPermissions(ctx context.Context) ([]Permission, bool)
GetAllPermissions returns the value of the AllPermissions field in AccessControlResponse as a slice of Permission values. If the field is unknown or null, the boolean return value is false.
func (AccessControlResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AccessControlResponse) SetAllPermissions ¶ added in v1.61.0
func (o *AccessControlResponse) SetAllPermissions(ctx context.Context, v []Permission)
SetAllPermissions sets the value of the AllPermissions field in AccessControlResponse.
func (*AccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan AccessControlResponse)
func (*AccessControlResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AccessControlResponse) SyncEffectiveFieldsDuringRead(existingState AccessControlResponse)
func (AccessControlResponse) ToObjectValue ¶ added in v1.61.0
func (o AccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AccessControlResponse only implements ToObjectValue() and Type().
type ComplexValue ¶
type ComplexValue struct { Display types.String `tfsdk:"display" tf:"optional"` Primary types.Bool `tfsdk:"primary" tf:"optional"` Ref types.String `tfsdk:"$ref" tf:"optional"` Type_ types.String `tfsdk:"type" tf:"optional"` Value types.String `tfsdk:"value" tf:"optional"` }
func (ComplexValue) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ComplexValue. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ComplexValue) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ComplexValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan ComplexValue)
func (*ComplexValue) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ComplexValue) SyncEffectiveFieldsDuringRead(existingState ComplexValue)
func (ComplexValue) ToObjectValue ¶ added in v1.61.0
func (o ComplexValue) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ComplexValue only implements ToObjectValue() and Type().
type DeleteAccountGroupRequest ¶
type DeleteAccountGroupRequest struct { // Unique ID for a group in the Databricks account. Id types.String `tfsdk:"-"` }
Delete a group
func (DeleteAccountGroupRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeleteAccountGroupRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountGroupRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteAccountGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteAccountGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountGroupRequest)
func (*DeleteAccountGroupRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteAccountGroupRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountGroupRequest)
func (DeleteAccountGroupRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteAccountGroupRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteAccountGroupRequest only implements ToObjectValue() and Type().
type DeleteAccountServicePrincipalRequest ¶
type DeleteAccountServicePrincipalRequest struct { // Unique ID for a service principal in the Databricks account. Id types.String `tfsdk:"-"` }
Delete a service principal
func (DeleteAccountServicePrincipalRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeleteAccountServicePrincipalRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountServicePrincipalRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteAccountServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteAccountServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountServicePrincipalRequest)
func (*DeleteAccountServicePrincipalRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteAccountServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountServicePrincipalRequest)
func (DeleteAccountServicePrincipalRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteAccountServicePrincipalRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteAccountServicePrincipalRequest only implements ToObjectValue() and Type().
type DeleteAccountUserRequest ¶
type DeleteAccountUserRequest struct { // Unique ID for a user in the Databricks account. Id types.String `tfsdk:"-"` }
Delete a user
func (DeleteAccountUserRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountUserRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteAccountUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteAccountUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountUserRequest)
func (*DeleteAccountUserRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteAccountUserRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountUserRequest)
func (DeleteAccountUserRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteAccountUserRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteAccountUserRequest only implements ToObjectValue() and Type().
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { // Unique ID for a group in the Databricks workspace. Id types.String `tfsdk:"-"` }
Delete a group
func (DeleteGroupRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteGroupRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteGroupRequest)
func (*DeleteGroupRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteGroupRequest) SyncEffectiveFieldsDuringRead(existingState DeleteGroupRequest)
func (DeleteGroupRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteGroupRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteGroupRequest only implements ToObjectValue() and Type().
type DeleteResponse ¶
type DeleteResponse struct { }
func (DeleteResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse)
func (*DeleteResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse)
func (DeleteResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteResponse only implements ToObjectValue() and Type().
type DeleteServicePrincipalRequest ¶
type DeleteServicePrincipalRequest struct { // Unique ID for a service principal in the Databricks workspace. Id types.String `tfsdk:"-"` }
Delete a service principal
func (DeleteServicePrincipalRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeleteServicePrincipalRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteServicePrincipalRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServicePrincipalRequest)
func (*DeleteServicePrincipalRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState DeleteServicePrincipalRequest)
func (DeleteServicePrincipalRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteServicePrincipalRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteServicePrincipalRequest only implements ToObjectValue() and Type().
type DeleteUserRequest ¶
type DeleteUserRequest struct { // Unique ID for a user in the Databricks workspace. Id types.String `tfsdk:"-"` }
Delete a user
func (DeleteUserRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteUserRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteUserRequest)
func (*DeleteUserRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteUserRequest) SyncEffectiveFieldsDuringRead(existingState DeleteUserRequest)
func (DeleteUserRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteUserRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteUserRequest only implements ToObjectValue() and Type().
type DeleteWorkspaceAssignmentRequest ¶
type DeleteWorkspaceAssignmentRequest struct { // The ID of the user, service principal, or group. PrincipalId types.Int64 `tfsdk:"-"` // The workspace ID for the account. WorkspaceId types.Int64 `tfsdk:"-"` }
Delete permissions assignment
func (DeleteWorkspaceAssignmentRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeleteWorkspaceAssignmentRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWorkspaceAssignmentRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWorkspaceAssignmentRequest)
func (*DeleteWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspaceAssignmentRequest)
func (DeleteWorkspaceAssignmentRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteWorkspaceAssignmentRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteWorkspaceAssignmentRequest only implements ToObjectValue() and Type().
type DeleteWorkspacePermissionAssignmentResponse ¶
type DeleteWorkspacePermissionAssignmentResponse struct { }
func (DeleteWorkspacePermissionAssignmentResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeleteWorkspacePermissionAssignmentResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWorkspacePermissionAssignmentResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteWorkspacePermissionAssignmentResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteWorkspacePermissionAssignmentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWorkspacePermissionAssignmentResponse)
func (*DeleteWorkspacePermissionAssignmentResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteWorkspacePermissionAssignmentResponse) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspacePermissionAssignmentResponse)
func (DeleteWorkspacePermissionAssignmentResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteWorkspacePermissionAssignmentResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteWorkspacePermissionAssignmentResponse only implements ToObjectValue() and Type().
type GetAccountGroupRequest ¶
type GetAccountGroupRequest struct { // Unique ID for a group in the Databricks account. Id types.String `tfsdk:"-"` }
Get group details
func (GetAccountGroupRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountGroupRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetAccountGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetAccountGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountGroupRequest)
func (*GetAccountGroupRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetAccountGroupRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountGroupRequest)
func (GetAccountGroupRequest) ToObjectValue ¶ added in v1.61.0
func (o GetAccountGroupRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetAccountGroupRequest only implements ToObjectValue() and Type().
type GetAccountServicePrincipalRequest ¶
type GetAccountServicePrincipalRequest struct { // Unique ID for a service principal in the Databricks account. Id types.String `tfsdk:"-"` }
Get service principal details
func (GetAccountServicePrincipalRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetAccountServicePrincipalRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountServicePrincipalRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetAccountServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetAccountServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountServicePrincipalRequest)
func (*GetAccountServicePrincipalRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetAccountServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountServicePrincipalRequest)
func (GetAccountServicePrincipalRequest) ToObjectValue ¶ added in v1.61.0
func (o GetAccountServicePrincipalRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetAccountServicePrincipalRequest only implements ToObjectValue() and Type().
type GetAccountUserRequest ¶
type GetAccountUserRequest struct { // Comma-separated list of attributes to return in response. Attributes types.String `tfsdk:"-"` // Desired number of results per page. Default is 10000. Count types.Int64 `tfsdk:"-"` // Comma-separated list of attributes to exclude in response. ExcludedAttributes types.String `tfsdk:"-"` // Query by which the results have to be filtered. Supported operators are // equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). // Additionally, simple expressions can be formed using logical operators - // `and` and `or`. The [SCIM RFC] has more details but we currently only // support simple expressions. // // [SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 Filter types.String `tfsdk:"-"` // Unique ID for a user in the Databricks account. Id types.String `tfsdk:"-"` // Attribute to sort the results. Multi-part paths are supported. For // example, `userName`, `name.givenName`, and `emails`. SortBy types.String `tfsdk:"-"` // The order to sort the results. SortOrder types.String `tfsdk:"-"` // Specifies the index of the first result. First item is number 1. StartIndex types.Int64 `tfsdk:"-"` }
Get user details
func (GetAccountUserRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountUserRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetAccountUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetAccountUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountUserRequest)
func (*GetAccountUserRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetAccountUserRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountUserRequest)
func (GetAccountUserRequest) ToObjectValue ¶ added in v1.61.0
func (o GetAccountUserRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetAccountUserRequest only implements ToObjectValue() and Type().
type GetAssignableRolesForResourceRequest ¶
type GetAssignableRolesForResourceRequest struct { // The resource name for which assignable roles will be listed. Resource types.String `tfsdk:"-"` }
Get assignable roles for a resource
func (GetAssignableRolesForResourceRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetAssignableRolesForResourceRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAssignableRolesForResourceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetAssignableRolesForResourceRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetAssignableRolesForResourceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAssignableRolesForResourceRequest)
func (*GetAssignableRolesForResourceRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetAssignableRolesForResourceRequest) SyncEffectiveFieldsDuringRead(existingState GetAssignableRolesForResourceRequest)
func (GetAssignableRolesForResourceRequest) ToObjectValue ¶ added in v1.61.0
func (o GetAssignableRolesForResourceRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetAssignableRolesForResourceRequest only implements ToObjectValue() and Type().
type GetAssignableRolesForResourceResponse ¶
type GetAssignableRolesForResourceResponse struct {
Roles types.List `tfsdk:"roles" tf:"optional"`
}
func (GetAssignableRolesForResourceResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetAssignableRolesForResourceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAssignableRolesForResourceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetAssignableRolesForResourceResponse) GetRoles ¶ added in v1.61.0
func (o *GetAssignableRolesForResourceResponse) GetRoles(ctx context.Context) ([]Role, bool)
GetRoles returns the value of the Roles field in GetAssignableRolesForResourceResponse as a slice of Role values. If the field is unknown or null, the boolean return value is false.
func (*GetAssignableRolesForResourceResponse) SetRoles ¶ added in v1.61.0
func (o *GetAssignableRolesForResourceResponse) SetRoles(ctx context.Context, v []Role)
SetRoles sets the value of the Roles field in GetAssignableRolesForResourceResponse.
func (*GetAssignableRolesForResourceResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetAssignableRolesForResourceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAssignableRolesForResourceResponse)
func (*GetAssignableRolesForResourceResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetAssignableRolesForResourceResponse) SyncEffectiveFieldsDuringRead(existingState GetAssignableRolesForResourceResponse)
func (GetAssignableRolesForResourceResponse) ToObjectValue ¶ added in v1.61.0
func (o GetAssignableRolesForResourceResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetAssignableRolesForResourceResponse only implements ToObjectValue() and Type().
type GetGroupRequest ¶
type GetGroupRequest struct { // Unique ID for a group in the Databricks workspace. Id types.String `tfsdk:"-"` }
Get group details
func (GetGroupRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGroupRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetGroupRequest)
func (*GetGroupRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetGroupRequest) SyncEffectiveFieldsDuringRead(existingState GetGroupRequest)
func (GetGroupRequest) ToObjectValue ¶ added in v1.61.0
func (o GetGroupRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetGroupRequest only implements ToObjectValue() and Type().
type GetPasswordPermissionLevelsResponse ¶
type GetPasswordPermissionLevelsResponse struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels" tf:"optional"` }
func (GetPasswordPermissionLevelsResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetPasswordPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPasswordPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetPasswordPermissionLevelsResponse) GetPermissionLevels ¶ added in v1.61.0
func (o *GetPasswordPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]PasswordPermissionsDescription, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetPasswordPermissionLevelsResponse as a slice of PasswordPermissionsDescription values. If the field is unknown or null, the boolean return value is false.
func (*GetPasswordPermissionLevelsResponse) SetPermissionLevels ¶ added in v1.61.0
func (o *GetPasswordPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []PasswordPermissionsDescription)
SetPermissionLevels sets the value of the PermissionLevels field in GetPasswordPermissionLevelsResponse.
func (*GetPasswordPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetPasswordPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPasswordPermissionLevelsResponse)
func (*GetPasswordPermissionLevelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetPasswordPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetPasswordPermissionLevelsResponse)
func (GetPasswordPermissionLevelsResponse) ToObjectValue ¶ added in v1.61.0
func (o GetPasswordPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPasswordPermissionLevelsResponse only implements ToObjectValue() and Type().
type GetPermissionLevelsRequest ¶
type GetPermissionLevelsRequest struct { // <needs content> RequestObjectId types.String `tfsdk:"-"` // <needs content> RequestObjectType types.String `tfsdk:"-"` }
Get object permission levels
func (GetPermissionLevelsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPermissionLevelsRequest)
func (*GetPermissionLevelsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetPermissionLevelsRequest)
func (GetPermissionLevelsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetPermissionLevelsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPermissionLevelsRequest only implements ToObjectValue() and Type().
type GetPermissionLevelsResponse ¶
type GetPermissionLevelsResponse struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels" tf:"optional"` }
func (GetPermissionLevelsResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetPermissionLevelsResponse) GetPermissionLevels ¶ added in v1.61.0
func (o *GetPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]PermissionsDescription, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetPermissionLevelsResponse as a slice of PermissionsDescription values. If the field is unknown or null, the boolean return value is false.
func (*GetPermissionLevelsResponse) SetPermissionLevels ¶ added in v1.61.0
func (o *GetPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []PermissionsDescription)
SetPermissionLevels sets the value of the PermissionLevels field in GetPermissionLevelsResponse.
func (*GetPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPermissionLevelsResponse)
func (*GetPermissionLevelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetPermissionLevelsResponse)
func (GetPermissionLevelsResponse) ToObjectValue ¶ added in v1.61.0
func (o GetPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPermissionLevelsResponse only implements ToObjectValue() and Type().
type GetPermissionRequest ¶
type GetPermissionRequest struct { // The id of the request object. RequestObjectId types.String `tfsdk:"-"` // The type of the request object. Can be one of the following: alerts, // authorization, clusters, cluster-policies, dashboards, dbsql-dashboards, // directories, experiments, files, instance-pools, jobs, notebooks, // pipelines, queries, registered-models, repos, serving-endpoints, or // warehouses. RequestObjectType types.String `tfsdk:"-"` }
Get object permissions
func (GetPermissionRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPermissionRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetPermissionRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetPermissionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPermissionRequest)
func (*GetPermissionRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetPermissionRequest) SyncEffectiveFieldsDuringRead(existingState GetPermissionRequest)
func (GetPermissionRequest) ToObjectValue ¶ added in v1.61.0
func (o GetPermissionRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPermissionRequest only implements ToObjectValue() and Type().
type GetRuleSetRequest ¶
type GetRuleSetRequest struct { // Etag used for versioning. The response is at least as fresh as the eTag // provided. Etag is used for optimistic concurrency control as a way to // help prevent simultaneous updates of a rule set from overwriting each // other. It is strongly suggested that systems make use of the etag in the // read -> modify -> write pattern to perform rule set updates in order to // avoid race conditions that is get an etag from a GET rule set request, // and pass it with the PUT update request to identify the rule set version // you are updating. Etag types.String `tfsdk:"-"` // The ruleset name associated with the request. Name types.String `tfsdk:"-"` }
Get a rule set
func (GetRuleSetRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRuleSetRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetRuleSetRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetRuleSetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRuleSetRequest)
func (*GetRuleSetRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetRuleSetRequest) SyncEffectiveFieldsDuringRead(existingState GetRuleSetRequest)
func (GetRuleSetRequest) ToObjectValue ¶ added in v1.61.0
func (o GetRuleSetRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetRuleSetRequest only implements ToObjectValue() and Type().
type GetServicePrincipalRequest ¶
type GetServicePrincipalRequest struct { // Unique ID for a service principal in the Databricks workspace. Id types.String `tfsdk:"-"` }
Get service principal details
func (GetServicePrincipalRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetServicePrincipalRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServicePrincipalRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServicePrincipalRequest)
func (*GetServicePrincipalRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState GetServicePrincipalRequest)
func (GetServicePrincipalRequest) ToObjectValue ¶ added in v1.61.0
func (o GetServicePrincipalRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetServicePrincipalRequest only implements ToObjectValue() and Type().
type GetUserRequest ¶
type GetUserRequest struct { // Comma-separated list of attributes to return in response. Attributes types.String `tfsdk:"-"` // Desired number of results per page. Count types.Int64 `tfsdk:"-"` // Comma-separated list of attributes to exclude in response. ExcludedAttributes types.String `tfsdk:"-"` // Query by which the results have to be filtered. Supported operators are // equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). // Additionally, simple expressions can be formed using logical operators - // `and` and `or`. The [SCIM RFC] has more details but we currently only // support simple expressions. // // [SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 Filter types.String `tfsdk:"-"` // Unique ID for a user in the Databricks workspace. Id types.String `tfsdk:"-"` // Attribute to sort the results. Multi-part paths are supported. For // example, `userName`, `name.givenName`, and `emails`. SortBy types.String `tfsdk:"-"` // The order to sort the results. SortOrder types.String `tfsdk:"-"` // Specifies the index of the first result. First item is number 1. StartIndex types.Int64 `tfsdk:"-"` }
Get user details
func (GetUserRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetUserRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetUserRequest)
func (*GetUserRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetUserRequest) SyncEffectiveFieldsDuringRead(existingState GetUserRequest)
func (GetUserRequest) ToObjectValue ¶ added in v1.61.0
func (o GetUserRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetUserRequest only implements ToObjectValue() and Type().
type GetWorkspaceAssignmentRequest ¶
type GetWorkspaceAssignmentRequest struct { // The workspace ID. WorkspaceId types.Int64 `tfsdk:"-"` }
List workspace permissions
func (GetWorkspaceAssignmentRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetWorkspaceAssignmentRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceAssignmentRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceAssignmentRequest)
func (*GetWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceAssignmentRequest)
func (GetWorkspaceAssignmentRequest) ToObjectValue ¶ added in v1.61.0
func (o GetWorkspaceAssignmentRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetWorkspaceAssignmentRequest only implements ToObjectValue() and Type().
type GrantRule ¶
type GrantRule struct { // Principals this grant rule applies to. Principals types.List `tfsdk:"principals" tf:"optional"` // Role that is assigned to the list of principals. Role types.String `tfsdk:"role" tf:""` }
func (GrantRule) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GrantRule. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GrantRule) GetPrincipals ¶ added in v1.61.0
GetPrincipals returns the value of the Principals field in GrantRule as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*GrantRule) SetPrincipals ¶ added in v1.61.0
SetPrincipals sets the value of the Principals field in GrantRule.
func (*GrantRule) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*GrantRule) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (GrantRule) ToObjectValue ¶ added in v1.61.0
func (o GrantRule) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GrantRule only implements ToObjectValue() and Type().
type Group ¶
type Group struct { // String that represents a human-readable group name DisplayName types.String `tfsdk:"displayName" tf:"optional"` // Entitlements assigned to the group. See [assigning entitlements] for a // full list of supported values. // // [assigning entitlements]: https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements Entitlements types.List `tfsdk:"entitlements" tf:"optional"` ExternalId types.String `tfsdk:"externalId" tf:"optional"` Groups types.List `tfsdk:"groups" tf:"optional"` // Databricks group ID Id types.String `tfsdk:"id" tf:"optional"` Members types.List `tfsdk:"members" tf:"optional"` // Container for the group identifier. Workspace local versus account. Meta types.List `tfsdk:"meta" tf:"optional,object"` // Corresponds to AWS instance profile/arn role. Roles types.List `tfsdk:"roles" tf:"optional"` // The schema of the group. Schemas types.List `tfsdk:"schemas" tf:"optional"` }
func (Group) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Group. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Group) GetEntitlements ¶ added in v1.61.0
func (o *Group) GetEntitlements(ctx context.Context) ([]ComplexValue, bool)
GetEntitlements returns the value of the Entitlements field in Group as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*Group) GetGroups ¶ added in v1.61.0
func (o *Group) GetGroups(ctx context.Context) ([]ComplexValue, bool)
GetGroups returns the value of the Groups field in Group as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*Group) GetMembers ¶ added in v1.61.0
func (o *Group) GetMembers(ctx context.Context) ([]ComplexValue, bool)
GetMembers returns the value of the Members field in Group as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*Group) GetMeta ¶ added in v1.61.0
func (o *Group) GetMeta(ctx context.Context) (ResourceMeta, bool)
GetMeta returns the value of the Meta field in Group as a ResourceMeta value. If the field is unknown or null, the boolean return value is false.
func (*Group) GetRoles ¶ added in v1.61.0
func (o *Group) GetRoles(ctx context.Context) ([]ComplexValue, bool)
GetRoles returns the value of the Roles field in Group as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*Group) GetSchemas ¶ added in v1.61.0
GetSchemas returns the value of the Schemas field in Group as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*Group) SetEntitlements ¶ added in v1.61.0
func (o *Group) SetEntitlements(ctx context.Context, v []ComplexValue)
SetEntitlements sets the value of the Entitlements field in Group.
func (*Group) SetGroups ¶ added in v1.61.0
func (o *Group) SetGroups(ctx context.Context, v []ComplexValue)
SetGroups sets the value of the Groups field in Group.
func (*Group) SetMembers ¶ added in v1.61.0
func (o *Group) SetMembers(ctx context.Context, v []ComplexValue)
SetMembers sets the value of the Members field in Group.
func (*Group) SetMeta ¶ added in v1.61.0
func (o *Group) SetMeta(ctx context.Context, v ResourceMeta)
SetMeta sets the value of the Meta field in Group.
func (*Group) SetRoles ¶ added in v1.61.0
func (o *Group) SetRoles(ctx context.Context, v []ComplexValue)
SetRoles sets the value of the Roles field in Group.
func (*Group) SetSchemas ¶ added in v1.61.0
SetSchemas sets the value of the Schemas field in Group.
func (*Group) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Group) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Group) ToObjectValue ¶ added in v1.61.0
func (o Group) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Group only implements ToObjectValue() and Type().
type ListAccountGroupsRequest ¶
type ListAccountGroupsRequest struct { // Comma-separated list of attributes to return in response. Attributes types.String `tfsdk:"-"` // Desired number of results per page. Default is 10000. Count types.Int64 `tfsdk:"-"` // Comma-separated list of attributes to exclude in response. ExcludedAttributes types.String `tfsdk:"-"` // Query by which the results have to be filtered. Supported operators are // equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). // Additionally, simple expressions can be formed using logical operators - // `and` and `or`. The [SCIM RFC] has more details but we currently only // support simple expressions. // // [SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 Filter types.String `tfsdk:"-"` // Attribute to sort the results. SortBy types.String `tfsdk:"-"` // The order to sort the results. SortOrder types.String `tfsdk:"-"` // Specifies the index of the first result. First item is number 1. StartIndex types.Int64 `tfsdk:"-"` }
List group details
func (ListAccountGroupsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountGroupsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListAccountGroupsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListAccountGroupsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountGroupsRequest)
func (*ListAccountGroupsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListAccountGroupsRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountGroupsRequest)
func (ListAccountGroupsRequest) ToObjectValue ¶ added in v1.61.0
func (o ListAccountGroupsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAccountGroupsRequest only implements ToObjectValue() and Type().
type ListAccountServicePrincipalsRequest ¶
type ListAccountServicePrincipalsRequest struct { // Comma-separated list of attributes to return in response. Attributes types.String `tfsdk:"-"` // Desired number of results per page. Default is 10000. Count types.Int64 `tfsdk:"-"` // Comma-separated list of attributes to exclude in response. ExcludedAttributes types.String `tfsdk:"-"` // Query by which the results have to be filtered. Supported operators are // equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). // Additionally, simple expressions can be formed using logical operators - // `and` and `or`. The [SCIM RFC] has more details but we currently only // support simple expressions. // // [SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 Filter types.String `tfsdk:"-"` // Attribute to sort the results. SortBy types.String `tfsdk:"-"` // The order to sort the results. SortOrder types.String `tfsdk:"-"` // Specifies the index of the first result. First item is number 1. StartIndex types.Int64 `tfsdk:"-"` }
List service principals
func (ListAccountServicePrincipalsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListAccountServicePrincipalsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountServicePrincipalsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListAccountServicePrincipalsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListAccountServicePrincipalsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountServicePrincipalsRequest)
func (*ListAccountServicePrincipalsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListAccountServicePrincipalsRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountServicePrincipalsRequest)
func (ListAccountServicePrincipalsRequest) ToObjectValue ¶ added in v1.61.0
func (o ListAccountServicePrincipalsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAccountServicePrincipalsRequest only implements ToObjectValue() and Type().
type ListAccountUsersRequest ¶
type ListAccountUsersRequest struct { // Comma-separated list of attributes to return in response. Attributes types.String `tfsdk:"-"` // Desired number of results per page. Default is 10000. Count types.Int64 `tfsdk:"-"` // Comma-separated list of attributes to exclude in response. ExcludedAttributes types.String `tfsdk:"-"` // Query by which the results have to be filtered. Supported operators are // equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). // Additionally, simple expressions can be formed using logical operators - // `and` and `or`. The [SCIM RFC] has more details but we currently only // support simple expressions. // // [SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 Filter types.String `tfsdk:"-"` // Attribute to sort the results. Multi-part paths are supported. For // example, `userName`, `name.givenName`, and `emails`. SortBy types.String `tfsdk:"-"` // The order to sort the results. SortOrder types.String `tfsdk:"-"` // Specifies the index of the first result. First item is number 1. StartIndex types.Int64 `tfsdk:"-"` }
List users
func (ListAccountUsersRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountUsersRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListAccountUsersRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListAccountUsersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountUsersRequest)
func (*ListAccountUsersRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListAccountUsersRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountUsersRequest)
func (ListAccountUsersRequest) ToObjectValue ¶ added in v1.61.0
func (o ListAccountUsersRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAccountUsersRequest only implements ToObjectValue() and Type().
type ListGroupsRequest ¶
type ListGroupsRequest struct { // Comma-separated list of attributes to return in response. Attributes types.String `tfsdk:"-"` // Desired number of results per page. Count types.Int64 `tfsdk:"-"` // Comma-separated list of attributes to exclude in response. ExcludedAttributes types.String `tfsdk:"-"` // Query by which the results have to be filtered. Supported operators are // equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). // Additionally, simple expressions can be formed using logical operators - // `and` and `or`. The [SCIM RFC] has more details but we currently only // support simple expressions. // // [SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 Filter types.String `tfsdk:"-"` // Attribute to sort the results. SortBy types.String `tfsdk:"-"` // The order to sort the results. SortOrder types.String `tfsdk:"-"` // Specifies the index of the first result. First item is number 1. StartIndex types.Int64 `tfsdk:"-"` }
List group details
func (ListGroupsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGroupsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListGroupsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListGroupsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGroupsRequest)
func (*ListGroupsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListGroupsRequest) SyncEffectiveFieldsDuringRead(existingState ListGroupsRequest)
func (ListGroupsRequest) ToObjectValue ¶ added in v1.61.0
func (o ListGroupsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListGroupsRequest only implements ToObjectValue() and Type().
type ListGroupsResponse ¶
type ListGroupsResponse struct { // Total results returned in the response. ItemsPerPage types.Int64 `tfsdk:"itemsPerPage" tf:"optional"` // User objects returned in the response. Resources types.List `tfsdk:"Resources" tf:"optional"` // The schema of the service principal. Schemas types.List `tfsdk:"schemas" tf:"optional"` // Starting index of all the results that matched the request filters. First // item is number 1. StartIndex types.Int64 `tfsdk:"startIndex" tf:"optional"` // Total results that match the request filters. TotalResults types.Int64 `tfsdk:"totalResults" tf:"optional"` }
func (ListGroupsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGroupsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListGroupsResponse) GetResources ¶ added in v1.61.0
func (o *ListGroupsResponse) GetResources(ctx context.Context) ([]Group, bool)
GetResources returns the value of the Resources field in ListGroupsResponse as a slice of Group values. If the field is unknown or null, the boolean return value is false.
func (*ListGroupsResponse) GetSchemas ¶ added in v1.61.0
GetSchemas returns the value of the Schemas field in ListGroupsResponse as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ListGroupsResponse) SetResources ¶ added in v1.61.0
func (o *ListGroupsResponse) SetResources(ctx context.Context, v []Group)
SetResources sets the value of the Resources field in ListGroupsResponse.
func (*ListGroupsResponse) SetSchemas ¶ added in v1.61.0
func (o *ListGroupsResponse) SetSchemas(ctx context.Context, v []types.String)
SetSchemas sets the value of the Schemas field in ListGroupsResponse.
func (*ListGroupsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListGroupsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGroupsResponse)
func (*ListGroupsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListGroupsResponse) SyncEffectiveFieldsDuringRead(existingState ListGroupsResponse)
func (ListGroupsResponse) ToObjectValue ¶ added in v1.61.0
func (o ListGroupsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListGroupsResponse only implements ToObjectValue() and Type().
type ListServicePrincipalResponse ¶
type ListServicePrincipalResponse struct { // Total results returned in the response. ItemsPerPage types.Int64 `tfsdk:"itemsPerPage" tf:"optional"` // User objects returned in the response. Resources types.List `tfsdk:"Resources" tf:"optional"` // The schema of the List response. Schemas types.List `tfsdk:"schemas" tf:"optional"` // Starting index of all the results that matched the request filters. First // item is number 1. StartIndex types.Int64 `tfsdk:"startIndex" tf:"optional"` // Total results that match the request filters. TotalResults types.Int64 `tfsdk:"totalResults" tf:"optional"` }
func (ListServicePrincipalResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListServicePrincipalResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListServicePrincipalResponse) GetResources ¶ added in v1.61.0
func (o *ListServicePrincipalResponse) GetResources(ctx context.Context) ([]ServicePrincipal, bool)
GetResources returns the value of the Resources field in ListServicePrincipalResponse as a slice of ServicePrincipal values. If the field is unknown or null, the boolean return value is false.
func (*ListServicePrincipalResponse) GetSchemas ¶ added in v1.61.0
GetSchemas returns the value of the Schemas field in ListServicePrincipalResponse as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ListServicePrincipalResponse) SetResources ¶ added in v1.61.0
func (o *ListServicePrincipalResponse) SetResources(ctx context.Context, v []ServicePrincipal)
SetResources sets the value of the Resources field in ListServicePrincipalResponse.
func (*ListServicePrincipalResponse) SetSchemas ¶ added in v1.61.0
func (o *ListServicePrincipalResponse) SetSchemas(ctx context.Context, v []types.String)
SetSchemas sets the value of the Schemas field in ListServicePrincipalResponse.
func (*ListServicePrincipalResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListServicePrincipalResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListServicePrincipalResponse)
func (*ListServicePrincipalResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListServicePrincipalResponse) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalResponse)
func (ListServicePrincipalResponse) ToObjectValue ¶ added in v1.61.0
func (o ListServicePrincipalResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListServicePrincipalResponse only implements ToObjectValue() and Type().
type ListServicePrincipalsRequest ¶
type ListServicePrincipalsRequest struct { // Comma-separated list of attributes to return in response. Attributes types.String `tfsdk:"-"` // Desired number of results per page. Count types.Int64 `tfsdk:"-"` // Comma-separated list of attributes to exclude in response. ExcludedAttributes types.String `tfsdk:"-"` // Query by which the results have to be filtered. Supported operators are // equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). // Additionally, simple expressions can be formed using logical operators - // `and` and `or`. The [SCIM RFC] has more details but we currently only // support simple expressions. // // [SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 Filter types.String `tfsdk:"-"` // Attribute to sort the results. SortBy types.String `tfsdk:"-"` // The order to sort the results. SortOrder types.String `tfsdk:"-"` // Specifies the index of the first result. First item is number 1. StartIndex types.Int64 `tfsdk:"-"` }
List service principals
func (ListServicePrincipalsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListServicePrincipalsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListServicePrincipalsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListServicePrincipalsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListServicePrincipalsRequest)
func (*ListServicePrincipalsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListServicePrincipalsRequest) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalsRequest)
func (ListServicePrincipalsRequest) ToObjectValue ¶ added in v1.61.0
func (o ListServicePrincipalsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListServicePrincipalsRequest only implements ToObjectValue() and Type().
type ListUsersRequest ¶
type ListUsersRequest struct { // Comma-separated list of attributes to return in response. Attributes types.String `tfsdk:"-"` // Desired number of results per page. Count types.Int64 `tfsdk:"-"` // Comma-separated list of attributes to exclude in response. ExcludedAttributes types.String `tfsdk:"-"` // Query by which the results have to be filtered. Supported operators are // equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). // Additionally, simple expressions can be formed using logical operators - // `and` and `or`. The [SCIM RFC] has more details but we currently only // support simple expressions. // // [SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 Filter types.String `tfsdk:"-"` // Attribute to sort the results. Multi-part paths are supported. For // example, `userName`, `name.givenName`, and `emails`. SortBy types.String `tfsdk:"-"` // The order to sort the results. SortOrder types.String `tfsdk:"-"` // Specifies the index of the first result. First item is number 1. StartIndex types.Int64 `tfsdk:"-"` }
List users
func (ListUsersRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListUsersRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListUsersRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListUsersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListUsersRequest)
func (*ListUsersRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListUsersRequest) SyncEffectiveFieldsDuringRead(existingState ListUsersRequest)
func (ListUsersRequest) ToObjectValue ¶ added in v1.61.0
func (o ListUsersRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListUsersRequest only implements ToObjectValue() and Type().
type ListUsersResponse ¶
type ListUsersResponse struct { // Total results returned in the response. ItemsPerPage types.Int64 `tfsdk:"itemsPerPage" tf:"optional"` // User objects returned in the response. Resources types.List `tfsdk:"Resources" tf:"optional"` // The schema of the List response. Schemas types.List `tfsdk:"schemas" tf:"optional"` // Starting index of all the results that matched the request filters. First // item is number 1. StartIndex types.Int64 `tfsdk:"startIndex" tf:"optional"` // Total results that match the request filters. TotalResults types.Int64 `tfsdk:"totalResults" tf:"optional"` }
func (ListUsersResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListUsersResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListUsersResponse) GetResources ¶ added in v1.61.0
func (o *ListUsersResponse) GetResources(ctx context.Context) ([]User, bool)
GetResources returns the value of the Resources field in ListUsersResponse as a slice of User values. If the field is unknown or null, the boolean return value is false.
func (*ListUsersResponse) GetSchemas ¶ added in v1.61.0
GetSchemas returns the value of the Schemas field in ListUsersResponse as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ListUsersResponse) SetResources ¶ added in v1.61.0
func (o *ListUsersResponse) SetResources(ctx context.Context, v []User)
SetResources sets the value of the Resources field in ListUsersResponse.
func (*ListUsersResponse) SetSchemas ¶ added in v1.61.0
func (o *ListUsersResponse) SetSchemas(ctx context.Context, v []types.String)
SetSchemas sets the value of the Schemas field in ListUsersResponse.
func (*ListUsersResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListUsersResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListUsersResponse)
func (*ListUsersResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListUsersResponse) SyncEffectiveFieldsDuringRead(existingState ListUsersResponse)
func (ListUsersResponse) ToObjectValue ¶ added in v1.61.0
func (o ListUsersResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListUsersResponse only implements ToObjectValue() and Type().
type ListWorkspaceAssignmentRequest ¶
type ListWorkspaceAssignmentRequest struct { // The workspace ID for the account. WorkspaceId types.Int64 `tfsdk:"-"` }
Get permission assignments
func (ListWorkspaceAssignmentRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListWorkspaceAssignmentRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWorkspaceAssignmentRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWorkspaceAssignmentRequest)
func (*ListWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState ListWorkspaceAssignmentRequest)
func (ListWorkspaceAssignmentRequest) ToObjectValue ¶ added in v1.61.0
func (o ListWorkspaceAssignmentRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListWorkspaceAssignmentRequest only implements ToObjectValue() and Type().
type MigratePermissionsRequest ¶
type MigratePermissionsRequest struct { // The name of the workspace group that permissions will be migrated from. FromWorkspaceGroupName types.String `tfsdk:"from_workspace_group_name" tf:""` // The maximum number of permissions that will be migrated. Size types.Int64 `tfsdk:"size" tf:"optional"` // The name of the account group that permissions will be migrated to. ToAccountGroupName types.String `tfsdk:"to_account_group_name" tf:""` // WorkspaceId of the associated workspace where the permission migration // will occur. WorkspaceId types.Int64 `tfsdk:"workspace_id" tf:""` }
func (MigratePermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a MigratePermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in MigratePermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*MigratePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *MigratePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan MigratePermissionsRequest)
func (*MigratePermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *MigratePermissionsRequest) SyncEffectiveFieldsDuringRead(existingState MigratePermissionsRequest)
func (MigratePermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o MigratePermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MigratePermissionsRequest only implements ToObjectValue() and Type().
type MigratePermissionsResponse ¶
type MigratePermissionsResponse struct { // Number of permissions migrated. PermissionsMigrated types.Int64 `tfsdk:"permissions_migrated" tf:"optional"` }
func (MigratePermissionsResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a MigratePermissionsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in MigratePermissionsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*MigratePermissionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *MigratePermissionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan MigratePermissionsResponse)
func (*MigratePermissionsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *MigratePermissionsResponse) SyncEffectiveFieldsDuringRead(existingState MigratePermissionsResponse)
func (MigratePermissionsResponse) ToObjectValue ¶ added in v1.61.0
func (o MigratePermissionsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MigratePermissionsResponse only implements ToObjectValue() and Type().
type Name ¶
type Name struct { // Family name of the Databricks user. FamilyName types.String `tfsdk:"familyName" tf:"optional"` // Given name of the Databricks user. GivenName types.String `tfsdk:"givenName" tf:"optional"` }
func (Name) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Name. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Name) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Name) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Name) ToObjectValue ¶ added in v1.61.0
func (o Name) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Name only implements ToObjectValue() and Type().
type ObjectPermissions ¶
type ObjectPermissions struct { AccessControlList types.List `tfsdk:"access_control_list" tf:"optional"` ObjectId types.String `tfsdk:"object_id" tf:"optional"` ObjectType types.String `tfsdk:"object_type" tf:"optional"` }
func (*ObjectPermissions) GetAccessControlList ¶ added in v1.61.0
func (o *ObjectPermissions) GetAccessControlList(ctx context.Context) ([]AccessControlResponse, bool)
GetAccessControlList returns the value of the AccessControlList field in ObjectPermissions as a slice of AccessControlResponse values. If the field is unknown or null, the boolean return value is false.
func (ObjectPermissions) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ObjectPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ObjectPermissions) SetAccessControlList ¶ added in v1.61.0
func (o *ObjectPermissions) SetAccessControlList(ctx context.Context, v []AccessControlResponse)
SetAccessControlList sets the value of the AccessControlList field in ObjectPermissions.
func (*ObjectPermissions) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ObjectPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ObjectPermissions)
func (*ObjectPermissions) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ObjectPermissions) SyncEffectiveFieldsDuringRead(existingState ObjectPermissions)
func (ObjectPermissions) ToObjectValue ¶ added in v1.61.0
func (o ObjectPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ObjectPermissions only implements ToObjectValue() and Type().
type PartialUpdate ¶
type PartialUpdate struct { // Unique ID for a user in the Databricks workspace. Id types.String `tfsdk:"-"` Operations types.List `tfsdk:"Operations" tf:"optional"` // The schema of the patch request. Must be // ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]. Schemas types.List `tfsdk:"schemas" tf:"optional"` }
func (PartialUpdate) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PartialUpdate. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PartialUpdate) GetOperations ¶ added in v1.61.0
func (o *PartialUpdate) GetOperations(ctx context.Context) ([]Patch, bool)
GetOperations returns the value of the Operations field in PartialUpdate as a slice of Patch values. If the field is unknown or null, the boolean return value is false.
func (*PartialUpdate) GetSchemas ¶ added in v1.61.0
GetSchemas returns the value of the Schemas field in PartialUpdate as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*PartialUpdate) SetOperations ¶ added in v1.61.0
func (o *PartialUpdate) SetOperations(ctx context.Context, v []Patch)
SetOperations sets the value of the Operations field in PartialUpdate.
func (*PartialUpdate) SetSchemas ¶ added in v1.61.0
func (o *PartialUpdate) SetSchemas(ctx context.Context, v []types.String)
SetSchemas sets the value of the Schemas field in PartialUpdate.
func (*PartialUpdate) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PartialUpdate) SyncEffectiveFieldsDuringCreateOrUpdate(plan PartialUpdate)
func (*PartialUpdate) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PartialUpdate) SyncEffectiveFieldsDuringRead(existingState PartialUpdate)
func (PartialUpdate) ToObjectValue ¶ added in v1.61.0
func (o PartialUpdate) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PartialUpdate only implements ToObjectValue() and Type().
type PasswordAccessControlRequest ¶
type PasswordAccessControlRequest struct { // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
func (PasswordAccessControlRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a PasswordAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PasswordAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PasswordAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordAccessControlRequest)
func (*PasswordAccessControlRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PasswordAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState PasswordAccessControlRequest)
func (PasswordAccessControlRequest) ToObjectValue ¶ added in v1.61.0
func (o PasswordAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PasswordAccessControlRequest only implements ToObjectValue() and Type().
type PasswordAccessControlResponse ¶
type PasswordAccessControlResponse struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions" tf:"optional"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name" tf:"optional"` // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
func (*PasswordAccessControlResponse) GetAllPermissions ¶ added in v1.61.0
func (o *PasswordAccessControlResponse) GetAllPermissions(ctx context.Context) ([]PasswordPermission, bool)
GetAllPermissions returns the value of the AllPermissions field in PasswordAccessControlResponse as a slice of PasswordPermission values. If the field is unknown or null, the boolean return value is false.
func (PasswordAccessControlResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a PasswordAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PasswordAccessControlResponse) SetAllPermissions ¶ added in v1.61.0
func (o *PasswordAccessControlResponse) SetAllPermissions(ctx context.Context, v []PasswordPermission)
SetAllPermissions sets the value of the AllPermissions field in PasswordAccessControlResponse.
func (*PasswordAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PasswordAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordAccessControlResponse)
func (*PasswordAccessControlResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PasswordAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState PasswordAccessControlResponse)
func (PasswordAccessControlResponse) ToObjectValue ¶ added in v1.61.0
func (o PasswordAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PasswordAccessControlResponse only implements ToObjectValue() and Type().
type PasswordPermission ¶
type PasswordPermission struct { Inherited types.Bool `tfsdk:"inherited" tf:"optional"` InheritedFromObject types.List `tfsdk:"inherited_from_object" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (PasswordPermission) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PasswordPermission) GetInheritedFromObject ¶ added in v1.61.0
GetInheritedFromObject returns the value of the InheritedFromObject field in PasswordPermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*PasswordPermission) SetInheritedFromObject ¶ added in v1.61.0
func (o *PasswordPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in PasswordPermission.
func (*PasswordPermission) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PasswordPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordPermission)
func (*PasswordPermission) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PasswordPermission) SyncEffectiveFieldsDuringRead(existingState PasswordPermission)
func (PasswordPermission) ToObjectValue ¶ added in v1.61.0
func (o PasswordPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PasswordPermission only implements ToObjectValue() and Type().
type PasswordPermissions ¶
type PasswordPermissions struct { AccessControlList types.List `tfsdk:"access_control_list" tf:"optional"` ObjectId types.String `tfsdk:"object_id" tf:"optional"` ObjectType types.String `tfsdk:"object_type" tf:"optional"` }
func (*PasswordPermissions) GetAccessControlList ¶ added in v1.61.0
func (o *PasswordPermissions) GetAccessControlList(ctx context.Context) ([]PasswordAccessControlResponse, bool)
GetAccessControlList returns the value of the AccessControlList field in PasswordPermissions as a slice of PasswordAccessControlResponse values. If the field is unknown or null, the boolean return value is false.
func (PasswordPermissions) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PasswordPermissions) SetAccessControlList ¶ added in v1.61.0
func (o *PasswordPermissions) SetAccessControlList(ctx context.Context, v []PasswordAccessControlResponse)
SetAccessControlList sets the value of the AccessControlList field in PasswordPermissions.
func (*PasswordPermissions) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PasswordPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordPermissions)
func (*PasswordPermissions) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PasswordPermissions) SyncEffectiveFieldsDuringRead(existingState PasswordPermissions)
func (PasswordPermissions) ToObjectValue ¶ added in v1.61.0
func (o PasswordPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PasswordPermissions only implements ToObjectValue() and Type().
type PasswordPermissionsDescription ¶
type PasswordPermissionsDescription struct { Description types.String `tfsdk:"description" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (PasswordPermissionsDescription) GetComplexFieldTypes ¶ added in v1.61.0
func (a PasswordPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PasswordPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PasswordPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordPermissionsDescription)
func (*PasswordPermissionsDescription) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PasswordPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState PasswordPermissionsDescription)
func (PasswordPermissionsDescription) ToObjectValue ¶ added in v1.61.0
func (o PasswordPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PasswordPermissionsDescription only implements ToObjectValue() and Type().
type PasswordPermissionsRequest ¶
type PasswordPermissionsRequest struct {
AccessControlList types.List `tfsdk:"access_control_list" tf:"optional"`
}
func (*PasswordPermissionsRequest) GetAccessControlList ¶ added in v1.61.0
func (o *PasswordPermissionsRequest) GetAccessControlList(ctx context.Context) ([]PasswordAccessControlRequest, bool)
GetAccessControlList returns the value of the AccessControlList field in PasswordPermissionsRequest as a slice of PasswordAccessControlRequest values. If the field is unknown or null, the boolean return value is false.
func (PasswordPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a PasswordPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PasswordPermissionsRequest) SetAccessControlList ¶ added in v1.61.0
func (o *PasswordPermissionsRequest) SetAccessControlList(ctx context.Context, v []PasswordAccessControlRequest)
SetAccessControlList sets the value of the AccessControlList field in PasswordPermissionsRequest.
func (*PasswordPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PasswordPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PasswordPermissionsRequest)
func (*PasswordPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PasswordPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState PasswordPermissionsRequest)
func (PasswordPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o PasswordPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PasswordPermissionsRequest only implements ToObjectValue() and Type().
type Patch ¶
type Patch struct { // Type of patch operation. Op types.String `tfsdk:"op" tf:"optional"` // Selection of patch operation Path types.String `tfsdk:"path" tf:"optional"` // Value to modify Value types.Object `tfsdk:"value" tf:"optional"` }
func (Patch) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Patch. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Patch) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Patch) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Patch) ToObjectValue ¶ added in v1.61.0
func (o Patch) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Patch only implements ToObjectValue() and Type().
type PatchResponse ¶
type PatchResponse struct { }
func (PatchResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PatchResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PatchResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PatchResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PatchResponse)
func (*PatchResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PatchResponse) SyncEffectiveFieldsDuringRead(existingState PatchResponse)
func (PatchResponse) ToObjectValue ¶ added in v1.61.0
func (o PatchResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PatchResponse only implements ToObjectValue() and Type().
type Permission ¶
type Permission struct { Inherited types.Bool `tfsdk:"inherited" tf:"optional"` InheritedFromObject types.List `tfsdk:"inherited_from_object" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (Permission) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Permission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Permission) GetInheritedFromObject ¶ added in v1.61.0
GetInheritedFromObject returns the value of the InheritedFromObject field in Permission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*Permission) SetInheritedFromObject ¶ added in v1.61.0
func (o *Permission) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in Permission.
func (*Permission) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *Permission) SyncEffectiveFieldsDuringCreateOrUpdate(plan Permission)
func (*Permission) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *Permission) SyncEffectiveFieldsDuringRead(existingState Permission)
func (Permission) ToObjectValue ¶ added in v1.61.0
func (o Permission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Permission only implements ToObjectValue() and Type().
type PermissionAssignment ¶
type PermissionAssignment struct { // Error response associated with a workspace permission assignment, if any. Error types.String `tfsdk:"error" tf:"optional"` // The permissions level of the principal. Permissions types.List `tfsdk:"permissions" tf:"optional"` // Information about the principal assigned to the workspace. Principal types.List `tfsdk:"principal" tf:"optional,object"` }
The output format for existing workspace PermissionAssignment records, which contains some info for user consumption.
func (PermissionAssignment) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionAssignment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PermissionAssignment) GetPermissions ¶ added in v1.61.0
GetPermissions returns the value of the Permissions field in PermissionAssignment as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*PermissionAssignment) GetPrincipal ¶ added in v1.61.0
func (o *PermissionAssignment) GetPrincipal(ctx context.Context) (PrincipalOutput, bool)
GetPrincipal returns the value of the Principal field in PermissionAssignment as a PrincipalOutput value. If the field is unknown or null, the boolean return value is false.
func (*PermissionAssignment) SetPermissions ¶ added in v1.61.0
func (o *PermissionAssignment) SetPermissions(ctx context.Context, v []types.String)
SetPermissions sets the value of the Permissions field in PermissionAssignment.
func (*PermissionAssignment) SetPrincipal ¶ added in v1.61.0
func (o *PermissionAssignment) SetPrincipal(ctx context.Context, v PrincipalOutput)
SetPrincipal sets the value of the Principal field in PermissionAssignment.
func (*PermissionAssignment) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PermissionAssignment) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermissionAssignment)
func (*PermissionAssignment) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PermissionAssignment) SyncEffectiveFieldsDuringRead(existingState PermissionAssignment)
func (PermissionAssignment) ToObjectValue ¶ added in v1.61.0
func (o PermissionAssignment) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermissionAssignment only implements ToObjectValue() and Type().
type PermissionAssignments ¶
type PermissionAssignments struct { // Array of permissions assignments defined for a workspace. PermissionAssignments types.List `tfsdk:"permission_assignments" tf:"optional"` }
func (PermissionAssignments) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionAssignments. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PermissionAssignments) GetPermissionAssignments ¶ added in v1.61.0
func (o *PermissionAssignments) GetPermissionAssignments(ctx context.Context) ([]PermissionAssignment, bool)
GetPermissionAssignments returns the value of the PermissionAssignments field in PermissionAssignments as a slice of PermissionAssignment values. If the field is unknown or null, the boolean return value is false.
func (*PermissionAssignments) SetPermissionAssignments ¶ added in v1.61.0
func (o *PermissionAssignments) SetPermissionAssignments(ctx context.Context, v []PermissionAssignment)
SetPermissionAssignments sets the value of the PermissionAssignments field in PermissionAssignments.
func (*PermissionAssignments) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PermissionAssignments) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermissionAssignments)
func (*PermissionAssignments) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PermissionAssignments) SyncEffectiveFieldsDuringRead(existingState PermissionAssignments)
func (PermissionAssignments) ToObjectValue ¶ added in v1.61.0
func (o PermissionAssignments) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermissionAssignments only implements ToObjectValue() and Type().
type PermissionOutput ¶
type PermissionOutput struct { // The results of a permissions query. Description types.String `tfsdk:"description" tf:"optional"` PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (PermissionOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PermissionOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PermissionOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermissionOutput)
func (*PermissionOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PermissionOutput) SyncEffectiveFieldsDuringRead(existingState PermissionOutput)
func (PermissionOutput) ToObjectValue ¶ added in v1.61.0
func (o PermissionOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermissionOutput only implements ToObjectValue() and Type().
type PermissionsDescription ¶
type PermissionsDescription struct { Description types.String `tfsdk:"description" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (PermissionsDescription) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermissionsDescription)
func (*PermissionsDescription) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PermissionsDescription) SyncEffectiveFieldsDuringRead(existingState PermissionsDescription)
func (PermissionsDescription) ToObjectValue ¶ added in v1.61.0
func (o PermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermissionsDescription only implements ToObjectValue() and Type().
type PermissionsRequest ¶
type PermissionsRequest struct { AccessControlList types.List `tfsdk:"access_control_list" tf:"optional"` // The id of the request object. RequestObjectId types.String `tfsdk:"-"` // The type of the request object. Can be one of the following: alerts, // authorization, clusters, cluster-policies, dashboards, dbsql-dashboards, // directories, experiments, files, instance-pools, jobs, notebooks, // pipelines, queries, registered-models, repos, serving-endpoints, or // warehouses. RequestObjectType types.String `tfsdk:"-"` }
func (*PermissionsRequest) GetAccessControlList ¶ added in v1.61.0
func (o *PermissionsRequest) GetAccessControlList(ctx context.Context) ([]AccessControlRequest, bool)
GetAccessControlList returns the value of the AccessControlList field in PermissionsRequest as a slice of AccessControlRequest values. If the field is unknown or null, the boolean return value is false.
func (PermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PermissionsRequest) SetAccessControlList ¶ added in v1.61.0
func (o *PermissionsRequest) SetAccessControlList(ctx context.Context, v []AccessControlRequest)
SetAccessControlList sets the value of the AccessControlList field in PermissionsRequest.
func (*PermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermissionsRequest)
func (*PermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PermissionsRequest) SyncEffectiveFieldsDuringRead(existingState PermissionsRequest)
func (PermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o PermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermissionsRequest only implements ToObjectValue() and Type().
type PrincipalOutput ¶
type PrincipalOutput struct { // The display name of the principal. DisplayName types.String `tfsdk:"display_name" tf:"optional"` // The group name of the group. Present only if the principal is a group. GroupName types.String `tfsdk:"group_name" tf:"optional"` // The unique, opaque id of the principal. PrincipalId types.Int64 `tfsdk:"principal_id" tf:"optional"` // The name of the service principal. Present only if the principal is a // service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // The username of the user. Present only if the principal is a user. UserName types.String `tfsdk:"user_name" tf:"optional"` }
Information about the principal assigned to the workspace.
func (PrincipalOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PrincipalOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PrincipalOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PrincipalOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan PrincipalOutput)
func (*PrincipalOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PrincipalOutput) SyncEffectiveFieldsDuringRead(existingState PrincipalOutput)
func (PrincipalOutput) ToObjectValue ¶ added in v1.61.0
func (o PrincipalOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PrincipalOutput only implements ToObjectValue() and Type().
type ResourceMeta ¶
type ResourceMeta struct { // Identifier for group type. Can be local workspace group // (`WorkspaceGroup`) or account group (`Group`). ResourceType types.String `tfsdk:"resourceType" tf:"optional"` }
func (ResourceMeta) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ResourceMeta. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ResourceMeta) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ResourceMeta) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResourceMeta)
func (*ResourceMeta) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ResourceMeta) SyncEffectiveFieldsDuringRead(existingState ResourceMeta)
func (ResourceMeta) ToObjectValue ¶ added in v1.61.0
func (o ResourceMeta) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResourceMeta only implements ToObjectValue() and Type().
type Role ¶
type Role struct { // Role to assign to a principal or a list of principals on a resource. Name types.String `tfsdk:"name" tf:""` }
func (Role) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Role. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Role) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Role) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Role) ToObjectValue ¶ added in v1.61.0
func (o Role) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Role only implements ToObjectValue() and Type().
type RuleSetResponse ¶
type RuleSetResponse struct { // Identifies the version of the rule set returned. Etag types.String `tfsdk:"etag" tf:"optional"` GrantRules types.List `tfsdk:"grant_rules" tf:"optional"` // Name of the rule set. Name types.String `tfsdk:"name" tf:"optional"` }
func (RuleSetResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RuleSetResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RuleSetResponse) GetGrantRules ¶ added in v1.61.0
func (o *RuleSetResponse) GetGrantRules(ctx context.Context) ([]GrantRule, bool)
GetGrantRules returns the value of the GrantRules field in RuleSetResponse as a slice of GrantRule values. If the field is unknown or null, the boolean return value is false.
func (*RuleSetResponse) SetGrantRules ¶ added in v1.61.0
func (o *RuleSetResponse) SetGrantRules(ctx context.Context, v []GrantRule)
SetGrantRules sets the value of the GrantRules field in RuleSetResponse.
func (*RuleSetResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RuleSetResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RuleSetResponse)
func (*RuleSetResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RuleSetResponse) SyncEffectiveFieldsDuringRead(existingState RuleSetResponse)
func (RuleSetResponse) ToObjectValue ¶ added in v1.61.0
func (o RuleSetResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RuleSetResponse only implements ToObjectValue() and Type().
type RuleSetUpdateRequest ¶
type RuleSetUpdateRequest struct { // The expected etag of the rule set to update. The update will fail if the // value does not match the value that is stored in account access control // service. Etag types.String `tfsdk:"etag" tf:""` GrantRules types.List `tfsdk:"grant_rules" tf:"optional"` // Name of the rule set. Name types.String `tfsdk:"name" tf:""` }
func (RuleSetUpdateRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RuleSetUpdateRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RuleSetUpdateRequest) GetGrantRules ¶ added in v1.61.0
func (o *RuleSetUpdateRequest) GetGrantRules(ctx context.Context) ([]GrantRule, bool)
GetGrantRules returns the value of the GrantRules field in RuleSetUpdateRequest as a slice of GrantRule values. If the field is unknown or null, the boolean return value is false.
func (*RuleSetUpdateRequest) SetGrantRules ¶ added in v1.61.0
func (o *RuleSetUpdateRequest) SetGrantRules(ctx context.Context, v []GrantRule)
SetGrantRules sets the value of the GrantRules field in RuleSetUpdateRequest.
func (*RuleSetUpdateRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *RuleSetUpdateRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RuleSetUpdateRequest)
func (*RuleSetUpdateRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *RuleSetUpdateRequest) SyncEffectiveFieldsDuringRead(existingState RuleSetUpdateRequest)
func (RuleSetUpdateRequest) ToObjectValue ¶ added in v1.61.0
func (o RuleSetUpdateRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RuleSetUpdateRequest only implements ToObjectValue() and Type().
type ServicePrincipal ¶
type ServicePrincipal struct { // If this user is active Active types.Bool `tfsdk:"active" tf:"optional"` // UUID relating to the service principal ApplicationId types.String `tfsdk:"applicationId" tf:"optional"` // String that represents a concatenation of given and family names. DisplayName types.String `tfsdk:"displayName" tf:"optional"` // Entitlements assigned to the service principal. See [assigning // entitlements] for a full list of supported values. // // [assigning entitlements]: https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements Entitlements types.List `tfsdk:"entitlements" tf:"optional"` ExternalId types.String `tfsdk:"externalId" tf:"optional"` Groups types.List `tfsdk:"groups" tf:"optional"` // Databricks service principal ID. Id types.String `tfsdk:"id" tf:"optional"` // Corresponds to AWS instance profile/arn role. Roles types.List `tfsdk:"roles" tf:"optional"` // The schema of the List response. Schemas types.List `tfsdk:"schemas" tf:"optional"` }
func (ServicePrincipal) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServicePrincipal. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServicePrincipal) GetEntitlements ¶ added in v1.61.0
func (o *ServicePrincipal) GetEntitlements(ctx context.Context) ([]ComplexValue, bool)
GetEntitlements returns the value of the Entitlements field in ServicePrincipal as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*ServicePrincipal) GetGroups ¶ added in v1.61.0
func (o *ServicePrincipal) GetGroups(ctx context.Context) ([]ComplexValue, bool)
GetGroups returns the value of the Groups field in ServicePrincipal as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*ServicePrincipal) GetRoles ¶ added in v1.61.0
func (o *ServicePrincipal) GetRoles(ctx context.Context) ([]ComplexValue, bool)
GetRoles returns the value of the Roles field in ServicePrincipal as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*ServicePrincipal) GetSchemas ¶ added in v1.61.0
GetSchemas returns the value of the Schemas field in ServicePrincipal as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ServicePrincipal) SetEntitlements ¶ added in v1.61.0
func (o *ServicePrincipal) SetEntitlements(ctx context.Context, v []ComplexValue)
SetEntitlements sets the value of the Entitlements field in ServicePrincipal.
func (*ServicePrincipal) SetGroups ¶ added in v1.61.0
func (o *ServicePrincipal) SetGroups(ctx context.Context, v []ComplexValue)
SetGroups sets the value of the Groups field in ServicePrincipal.
func (*ServicePrincipal) SetRoles ¶ added in v1.61.0
func (o *ServicePrincipal) SetRoles(ctx context.Context, v []ComplexValue)
SetRoles sets the value of the Roles field in ServicePrincipal.
func (*ServicePrincipal) SetSchemas ¶ added in v1.61.0
func (o *ServicePrincipal) SetSchemas(ctx context.Context, v []types.String)
SetSchemas sets the value of the Schemas field in ServicePrincipal.
func (*ServicePrincipal) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServicePrincipal) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServicePrincipal)
func (*ServicePrincipal) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServicePrincipal) SyncEffectiveFieldsDuringRead(existingState ServicePrincipal)
func (ServicePrincipal) ToObjectValue ¶ added in v1.61.0
func (o ServicePrincipal) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServicePrincipal only implements ToObjectValue() and Type().
type UpdateResponse ¶
type UpdateResponse struct { }
func (UpdateResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse)
func (*UpdateResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse)
func (UpdateResponse) ToObjectValue ¶ added in v1.61.0
func (o UpdateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateResponse only implements ToObjectValue() and Type().
type UpdateRuleSetRequest ¶
type UpdateRuleSetRequest struct { // Name of the rule set. Name types.String `tfsdk:"name" tf:""` RuleSet types.List `tfsdk:"rule_set" tf:"object"` }
func (UpdateRuleSetRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRuleSetRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateRuleSetRequest) GetRuleSet ¶ added in v1.61.0
func (o *UpdateRuleSetRequest) GetRuleSet(ctx context.Context) (RuleSetUpdateRequest, bool)
GetRuleSet returns the value of the RuleSet field in UpdateRuleSetRequest as a RuleSetUpdateRequest value. If the field is unknown or null, the boolean return value is false.
func (*UpdateRuleSetRequest) SetRuleSet ¶ added in v1.61.0
func (o *UpdateRuleSetRequest) SetRuleSet(ctx context.Context, v RuleSetUpdateRequest)
SetRuleSet sets the value of the RuleSet field in UpdateRuleSetRequest.
func (*UpdateRuleSetRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateRuleSetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateRuleSetRequest)
func (*UpdateRuleSetRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateRuleSetRequest) SyncEffectiveFieldsDuringRead(existingState UpdateRuleSetRequest)
func (UpdateRuleSetRequest) ToObjectValue ¶ added in v1.61.0
func (o UpdateRuleSetRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateRuleSetRequest only implements ToObjectValue() and Type().
type UpdateWorkspaceAssignments ¶
type UpdateWorkspaceAssignments struct { // Array of permissions assignments to update on the workspace. Valid values // are "USER" and "ADMIN" (case-sensitive). If both "USER" and "ADMIN" are // provided, "ADMIN" takes precedence. Other values will be ignored. Note // that excluding this field, or providing unsupported values, will have the // same effect as providing an empty list, which will result in the deletion // of all permissions for the principal. Permissions types.List `tfsdk:"permissions" tf:"optional"` // The ID of the user, service principal, or group. PrincipalId types.Int64 `tfsdk:"-"` // The workspace ID. WorkspaceId types.Int64 `tfsdk:"-"` }
func (UpdateWorkspaceAssignments) GetComplexFieldTypes ¶ added in v1.61.0
func (a UpdateWorkspaceAssignments) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWorkspaceAssignments. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UpdateWorkspaceAssignments) GetPermissions ¶ added in v1.61.0
GetPermissions returns the value of the Permissions field in UpdateWorkspaceAssignments as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*UpdateWorkspaceAssignments) SetPermissions ¶ added in v1.61.0
func (o *UpdateWorkspaceAssignments) SetPermissions(ctx context.Context, v []types.String)
SetPermissions sets the value of the Permissions field in UpdateWorkspaceAssignments.
func (*UpdateWorkspaceAssignments) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UpdateWorkspaceAssignments) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateWorkspaceAssignments)
func (*UpdateWorkspaceAssignments) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UpdateWorkspaceAssignments) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceAssignments)
func (UpdateWorkspaceAssignments) ToObjectValue ¶ added in v1.61.0
func (o UpdateWorkspaceAssignments) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateWorkspaceAssignments only implements ToObjectValue() and Type().
type User ¶
type User struct { // If this user is active Active types.Bool `tfsdk:"active" tf:"optional"` // String that represents a concatenation of given and family names. For // example `John Smith`. This field cannot be updated through the Workspace // SCIM APIs when [identity federation is enabled]. Use Account SCIM APIs to // update `displayName`. // // [identity federation is enabled]: https://docs.databricks.com/administration-guide/users-groups/best-practices.html#enable-identity-federation DisplayName types.String `tfsdk:"displayName" tf:"optional"` // All the emails associated with the Databricks user. Emails types.List `tfsdk:"emails" tf:"optional"` // Entitlements assigned to the user. See [assigning entitlements] for a // full list of supported values. // // [assigning entitlements]: https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements Entitlements types.List `tfsdk:"entitlements" tf:"optional"` // External ID is not currently supported. It is reserved for future use. ExternalId types.String `tfsdk:"externalId" tf:"optional"` Groups types.List `tfsdk:"groups" tf:"optional"` // Databricks user ID. This is automatically set by Databricks. Any value // provided by the client will be ignored. Id types.String `tfsdk:"id" tf:"optional"` Name types.List `tfsdk:"name" tf:"optional,object"` // Corresponds to AWS instance profile/arn role. Roles types.List `tfsdk:"roles" tf:"optional"` // The schema of the user. Schemas types.List `tfsdk:"schemas" tf:"optional"` // Email address of the Databricks user. UserName types.String `tfsdk:"userName" tf:"optional"` }
func (User) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in User. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*User) GetEmails ¶ added in v1.61.0
func (o *User) GetEmails(ctx context.Context) ([]ComplexValue, bool)
GetEmails returns the value of the Emails field in User as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*User) GetEntitlements ¶ added in v1.61.0
func (o *User) GetEntitlements(ctx context.Context) ([]ComplexValue, bool)
GetEntitlements returns the value of the Entitlements field in User as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*User) GetGroups ¶ added in v1.61.0
func (o *User) GetGroups(ctx context.Context) ([]ComplexValue, bool)
GetGroups returns the value of the Groups field in User as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*User) GetName ¶ added in v1.61.0
GetName returns the value of the Name field in User as a Name value. If the field is unknown or null, the boolean return value is false.
func (*User) GetRoles ¶ added in v1.61.0
func (o *User) GetRoles(ctx context.Context) ([]ComplexValue, bool)
GetRoles returns the value of the Roles field in User as a slice of ComplexValue values. If the field is unknown or null, the boolean return value is false.
func (*User) GetSchemas ¶ added in v1.61.0
GetSchemas returns the value of the Schemas field in User as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*User) SetEmails ¶ added in v1.61.0
func (o *User) SetEmails(ctx context.Context, v []ComplexValue)
SetEmails sets the value of the Emails field in User.
func (*User) SetEntitlements ¶ added in v1.61.0
func (o *User) SetEntitlements(ctx context.Context, v []ComplexValue)
SetEntitlements sets the value of the Entitlements field in User.
func (*User) SetGroups ¶ added in v1.61.0
func (o *User) SetGroups(ctx context.Context, v []ComplexValue)
SetGroups sets the value of the Groups field in User.
func (*User) SetRoles ¶ added in v1.61.0
func (o *User) SetRoles(ctx context.Context, v []ComplexValue)
SetRoles sets the value of the Roles field in User.
func (*User) SetSchemas ¶ added in v1.61.0
SetSchemas sets the value of the Schemas field in User.
func (*User) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*User) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (User) ToObjectValue ¶ added in v1.61.0
func (o User) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, User only implements ToObjectValue() and Type().
type WorkspacePermissions ¶
type WorkspacePermissions struct { // Array of permissions defined for a workspace. Permissions types.List `tfsdk:"permissions" tf:"optional"` }
func (WorkspacePermissions) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspacePermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*WorkspacePermissions) GetPermissions ¶ added in v1.61.0
func (o *WorkspacePermissions) GetPermissions(ctx context.Context) ([]PermissionOutput, bool)
GetPermissions returns the value of the Permissions field in WorkspacePermissions as a slice of PermissionOutput values. If the field is unknown or null, the boolean return value is false.
func (*WorkspacePermissions) SetPermissions ¶ added in v1.61.0
func (o *WorkspacePermissions) SetPermissions(ctx context.Context, v []PermissionOutput)
SetPermissions sets the value of the Permissions field in WorkspacePermissions.
func (*WorkspacePermissions) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *WorkspacePermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspacePermissions)
func (*WorkspacePermissions) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *WorkspacePermissions) SyncEffectiveFieldsDuringRead(existingState WorkspacePermissions)
func (WorkspacePermissions) ToObjectValue ¶ added in v1.61.0
func (o WorkspacePermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, WorkspacePermissions only implements ToObjectValue() and Type().