@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Guest Diagnostic Settings Association API
@base https://management.azure.com
@version 2018-06-01-preview
@auth OAuth2
@endpoints 6
@toc {resourceUri}(4), subscriptions(2)

@group {resourceUri}
@endpoint PUT /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}
@desc Creates or updates guest diagnostics settings association.
@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type., associationName: any # The name of the diagnostic settings association., diagnosticSettingsAssociation: map # The diagnostic settings association to create or update.}
@returns(200) An existing guest diagnostic settings association was successfully updated.
@returns(201) A new guest diagnostic settings association was successfully created.

@endpoint GET /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}
@desc Gets guest diagnostics association settings.
@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type., associationName: any # The name of the diagnostic settings association.}
@returns(200) The request succeeded.

@endpoint DELETE /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}
@desc Delete guest diagnostics association settings.
@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type., associationName: any # The name of the diagnostic settings association.}
@returns(200) The diagnostic settings association was successfully deleted.
@returns(204) The diagnostic settings association does not exist. It may have already been deleted.

@endpoint PATCH /{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}
@desc Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method
@required {resourceUri: any # The fully qualified ID of the resource, including the resource name and resource type., associationName: any # The name of the diagnostic settings association., parameters: any # Parameters supplied to the operation.}
@returns(200) An existing guest diagnostics setting resource was successfully updated.

@endgroup

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations
@desc Get a list of all guest diagnostic settings association in a subscription.
@returns(200) The request succeeded.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations
@desc Get a list of all guest diagnostic settings association in a resource group.
@returns(200) The request succeeded.

@endgroup

@end
