Show / Hide Table of Contents

    Class RecoverableDatabasesOperationsExtensions

    Extension methods for RecoverableDatabasesOperations.

    Inheritance
    Object
    RecoverableDatabasesOperationsExtensions
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    public static class RecoverableDatabasesOperationsExtensions

    Methods

    Get(IRecoverableDatabasesOperations, String, String, String)

    Gets a recoverable database, which is a resource representing a database's geo backup

    Declaration
    public static Microsoft.Azure.Management.Sql.Models.RecoverableDatabase Get (this Microsoft.Azure.Management.Sql.IRecoverableDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName);
    Parameters
    IRecoverableDatabasesOperations operations

    The operations group for this extension method.

    String 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.

    String serverName

    The name of the server.

    String databaseName

    The name of the database

    Returns
    RecoverableDatabase

    GetAsync(IRecoverableDatabasesOperations, String, String, String, CancellationToken)

    Gets a recoverable database, which is a resource representing a database's geo backup

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.RecoverableDatabase> GetAsync (this Microsoft.Azure.Management.Sql.IRecoverableDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IRecoverableDatabasesOperations operations

    The operations group for this extension method.

    String 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.

    String serverName

    The name of the server.

    String databaseName

    The name of the database

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<RecoverableDatabase>

    ListByServer(IRecoverableDatabasesOperations, String, String)

    Gets a list of recoverable databases

    Declaration
    public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Sql.Models.RecoverableDatabase> ListByServer (this Microsoft.Azure.Management.Sql.IRecoverableDatabasesOperations operations, string resourceGroupName, string serverName);
    Parameters
    IRecoverableDatabasesOperations operations

    The operations group for this extension method.

    String 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.

    String serverName

    The name of the server.

    Returns
    IEnumerable<RecoverableDatabase>

    ListByServerAsync(IRecoverableDatabasesOperations, String, String, CancellationToken)

    Gets a list of recoverable databases

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Sql.Models.RecoverableDatabase>> ListByServerAsync (this Microsoft.Azure.Management.Sql.IRecoverableDatabasesOperations operations, string resourceGroupName, string serverName, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IRecoverableDatabasesOperations operations

    The operations group for this extension method.

    String 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.

    String serverName

    The name of the server.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<IEnumerable<RecoverableDatabase>>

    Back to top Azure SDK for Net