openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 44.9 kB
JSON
{"openapi":"3.0.0","info":{"description":"Azure Monitor API reference for Private Links Scopes management.","title":"Azure Monitor Private Link Scopes","version":"2019-10-17-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/monitor/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"monitor-privateLinkScopes_API","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/providers/microsoft.insights/privateLinkScopes":{"get":{"description":"Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.","operationId":"PrivateLinkScopes_List","parameters":[{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopesList.json":{"value":"2019-10-17-preview"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopesList.json":{"value":"86dc51d3-92ed-4d7e-947a-775ea79b4919"}}}],"responses":{"200":{"description":"A list containing 0 or more Azure Monitor PrivateLinkScope definitions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureMonitorPrivateLinkScopeListResult"},"examples":{"PrivateLinkScopesList.json":{"$ref":"#/components/examples/PrivateLinkScopesList.json"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections":{"get":{"description":"Gets all private endpoint connections on a private link scope.","operationId":"PrivateEndpointConnections_ListByPrivateLinkScope","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets list of private endpoint connections on a private link scope.":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Gets list of private endpoint connections on a private link scope.":{"value":"MyResourceGroup"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets list of private endpoint connections on a private link scope.":{"value":"2019-10-17-preview"}}},{"description":"Name of the Azure Monitor PrivateLinkScope that will contain the datasource","in":"path","name":"scopeName","required":true,"schema":{"type":"string"},"examples":{"Gets list of private endpoint connections on a private link scope.":{"value":"MyPrivateLinkScope"}}}],"responses":{"200":{"description":"Successfully retrieved private endpoint connections.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateEndpointConnectionListResult"},"examples":{"Gets list of private endpoint connections on a private link scope.":{"$ref":"#/components/examples/Gets_list_of_private_endpoint_connections_on_a_private_link_scope."}}}}}},"tags":["PrivateEndpointConnections"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}":{"delete":{"description":"Deletes a private endpoint connection with a given name.","operationId":"PrivateEndpointConnections_Delete","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Deletes a private endpoint connection with a given name.":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Deletes a private endpoint connection with a given name.":{"value":"MyResourceGroup"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Deletes a private endpoint connection with a given name.":{"value":"2019-10-17-preview"}}},{"description":"Name of the Azure Monitor PrivateLinkScope that will contain the datasource","in":"path","name":"scopeName","required":true,"schema":{"type":"string"},"examples":{"Deletes a private endpoint connection with a given name.":{"value":"MyPrivateLinkScope"}}},{"description":"The name of the private endpoint connection.","in":"path","name":"privateEndpointConnectionName","required":true,"schema":{"type":"string"},"examples":{"Deletes a private endpoint connection with a given name.":{"value":"private-endpoint-connection-name"}}}],"responses":{"200":{"description":"Successfully deleted private endpoint connection."},"202":{"description":"Accepted"},"204":{"description":"Private endpoint connection does not exist."}},"tags":["PrivateEndpointConnections"],"x-ms-long-running-operation":true},"get":{"description":"Gets a private endpoint connection.","operationId":"PrivateEndpointConnections_Get","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets private endpoint connection.":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Gets private endpoint connection.":{"value":"MyResourceGroup"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets private endpoint connection.":{"value":"2019-10-17-preview"}}},{"description":"Name of the Azure Monitor PrivateLinkScope that will contain the datasource","in":"path","name":"scopeName","required":true,"schema":{"type":"string"},"examples":{"Gets private endpoint connection.":{"value":"MyPrivateLinkScope"}}},{"description":"The name of the private endpoint connection.","in":"path","name":"privateEndpointConnectionName","required":true,"schema":{"type":"string"},"examples":{"Gets private endpoint connection.":{"value":"private-endpoint-connection-name"}}}],"responses":{"200":{"description":"Successfully retrieved a specified private endpoint connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateEndpointConnection"},"examples":{"Gets private endpoint connection.":{"$ref":"#/components/examples/Gets_private_endpoint_connection."}}}}}},"tags":["PrivateEndpointConnections"]},"put":{"description":"Approve or reject a private endpoint connection with a given name.","operationId":"PrivateEndpointConnections_CreateOrUpdate","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Approve or reject a private endpoint connection with a given name.":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Approve or reject a private endpoint connection with a given name.":{"value":"MyResourceGroup"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Approve or reject a private endpoint connection with a given name.":{"value":"2019-10-17-preview"}}},{"description":"Name of the Azure Monitor PrivateLinkScope that will contain the datasource","in":"path","name":"scopeName","required":true,"schema":{"type":"string"},"examples":{"Approve or reject a private endpoint connection with a given name.":{"value":"MyPrivateLinkScope"}}},{"description":"The name of the private endpoint connection.","in":"path","name":"privateEndpointConnectionName","required":true,"schema":{"type":"string"},"examples":{"Approve or reject a private endpoint connection with a given name.":{"value":"private-endpoint-connection-name"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateEndpointConnection"}}},"required":true},"responses":{"200":{"description":"Successfully approved or rejected private endpoint connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateEndpointConnection"},"examples":{"Approve or reject a private endpoint connection with a given name.":{"$ref":"#/components/examples/Approve_or_reject_a_private_endpoint_connection_with_a_given_name."}}}}},"202":{"description":"Accepted"}},"tags":["PrivateEndpointConnections"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources":{"get":{"description":"Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.","operationId":"PrivateLinkResources_ListByPrivateLinkScope","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets private endpoint connection.":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Gets private endpoint connection.":{"value":"MyResourceGroup"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets private endpoint connection.":{"value":"2019-10-17-preview"}}},{"description":"Name of the Azure Monitor PrivateLinkScope that will contain the datasource","in":"path","name":"scopeName","required":true,"schema":{"type":"string"},"examples":{"Gets private endpoint connection.":{"value":"MyPrivateLinkScope"}}}],"responses":{"200":{"description":"Successfully retrieved private link resources.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateLinkResourceListResult"},"examples":{"Gets private endpoint connection.":{"$ref":"#/components/examples/Gets_private_endpoint_connection."}}}}}},"tags":["PrivateLinkResources"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}":{"get":{"description":"Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.","operationId":"PrivateLinkResources_Get","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets private endpoint connection.":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Gets private endpoint connection.":{"value":"MyResourceGroup"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets private endpoint connection.":{"value":"2019-10-17-preview"}}},{"description":"Name of the Azure Monitor PrivateLinkScope that will contain the datasource","in":"path","name":"scopeName","required":true,"schema":{"type":"string"},"examples":{"Gets private endpoint connection.":{"value":"MyPrivateLinkScope"}}},{"$ref":"#/components/parameters/GroupNameParameter"}],"responses":{"200":{"description":"Successfully retrieved a specified private link resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateLinkResource"},"examples":{"Gets private endpoint connection.":{"$ref":"#/components/examples/Gets_private_endpoint_connection."}}}}}},"tags":["PrivateLinkResources"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources":{"get":{"description":"Gets all private endpoint connections on a private link scope.","operationId":"PrivateLinkScopedResources_ListByPrivateLinkScope","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets list of scoped resources in a private link scope.":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Gets list of scoped resources in a private link scope.":{"value":"MyResourceGroup"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets list of scoped resources in a private link scope.":{"value":"2019-10-17-preview"}}},{"description":"Name of the Azure Monitor PrivateLinkScope that will contain the datasource","in":"path","name":"scopeName","required":true,"schema":{"type":"string"},"examples":{"Gets list of scoped resources in a private link scope.":{"value":"MyPrivateLinkScope"}}}],"responses":{"200":{"description":"Successfully retrieved scoped resources in a private link scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopedResourceListResult"},"examples":{"Gets list of scoped resources in a private link scope.":{"$ref":"#/components/examples/Gets_list_of_scoped_resources_in_a_private_link_scope."}}}}}},"tags":["PrivateLinkScopedResources"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}":{"delete":{"description":"Deletes a private endpoint connection with a given name.","operationId":"PrivateLinkScopedResources_Delete","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Deletes a scoped resource with a given name.":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Deletes a scoped resource with a given name.":{"value":"MyResourceGroup"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Deletes a scoped resource with a given name.":{"value":"2019-10-17-preview"}}},{"description":"Name of the Azure Monitor PrivateLinkScope that will contain the datasource","in":"path","name":"scopeName","required":true,"schema":{"type":"string"},"examples":{"Deletes a scoped resource with a given name.":{"value":"MyPrivateLinkScope"}}},{"description":"The name of the scoped resource object.","in":"path","name":"name","required":true,"schema":{"type":"string"},"examples":{"Deletes a scoped resource with a given name.":{"value":"scoped-resource-name"}}}],"responses":{"200":{"description":"Successfully deleted scoped resource."},"202":{"description":"Accepted"},"204":{"description":"Scoped resource does not exist."}},"tags":["PrivateLinkScopedResources"],"x-ms-long-running-operation":true},"get":{"description":"Gets a scoped resource in a private link scope.","operationId":"PrivateLinkScopedResources_Get","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets private link scoped resource.":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Gets private link scoped resource.":{"value":"MyResourceGroup"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Gets private link scoped resource.":{"value":"2019-10-17-preview"}}},{"description":"Name of the Azure Monitor PrivateLinkScope that will contain the datasource","in":"path","name":"scopeName","required":true,"schema":{"type":"string"},"examples":{"Gets private link scoped resource.":{"value":"MyPrivateLinkScope"}}},{"description":"The name of the scoped resource object.","in":"path","name":"name","required":true,"schema":{"type":"string"},"examples":{"Gets private link scoped resource.":{"value":"scoped-resource-name"}}}],"responses":{"200":{"description":"Successfully retrieved a scoped resource in a private link scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopedResource"},"examples":{"Gets private link scoped resource.":{"$ref":"#/components/examples/Gets_private_link_scoped_resource."}}}}}},"tags":["PrivateLinkScopedResources"]},"put":{"description":"Approve or reject a private endpoint connection with a given name.","operationId":"PrivateLinkScopedResources_CreateOrUpdate","parameters":[{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"Update a scoped resource in a private link scope.":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"Update a scoped resource in a private link scope.":{"value":"MyResourceGroup"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"Update a scoped resource in a private link scope.":{"value":"2019-10-17-preview"}}},{"description":"Name of the Azure Monitor PrivateLinkScope that will contain the datasource","in":"path","name":"scopeName","required":true,"schema":{"type":"string"},"examples":{"Update a scoped resource in a private link scope.":{"value":"MyPrivateLinkScope"}}},{"description":"The name of the scoped resource object.","in":"path","name":"name","required":true,"schema":{"type":"string"},"examples":{"Update a scoped resource in a private link scope.":{"value":"scoped-resource-name"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopedResource"}}},"required":true},"responses":{"200":{"description":"Successfully scoped azure monitor resource in a private link scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopedResource"},"examples":{"Update a scoped resource in a private link scope.":{"$ref":"#/components/examples/Update_a_scoped_resource_in_a_private_link_scope."}}}}},"202":{"description":"Accepted"}},"tags":["PrivateLinkScopedResources"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes":{"get":{"description":"Gets a list of Azure Monitor PrivateLinkScopes within a resource group.","operationId":"PrivateLinkScopes_ListByResourceGroup","parameters":[{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"PrivateLinkScopeListByResourceGroup":{"value":"my-resource-group"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopeListByResourceGroup":{"value":"2019-10-17-preview"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopeListByResourceGroup":{"value":"86dc51d3-92ed-4d7e-947a-775ea79b4919"}}}],"responses":{"200":{"description":"A list containing 0 or more Azure Monitor PrivateLinkScope definitions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureMonitorPrivateLinkScopeListResult"},"examples":{"PrivateLinkScopeListByResourceGroup":{"$ref":"#/components/examples/PrivateLinkScopeListByResourceGroup"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}":{"delete":{"description":"Deletes a Azure Monitor PrivateLinkScope.","operationId":"PrivateLinkScopes_Delete","parameters":[{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"PrivateLinkScopesDelete":{"value":"my-resource-group"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopesDelete":{"value":"2019-10-17-preview"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopesDelete":{"value":"86dc51d3-92ed-4d7e-947a-775ea79b4919"}}},{"$ref":"#/components/parameters/ResourceNameParameter"}],"responses":{"200":{"description":"Successful request when deleting a Azure Monitor PrivateLinkScope."},"202":{"description":"Accepted."},"204":{"description":"The specified PrivateLinkScope does not exist."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-ms-long-running-operation":true},"get":{"description":"Returns a Azure Monitor PrivateLinkScope.","operationId":"PrivateLinkScopes_Get","parameters":[{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"PrivateLinkScopeGet":{"value":"my-resource-group"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopeGet":{"value":"2019-10-17-preview"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopeGet":{"value":"86dc51d3-92ed-4d7e-947a-775ea79b4919"}}},{"$ref":"#/components/parameters/ResourceNameParameter"}],"responses":{"200":{"description":"An Azure Monitor PrivateLinkScope definition.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureMonitorPrivateLinkScope"},"examples":{"PrivateLinkScopeGet":{"$ref":"#/components/examples/PrivateLinkScopeGet"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"description":"Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.","operationId":"PrivateLinkScopes_UpdateTags","parameters":[{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"PrivateLinkScopeUpdateTagsOnly":{"value":"my-resource-group"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopeUpdateTagsOnly":{"value":"2019-10-17-preview"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopeUpdateTagsOnly":{"value":"subid"}}},{"$ref":"#/components/parameters/ResourceNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagsResource"}}},"description":"Updated tag information to set into the PrivateLinkScope instance.","required":true},"responses":{"200":{"description":"Updating the Azure Monitor PrivateLinkScope's tags was successful. PrivateLinkScope tags are updated and returned with the rest of the PrivateLinkScope's object properties.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureMonitorPrivateLinkScope"},"examples":{"PrivateLinkScopeUpdateTagsOnly":{"$ref":"#/components/examples/PrivateLinkScopeUpdateTagsOnly"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"description":"Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.","operationId":"PrivateLinkScopes_CreateOrUpdate","parameters":[{"description":"The name of the resource group. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"PrivateLinkScopeCreate":{"value":"my-resource-group"},"PrivateLinkScopeUpdate":{"value":"my-resource-group"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopeCreate":{"value":"2019-10-17-preview"},"PrivateLinkScopeUpdate":{"value":"2019-10-17-preview"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"PrivateLinkScopeCreate":{"value":"86dc51d3-92ed-4d7e-947a-775ea79b4919"},"PrivateLinkScopeUpdate":{"value":"86dc51d3-92ed-4d7e-947a-775ea79b4919"}}},{"$ref":"#/components/parameters/ResourceNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureMonitorPrivateLinkScope"}}},"description":"Properties that need to be specified to create or update a Azure Monitor PrivateLinkScope.","required":true},"responses":{"200":{"description":"Successful request when creating or updating a Azure Monitor PrivateLinkScope. The updated PrivateLinkScope is returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AzureMonitorPrivateLinkScope"},"examples":{"PrivateLinkScopeCreate":{"$ref":"#/components/examples/PrivateLinkScopeCreate"},"PrivateLinkScopeUpdate":{"$ref":"#/components/examples/PrivateLinkScopeUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"PrivateLinkScopesList.json":{"value":{"value":[{"id":"/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope","location":"Global","name":"my-privatelinkscope","properties":{"provisioningState":"Succeeded"},"tags":{},"type":"Microsoft.Insights/privateLinkScopes"},{"id":"/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-other-resource-group/providers/microsoft.insights/privateLinkScopes/my-other-privatelinkscope","location":"Global","name":"my-other-privatelinkscope","properties":{"provisioningState":"Succeeded"},"tags":{},"type":"Microsoft.Insights/privateLinkScopes"}]}},"Gets_list_of_private_endpoint_connections_on_a_private_link_scope.":{"value":{"value":[{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2","name":"private-endpoint-connection-name","properties":{"privateEndpoint":{"id":"/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"},"privateLinkServiceConnectionState":{"actionsRequired":"None","description":"Auto-approved","status":"Approved"},"provisioningState":"Succeeded"},"type":"Microsoft.Insights/privateLinkScopes/privateEndpointConnections"},{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2","name":"private-endpoint-connection-name-2","properties":{"privateEndpoint":{"id":"/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2"},"privateLinkServiceConnectionState":{"actionsRequired":"None","description":"Please approve my connection.","status":"Pending"},"provisioningState":"Succeeded"},"type":"Microsoft.Insights/privateLinkScopes/privateEndpointConnections"}]}},"Gets_private_endpoint_connection.":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateLinkResources/azuremonitor","name":"azuremonitor","properties":{"groupId":"azuremonitor","requiredMembers":["draft","breeze","livemetrics","snapshotdebugger","profiler","oms-12300000-1111-2222-3333-444444444444","ods-12300000-1111-2222-3333-444444444444","agent-12300000-1111-2222-3333-444444444444"]},"type":"Microsoft.Insights/privateLinkScopes/privateLinkResources"}},"Approve_or_reject_a_private_endpoint_connection_with_a_given_name.":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name","name":"private-endpoint-connection-name","properties":{"privateEndpoint":{"id":"/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"},"privateLinkServiceConnectionState":{"actionsRequired":"None","description":"Approved by johndoe@contoso.com","status":"Approved"},"provisioningState":"Succeeded"},"type":"Microsoft.Insights/privateLinkScopes/privateEndpointConnections"}},"Gets_list_of_scoped_resources_in_a_private_link_scope.":{"value":{"value":[{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name","name":"scoped-resource-name","properties":{"linkedResourceId":"/subscriptions/00000000-0000-2222-3333-444444444444/resourceGroups/MyComponentResourceGroup/providers/Microsoft.Insights/components/my-component","provisioningState":"Succeeded"},"type":"Microsoft.Insights/privateLinkScopes/scopedResources"},{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/other-scoped-resource-name","name":"other-scoped-resource-name","properties":{"linkedResourceId":"/subscriptions/00000000-3333-2222-5555-444444444444/resourceGroups/MyWorkspaceResourceGroup/providers/Microsoft.OperationalInsights/workspaces/my-workspace","provisioningState":"Provisioning"},"type":"Microsoft.Insights/privateLinkScopes/scopedResources"}]}},"Gets_private_link_scoped_resource.":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name","name":"scoped-resource-name","properties":{"linkedResourceId":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/components/my-component","provisioningState":"Succeeded"},"type":"Microsoft.Insights/privateLinkScopes/scopedResources"}},"Update_a_scoped_resource_in_a_private_link_scope.":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name","name":"scoped-resource-name","properties":{"linkedResourceId":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/components/my-component","provisioningState":"Succeeded"},"type":"Microsoft.Insights/privateLinkScopes/scopedResources"}},"PrivateLinkScopeListByResourceGroup":{"value":{"value":[{"id":"/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope","location":"Global","name":"my-privatelinkscope","properties":{"provisioningState":"Succeeded"},"tags":{},"type":"Microsoft.Insights/privateLinkScopes"},{"id":"/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-other-privatelinkscope","location":"Global","name":"my-other-privatelinkscope","properties":{"provisioningState":"Succeeded"},"tags":{},"type":"Microsoft.Insights/privateLinkScopes"}]}},"PrivateLinkScopeGet":{"value":{"id":"/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope","location":"Global","name":"my-privatelinkscope","properties":{"provisioningState":"Succeeded"},"tags":{},"type":"Microsoft.Insights/privateLinkScopes"}},"PrivateLinkScopeUpdateTagsOnly":{"value":{"id":"/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope","location":"Global","name":"my-privatelinkscope","properties":{"provisioningState":"Succeeded"},"tags":{"Tag1":"Value1","Tag2":"Value2"},"type":"Microsoft.Insights/privateLinkScopes"}},"PrivateLinkScopeCreate":{"value":{"id":"/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope","location":"Global","name":"my-privatelinkscope","properties":{"provisioningState":"Succeeded"},"tags":{},"type":"Microsoft.Insights/privateLinkScopes"}},"PrivateLinkScopeUpdate":{"value":{"id":"/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope","location":"Global","name":"my-privatelinkscope","properties":{"provisioningState":"Succeeded"},"tags":{"Tag1":"Value1"},"type":"Microsoft.Insights/privateLinkScopes"}}},"parameters":{"GroupNameParameter":{"description":"The name of the private link resource.","in":"path","name":"groupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Gets private endpoint connection.":{"value":"azuremonitor"}}},"ResourceNameParameter":{"description":"The name of the Azure Monitor PrivateLinkScope resource.","in":"path","name":"scopeName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"PrivateLinkScopesDelete":{"value":"my-privatelinkscope"},"PrivateLinkScopeGet":{"value":"my-privatelinkscope"},"PrivateLinkScopeUpdateTagsOnly":{"value":"my-privatelinkscope"},"PrivateLinkScopeCreate":{"value":"my-privatelinkscope"},"PrivateLinkScopeUpdate":{"value":"my-privatelinkscope"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow.","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"AzureMonitorPrivateLinkScope":{"allOf":[{"$ref":"#/components/schemas/PrivateLinkScopesResource"}],"description":"An Azure Monitor PrivateLinkScope definition.","properties":{"properties":{"$ref":"#/components/schemas/AzureMonitorPrivateLinkScopeProperties"}},"required":["properties"]},"AzureMonitorPrivateLinkScopeListResult":{"description":"Describes the list of Azure Monitor PrivateLinkScope resources.","properties":{"nextLink":{"description":"The URI to get the next set of Azure Monitor PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set.","type":"string"},"value":{"description":"List of Azure Monitor PrivateLinkScope definitions.","items":{"$ref":"#/components/schemas/AzureMonitorPrivateLinkScope"},"type":"array"}},"required":["value"]},"AzureMonitorPrivateLinkScopeProperties":{"description":"Properties that define a Azure Monitor PrivateLinkScope resource.","properties":{"provisioningState":{"description":"Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.","readOnly":true,"type":"string"}}},"ErrorResponse":{"description":"Describe the format of an Error response.","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message indicating why the operation failed.","type":"string"}},"type":"object"},"PrivateEndpointConnection":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"A private endpoint connection","properties":{"properties":{"$ref":"#/components/schemas/PrivateEndpointConnectionProperties"}},"type":"object","x-ms-azure-resource":true},"PrivateEndpointConnectionListResult":{"description":"A list of private endpoint connections.","properties":{"nextLink":{"description":"Link to retrieve next page of results.","readOnly":true,"type":"string"},"value":{"description":"Array of results.","items":{"$ref":"#/components/schemas/PrivateEndpointConnection"},"readOnly":true,"type":"array"}},"type":"object"},"PrivateEndpointConnectionProperties":{"description":"Properties of a private endpoint connection.","properties":{"privateEndpoint":{"$ref":"#/components/schemas/PrivateEndpointProperty"},"privateLinkServiceConnectionState":{"$ref":"#/components/schemas/PrivateLinkServiceConnectionStateProperty"},"provisioningState":{"description":"State of the private endpoint connection.","readOnly":true,"type":"string"}},"type":"object"},"PrivateEndpointProperty":{"description":"Private endpoint which the connection belongs to.","properties":{"id":{"description":"Resource id of the private endpoint.","type":"string"}},"type":"object"},"PrivateLinkResource":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"A private link resource","properties":{"properties":{"$ref":"#/components/schemas/PrivateLinkResourceProperties"}},"type":"object"},"PrivateLinkResourceListResult":{"description":"A list of private link resources","properties":{"nextLink":{"description":"Link to retrieve next page of results.","readOnly":true,"type":"string"},"value":{"description":"Array of results.","items":{"$ref":"#/components/schemas/PrivateLinkResource"},"readOnly":true,"type":"array"}},"type":"object"},"PrivateLinkResourceProperties":{"description":"Properties of a private link resource.","properties":{"groupId":{"description":"The private link resource group id.","readOnly":true,"type":"string"},"requiredMembers":{"description":"The private link resource required member names.","items":{"type":"string"},"readOnly":true,"type":"array"}},"type":"object"},"PrivateLinkScopesResource":{"description":"An azure resource object","properties":{"id":{"description":"Azure resource Id","readOnly":true,"type":"string"},"location":{"description":"Resource location","type":"string","x-ms-mutability":["create","read"]},"name":{"description":"Azure resource name","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags"},"type":{"description":"Azure resource type","readOnly":true,"type":"string"}},"required":["location"],"x-ms-azure-resource":true},"PrivateLinkServiceConnectionStateProperty":{"description":"State of the private endpoint connection.","properties":{"actionsRequired":{"description":"The actions required for private link service connection.","readOnly":true,"type":"string"},"description":{"description":"The private link service connection description.","type":"string"},"status":{"description":"The private link service connection status.","type":"string"}},"required":["status","description"],"type":"object"},"ProxyResource":{"description":"Common properties of proxy resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags","type":"object"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}}},"ScopedResource":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"A private link scoped resource","properties":{"properties":{"$ref":"#/components/schemas/ScopedResourceProperties"}},"type":"object","x-ms-azure-resource":true},"ScopedResourceListResult":{"description":"A list of scoped resources in a private link scope.","properties":{"nextLink":{"description":"Link to retrieve next page of results.","readOnly":true,"type":"string"},"value":{"description":"Array of results.","items":{"$ref":"#/components/schemas/ScopedResource"},"readOnly":true,"type":"array"}},"type":"object"},"ScopedResourceProperties":{"description":"Properties of a private link scoped resource.","properties":{"linkedResourceId":{"description":"The resource id of the scoped Azure monitor resource.","type":"string"},"provisioningState":{"description":"State of the private endpoint connection.","readOnly":true,"type":"string"}},"type":"object"},"TagsResource":{"description":"A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance.","properties":{"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags"}}}}}}