swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ResourceDetails API schemes: - https tags: - name: ResourceDetails paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}/resources : get: operationId: microsoftAzureResourcedetailsListbypool tags: - ResourceDetails description: List ResourceDetailsObject resources by Pool parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - name: poolName in: path description: Name of the pool. It needs to be globally unique. required: true type: string pattern: ^[a-zA-Z0-9][a-zA-Z0-9-.]*$ responses: '200': description: Azure operation completed successfully. schema: $ref: '#/definitions/ResourceDetailsObjectListResult' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: ResourceDetails_ListByPool: $ref: ./examples/ResourceDetails_ListByPool.json x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devopsinfrastructure Pools Poolname Resources definitions: ResourceDetailsObject: type: object description: A ResourceDetailsObject properties: properties: $ref: '#/definitions/ResourceDetailsObjectProperties' description: The resource-specific properties for this resource. x-ms-client-flatten: true x-ms-mutability: - read - create allOf: - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource ResourceDetailsObjectListResult: type: object description: The response of a ResourceDetailsObject list operation. properties: value: type: array description: The ResourceDetailsObject items on this page items: $ref: '#/definitions/ResourceDetailsObject' nextLink: type: string format: uri description: The link to the next page of items required: - value ResourceDetailsObjectProperties: type: object description: Details of the ResourceDetailsObject. properties: status: $ref: '#/definitions/ResourceStatus' description: The status of the resource. image: type: string description: The image name of the resource. imageVersion: type: string description: The version of the image running on the resource. required: - status - image - imageVersion ResourceStatus: type: string description: The status of the machine resource. enum: - Ready - NotReady - Allocated - PendingReturn - Returned - Leased - Provisioning - Updating - Starting - PendingReimage - Reimaging x-ms-enum: name: ResourceStatus modelAsString: true values: - name: Ready value: Ready description: Represents a machine resource that is ready. - name: NotReady value: NotReady description: Represents a machine resource that is not ready. - name: Allocated value: Allocated description: Represents a machine resource that is allocated. - name: PendingReturn value: PendingReturn description: Represents a machine resource that is pending return. - name: Returned value: Returned description: Represents a machine resource that is returned. - name: Leased value: Leased description: Represents a machine resource that is leased. - name: Provisioning value: Provisioning description: Represents a machine resource that is provisioning. - name: Updating value: Updating description: Represents a machine resource that is updating. - name: Starting value: Starting description: Represents a machine resource that is starting. - name: PendingReimage value: PendingReimage description: Represents a machine resource that is pending reimage. - name: Reimaging value: Reimaging description: Represents a machine resource that is reimaging. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'