Interface ServerTrustGroupsClient


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

    • listByLocationAsync

      com.azure.core.http.rest.PagedFlux<ServerTrustGroupInner> listByLocationAsync(String resourceGroupName, String locationName)
      Lists a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      Returns:
      a list of server trust groups 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.
    • listByLocation

      com.azure.core.http.rest.PagedIterable<ServerTrustGroupInner> listByLocation(String resourceGroupName, String locationName)
      Lists a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      Returns:
      a list of server trust groups 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.
    • listByLocation

      com.azure.core.http.rest.PagedIterable<ServerTrustGroupInner> listByLocation(String resourceGroupName, String locationName, com.azure.core.util.Context context)
      Lists a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      context - The context to associate with this operation.
      Returns:
      a list of server trust groups 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ServerTrustGroupInner>> getWithResponseAsync(String resourceGroupName, String locationName, String serverTrustGroupName)
      Gets a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      Returns:
      a server trust group 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.
    • getAsync

      Mono<ServerTrustGroupInner> getAsync(String resourceGroupName, String locationName, String serverTrustGroupName)
      Gets a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      Returns:
      a server trust group 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.
    • getWithResponse

      com.azure.core.http.rest.Response<ServerTrustGroupInner> getWithResponse(String resourceGroupName, String locationName, String serverTrustGroupName, com.azure.core.util.Context context)
      Gets a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      context - The context to associate with this operation.
      Returns:
      a server trust group 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.
    • get

      ServerTrustGroupInner get(String resourceGroupName, String locationName, String serverTrustGroupName)
      Gets a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      Returns:
      a server trust group.
      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 locationName, String serverTrustGroupName, ServerTrustGroupInner parameters)
      Creates or updates a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      parameters - The server trust group parameters.
      Returns:
      a server trust group 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<ServerTrustGroupInner>, ServerTrustGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String locationName, String serverTrustGroupName, ServerTrustGroupInner parameters)
      Creates or updates a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      parameters - The server trust group parameters.
      Returns:
      the PollerFlux for polling of a server trust group.
      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<ServerTrustGroupInner>, ServerTrustGroupInner> beginCreateOrUpdate(String resourceGroupName, String locationName, String serverTrustGroupName, ServerTrustGroupInner parameters)
      Creates or updates a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      parameters - The server trust group parameters.
      Returns:
      the SyncPoller for polling of a server trust group.
      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<ServerTrustGroupInner>, ServerTrustGroupInner> beginCreateOrUpdate(String resourceGroupName, String locationName, String serverTrustGroupName, ServerTrustGroupInner parameters, com.azure.core.util.Context context)
      Creates or updates a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      parameters - The server trust group parameters.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a server trust group.
      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<ServerTrustGroupInner> createOrUpdateAsync(String resourceGroupName, String locationName, String serverTrustGroupName, ServerTrustGroupInner parameters)
      Creates or updates a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      parameters - The server trust group parameters.
      Returns:
      a server trust group 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

      ServerTrustGroupInner createOrUpdate(String resourceGroupName, String locationName, String serverTrustGroupName, ServerTrustGroupInner parameters)
      Creates or updates a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      parameters - The server trust group parameters.
      Returns:
      a server trust group.
      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

      ServerTrustGroupInner createOrUpdate(String resourceGroupName, String locationName, String serverTrustGroupName, ServerTrustGroupInner parameters, com.azure.core.util.Context context)
      Creates or updates a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      parameters - The server trust group parameters.
      context - The context to associate with this operation.
      Returns:
      a server trust group.
      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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String locationName, String serverTrustGroupName)
      Deletes a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      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 locationName, String serverTrustGroupName)
      Deletes a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      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 locationName, String serverTrustGroupName)
      Deletes a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      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 locationName, String serverTrustGroupName, com.azure.core.util.Context context)
      Deletes a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      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 locationName, String serverTrustGroupName)
      Deletes a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      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 locationName, String serverTrustGroupName)
      Deletes a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      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 locationName, String serverTrustGroupName, com.azure.core.util.Context context)
      Deletes a server trust group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      locationName - The name of the region where the resource is located.
      serverTrustGroupName - The name of the server trust group.
      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.
    • listByInstanceAsync

      com.azure.core.http.rest.PagedFlux<ServerTrustGroupInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName)
      Gets a server trust groups by instance name.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      Returns:
      a server trust groups by instance name 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.
    • listByInstance

      com.azure.core.http.rest.PagedIterable<ServerTrustGroupInner> listByInstance(String resourceGroupName, String managedInstanceName)
      Gets a server trust groups by instance name.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      Returns:
      a server trust groups by instance name 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.
    • listByInstance

      com.azure.core.http.rest.PagedIterable<ServerTrustGroupInner> listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context)
      Gets a server trust groups by instance name.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      context - The context to associate with this operation.
      Returns:
      a server trust groups by instance name 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.