vsteam.types.ps1xml

<?xml version="1.0" encoding="utf-8"?><Types><Type><Name>Team.AccessControlEntry</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>Descriptor</Name><Name>Allow</Name><Name>Deny</Name><Name>ExtendedInfo</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.AccessControlList</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>Token</Name><Name>InheritPermissions</Name><Name>Aces</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.AccessLevel</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>accountLicenseType</Name><Name>assignmentSource</Name><Name>licenseDisplayName</Name><Name>licensingSource</Name><Name>msdnLicenseType</Name><Name>status</Name><Name>statusMessage</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.Approval</Name><Members><ScriptProperty><Name>approverName</Name><GetScriptBlock>$this.approver.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>releaseName</Name><GetScriptBlock>$this.release.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>releaseDefinitionId</Name><GetScriptBlock>$this.releaseDefinition.id</GetScriptBlock></ScriptProperty><ScriptProperty><Name>releaseDefinitionName</Name><GetScriptBlock>$this.releaseDefinition.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>releaseEnvironmentName</Name><GetScriptBlock>$this.releaseEnvironment.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>shortApprovalType</Name><GetScriptBlock>$this.approvalType.Replace('Deploy', '').Replace('p', 'P')</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>approverName</Name><Name>status</Name><Name>comments</Name><Name>releaseDefinitionName</Name><Name>releaseEnvironmentName</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.AzureSubscription</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>displayName</Name><Name>subscriptionId</Name><Name>subscriptionTenantId</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.Build.Artifact</Name><Members><ScriptProperty><Name>type</Name><GetScriptBlock>$this.resource.type</GetScriptBlock></ScriptProperty><ScriptProperty><Name>data</Name><GetScriptBlock>$this.resource.data</GetScriptBlock></ScriptProperty><ScriptProperty><Name>url</Name><GetScriptBlock>$this.resource.url</GetScriptBlock></ScriptProperty><ScriptProperty><Name>downloadUrl</Name><GetScriptBlock>$this.resource.downloadUrl</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>name</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.Build</Name><Members><AliasProperty><Name>name</Name><ReferencedMemberName>buildNumber</ReferencedMemberName></AliasProperty><ScriptProperty><Name>queueName</Name><GetScriptBlock>$this.queue.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>queueID</Name><GetScriptBlock>$this.queue.id</GetScriptBlock></ScriptProperty><ScriptProperty><Name>definitionName</Name><GetScriptBlock>$this.definition.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>projectName</Name><GetScriptBlock>$this.project.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>repositoryType</Name><GetScriptBlock>$this.repository.type</GetScriptBlock></ScriptProperty><ScriptProperty><Name>requestedForUser</Name><GetScriptBlock>$this.requestedFor.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>requestedByUser</Name><GetScriptBlock>$this.requestedBy.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>lastChangedByUser</Name><GetScriptBlock>$this.lastChangedBy.displayName</GetScriptBlock></ScriptProperty></Members></Type><Type><Name>Team.ClassificationNode</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>ID</Name><Name>Identifier</Name><Name>Name</Name><Name>Path</Name><Name>StructureType</Name><Name>ProjectName</Name><Name>Url</Name><Name>HasChildren</Name><Name>Children</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.Descriptor</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>Descriptor</Name><Name>Links</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.Environment</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>name</Name><Name>status</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.GitRepository</Name><Members><ScriptProperty><Name>projectName</Name><GetScriptBlock>$this.project.name</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>name</Name><Name>remoteUrl</Name><Name>defaultBranch</Name><Name>projectName</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.Group</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>SubjectKind</Name><Name>Description</Name><Name>PrincipalName</Name><Name>Domain</Name><Name>MailAddress</Name><Name>Origin</Name><Name>OriginID</Name><Name>DisplayName</Name><Name>URL</Name><Name>Descriptor</Name><Name>Links</Name><Name>ID</Name><Name>Name</Name><Name>ProjectName</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.Option</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>resourceName</Name><Name>minVersion</Name><Name>maxVersion</Name><Name>routeTemplate</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.Policy</Name><Members><ScriptProperty><Name>policyType</Name><GetScriptBlock>$this.type.displayName</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>policyType</Name><Name>settings</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.PullRequest</Name><Members><ScriptProperty><Name>repositoryName</Name><GetScriptBlock>$this.repository.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>createdByUser</Name><GetScriptBlock>$this.createdBy.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>reviewedByUser</Name><GetScriptBlock>$this.reviewers.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>reviewStatus</Name><GetScriptBlock>
                $votes = $this.reviewers.vote
                if (!$this.reviewers -or $votes -contains 0) { "Pending" } elseif ($votes -contains -10) { "Rejected" } else { "Approved" }
            </GetScriptBlock></ScriptProperty><ScriptProperty><Name>browseUrl</Name><GetScriptBlock>
                $organization = [VSTeamVersions]::Account
                $project = $this.repository.project.name
                $repositoryId = $this.repository.name
                $pullRequestId = $this.pullRequestId
                "$organization/$project/_git/$repositoryId/pullrequest/$pullRequestId"
            </GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>pullRequestId</Name><Name>repositoryName</Name><Name>reviewStatus</Name><Name>createdByUser</Name><Name>creationDate</Name><Name>title</Name><Name>description</Name><Name>sourceRefname</Name><Name>mergeStatus</Name><Name>reviewedByUser</Name><Name>status</Name><Name>url</Name><Name>artifactId</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.Release</Name><Members><ScriptProperty><Name>releaseId</Name><GetScriptBlock>$this.id</GetScriptBlock></ScriptProperty><ScriptProperty><Name>definitionName</Name><GetScriptBlock>$this.releaseDefinition.name</GetScriptBlock></ScriptProperty><ScriptProperty><Name>definitionId</Name><GetScriptBlock>$this.releaseDefinition.id</GetScriptBlock></ScriptProperty><ScriptProperty><Name>projectId</Name><GetScriptBlock>$this.projectReference.id</GetScriptBlock></ScriptProperty><ScriptProperty><Name>requestedForUser</Name><GetScriptBlock>$this.requestedFor.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>modifiedByUser</Name><GetScriptBlock>$this.modifiedBy.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>createdByUser</Name><GetScriptBlock>$this.createdBy.displayName</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>name</Name><Name>status</Name><Name>definitionName</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.SecurityNamespace</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>ID</Name><Name>Name</Name><Name>DisplayName</Name><Name>ElementLength</Name><Name>WritePermission</Name><Name>ReadPermission</Name><Name>DataspaceCategory</Name><Name>StructureValue</Name><Name>ExtensionType</Name><Name>IsRemotable</Name><Name>UseTokenTranslator</Name><Name>SystemBitMask</Name><Name>Actions</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.ServiceEndpoint</Name><Members><ScriptProperty><Name>createdByUser</Name><GetScriptBlock>$this.createdBy.displayName</GetScriptBlock></ScriptProperty></Members></Type><Type><Name>Team.Team</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>projectname</Name><Name>name</Name><Name>id</Name><Name>description</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.TeamMember</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>team</Name><Name>displayName</Name><Name>id</Name><Name>uniqueName</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.TfvcBranch</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>path</Name><Name>description</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.User2</Name><Members><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>SubjectKind</Name><Name>CUID</Name><Name>PrincipalName</Name><Name>Domain</Name><Name>MailAddress</Name><Name>Origin</Name><Name>OriginID</Name><Name>DisplayName</Name><Name>URL</Name><Name>Descriptor</Name><Name>Links</Name><Name>ID</Name><Name>Name</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.UserEntitlement</Name><Members><ScriptProperty><Name>accessLevelName</Name><GetScriptBlock>$this.accessLevel.licenseDisplayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>userName</Name><GetScriptBlock>$this.user.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>email</Name><GetScriptBlock>$this.user.mailAddress</GetScriptBlock></ScriptProperty><ScriptProperty><Name>projects</Name><GetScriptBlock>[string]::Join(", ", $this.projectEntitlements.projectRef.name)</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>accessLevel</Name><Name>extensions</Name><Name>groupAssignments</Name><Name>id</Name><Name>lastAccessedDate</Name><Name>projectEntitlements</Name><Name>user</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.VariableGroup</Name><Members><ScriptProperty><Name>createdByUser</Name><GetScriptBlock>$this.createdBy.displayName</GetScriptBlock></ScriptProperty><ScriptProperty><Name>modifiedByUser</Name><GetScriptBlock>$this.modifiedBy.displayName</GetScriptBlock></ScriptProperty></Members></Type><Type><Name>Team.Wiql</Name><Members><ScriptProperty><Name>QueryType</Name><GetScriptBlock>$this.PSObject.Properties['queryType'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>QueryResultType</Name><GetScriptBlock>$this.PSObject.Properties['queryResultType'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>AsOf</Name><GetScriptBlock>$this.PSObject.Properties['asOf'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Columns</Name><GetScriptBlock>$this.PSObject.Properties['columns'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>SortColumns</Name><GetScriptBlock>$this.PSObject.Properties['sortColumns'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>WorkItemIDs</Name><GetScriptBlock>[int[]]$this.PSObject.Properties['workItems'].Value.id</GetScriptBlock></ScriptProperty><ScriptProperty><Name>WorkItems</Name><GetScriptBlock>$this.PSObject.Properties['workItems'].Value</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>queryType</Name><Name>WorkItemIDs</Name><Name>workItems</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.WorkItem</Name><Members><ScriptProperty><Name>Title</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.Title'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Description</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.Description'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>State</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.State'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>AreaPath</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.AreaPath'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>IterationPath</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.IterationPath'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>AssignedTo</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.AssignedTo'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>TeamProject</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.TeamProject'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>WorkItemType</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.WorkItemType'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Reason</Name><GetScriptBlock>$this.fields.PSObject.Properties['System.Reason'].Value</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>title</Name><Name>state</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type><Type><Name>Team.WorkItemDeleted</Name><Members><ScriptProperty><Name>Name</Name><GetScriptBlock>$this.fields.PSObject.Properties['name'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Project</Name><GetScriptBlock>$this.fields.PSObject.Properties['project'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Type</Name><GetScriptBlock>$this.fields.PSObject.Properties['type'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Id</Name><GetScriptBlock>$this.fields.PSObject.Properties['id'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Resource</Name><GetScriptBlock>$this.fields.PSObject.Properties['resource'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>DeletedBy</Name><GetScriptBlock>$this.fields.PSObject.Properties['deletedBy'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>DeletedDate</Name><GetScriptBlock>$this.fields.PSObject.Properties['deletedDate'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Code</Name><GetScriptBlock>$this.fields.PSObject.Properties['code'].Value</GetScriptBlock></ScriptProperty><ScriptProperty><Name>Url</Name><GetScriptBlock>$this.fields.PSObject.Properties['url'].Value</GetScriptBlock></ScriptProperty><MemberSet><Name>PSStandardMembers</Name><Members><PropertySet><Name>DefaultDisplayPropertySet</Name><ReferencedProperties><Name>id</Name><Name>name</Name><Name>deletedBy</Name><Name>deletedDate</Name><Name>code</Name></ReferencedProperties></PropertySet></Members></MemberSet></Members></Type></Types>