@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api NetworkManagementClient
@base https://management.azure.com
@version 2019-07-01
@auth OAuth2
@endpoints 11
@toc subscriptions(11)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
@desc Deletes the specified private link service.
@required {resourceGroupName: any # The name of the resource group., serviceName: any # The name of the private link service.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Delete successful.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
@desc Gets the specified private link service by resource group.
@required {resourceGroupName: any # The name of the resource group., serviceName: any # The name of the private link service.}
@optional {$expand: any # Expands referenced resources.}
@returns(200) Request successful. The operation returns the resulting PrivateLinkService resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
@desc Creates or updates an private link service in the specified resource group.
@required {resourceGroupName: any # The name of the resource group., serviceName: any # The name of the private link service., parameters: any # Parameters supplied to the create or update private link service operation.}
@returns(200) Update successful. The operation returns the resulting privateLinkService resource.
@returns(201) Create successful. The operation returns the resulting privateLinkService resource.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices
@desc Gets all private link services in a resource group.
@required {resourceGroupName: any # The name of the resource group.}
@returns(200) Request successful. The operation returns a list of privateLinkService resources.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices
@desc Gets all private link service in a subscription.
@returns(200) Request successful. The operation returns a list of PrivateLinkService resources.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}
@desc Approve or reject private end point connection for a private link service in a subscription.
@required {resourceGroupName: any # The name of the resource group., serviceName: any # The name of the private link service., peConnectionName: any # The name of the private end point connection., parameters: any # Parameters supplied to approve or reject the private end point connection.}
@returns(200) Update successful. The operation returns the resulting PrivateEndpointConnection resource.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}
@desc Delete private end point connection for a private link service in a subscription.
@required {resourceGroupName: any # The name of the resource group., serviceName: any # The name of the private link service., peConnectionName: any # The name of the private end point connection.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Delete successful.

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility
@desc Checks whether the subscription is visible to private link service.
@required {location: any # The location of the domain name., parameters: any # The request body of CheckPrivateLinkService API call.}
@returns(200) Request successful. Returns whether the subscription is visible to private link service.
@returns(202) Accepted and the operation will complete asynchronously.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility
@desc Checks whether the subscription is visible to private link service in the specified resource group.
@required {location: any # The location of the domain name., resourceGroupName: any # The name of the resource group., parameters: any # The request body of CheckPrivateLinkService API call.}
@returns(200) Request successful. Returns whether the subscription is visible to private link service.
@returns(202) Accepted and the operation will complete asynchronously.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices
@desc Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.
@required {location: any # The location of the domain name.}
@returns(200) Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices
@desc Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.
@required {location: any # The location of the domain name., resourceGroupName: any # The name of the resource group.}
@returns(200) Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.

@end
