@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Microsoft Defender for Cloud
@base https://management.azure.com
@version 2015-06-01-preview
@auth OAuth2
@endpoints 3
@toc subscriptions(3)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/adaptiveNetworkHardenings
@desc Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.
@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/adaptiveNetworkHardenings/{adaptiveNetworkHardeningResourceName}
@desc Gets a single Adaptive Network Hardening resource
@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource., adaptiveNetworkHardeningResourceName: any # The name of the Adaptive Network Hardening resource.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/adaptiveNetworkHardenings/{adaptiveNetworkHardeningResourceName}/{adaptiveNetworkHardeningEnforceAction}
@desc Enforces the given rules on the NSG(s) listed in the request
@required {resourceNamespace: any # The Namespace of the resource., resourceType: any # The type of the resource., resourceName: any # Name of the resource., adaptiveNetworkHardeningResourceName: any # The name of the Adaptive Network Hardening resource., adaptiveNetworkHardeningEnforceAction: any # Enforces the given rules on the NSG(s) listed in the request, body: map}
@returns(200) OK.
@returns(202) Accepted

@end
