Interface ServerAzureADAdministratorsClient


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

      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ServerAzureADAdministratorInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                                      String serverName,
                                                                                                      AdministratorName administratorName)
        Gets a Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The name of server active directory administrator.
        Returns:
        a Azure Active Directory 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<ServerAzureADAdministratorInner> getAsync​(String resourceGroupName,
                                                       String serverName,
                                                       AdministratorName administratorName)
        Gets a Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The name of server active directory administrator.
        Returns:
        a Azure Active Directory 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

        ServerAzureADAdministratorInner get​(String resourceGroupName,
                                            String serverName,
                                            AdministratorName administratorName)
        Gets a Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The name of server active directory administrator.
        Returns:
        a Azure Active Directory 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<ServerAzureADAdministratorInner> getWithResponse​(String resourceGroupName,
                                                                                           String serverName,
                                                                                           AdministratorName administratorName,
                                                                                           com.azure.core.util.Context context)
        Gets a Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The name of server active directory administrator.
        context - The context to associate with this operation.
        Returns:
        a Azure Active Directory 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 serverName,
                                                                                                  AdministratorName administratorName,
                                                                                                  ServerAzureADAdministratorInner parameters)
        Creates or updates an existing Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The administratorName parameter.
        parameters - Azure Active Directory administrator.
        Returns:
        azure Active Directory 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<ServerAzureADAdministratorInner>,​ServerAzureADAdministratorInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                             String serverName,
                                                                                                                                                                                             AdministratorName administratorName,
                                                                                                                                                                                             ServerAzureADAdministratorInner parameters)
        Creates or updates an existing Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The administratorName parameter.
        parameters - Azure Active Directory administrator.
        Returns:
        azure Active Directory 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<ServerAzureADAdministratorInner>,​ServerAzureADAdministratorInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                        String serverName,
                                                                                                                                                                                        AdministratorName administratorName,
                                                                                                                                                                                        ServerAzureADAdministratorInner parameters)
        Creates or updates an existing Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The administratorName parameter.
        parameters - Azure Active Directory administrator.
        Returns:
        azure Active Directory 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<ServerAzureADAdministratorInner>,​ServerAzureADAdministratorInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                        String serverName,
                                                                                                                                                                                        AdministratorName administratorName,
                                                                                                                                                                                        ServerAzureADAdministratorInner parameters,
                                                                                                                                                                                        com.azure.core.util.Context context)
        Creates or updates an existing Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The administratorName parameter.
        parameters - Azure Active Directory administrator.
        context - The context to associate with this operation.
        Returns:
        azure Active Directory 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<ServerAzureADAdministratorInner> createOrUpdateAsync​(String resourceGroupName,
                                                                  String serverName,
                                                                  AdministratorName administratorName,
                                                                  ServerAzureADAdministratorInner parameters)
        Creates or updates an existing Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The administratorName parameter.
        parameters - Azure Active Directory administrator.
        Returns:
        azure Active Directory 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

        ServerAzureADAdministratorInner createOrUpdate​(String resourceGroupName,
                                                       String serverName,
                                                       AdministratorName administratorName,
                                                       ServerAzureADAdministratorInner parameters)
        Creates or updates an existing Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The administratorName parameter.
        parameters - Azure Active Directory administrator.
        Returns:
        azure Active Directory 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

        ServerAzureADAdministratorInner createOrUpdate​(String resourceGroupName,
                                                       String serverName,
                                                       AdministratorName administratorName,
                                                       ServerAzureADAdministratorInner parameters,
                                                       com.azure.core.util.Context context)
        Creates or updates an existing Azure Active Directory 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.
        serverName - The name of the server.
        administratorName - The administratorName parameter.
        parameters - Azure Active Directory administrator.
        context - The context to associate with this operation.
        Returns:
        azure Active Directory 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 serverName,
                                                                                          AdministratorName administratorName)
        Deletes the Azure Active Directory administrator with the given 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.
        serverName - The name of the server.
        administratorName - The name of server active directory administrator.
        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 serverName,
                                                                                                                               AdministratorName administratorName)
        Deletes the Azure Active Directory administrator with the given 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.
        serverName - The name of the server.
        administratorName - The name of server active directory administrator.
        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 serverName,
                                                                                                                          AdministratorName administratorName)
        Deletes the Azure Active Directory administrator with the given 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.
        serverName - The name of the server.
        administratorName - The name of server active directory administrator.
        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 serverName,
                                                                                                                          AdministratorName administratorName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the Azure Active Directory administrator with the given 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.
        serverName - The name of the server.
        administratorName - The name of server active directory administrator.
        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 serverName,
                               AdministratorName administratorName)
        Deletes the Azure Active Directory administrator with the given 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.
        serverName - The name of the server.
        administratorName - The name of server active directory administrator.
        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 serverName,
                    AdministratorName administratorName)
        Deletes the Azure Active Directory administrator with the given 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.
        serverName - The name of the server.
        administratorName - The name of server active directory 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.
      • delete

        void delete​(String resourceGroupName,
                    String serverName,
                    AdministratorName administratorName,
                    com.azure.core.util.Context context)
        Deletes the Azure Active Directory administrator with the given 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.
        serverName - The name of the server.
        administratorName - The name of server active directory administrator.
        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.
      • listByServerAsync

        com.azure.core.http.rest.PagedFlux<ServerAzureADAdministratorInner> listByServerAsync​(String resourceGroupName,
                                                                                              String serverName)
        Gets a list of Azure Active Directory administrators in a server.
        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.
        serverName - The name of the server.
        Returns:
        a list of Azure Active Directory administrators in a server.
        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.
      • listByServer

        com.azure.core.http.rest.PagedIterable<ServerAzureADAdministratorInner> listByServer​(String resourceGroupName,
                                                                                             String serverName)
        Gets a list of Azure Active Directory administrators in a server.
        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.
        serverName - The name of the server.
        Returns:
        a list of Azure Active Directory administrators in a server.
        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.
      • listByServer

        com.azure.core.http.rest.PagedIterable<ServerAzureADAdministratorInner> listByServer​(String resourceGroupName,
                                                                                             String serverName,
                                                                                             com.azure.core.util.Context context)
        Gets a list of Azure Active Directory administrators in a server.
        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.
        serverName - The name of the server.
        context - The context to associate with this operation.
        Returns:
        a list of Azure Active Directory administrators in a server.
        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.
      • disableAzureADOnlyAuthenticationWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> disableAzureADOnlyAuthenticationWithResponseAsync​(String resourceGroupName,
                                                                                                                    String serverName)
        Disables Azure Active Directory only authentication on logical Server.
        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.
        serverName - The name of the server.
        Returns:
        azure Active Directory 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.
      • beginDisableAzureADOnlyAuthenticationAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerAzureADAdministratorInner>,​ServerAzureADAdministratorInner> beginDisableAzureADOnlyAuthenticationAsync​(String resourceGroupName,
                                                                                                                                                                                                               String serverName)
        Disables Azure Active Directory only authentication on logical Server.
        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.
        serverName - The name of the server.
        Returns:
        azure Active Directory 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.
      • beginDisableAzureADOnlyAuthentication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerAzureADAdministratorInner>,​ServerAzureADAdministratorInner> beginDisableAzureADOnlyAuthentication​(String resourceGroupName,
                                                                                                                                                                                                          String serverName)
        Disables Azure Active Directory only authentication on logical Server.
        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.
        serverName - The name of the server.
        Returns:
        azure Active Directory 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.
      • beginDisableAzureADOnlyAuthentication

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerAzureADAdministratorInner>,​ServerAzureADAdministratorInner> beginDisableAzureADOnlyAuthentication​(String resourceGroupName,
                                                                                                                                                                                                          String serverName,
                                                                                                                                                                                                          com.azure.core.util.Context context)
        Disables Azure Active Directory only authentication on logical Server.
        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.
        serverName - The name of the server.
        context - The context to associate with this operation.
        Returns:
        azure Active Directory 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.
      • disableAzureADOnlyAuthenticationAsync

        Mono<ServerAzureADAdministratorInner> disableAzureADOnlyAuthenticationAsync​(String resourceGroupName,
                                                                                    String serverName)
        Disables Azure Active Directory only authentication on logical Server.
        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.
        serverName - The name of the server.
        Returns:
        azure Active Directory 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.
      • disableAzureADOnlyAuthentication

        ServerAzureADAdministratorInner disableAzureADOnlyAuthentication​(String resourceGroupName,
                                                                         String serverName)
        Disables Azure Active Directory only authentication on logical Server.
        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.
        serverName - The name of the server.
        Returns:
        azure Active Directory 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.
      • disableAzureADOnlyAuthentication

        ServerAzureADAdministratorInner disableAzureADOnlyAuthentication​(String resourceGroupName,
                                                                         String serverName,
                                                                         com.azure.core.util.Context context)
        Disables Azure Active Directory only authentication on logical Server.
        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.
        serverName - The name of the server.
        context - The context to associate with this operation.
        Returns:
        azure Active Directory 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.