swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Disco Templates API description: Provides access to disco template resources. schemes: - https tags: - description: Provides access to disco template resources. name: Disco Templates paths: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoTemplates: get: produces: - application/json parameters: - $ref: '#/parameters/FilterParameter' - $ref: '#/parameters/SkipParameter' - $ref: '#/parameters/MaxPageSizeParameter' - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/WorkspaceNameParameter' - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter responses: '200': description: OK schema: $ref: '#/definitions/DiscoTemplatePageResponse' default: description: Error schema: $ref: '#/definitions/ErrorResponse' tags: - Disco Templates operationId: microsoftAzureDiscotemplatesList summary: Microsoft Azure Retrieve A List Of Disco Templates For The Provided Search Parameters x-ms-examples: DiscoTemplates: $ref: ./examples/DiscoTemplates_List.json x-ms-pageable: itemName: content nextLinkName: nextLink description: Needs a more full description created. ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/discoTemplates/{discoTemplateId} : get: produces: - application/json parameters: - $ref: '#/parameters/DiscoTemplateIdParameter' - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/WorkspaceNameParameter' - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter responses: '200': description: OK schema: $ref: '#/definitions/DiscoTemplateResponse' default: description: Error schema: $ref: '#/definitions/ErrorResponse' tags: - Disco Templates operationId: microsoftAzureDiscotemplatesGet summary: Microsoft Azure Retrieve A Disco Template With A Given Discotemplateid x-ms-examples: DiscoTemplates: $ref: ./examples/DiscoTemplates_Get.json description: Needs a more full description created. definitions: ErrorResponse: properties: error: $ref: '#/definitions/ErrorDetail' required: - error type: object ErrorDetail: description: This is the top-level error object whose code matches the x-ms-error-code response header properties: code: description: This is one of a server-defined set of error codes. type: string details: description: This is an array of details about specific errors that led to this reported error. items: $ref: '#/definitions/ErrorDetail' type: array innererror: $ref: '#/definitions/InnerError' message: description: This is a human-readable representation of the error. type: string target: description: This is the error target. type: string required: - code - message type: object DiscoTemplateResponse: properties: aliases: description: The list of disco template name aliases. items: description: The list of disco template name aliases. type: string type: array city: description: The name of the city. type: string countryCode: description: The country code. type: string displayName: type: string id: type: string industry: description: The name of the industry. type: string name: type: string region: description: The name of the region. type: string seeds: description: The list of disco template seeds. items: $ref: '#/definitions/AssetId' type: array stateCode: description: The state code. type: string type: object DiscoTemplatePageResponse: properties: content: items: $ref: '#/definitions/DiscoTemplateResponse' type: array first: type: boolean last: type: boolean nextLink: type: string number: format: int32 type: integer numberOfElements: format: int32 type: integer size: format: int32 type: integer totalElements: format: int64 type: integer totalPages: format: int32 type: integer type: object InnerError: description: This is an object containing more specific information than the current object about the error. properties: code: description: This is a more specific error code than was provided by the containing error.. type: string type: object AssetId: description: The list of excludes used for the disco group runs, aka assets to exclude from the discovery algorithm. properties: displayName: type: string id: type: string kind: enum: - as - contact - domain - host - ipAddress - ipBlock - page - sslCert type: string x-ms-enum: modelAsString: true name: assetIdKind name: type: string type: object parameters: SkipParameter: default: 0 description: An offset into the collection of the first resource to be returned. format: int32 in: query name: skip required: false type: integer x-ms-parameter-location: method MaxPageSizeParameter: default: 20 description: An offset into the collection of the first resource to be returned. format: int32 in: query name: maxpagesize required: false type: integer x-ms-parameter-location: method FilterParameter: description: An expression on the resource type that selects the resources to be returned. in: query name: filter required: false type: string x-ms-parameter-location: method WorkspaceNameParameter: description: The name of the Workspace. in: path name: workspaceName required: true type: string x-ms-parameter-location: method DiscoTemplateIdParameter: in: path name: discoTemplateId required: true type: string x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'