swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Partners API schemes: - https tags: - name: Partners paths: /providers/Microsoft.ManagementPartner/partners: get: summary: Microsoft Azure Get A Specific `partner` description: Get the management partner using the objectId and tenantId. operationId: microsoftAzurePartnersGet x-ms-examples: GetPartnerDetails: $ref: ./examples/GetPartnerDetailsNoPartnerId.json parameters: - $ref: '#/parameters/ApiVersionParameter' tags: - Partners responses: '200': description: Get the details of the `Partner`. schema: $ref: '#/definitions/PartnerResponse' default: description: Unexpected error schema: $ref: '#/definitions/Error' definitions: ErrorResponseCode: type: string description: this is the error response code that management partner operations may return PartnerProperties: type: object description: this is the management partner properties properties: partnerId: type: string description: This is the partner id partnerName: type: string description: This is the partner name tenantId: type: string description: This is the tenant id. objectId: type: string description: This is the object id. version: type: integer format: int32 description: This is the version. updatedTime: type: string format: date-time description: This is the DateTime when the partner was updated. createdTime: type: string format: date-time description: This is the DateTime when the partner was created. state: x-ms-client-flatten: true $ref: '#/definitions/ManagementPartnerState' description: This is the partner state ExtendedErrorInfo: type: object description: this is the extended error info properties: code: $ref: '#/definitions/ErrorResponseCode' description: this is the error response code message: type: string description: this is the extended error info message ManagementPartnerState: type: string description: 'this is the management partner state: Active or Deleted' enum: - Active - Deleted x-ms-enum: name: ManagementPartnerState modelAsString: true PartnerResponse: type: object description: this is the management partner operations response x-ms-azure-resource: true properties: etag: type: integer description: Type of the partner id: type: string readOnly: true description: Identifier of the partner name: type: string readOnly: true description: Name of the partner properties: x-ms-client-flatten: true $ref: '#/definitions/PartnerProperties' description: Properties of the partner type: type: string readOnly: true description: Type of resource. "Microsoft.ManagementPartner/partners" Error: type: object description: this is the management partner operations error properties: error: $ref: '#/definitions/ExtendedErrorInfo' description: this is the ExtendedErrorInfo property code: $ref: '#/definitions/ErrorResponseCode' description: this is the error response code message: type: string description: this is the extended error info message parameters: ApiVersionParameter: name: api-version in: query description: Supported version. required: true type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'