Interface ManagedInstanceAdministratorsClient

  • All Superinterfaces:
    InnerSupportsDelete<Void>

    public interface ManagedInstanceAdministratorsClient
    extends InnerSupportsDelete<Void>
    An instance of this class provides access to all the operations defined in ManagedInstanceAdministratorsClient.
    • Method Detail

      • listByInstanceAsync

        com.azure.core.http.rest.PagedFlux<ManagedInstanceAdministratorInner> listByInstanceAsync​(String resourceGroupName,
                                                                                                  String managedInstanceName)
        Gets a list of managed instance administrators.
        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 list of managed instance administrators.
        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<ManagedInstanceAdministratorInner> listByInstance​(String resourceGroupName,
                                                                                                 String managedInstanceName)
        Gets a list of managed instance administrators.
        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 list of managed instance administrators.
        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<ManagedInstanceAdministratorInner> listByInstance​(String resourceGroupName,
                                                                                                 String managedInstanceName,
                                                                                                 com.azure.core.util.Context context)
        Gets a list of managed instance administrators.
        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 list of managed instance administrators.
        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<ManagedInstanceAdministratorInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                                        String managedInstanceName)
        Gets a managed instance administrator.
        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 managed instance administrator.
        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<ManagedInstanceAdministratorInner> getAsync​(String resourceGroupName,
                                                         String managedInstanceName)
        Gets a managed instance administrator.
        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 managed instance administrator.
        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

        ManagedInstanceAdministratorInner get​(String resourceGroupName,
                                              String managedInstanceName)
        Gets a managed instance administrator.
        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 managed instance administrator.
        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<ManagedInstanceAdministratorInner> getWithResponse​(String resourceGroupName,
                                                                                             String managedInstanceName,
                                                                                             com.azure.core.util.Context context)
        Gets a managed instance administrator.
        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 managed instance administrator.
        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 managedInstanceName,
                                                                                                  ManagedInstanceAdministratorInner parameters)
        Creates or updates a managed instance administrator.
        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.
        parameters - An Azure SQL managed instance administrator.
        Returns:
        an Azure SQL managed instance administrator.
        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<ManagedInstanceAdministratorInner>,​ManagedInstanceAdministratorInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                                 String managedInstanceName,
                                                                                                                                                                                                 ManagedInstanceAdministratorInner parameters)
        Creates or updates a managed instance administrator.
        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.
        parameters - An Azure SQL managed instance administrator.
        Returns:
        an Azure SQL managed instance administrator.
        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<ManagedInstanceAdministratorInner>,​ManagedInstanceAdministratorInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                            String managedInstanceName,
                                                                                                                                                                                            ManagedInstanceAdministratorInner parameters)
        Creates or updates a managed instance administrator.
        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.
        parameters - An Azure SQL managed instance administrator.
        Returns:
        an Azure SQL managed instance administrator.
        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<ManagedInstanceAdministratorInner>,​ManagedInstanceAdministratorInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                            String managedInstanceName,
                                                                                                                                                                                            ManagedInstanceAdministratorInner parameters,
                                                                                                                                                                                            com.azure.core.util.Context context)
        Creates or updates a managed instance administrator.
        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.
        parameters - An Azure SQL managed instance administrator.
        context - The context to associate with this operation.
        Returns:
        an Azure SQL managed instance administrator.
        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<ManagedInstanceAdministratorInner> createOrUpdateAsync​(String resourceGroupName,
                                                                    String managedInstanceName,
                                                                    ManagedInstanceAdministratorInner parameters)
        Creates or updates a managed instance administrator.
        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.
        parameters - An Azure SQL managed instance administrator.
        Returns:
        an Azure SQL managed instance administrator.
        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

        ManagedInstanceAdministratorInner createOrUpdate​(String resourceGroupName,
                                                         String managedInstanceName,
                                                         ManagedInstanceAdministratorInner parameters)
        Creates or updates a managed instance administrator.
        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.
        parameters - An Azure SQL managed instance administrator.
        Returns:
        an Azure SQL managed instance administrator.
        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

        ManagedInstanceAdministratorInner createOrUpdate​(String resourceGroupName,
                                                         String managedInstanceName,
                                                         ManagedInstanceAdministratorInner parameters,
                                                         com.azure.core.util.Context context)
        Creates or updates a managed instance administrator.
        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.
        parameters - An Azure SQL managed instance administrator.
        context - The context to associate with this operation.
        Returns:
        an Azure SQL managed instance administrator.
        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 managedInstanceName)
        Deletes a managed instance administrator.
        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:
        the completion.
        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 managedInstanceName)
        Deletes a managed instance administrator.
        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:
        the completion.
        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 managedInstanceName)
        Deletes a managed instance administrator.
        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:
        the completion.
        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 managedInstanceName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a managed instance administrator.
        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:
        the completion.
        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 managedInstanceName)
        Deletes a managed instance administrator.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        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:
        the completion.
        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 managedInstanceName)
        Deletes a managed instance administrator.
        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.
        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 managedInstanceName,
                    com.azure.core.util.Context context)
        Deletes a managed instance administrator.
        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.
        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.