Interface ApiCollectionOnboardingsClient
public interface ApiCollectionOnboardingsClient
An instance of this class provides access to all the operations defined in ApiCollectionOnboardingsClient.
-
Method Summary
Modifier and TypeMethodDescriptionOnboard an Azure API Management API to Defender for APIscom.azure.core.http.rest.Response<ApiCollectionResponseInner>
createWithResponse
(String resourceGroupName, String serviceName, String apiCollectionId, com.azure.core.util.Context context) Onboard an Azure API Management API to Defender for APIs
-
Method Details
-
createWithResponse
com.azure.core.http.rest.Response<ApiCollectionResponseInner> createWithResponse(String resourceGroupName, String serviceName, String apiCollectionId, com.azure.core.util.Context context) Onboard an Azure API Management API to Defender for APIsOnboard an Azure API Management API to Defender for APIs. The system will start monitoring the operations within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been detected.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serviceName
- The name of the API Management service.apiCollectionId
- A string representing the apiCollections resource within the Microsoft.Security provider namespace. This string matches the Azure API Management API name.context
- The context to associate with this operation.- Returns:
- an API collection as represented by Defender for APIs along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
ApiCollectionResponseInner create(String resourceGroupName, String serviceName, String apiCollectionId) Onboard an Azure API Management API to Defender for APIsOnboard an Azure API Management API to Defender for APIs. The system will start monitoring the operations within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been detected.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.serviceName
- The name of the API Management service.apiCollectionId
- A string representing the apiCollections resource within the Microsoft.Security provider namespace. This string matches the Azure API Management API name.- Returns:
- an API collection as represented by Defender for APIs.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-