Interface SecurityConnectorsClient
public interface SecurityConnectorsClient
An instance of this class provides access to all the operations defined in SecurityConnectorsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String securityConnectorName, SecurityConnectorInner securityConnector) Creates or updates a security connector.com.azure.core.http.rest.Response<SecurityConnectorInner>
createOrUpdateWithResponse
(String resourceGroupName, String securityConnectorName, SecurityConnectorInner securityConnector, com.azure.core.util.Context context) Creates or updates a security connector.void
Deletes a security connector.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String securityConnectorName, com.azure.core.util.Context context) Deletes a security connector.getByResourceGroup
(String resourceGroupName, String securityConnectorName) Retrieves details of a specific security connector.com.azure.core.http.rest.Response<SecurityConnectorInner>
getByResourceGroupWithResponse
(String resourceGroupName, String securityConnectorName, com.azure.core.util.Context context) Retrieves details of a specific security connector.com.azure.core.http.rest.PagedIterable<SecurityConnectorInner>
list()
Lists all the security connectors in the specified subscription.com.azure.core.http.rest.PagedIterable<SecurityConnectorInner>
list
(com.azure.core.util.Context context) Lists all the security connectors in the specified subscription.com.azure.core.http.rest.PagedIterable<SecurityConnectorInner>
listByResourceGroup
(String resourceGroupName) Lists all the security connectors in the specified resource group.com.azure.core.http.rest.PagedIterable<SecurityConnectorInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Lists all the security connectors in the specified resource group.update
(String resourceGroupName, String securityConnectorName, SecurityConnectorInner securityConnector) Updates a security connector.com.azure.core.http.rest.Response<SecurityConnectorInner>
updateWithResponse
(String resourceGroupName, String securityConnectorName, SecurityConnectorInner securityConnector, com.azure.core.util.Context context) Updates a security connector.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<SecurityConnectorInner> list()Lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to get the next page of security connectors for the specified subscription.- Returns:
- list of security connectors response as paginated response with
PagedIterable
. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<SecurityConnectorInner> list(com.azure.core.util.Context context) Lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to get the next page of security connectors for the specified subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- list of security connectors response as paginated response with
PagedIterable
. - 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<SecurityConnectorInner> listByResourceGroup(String resourceGroupName) Lists all the security connectors in the specified resource group. Use the 'nextLink' property in the response to get the next page of security connectors for the specified resource group.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.- Returns:
- list of security connectors response as paginated response with
PagedIterable
. - 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<SecurityConnectorInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the security connectors in the specified resource group. Use the 'nextLink' property in the response to get the next page of security connectors for the specified resource group.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- list of security connectors response as paginated response with
PagedIterable
. - 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.
-
getByResourceGroup
Retrieves details of a specific security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.- Returns:
- the security connector resource.
- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<SecurityConnectorInner> getByResourceGroupWithResponse(String resourceGroupName, String securityConnectorName, com.azure.core.util.Context context) Retrieves details of a specific security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.context
- The context to associate with this operation.- Returns:
- the security connector resource 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.
-
createOrUpdate
SecurityConnectorInner createOrUpdate(String resourceGroupName, String securityConnectorName, SecurityConnectorInner securityConnector) Creates or updates a security connector. If a security connector is already created and a subsequent request is issued for the same security connector id, then it will be updated.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.securityConnector
- The security connector resource.- Returns:
- the security connector resource.
- 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SecurityConnectorInner> createOrUpdateWithResponse(String resourceGroupName, String securityConnectorName, SecurityConnectorInner securityConnector, com.azure.core.util.Context context) Creates or updates a security connector. If a security connector is already created and a subsequent request is issued for the same security connector id, then it will be updated.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.securityConnector
- The security connector resource.context
- The context to associate with this operation.- Returns:
- the security connector resource 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.
-
update
SecurityConnectorInner update(String resourceGroupName, String securityConnectorName, SecurityConnectorInner securityConnector) Updates a security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.securityConnector
- The security connector resource.- Returns:
- the security connector resource.
- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<SecurityConnectorInner> updateWithResponse(String resourceGroupName, String securityConnectorName, SecurityConnectorInner securityConnector, com.azure.core.util.Context context) Updates a security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.securityConnector
- The security connector resource.context
- The context to associate with this operation.- Returns:
- the security connector resource 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.
-
delete
Deletes a security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String securityConnectorName, com.azure.core.util.Context context) Deletes a security connector.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.securityConnectorName
- The security connector name.context
- The context to associate with this operation.- Returns:
- the
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.
-