Versions in this module Expand all Collapse all v1 v1.0.1 Sep 13, 2022 v1.0.0 Sep 12, 2022 Changes in this version + func UserAgent() string + func Version() string + type BaseClient struct + Endpoint string + func New(endpoint string) BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + type CheckAccessDecision struct + AccessDecision *string + ActionID *string + RoleAssignment *RoleAssignmentDetails + type CheckPrincipalAccessRequest struct + Actions *[]RequiredAction + Scope *string + Subject *SubjectInfo + type CheckPrincipalAccessResponse struct + AccessDecisions *[]CheckAccessDecision + type ErrorContract struct + Error *ErrorResponse + type ErrorDetail struct + Code *string + Message *string + Target *string + type ErrorResponse struct + Code *string + Details *[]ErrorDetail + Message *string + Target *string + type ListString struct + Value *[]string + type ListSynapseRoleDefinition struct + Value *[]SynapseRoleDefinition + type RequiredAction struct + ID *string + IsDataAction *bool + type RoleAssignmentDetails struct + ID *string + PrincipalID *uuid.UUID + PrincipalType *string + RoleDefinitionID *uuid.UUID + Scope *string + type RoleAssignmentDetailsList struct + Count *int32 + Value *[]RoleAssignmentDetails + type RoleAssignmentRequest struct + PrincipalID *uuid.UUID + PrincipalType *string + RoleID *uuid.UUID + Scope *string + type RoleAssignmentsClient struct + func NewRoleAssignmentsClient(endpoint string) RoleAssignmentsClient + func (client RoleAssignmentsClient) CheckPrincipalAccess(ctx context.Context, request CheckPrincipalAccessRequest) (result CheckPrincipalAccessResponse, err error) + func (client RoleAssignmentsClient) CheckPrincipalAccessPreparer(ctx context.Context, request CheckPrincipalAccessRequest) (*http.Request, error) + func (client RoleAssignmentsClient) CheckPrincipalAccessResponder(resp *http.Response) (result CheckPrincipalAccessResponse, err error) + func (client RoleAssignmentsClient) CheckPrincipalAccessSender(req *http.Request) (*http.Response, error) + func (client RoleAssignmentsClient) CreateRoleAssignment(ctx context.Context, request RoleAssignmentRequest, roleAssignmentID string) (result RoleAssignmentDetails, err error) + func (client RoleAssignmentsClient) CreateRoleAssignmentPreparer(ctx context.Context, request RoleAssignmentRequest, roleAssignmentID string) (*http.Request, error) + func (client RoleAssignmentsClient) CreateRoleAssignmentResponder(resp *http.Response) (result RoleAssignmentDetails, err error) + func (client RoleAssignmentsClient) CreateRoleAssignmentSender(req *http.Request) (*http.Response, error) + func (client RoleAssignmentsClient) DeleteRoleAssignmentByID(ctx context.Context, roleAssignmentID string, scope string) (result autorest.Response, err error) + func (client RoleAssignmentsClient) DeleteRoleAssignmentByIDPreparer(ctx context.Context, roleAssignmentID string, scope string) (*http.Request, error) + func (client RoleAssignmentsClient) DeleteRoleAssignmentByIDResponder(resp *http.Response) (result autorest.Response, err error) + func (client RoleAssignmentsClient) DeleteRoleAssignmentByIDSender(req *http.Request) (*http.Response, error) + func (client RoleAssignmentsClient) GetRoleAssignmentByID(ctx context.Context, roleAssignmentID string) (result RoleAssignmentDetails, err error) + func (client RoleAssignmentsClient) GetRoleAssignmentByIDPreparer(ctx context.Context, roleAssignmentID string) (*http.Request, error) + func (client RoleAssignmentsClient) GetRoleAssignmentByIDResponder(resp *http.Response) (result RoleAssignmentDetails, err error) + func (client RoleAssignmentsClient) GetRoleAssignmentByIDSender(req *http.Request) (*http.Response, error) + func (client RoleAssignmentsClient) ListRoleAssignments(ctx context.Context, roleID string, principalID string, scope string, ...) (result RoleAssignmentDetailsList, err error) + func (client RoleAssignmentsClient) ListRoleAssignmentsPreparer(ctx context.Context, roleID string, principalID string, scope string, ...) (*http.Request, error) + func (client RoleAssignmentsClient) ListRoleAssignmentsResponder(resp *http.Response) (result RoleAssignmentDetailsList, err error) + func (client RoleAssignmentsClient) ListRoleAssignmentsSender(req *http.Request) (*http.Response, error) + type RoleDefinitionsClient struct + func NewRoleDefinitionsClient(endpoint string) RoleDefinitionsClient + func (client RoleDefinitionsClient) GetRoleDefinitionByID(ctx context.Context, roleDefinitionID string) (result SynapseRoleDefinition, err error) + func (client RoleDefinitionsClient) GetRoleDefinitionByIDPreparer(ctx context.Context, roleDefinitionID string) (*http.Request, error) + func (client RoleDefinitionsClient) GetRoleDefinitionByIDResponder(resp *http.Response) (result SynapseRoleDefinition, err error) + func (client RoleDefinitionsClient) GetRoleDefinitionByIDSender(req *http.Request) (*http.Response, error) + func (client RoleDefinitionsClient) ListRoleDefinitions(ctx context.Context, isBuiltIn *bool, scope string) (result ListSynapseRoleDefinition, err error) + func (client RoleDefinitionsClient) ListRoleDefinitionsPreparer(ctx context.Context, isBuiltIn *bool, scope string) (*http.Request, error) + func (client RoleDefinitionsClient) ListRoleDefinitionsResponder(resp *http.Response) (result ListSynapseRoleDefinition, err error) + func (client RoleDefinitionsClient) ListRoleDefinitionsSender(req *http.Request) (*http.Response, error) + func (client RoleDefinitionsClient) ListScopes(ctx context.Context) (result ListString, err error) + func (client RoleDefinitionsClient) ListScopesPreparer(ctx context.Context) (*http.Request, error) + func (client RoleDefinitionsClient) ListScopesResponder(resp *http.Response) (result ListString, err error) + func (client RoleDefinitionsClient) ListScopesSender(req *http.Request) (*http.Response, error) + type SubjectInfo struct + GroupIds *[]uuid.UUID + PrincipalID *uuid.UUID + type SynapseRbacPermission struct + Actions *[]string + DataActions *[]string + NotActions *[]string + NotDataActions *[]string + type SynapseRoleDefinition struct + AvailabilityStatus *string + Description *string + ID *uuid.UUID + IsBuiltIn *bool + Name *string + Permissions *[]SynapseRbacPermission + Scopes *[]string