Interface SecurityConnectors


public interface SecurityConnectors
Resource collection API of SecurityConnectors.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<SecurityConnector> 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<SecurityConnector> 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<SecurityConnector> 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<SecurityConnector> 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

      SecurityConnector getByResourceGroup(String resourceGroupName, String securityConnectorName)
      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<SecurityConnector> 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String securityConnectorName)
      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.
    • getById

      Retrieves details of a specific security connector.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<SecurityConnector> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Retrieves details of a specific security connector.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes a security connector.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes a security connector.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new SecurityConnector resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new SecurityConnector definition.