swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector PrivateLinkScopedResources API schemes: - https tags: - name: PrivateLinkScopedResources paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name} : get: tags: - PrivateLinkScopedResources description: Gets a scoped resource in a private link scope. operationId: microsoftAzurePrivatelinkscopedresourcesGet parameters: - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/PrivateLinkScopeName' - name: name in: path description: The name of the scoped resource object. required: true type: string responses: '200': description: Successfully retrieved a scoped resource in a private link scope. schema: $ref: '#/definitions/ScopedResource' default: description: An error occurred. schema: $ref: '#/definitions/DefaultErrorResponse' x-ms-examples: Gets private link scoped resource.: $ref: ./examples/PrivateLinkScopedResourceGet.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Insights Privatelinkscopes Scopename Scopedresources Name put: tags: - PrivateLinkScopedResources description: Approve or reject a private endpoint connection with a given name. operationId: microsoftAzurePrivatelinkscopedresourcesCreateorupdate parameters: - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/PrivateLinkScopeName' - name: name in: path description: The name of the scoped resource object. required: true type: string - name: parameters in: body required: true schema: $ref: '#/definitions/ScopedResource' responses: '200': description: Successfully create or updated a new azure monitor scoped resource in a private link scope. schema: $ref: '#/definitions/ScopedResource' '201': description: Successfully created a new azure monitor scoped resource in a private link scope. schema: $ref: '#/definitions/ScopedResource' '202': description: Accepted default: description: An error occurred. schema: $ref: '#/definitions/DefaultErrorResponse' x-ms-long-running-operation: true x-ms-examples: Update a scoped resource in a private link scope.: $ref: ./examples/PrivateLinkScopedResourceUpdate.json summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Insights Privatelinkscopes Scopename Scopedresources Name delete: tags: - PrivateLinkScopedResources description: Deletes a private endpoint connection with a given name. operationId: microsoftAzurePrivatelinkscopedresourcesDelete parameters: - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/PrivateLinkScopeName' - name: name in: path description: The name of the scoped resource object. required: true type: string responses: '200': description: Successfully deleted scoped resource. '202': description: Accepted '204': description: Scoped resource does not exist. default: description: An error occurred. schema: $ref: '#/definitions/DefaultErrorResponse' x-ms-long-running-operation: true x-ms-examples: Deletes a scoped resource with a given name.: $ref: ./examples/PrivateLinkScopedResourceDelete.json summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Insights Privatelinkscopes Scopename Scopedresources Name ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources : get: tags: - PrivateLinkScopedResources description: Gets all private endpoint connections on a private link scope. operationId: microsoftAzurePrivatelinkscopedresourcesListbyprivatelinkscope parameters: - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/PrivateLinkScopeName' responses: '200': description: Successfully retrieved scoped resources in a private link scope. schema: $ref: '#/definitions/ScopedResourceListResult' default: description: An error occurred. schema: $ref: '#/definitions/DefaultErrorResponse' x-ms-pageable: nextLinkName: nextLink x-ms-examples: Gets list of scoped resources in a private link scope.: $ref: ./examples/PrivateLinkScopedResourceList.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Insights Privatelinkscopes Scopename Scopedresources definitions: DefaultErrorResponse: title: Default error response description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). type: object properties: error: description: The error object. $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorDetail ScopedResource: description: A private link scoped resource type: object allOf: - $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource properties: properties: $ref: '#/definitions/ScopedResourceProperties' description: Resource properties. x-ms-client-flatten: true systemData: $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData description: System data readOnly: true ScopedResourceProperties: description: Properties of a private link scoped resource. type: object properties: linkedResourceId: description: The resource id of the scoped Azure monitor resource. type: string provisioningState: description: State of the private endpoint connection. type: string readOnly: true ScopedResourceListResult: description: A list of scoped resources in a private link scope. type: object properties: value: description: Array of results. type: array items: $ref: '#/definitions/ScopedResource' readOnly: true nextLink: description: Link to retrieve next page of results. type: string readOnly: true parameters: PrivateLinkScopeName: name: scopeName in: path required: true type: string description: The name of the Azure Monitor PrivateLinkScope resource. x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'