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

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
@desc Deletes the specified service endpoint policy.
@required {resourceGroupName: any # The name of the resource group., serviceEndpointPolicyName: any # The name of the service endpoint policy.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Request successful. Resource does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
@desc Gets the specified service Endpoint Policies in a specified resource group.
@required {resourceGroupName: any # The name of the resource group., serviceEndpointPolicyName: any # The name of the service endpoint policy.}
@optional {$expand: any # Expands referenced resources.}
@returns(200) Request successful. The operation returns the resulting ServiceEndpointPolicy resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
@desc Creates or updates a service Endpoint Policies.
@required {resourceGroupName: any # The name of the resource group., serviceEndpointPolicyName: any # The name of the service endpoint policy., parameters: any # Parameters supplied to the create or update service endpoint policy operation.}
@returns(200) Update successful. The operation returns the resulting ServiceEndpointPolicy resource.
@returns(201) Create successful. The operation returns the resulting ServiceEndpointPolicy resource.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
@desc Updates service Endpoint Policies.
@required {resourceGroupName: any # The name of the resource group., serviceEndpointPolicyName: any # The name of the service endpoint policy., parameters: any # Parameters supplied to update service endpoint policy tags.}
@returns(200) Update successful. The operation returns the resulting ServiceEndpointPolicy resource.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies
@desc Gets all the service endpoint policies in a subscription.
@returns(200) Request successful. The operation returns a list of ServiceEndpointPolicy resources.

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

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}
@desc Deletes the specified ServiceEndpoint policy definitions.
@required {resourceGroupName: any # The name of the resource group., serviceEndpointPolicyName: any # The name of the Service Endpoint Policy., serviceEndpointPolicyDefinitionName: any # The name of the service endpoint policy definition.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Request successful. Resource does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}
@desc Get the specified service endpoint policy definitions from service endpoint policy.
@required {resourceGroupName: any # The name of the resource group., serviceEndpointPolicyName: any # The name of the service endpoint policy name., serviceEndpointPolicyDefinitionName: any # The name of the service endpoint policy definition name.}
@returns(200) Request successful. The operation returns the resulting ServiceEndpointPolicyDefinition resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}
@desc Creates or updates a service endpoint policy definition in the specified service endpoint policy.
@required {resourceGroupName: any # The name of the resource group., serviceEndpointPolicyName: any # The name of the service endpoint policy., serviceEndpointPolicyDefinitionName: any # The name of the service endpoint policy definition name., ServiceEndpointPolicyDefinitions: any # Parameters supplied to the create or update service endpoint policy operation.}
@returns(200) Update successful. The operation returns the resulting ServiceEndpointPolicyDefinition resource.
@returns(201) Create successful. The operation returns the resulting ServiceEndpointPolicyDefinition resource.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions
@desc Gets all service endpoint policy definitions in a service end point policy.
@required {resourceGroupName: any # The name of the resource group., serviceEndpointPolicyName: any # The name of the service endpoint policy name.}
@returns(200) Request successful. The operation returns a list of ServiceEndpointPolicyDefinition resources.

@end
