Show / Hide Table of Contents

    Class SyncAgentsOperationsExtensions

    Extension methods for SyncAgentsOperations.

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

    Methods

    BeginCreateOrUpdate(ISyncAgentsOperations, String, String, String, SyncAgent)

    Creates or updates a sync agent.

    Declaration
    public static Microsoft.Azure.Management.Sql.Models.SyncAgent BeginCreateOrUpdate (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName, Microsoft.Azure.Management.Sql.Models.SyncAgent parameters);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    SyncAgent parameters

    The requested sync agent resource state.

    Returns
    SyncAgent

    BeginCreateOrUpdateAsync(ISyncAgentsOperations, String, String, String, SyncAgent, CancellationToken)

    Creates or updates a sync agent.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.SyncAgent> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName, Microsoft.Azure.Management.Sql.Models.SyncAgent parameters, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    SyncAgent parameters

    The requested sync agent resource state.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<SyncAgent>

    BeginDelete(ISyncAgentsOperations, String, String, String)

    Deletes a sync agent.

    Declaration
    public static void BeginDelete (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    BeginDeleteAsync(ISyncAgentsOperations, String, String, String, CancellationToken)

    Deletes a sync agent.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task BeginDeleteAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task

    CreateOrUpdate(ISyncAgentsOperations, String, String, String, SyncAgent)

    Creates or updates a sync agent.

    Declaration
    public static Microsoft.Azure.Management.Sql.Models.SyncAgent CreateOrUpdate (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName, Microsoft.Azure.Management.Sql.Models.SyncAgent parameters);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    SyncAgent parameters

    The requested sync agent resource state.

    Returns
    SyncAgent

    CreateOrUpdateAsync(ISyncAgentsOperations, String, String, String, SyncAgent, CancellationToken)

    Creates or updates a sync agent.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.SyncAgent> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName, Microsoft.Azure.Management.Sql.Models.SyncAgent parameters, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    SyncAgent parameters

    The requested sync agent resource state.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<SyncAgent>

    Delete(ISyncAgentsOperations, String, String, String)

    Deletes a sync agent.

    Declaration
    public static void Delete (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    DeleteAsync(ISyncAgentsOperations, String, String, String, CancellationToken)

    Deletes a sync agent.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task

    GenerateKey(ISyncAgentsOperations, String, String, String)

    Generates a sync agent key.

    Declaration
    public static Microsoft.Azure.Management.Sql.Models.SyncAgentKeyProperties GenerateKey (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    Returns
    SyncAgentKeyProperties

    GenerateKeyAsync(ISyncAgentsOperations, String, String, String, CancellationToken)

    Generates a sync agent key.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.SyncAgentKeyProperties> GenerateKeyAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<SyncAgentKeyProperties>

    Get(ISyncAgentsOperations, String, String, String)

    Gets a sync agent.

    Declaration
    public static Microsoft.Azure.Management.Sql.Models.SyncAgent Get (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    Returns
    SyncAgent

    GetAsync(ISyncAgentsOperations, String, String, String, CancellationToken)

    Gets a sync agent.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.SyncAgent> GetAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<SyncAgent>

    ListByServer(ISyncAgentsOperations, String, String)

    Lists sync agents in a server.

    Declaration
    public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncAgent> ListByServer (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    Returns
    IPage<SyncAgent>

    ListByServerAsync(ISyncAgentsOperations, String, String, CancellationToken)

    Lists sync agents in a server.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncAgent>> ListByServerAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<IPage<SyncAgent>>

    ListByServerNext(ISyncAgentsOperations, String)

    Lists sync agents in a server.

    Declaration
    public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncAgent> ListByServerNext (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string nextPageLink);
    Parameters
    ISyncAgentsOperations operations

    The operations group for this extension method.

    String nextPageLink

    The NextLink from the previous successful call to List operation.

    Returns
    IPage<SyncAgent>

    ListByServerNextAsync(ISyncAgentsOperations, String, CancellationToken)

    Lists sync agents in a server.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncAgent>> ListByServerNextAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    ISyncAgentsOperations operations

    The operations group for this extension method.

    String nextPageLink

    The NextLink from the previous successful call to List operation.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<IPage<SyncAgent>>

    ListLinkedDatabases(ISyncAgentsOperations, String, String, String)

    Lists databases linked to a sync agent.

    Declaration
    public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncAgentLinkedDatabase> ListLinkedDatabases (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    Returns
    IPage<SyncAgentLinkedDatabase>

    ListLinkedDatabasesAsync(ISyncAgentsOperations, String, String, String, CancellationToken)

    Lists databases linked to a sync agent.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncAgentLinkedDatabase>> ListLinkedDatabasesAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string resourceGroupName, string serverName, string syncAgentName, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    ISyncAgentsOperations 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 on which the sync agent is hosted.

    String syncAgentName

    The name of the sync agent.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<IPage<SyncAgentLinkedDatabase>>

    ListLinkedDatabasesNext(ISyncAgentsOperations, String)

    Lists databases linked to a sync agent.

    Declaration
    public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncAgentLinkedDatabase> ListLinkedDatabasesNext (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string nextPageLink);
    Parameters
    ISyncAgentsOperations operations

    The operations group for this extension method.

    String nextPageLink

    The NextLink from the previous successful call to List operation.

    Returns
    IPage<SyncAgentLinkedDatabase>

    ListLinkedDatabasesNextAsync(ISyncAgentsOperations, String, CancellationToken)

    Lists databases linked to a sync agent.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.SyncAgentLinkedDatabase>> ListLinkedDatabasesNextAsync (this Microsoft.Azure.Management.Sql.ISyncAgentsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    ISyncAgentsOperations operations

    The operations group for this extension method.

    String nextPageLink

    The NextLink from the previous successful call to List operation.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<IPage<SyncAgentLinkedDatabase>>

    Back to top Azure SDK for Net