Versions in this module Expand all Collapse all v7 v7.1.0 Apr 17, 2023 Changes in this version + var GraphTraversalDirectionValues = graphTraversalDirectionValuesType + var ResourceAreaId = uuid.Parse("bb1e7ec9-e901-4b68-999a-de7012b920f8") + type AadGraphMember struct + Descriptor *string + DirectoryAlias *string + DisplayName *string + Domain *string + IsDeletedInOrigin *bool + LegacyDescriptor *string + Links interface{} + MailAddress *string + MetaType *string + Origin *string + OriginId *string + PrincipalName *string + SubjectKind *string + Url *string + type AddMembershipArgs struct + ContainerDescriptor *string + SubjectDescriptor *string + type CheckMembershipExistenceArgs struct + ContainerDescriptor *string + SubjectDescriptor *string + type Client interface + AddMembership func(context.Context, AddMembershipArgs) (*GraphMembership, error) + CheckMembershipExistence func(context.Context, CheckMembershipExistenceArgs) error + CreateGroupMailAddress func(context.Context, CreateGroupMailAddressArgs) (*GraphGroup, error) + CreateGroupOriginId func(context.Context, CreateGroupOriginIdArgs) (*GraphGroup, error) + CreateGroupVsts func(context.Context, CreateGroupVstsArgs) (*GraphGroup, error) + CreateServicePrincipal func(context.Context, CreateServicePrincipalArgs) (*GraphServicePrincipal, error) + CreateUserMailAddress func(ctx context.Context, args CreateUserMailAddressArgs) (*GraphUser, error) + CreateUserOriginId func(ctx context.Context, args CreateUserOriginIdArgs) (*GraphUser, error) + CreateUserUserPrincipalName func(ctx context.Context, args CreateUserUserPrincipalNameArgs) (*GraphUser, error) + DeleteAvatar func(context.Context, DeleteAvatarArgs) error + DeleteGroup func(context.Context, DeleteGroupArgs) error + DeleteServicePrincipal func(context.Context, DeleteServicePrincipalArgs) error + DeleteUser func(context.Context, DeleteUserArgs) error + GetAvatar func(context.Context, GetAvatarArgs) (*profile.Avatar, error) + GetDescriptor func(context.Context, GetDescriptorArgs) (*GraphDescriptorResult, error) + GetGroup func(context.Context, GetGroupArgs) (*GraphGroup, error) + GetMembership func(context.Context, GetMembershipArgs) (*GraphMembership, error) + GetMembershipState func(context.Context, GetMembershipStateArgs) (*GraphMembershipState, error) + GetProviderInfo func(context.Context, GetProviderInfoArgs) (*GraphProviderInfo, error) + GetServicePrincipal func(context.Context, GetServicePrincipalArgs) (*GraphServicePrincipal, error) + GetStorageKey func(context.Context, GetStorageKeyArgs) (*GraphStorageKeyResult, error) + GetUser func(context.Context, GetUserArgs) (*GraphUser, error) + ListGroups func(context.Context, ListGroupsArgs) (*PagedGraphGroups, error) + ListMemberships func(context.Context, ListMembershipsArgs) (*[]GraphMembership, error) + ListServicePrincipals func(context.Context, ListServicePrincipalsArgs) (*PagedGraphServicePrincipals, error) + ListUsers func(context.Context, ListUsersArgs) (*PagedGraphUsers, error) + LookupSubjects func(context.Context, LookupSubjectsArgs) (*map[string]GraphSubject, error) + QuerySubjects func(context.Context, QuerySubjectsArgs) (*[]GraphSubject, error) + RemoveMembership func(context.Context, RemoveMembershipArgs) error + RequestAccess func(context.Context, RequestAccessArgs) error + SetAvatar func(context.Context, SetAvatarArgs) error + UpdateGroup func(context.Context, UpdateGroupArgs) (*GraphGroup, error) + UpdateUser func(context.Context, UpdateUserArgs) (*GraphUser, error) + func NewClient(ctx context.Context, connection *azuredevops.Connection) (Client, error) + type ClientImpl struct + Client azuredevops.Client + func (client *ClientImpl) AddMembership(ctx context.Context, args AddMembershipArgs) (*GraphMembership, error) + func (client *ClientImpl) CheckMembershipExistence(ctx context.Context, args CheckMembershipExistenceArgs) error + func (client *ClientImpl) CreateGroupMailAddress(ctx context.Context, args CreateGroupMailAddressArgs) (*GraphGroup, error) + func (client *ClientImpl) CreateGroupOriginId(ctx context.Context, args CreateGroupOriginIdArgs) (*GraphGroup, error) + func (client *ClientImpl) CreateGroupVsts(ctx context.Context, args CreateGroupVstsArgs) (*GraphGroup, error) + func (client *ClientImpl) CreateServicePrincipal(ctx context.Context, args CreateServicePrincipalArgs) (*GraphServicePrincipal, error) + func (client *ClientImpl) CreateUserMailAddress(ctx context.Context, args CreateUserMailAddressArgs) (*GraphUser, error) + func (client *ClientImpl) CreateUserOriginId(ctx context.Context, args CreateUserOriginIdArgs) (*GraphUser, error) + func (client *ClientImpl) CreateUserUserPrincipalName(ctx context.Context, args CreateUserUserPrincipalNameArgs) (*GraphUser, error) + func (client *ClientImpl) DeleteAvatar(ctx context.Context, args DeleteAvatarArgs) error + func (client *ClientImpl) DeleteGroup(ctx context.Context, args DeleteGroupArgs) error + func (client *ClientImpl) DeleteServicePrincipal(ctx context.Context, args DeleteServicePrincipalArgs) error + func (client *ClientImpl) DeleteUser(ctx context.Context, args DeleteUserArgs) error + func (client *ClientImpl) GetAvatar(ctx context.Context, args GetAvatarArgs) (*profile.Avatar, error) + func (client *ClientImpl) GetDescriptor(ctx context.Context, args GetDescriptorArgs) (*GraphDescriptorResult, error) + func (client *ClientImpl) GetGroup(ctx context.Context, args GetGroupArgs) (*GraphGroup, error) + func (client *ClientImpl) GetMembership(ctx context.Context, args GetMembershipArgs) (*GraphMembership, error) + func (client *ClientImpl) GetMembershipState(ctx context.Context, args GetMembershipStateArgs) (*GraphMembershipState, error) + func (client *ClientImpl) GetProviderInfo(ctx context.Context, args GetProviderInfoArgs) (*GraphProviderInfo, error) + func (client *ClientImpl) GetServicePrincipal(ctx context.Context, args GetServicePrincipalArgs) (*GraphServicePrincipal, error) + func (client *ClientImpl) GetStorageKey(ctx context.Context, args GetStorageKeyArgs) (*GraphStorageKeyResult, error) + func (client *ClientImpl) GetUser(ctx context.Context, args GetUserArgs) (*GraphUser, error) + func (client *ClientImpl) ListGroups(ctx context.Context, args ListGroupsArgs) (*PagedGraphGroups, error) + func (client *ClientImpl) ListMemberships(ctx context.Context, args ListMembershipsArgs) (*[]GraphMembership, error) + func (client *ClientImpl) ListServicePrincipals(ctx context.Context, args ListServicePrincipalsArgs) (*PagedGraphServicePrincipals, error) + func (client *ClientImpl) ListUsers(ctx context.Context, args ListUsersArgs) (*PagedGraphUsers, error) + func (client *ClientImpl) LookupSubjects(ctx context.Context, args LookupSubjectsArgs) (*map[string]GraphSubject, error) + func (client *ClientImpl) QuerySubjects(ctx context.Context, args QuerySubjectsArgs) (*[]GraphSubject, error) + func (client *ClientImpl) RemoveMembership(ctx context.Context, args RemoveMembershipArgs) error + func (client *ClientImpl) RequestAccess(ctx context.Context, args RequestAccessArgs) error + func (client *ClientImpl) SetAvatar(ctx context.Context, args SetAvatarArgs) error + func (client *ClientImpl) UpdateGroup(ctx context.Context, args UpdateGroupArgs) (*GraphGroup, error) + func (client *ClientImpl) UpdateUser(ctx context.Context, args UpdateUserArgs) (*GraphUser, error) + type CreateGroupMailAddressArgs struct + CreationContext *GraphGroupMailAddressCreationContext + GroupDescriptors *[]string + ScopeDescriptor *string + type CreateGroupOriginIdArgs struct + CreationContext *GraphGroupOriginIdCreationContext + GroupDescriptors *[]string + ScopeDescriptor *string + type CreateGroupVstsArgs struct + CreationContext *GraphGroupVstsCreationContext + GroupDescriptors *[]string + ScopeDescriptor *string + type CreateServicePrincipalArgs struct + CreationContext *GraphServicePrincipalCreationContext + GroupDescriptors *[]string + type CreateUserMailAddressArgs struct + CreationContext *GraphUserMailAddressCreationContext + GroupDescriptors *[]string + type CreateUserOriginIdArgs struct + CreationContext *GraphUserOriginIdCreationContext + GroupDescriptors *[]string + type CreateUserUserPrincipalNameArgs struct + CreationContext *GraphUserPrincipalNameCreationContext + GroupDescriptors *[]string + type DeleteAvatarArgs struct + SubjectDescriptor *string + type DeleteGroupArgs struct + GroupDescriptor *string + type DeleteServicePrincipalArgs struct + ServicePrincipalDescriptor *string + type DeleteUserArgs struct + UserDescriptor *string + type GetAvatarArgs struct + Format *string + Size *profile.AvatarSize + SubjectDescriptor *string + type GetDescriptorArgs struct + StorageKey *uuid.UUID + type GetGroupArgs struct + GroupDescriptor *string + type GetMembershipArgs struct + ContainerDescriptor *string + SubjectDescriptor *string + type GetMembershipStateArgs struct + SubjectDescriptor *string + type GetProviderInfoArgs struct + UserDescriptor *string + type GetServicePrincipalArgs struct + ServicePrincipalDescriptor *string + type GetStorageKeyArgs struct + SubjectDescriptor *string + type GetUserArgs struct + UserDescriptor *string + type GraphCachePolicies struct + CacheSize *int + type GraphDescriptorResult struct + Links interface{} + Value *string + type GraphGlobalExtendedPropertyBatch struct + PropertyNameFilters *[]string + SubjectDescriptors *[]string + type GraphGroup struct + Description *string + Descriptor *string + DisplayName *string + Domain *string + LegacyDescriptor *string + Links interface{} + MailAddress *string + Origin *string + OriginId *string + PrincipalName *string + SubjectKind *string + Url *string + type GraphGroupCreationContext struct + StorageKey *uuid.UUID + type GraphGroupMailAddressCreationContext struct + MailAddress *string + StorageKey *uuid.UUID + type GraphGroupOriginIdCreationContext struct + OriginId *string + StorageKey *uuid.UUID + type GraphGroupVstsCreationContext struct + CrossProject *bool + Description *string + Descriptor *string + DisplayName *string + RestrictedVisibility *bool + SpecialGroupType *string + StorageKey *uuid.UUID + type GraphMember struct + Descriptor *string + DisplayName *string + Domain *string + LegacyDescriptor *string + Links interface{} + MailAddress *string + Origin *string + OriginId *string + PrincipalName *string + SubjectKind *string + Url *string + type GraphMembership struct + ContainerDescriptor *string + Links interface{} + MemberDescriptor *string + type GraphMembershipState struct + Active *bool + Links interface{} + type GraphMembershipTraversal struct + IncompletenessReason *string + IsComplete *bool + SubjectDescriptor *string + TraversedSubjectIds *[]uuid.UUID + TraversedSubjects *[]string + type GraphProviderInfo struct + Descriptor *string + Domain *string + Origin *string + OriginId *string + type GraphScope struct + AdministratorDescriptor *string + Descriptor *string + DisplayName *string + IsGlobal *bool + LegacyDescriptor *string + Links interface{} + Origin *string + OriginId *string + ParentDescriptor *string + ScopeType *identity.GroupScopeType + SecuringHostDescriptor *string + SubjectKind *string + Url *string + type GraphScopeCreationContext struct + AdminGroupDescription *string + AdminGroupName *string + CreatorId *uuid.UUID + Name *string + ScopeType *identity.GroupScopeType + StorageKey *uuid.UUID + type GraphServicePrincipal struct + ApplicationId *string + Descriptor *string + DirectoryAlias *string + DisplayName *string + Domain *string + IsDeletedInOrigin *bool + LegacyDescriptor *string + Links interface{} + MailAddress *string + MetaType *string + Origin *string + OriginId *string + PrincipalName *string + SubjectKind *string + Url *string + type GraphServicePrincipalCreationContext struct + StorageKey *uuid.UUID + type GraphServicePrincipalOriginIdCreationContext struct + OriginId *string + StorageKey *uuid.UUID + type GraphServicePrincipalOriginIdUpdateContext struct + OriginId *string + StorageKey *uuid.UUID + type GraphServicePrincipalUpdateContext struct + StorageKey *uuid.UUID + type GraphStorageKeyResult struct + Links interface{} + Value *uuid.UUID + type GraphSubject struct + Descriptor *string + DisplayName *string + LegacyDescriptor *string + Links interface{} + Origin *string + OriginId *string + SubjectKind *string + Url *string + type GraphSubjectBase struct + Descriptor *string + DisplayName *string + Links interface{} + Url *string + type GraphSubjectLookup struct + LookupKeys *[]GraphSubjectLookupKey + type GraphSubjectLookupKey struct + Descriptor *string + type GraphSubjectQuery struct + Query *string + ScopeDescriptor *string + SubjectKind *[]string + type GraphSystemSubject struct + Descriptor *string + DisplayName *string + LegacyDescriptor *string + Links interface{} + Origin *string + OriginId *string + SubjectKind *string + Url *string + type GraphTraversalDirection string + type GraphUser struct + Descriptor *string + DirectoryAlias *string + DisplayName *string + Domain *string + IsDeletedInOrigin *bool + LegacyDescriptor *string + Links interface{} + MailAddress *string + MetaType *string + Origin *string + OriginId *string + PrincipalName *string + SubjectKind *string + Url *string + type GraphUserCreationContext struct + StorageKey *uuid.UUID + type GraphUserMailAddressCreationContext struct + MailAddress *string + StorageKey *uuid.UUID + type GraphUserOriginIdCreationContext struct + Origin *string + OriginId *string + StorageKey *uuid.UUID + type GraphUserOriginIdUpdateContext struct + OriginId *string + StorageKey *uuid.UUID + type GraphUserPrincipalNameCreationContext struct + PrincipalName *string + StorageKey *uuid.UUID + type GraphUserPrincipalNameUpdateContext struct + PrincipalName *string + StorageKey *uuid.UUID + type GraphUserUpdateContext struct + StorageKey *uuid.UUID + type IdentityMapping struct + Source *UserPrincipalName + Target *UserPrincipalName + type IdentityMappings struct + Mappings *[]IdentityMapping + type ListGroupsArgs struct + ContinuationToken *string + ScopeDescriptor *string + SubjectTypes *[]string + type ListMembershipsArgs struct + Depth *int + Direction *GraphTraversalDirection + SubjectDescriptor *string + type ListServicePrincipalsArgs struct + ContinuationToken *string + ScopeDescriptor *string + type ListUsersArgs struct + ContinuationToken *string + ScopeDescriptor *string + SubjectTypes *[]string + type LookupSubjectsArgs struct + SubjectLookup *GraphSubjectLookup + type MappingResult struct + Code *string + ErrorMessage *string + type PagedGraphGroups struct + ContinuationToken *[]string + GraphGroups *[]GraphGroup + type PagedGraphMembers struct + ContinuationToken *[]string + GraphMembers *[]GraphMember + type PagedGraphServicePrincipals struct + ContinuationToken *[]string + GraphServicePrincipals *[]GraphServicePrincipal + type PagedGraphUsers struct + ContinuationToken *[]string + GraphUsers *[]GraphUser + type QuerySubjectsArgs struct + SubjectQuery *GraphSubjectQuery + type RemoveMembershipArgs struct + ContainerDescriptor *string + SubjectDescriptor *string + type RequestAccessArgs struct + Jsondocument interface{} + type RequestAccessPayLoad struct + Message *string + ProjectUri *string + UrlRequested *string + type ResolveDisconnectedUsersResponse struct + Code *string + ErrorMessage *string + MappingResults *[]MappingResult + type SetAvatarArgs struct + Avatar *profile.Avatar + SubjectDescriptor *string + type UpdateGroupArgs struct + GroupDescriptor *string + PatchDocument *[]webapi.JsonPatchOperation + type UpdateUserArgs struct + UpdateContext *GraphUserUpdateContext + UserDescriptor *string + type UserPrincipalName struct + PrincipalName *string Other modules containing this package github.com/microsoft/azure-devops-go-api/azuredevops github.com/microsoft/azure-devops-go-api/azuredevops/v6