Interface ManagedInstancesClient

    • Method Detail

      • listByInstancePoolAsync

        com.azure.core.http.rest.PagedFlux<ManagedInstanceInner> listByInstancePoolAsync​(String resourceGroupName,
                                                                                         String instancePoolName)
        Gets a list of all managed instances in an instance pool.
        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.
        instancePoolName - The instance pool name.
        Returns:
        a list of all managed instances in an instance pool.
        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.
      • listByInstancePool

        com.azure.core.http.rest.PagedIterable<ManagedInstanceInner> listByInstancePool​(String resourceGroupName,
                                                                                        String instancePoolName)
        Gets a list of all managed instances in an instance pool.
        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.
        instancePoolName - The instance pool name.
        Returns:
        a list of all managed instances in an instance pool.
        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.
      • listByInstancePool

        com.azure.core.http.rest.PagedIterable<ManagedInstanceInner> listByInstancePool​(String resourceGroupName,
                                                                                        String instancePoolName,
                                                                                        com.azure.core.util.Context context)
        Gets a list of all managed instances in an instance pool.
        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.
        instancePoolName - The instance pool name.
        context - The context to associate with this operation.
        Returns:
        a list of all managed instances in an instance pool.
        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<ManagedInstanceInner> listByResourceGroupAsync​(String resourceGroupName)
        Gets a list of managed instances in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<ManagedInstanceInner>
        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.
        Returns:
        a list of managed instances in a resource 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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<ManagedInstanceInner> listByResourceGroup​(String resourceGroupName)
        Gets a list of managed instances in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<ManagedInstanceInner>
        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.
        Returns:
        a list of managed instances in a resource 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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<ManagedInstanceInner> listByResourceGroup​(String resourceGroupName,
                                                                                         com.azure.core.util.Context context)
        Gets a list of managed instances in a resource 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.
        context - The context to associate with this operation.
        Returns:
        a list of managed instances in a resource 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.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ManagedInstanceInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                          String managedInstanceName)
        Gets a managed instance.
        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.
        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<ManagedInstanceInner> getByResourceGroupAsync​(String resourceGroupName,
                                                           String managedInstanceName)
        Gets a managed instance.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<ManagedInstanceInner>
        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.
        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

        ManagedInstanceInner getByResourceGroup​(String resourceGroupName,
                                                String managedInstanceName)
        Gets a managed instance.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<ManagedInstanceInner>
        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.
        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<ManagedInstanceInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                               String managedInstanceName,
                                                                                               com.azure.core.util.Context context)
        Gets a managed instance.
        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.
        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,
                                                                                                  ManagedInstanceInner parameters)
        Creates or updates a managed instance.
        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.
        Returns:
        an Azure SQL 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.
      • beginCreateOrUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedInstanceInner>,​ManagedInstanceInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                       String managedInstanceName,
                                                                                                                                                                       ManagedInstanceInner parameters)
        Creates or updates a managed instance.
        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.
        Returns:
        an Azure SQL 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstanceInner>,​ManagedInstanceInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                  String managedInstanceName,
                                                                                                                                                                  ManagedInstanceInner parameters)
        Creates or updates a managed instance.
        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.
        Returns:
        an Azure SQL 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstanceInner>,​ManagedInstanceInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                  String managedInstanceName,
                                                                                                                                                                  ManagedInstanceInner parameters,
                                                                                                                                                                  com.azure.core.util.Context context)
        Creates or updates a managed instance.
        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.
        context - The context to associate with this operation.
        Returns:
        an Azure SQL 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.
      • createOrUpdateAsync

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

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

        ManagedInstanceInner createOrUpdate​(String resourceGroupName,
                                            String managedInstanceName,
                                            ManagedInstanceInner parameters,
                                            com.azure.core.util.Context context)
        Creates or updates a managed instance.
        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.
        context - The context to associate with this operation.
        Returns:
        an Azure SQL 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.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String managedInstanceName)
        Deletes a managed instance.
        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.
        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.
        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.
        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.
        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.
        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.
        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.
      • updateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync​(String resourceGroupName,
                                                                                          String managedInstanceName,
                                                                                          ManagedInstanceUpdate parameters)
        Updates a managed instance.
        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 update request for an Azure SQL Database managed instance.
        Returns:
        an Azure SQL 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.
      • beginUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedInstanceInner>,​ManagedInstanceInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                               String managedInstanceName,
                                                                                                                                                               ManagedInstanceUpdate parameters)
        Updates a managed instance.
        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 update request for an Azure SQL Database managed instance.
        Returns:
        an Azure SQL 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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstanceInner>,​ManagedInstanceInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                          String managedInstanceName,
                                                                                                                                                          ManagedInstanceUpdate parameters)
        Updates a managed instance.
        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 update request for an Azure SQL Database managed instance.
        Returns:
        an Azure SQL 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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedInstanceInner>,​ManagedInstanceInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                          String managedInstanceName,
                                                                                                                                                          ManagedInstanceUpdate parameters,
                                                                                                                                                          com.azure.core.util.Context context)
        Updates a managed instance.
        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 update request for an Azure SQL Database managed instance.
        context - The context to associate with this operation.
        Returns:
        an Azure SQL 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.
      • updateAsync

        Mono<ManagedInstanceInner> updateAsync​(String resourceGroupName,
                                               String managedInstanceName,
                                               ManagedInstanceUpdate parameters)
        Updates a managed instance.
        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 update request for an Azure SQL Database managed instance.
        Returns:
        an Azure SQL 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.
      • update

        ManagedInstanceInner update​(String resourceGroupName,
                                    String managedInstanceName,
                                    ManagedInstanceUpdate parameters)
        Updates a managed instance.
        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 update request for an Azure SQL Database managed instance.
        Returns:
        an Azure SQL 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.
      • update

        ManagedInstanceInner update​(String resourceGroupName,
                                    String managedInstanceName,
                                    ManagedInstanceUpdate parameters,
                                    com.azure.core.util.Context context)
        Updates a managed instance.
        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 update request for an Azure SQL Database managed instance.
        context - The context to associate with this operation.
        Returns:
        an Azure SQL 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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<ManagedInstanceInner> listAsync()
        Gets a list of all managed instances in the subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<ManagedInstanceInner>
        Returns:
        a list of all managed instances in the subscription.
        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<ManagedInstanceInner> list()
        Gets a list of all managed instances in the subscription.
        Specified by:
        list in interface InnerSupportsListing<ManagedInstanceInner>
        Returns:
        a list of all managed instances in the subscription.
        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<ManagedInstanceInner> list​(com.azure.core.util.Context context)
        Gets a list of all managed instances in the subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        a list of all managed instances in the subscription.
        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.