@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ManagedServicesClient
@base https://management.azure.com
@version 2019-06-01
@auth OAuth2
@common_fields {api-version: any # The API version to use for this operation.}
@endpoints 9
@toc {scope}(8), providers(1)

@group {scope}
@endpoint GET /{scope}/providers/Microsoft.ManagedServices/registrationDefinitions/{registrationDefinitionId}
@desc Gets the registration definition details.
@required {scope: any # Scope of the resource., registrationDefinitionId: any # Guid of the registration definition.}
@returns(200) OK - Returns the complete registration definition with plan details.

@endpoint DELETE /{scope}/providers/Microsoft.ManagedServices/registrationDefinitions/{registrationDefinitionId}
@desc Deletes the registration definition.
@required {registrationDefinitionId: any # Guid of the registration definition., scope: any # Scope of the resource.}
@returns(200) OK - The registration definition is deleted.
@returns(204) No Content- The registration definition does not exist.

@endpoint PUT /{scope}/providers/Microsoft.ManagedServices/registrationDefinitions/{registrationDefinitionId}
@desc Creates or updates a registration definition.
@required {registrationDefinitionId: any # Guid of the registration definition., scope: any # Scope of the resource., requestBody: map # The parameters required to create new registration definition.}
@returns(200) Ok - Returns information about the updated registration definition.
@returns(201) Created - Returns information about the created registration definition.

@endpoint GET /{scope}/providers/Microsoft.ManagedServices/registrationAssignments/{registrationAssignmentId}
@desc Gets the details of specified registration assignment.
@required {scope: any # Scope of the resource., registrationAssignmentId: any # Guid of the registration assignment.}
@optional {$expandRegistrationDefinition: any # Tells whether to return registration definition details also along with registration assignment details.}
@returns(200) OK - Returns the registration assignment.

@endpoint DELETE /{scope}/providers/Microsoft.ManagedServices/registrationAssignments/{registrationAssignmentId}
@desc Deletes the specified registration assignment.
@required {scope: any # Scope of the resource., registrationAssignmentId: any # Guid of the registration assignment.}
@returns(200) OK - The registration assignment is deleted.
@returns(202) Accepted - The registration assignment deletion operation is accepted.
@returns(204) No Content- The registration assignment does not exist.

@endpoint PUT /{scope}/providers/Microsoft.ManagedServices/registrationAssignments/{registrationAssignmentId}
@desc Creates or updates a registration assignment.
@required {scope: any # Scope of the resource., registrationAssignmentId: any # Guid of the registration assignment., requestBody: map # The parameters required to create new registration assignment.}
@returns(200) Ok - Returns information about the updated registration assignment.
@returns(201) Created - Returns information about the created registration assignment.

@endpoint GET /{scope}/providers/Microsoft.ManagedServices/registrationDefinitions
@desc Gets a list of the registration definitions.
@required {scope: any # Scope of the resource.}
@returns(200) OK - Returns a list of the registration definitions.

@endpoint GET /{scope}/providers/Microsoft.ManagedServices/registrationAssignments
@desc Gets a list of the registration assignments.
@required {scope: any # Scope of the resource.}
@optional {$expandRegistrationDefinition: any # Tells whether to return registration definition details also along with registration assignment details.}
@returns(200) OK - Returns a list of the registration assignments.

@endgroup

@group providers
@endpoint GET /providers/Microsoft.ManagedServices/operations
@desc Gets a list of the operations.
@returns(200) OK - Returns a list of operations.

@endgroup

@end
