@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Domain Services Resource Provider
@base https://management.azure.com
@version 2017-06-01
@auth OAuth2
@common_fields {api-version: any # Client Api Version.}
@endpoints 7
@toc providers(1), subscriptions(6)

@group providers
@endpoint GET /providers/Microsoft.AAD/operations
@desc Lists all the available Domain Services operations.
@returns(200) HTTP 200 (OK) if the operation was successful.

@endgroup

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.AAD/domainServices
@desc List Domain Services in Subscription
@required {subscriptionId: any # Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) HTTP 200 (OK) if the operation was successful.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices
@desc List Domain Services in Resource Group
@required {subscriptionId: any # Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group within the user's subscription. The name is case insensitive.}
@returns(200) HTTP 200 (OK) if the operation was successful.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}
@desc Create or Update Domain Service (PUT Resource)
@required {subscriptionId: any # Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group within the user's subscription. The name is case insensitive., domainServiceName: any # The name of the domain service., domainService: any # Properties supplied to the Create or Update a Domain Service operation.}
@returns(200) HTTP 200 (OK) if the operation was successful.
@returns(201) HTTP 201 (Created) if the operation completed successfully.
@returns(202) HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}
@desc Get Domain Service
@required {subscriptionId: any # Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group within the user's subscription. The name is case insensitive., domainServiceName: any # The name of the domain service.}
@returns(200) HTTP 200 (OK) if the operation was successful.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}
@desc Delete Domain Service (DELETE Resource)
@required {subscriptionId: any # Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group within the user's subscription. The name is case insensitive., domainServiceName: any # The name of the domain service.}
@returns(202) HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.
@returns(204) HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}
@desc Update Domain Service (PATCH Resource)
@required {subscriptionId: any # Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group within the user's subscription. The name is case insensitive., domainServiceName: any # The name of the domain service., domainService: any # Properties supplied to the Update a Domain Service operation.}
@returns(200) HTTP 200 (OK) if the operation was successful.
@returns(202) HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.

@endgroup

@end
