Interface SecurityPartnerProvidersClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<SecurityPartnerProviderInner>, InnerSupportsListing<SecurityPartnerProviderInner>

An instance of this class provides access to all the operations defined in SecurityPartnerProvidersClient.
  • Method Details

    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String securityPartnerProviderName)
      Deletes the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      Returns:
      the Response on successful completion of Mono.
      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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String securityPartnerProviderName)
      Deletes the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      Returns:
      the PollerFlux for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String securityPartnerProviderName)
      Deletes the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String securityPartnerProviderName, com.azure.core.util.Context context)
      Deletes the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String securityPartnerProviderName)
      Deletes the specified Security Partner Provider.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      Returns:
      A Mono that completes when a successful response is received.
      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

      void delete(String resourceGroupName, String securityPartnerProviderName)
      Deletes the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      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

      void delete(String resourceGroupName, String securityPartnerProviderName, com.azure.core.util.Context context)
      Deletes the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      context - The context to associate with this operation.
      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.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SecurityPartnerProviderInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String securityPartnerProviderName)
      Gets the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      Returns:
      the specified Security Partner Provider along with Response on successful completion of Mono.
      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.
    • getByResourceGroupAsync

      Mono<SecurityPartnerProviderInner> getByResourceGroupAsync(String resourceGroupName, String securityPartnerProviderName)
      Gets the specified Security Partner Provider.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<SecurityPartnerProviderInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      Returns:
      the specified Security Partner Provider on successful completion of Mono.
      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<SecurityPartnerProviderInner> getByResourceGroupWithResponse(String resourceGroupName, String securityPartnerProviderName, com.azure.core.util.Context context)
      Gets the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      context - The context to associate with this operation.
      Returns:
      the specified Security Partner Provider 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.
    • getByResourceGroup

      SecurityPartnerProviderInner getByResourceGroup(String resourceGroupName, String securityPartnerProviderName)
      Gets the specified Security Partner Provider.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<SecurityPartnerProviderInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      Returns:
      the specified Security Partner Provider.
      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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String securityPartnerProviderName, SecurityPartnerProviderInner parameters)
      Creates or updates the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to the create or update Security Partner Provider operation.
      Returns:
      security Partner Provider resource along with Response on successful completion of Mono.
      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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SecurityPartnerProviderInner>,SecurityPartnerProviderInner> beginCreateOrUpdateAsync(String resourceGroupName, String securityPartnerProviderName, SecurityPartnerProviderInner parameters)
      Creates or updates the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to the create or update Security Partner Provider operation.
      Returns:
      the PollerFlux for polling of security Partner Provider 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityPartnerProviderInner>,SecurityPartnerProviderInner> beginCreateOrUpdate(String resourceGroupName, String securityPartnerProviderName, SecurityPartnerProviderInner parameters)
      Creates or updates the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to the create or update Security Partner Provider operation.
      Returns:
      the SyncPoller for polling of security Partner Provider 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SecurityPartnerProviderInner>,SecurityPartnerProviderInner> beginCreateOrUpdate(String resourceGroupName, String securityPartnerProviderName, SecurityPartnerProviderInner parameters, com.azure.core.util.Context context)
      Creates or updates the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to the create or update Security Partner Provider operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of security Partner Provider 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.
    • createOrUpdateAsync

      Mono<SecurityPartnerProviderInner> createOrUpdateAsync(String resourceGroupName, String securityPartnerProviderName, SecurityPartnerProviderInner parameters)
      Creates or updates the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to the create or update Security Partner Provider operation.
      Returns:
      security Partner Provider resource on successful completion of Mono.
      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

      SecurityPartnerProviderInner createOrUpdate(String resourceGroupName, String securityPartnerProviderName, SecurityPartnerProviderInner parameters)
      Creates or updates the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to the create or update Security Partner Provider operation.
      Returns:
      security Partner Provider 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.
    • createOrUpdate

      SecurityPartnerProviderInner createOrUpdate(String resourceGroupName, String securityPartnerProviderName, SecurityPartnerProviderInner parameters, com.azure.core.util.Context context)
      Creates or updates the specified Security Partner Provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to the create or update Security Partner Provider operation.
      context - The context to associate with this operation.
      Returns:
      security Partner Provider 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.
    • updateTagsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SecurityPartnerProviderInner>> updateTagsWithResponseAsync(String resourceGroupName, String securityPartnerProviderName, TagsObject parameters)
      Updates tags of a Security Partner Provider resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to update Security Partner Provider tags.
      Returns:
      security Partner Provider resource along with Response on successful completion of Mono.
      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.
    • updateTagsAsync

      Mono<SecurityPartnerProviderInner> updateTagsAsync(String resourceGroupName, String securityPartnerProviderName, TagsObject parameters)
      Updates tags of a Security Partner Provider resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to update Security Partner Provider tags.
      Returns:
      security Partner Provider resource on successful completion of Mono.
      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.
    • updateTagsWithResponse

      com.azure.core.http.rest.Response<SecurityPartnerProviderInner> updateTagsWithResponse(String resourceGroupName, String securityPartnerProviderName, TagsObject parameters, com.azure.core.util.Context context)
      Updates tags of a Security Partner Provider resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to update Security Partner Provider tags.
      context - The context to associate with this operation.
      Returns:
      security Partner Provider 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.
    • updateTags

      SecurityPartnerProviderInner updateTags(String resourceGroupName, String securityPartnerProviderName, TagsObject parameters)
      Updates tags of a Security Partner Provider resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      securityPartnerProviderName - The name of the Security Partner Provider.
      parameters - Parameters supplied to update Security Partner Provider tags.
      Returns:
      security Partner Provider 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<SecurityPartnerProviderInner> listByResourceGroupAsync(String resourceGroupName)
      Lists all Security Partner Providers in a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<SecurityPartnerProviderInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      response for ListSecurityPartnerProviders API service call as paginated response with PagedFlux.
      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<SecurityPartnerProviderInner> listByResourceGroup(String resourceGroupName)
      Lists all Security Partner Providers in a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<SecurityPartnerProviderInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      response for ListSecurityPartnerProviders API service call 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<SecurityPartnerProviderInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all Security Partner Providers in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      response for ListSecurityPartnerProviders API service call 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<SecurityPartnerProviderInner> listAsync()
      Gets all the Security Partner Providers in a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<SecurityPartnerProviderInner>
      Returns:
      all the Security Partner Providers in a subscription as paginated response with PagedFlux.
      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<SecurityPartnerProviderInner> list()
      Gets all the Security Partner Providers in a subscription.
      Specified by:
      list in interface InnerSupportsListing<SecurityPartnerProviderInner>
      Returns:
      all the Security Partner Providers in a subscription 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<SecurityPartnerProviderInner> list(com.azure.core.util.Context context)
      Gets all the Security Partner Providers in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all the Security Partner Providers in a subscription 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.