AvailabilityGroupListeners class

Class representing a AvailabilityGroupListeners.

Constructors

AvailabilityGroupListeners(SqlVirtualMachineManagementClientContext)

Create a AvailabilityGroupListeners.

Methods

beginCreateOrUpdate(string, string, string, AvailabilityGroupListener, RequestOptionsBase)

Creates or updates an availability group listener.

beginDeleteMethod(string, string, string, RequestOptionsBase)

Deletes an availability group listener.

createOrUpdate(string, string, string, AvailabilityGroupListener, RequestOptionsBase)

Creates or updates an availability group listener.

deleteMethod(string, string, string, RequestOptionsBase)

Deletes an availability group listener.

get(string, string, string, RequestOptionsBase)

Gets an availability group listener.

get(string, string, string, RequestOptionsBase, ServiceCallback<AvailabilityGroupListener>)
get(string, string, string, ServiceCallback<AvailabilityGroupListener>)
listByGroup(string, string, RequestOptionsBase)

Lists all availability group listeners in a SQL virtual machine group.

listByGroup(string, string, RequestOptionsBase, ServiceCallback<AvailabilityGroupListenerListResult>)
listByGroup(string, string, ServiceCallback<AvailabilityGroupListenerListResult>)
listByGroupNext(string, RequestOptionsBase)

Lists all availability group listeners in a SQL virtual machine group.

listByGroupNext(string, RequestOptionsBase, ServiceCallback<AvailabilityGroupListenerListResult>)
listByGroupNext(string, ServiceCallback<AvailabilityGroupListenerListResult>)

Constructor Details

AvailabilityGroupListeners(SqlVirtualMachineManagementClientContext)

Create a AvailabilityGroupListeners.

new AvailabilityGroupListeners(client: SqlVirtualMachineManagementClientContext)

Parameters

client
SqlVirtualMachineManagementClientContext

Reference to the service client.

Method Details

beginCreateOrUpdate(string, string, string, AvailabilityGroupListener, RequestOptionsBase)

Creates or updates an availability group listener.

function beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, parameters: AvailabilityGroupListener, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName

string

Name of the SQL virtual machine group.

availabilityGroupListenerName

string

Name of the availability group listener.

parameters
AvailabilityGroupListener

The availability group listener.

options
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

beginDeleteMethod(string, string, string, RequestOptionsBase)

Deletes an availability group listener.

function beginDeleteMethod(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, options?: RequestOptionsBase): Promise<LROPoller>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName

string

Name of the SQL virtual machine group.

availabilityGroupListenerName

string

Name of the availability group listener.

options
RequestOptionsBase

The optional parameters

Returns

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

createOrUpdate(string, string, string, AvailabilityGroupListener, RequestOptionsBase)

Creates or updates an availability group listener.

function createOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, parameters: AvailabilityGroupListener, options?: RequestOptionsBase): Promise<AvailabilityGroupListenersCreateOrUpdateResponse>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName

string

Name of the SQL virtual machine group.

availabilityGroupListenerName

string

Name of the availability group listener.

parameters
AvailabilityGroupListener

The availability group listener.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AvailabilityGroupListenersCreateOrUpdateResponse>

deleteMethod(string, string, string, RequestOptionsBase)

Deletes an availability group listener.

function deleteMethod(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName

string

Name of the SQL virtual machine group.

availabilityGroupListenerName

string

Name of the availability group listener.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

get(string, string, string, RequestOptionsBase)

Gets an availability group listener.

function get(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, options?: RequestOptionsBase): Promise<AvailabilityGroupListenersGetResponse>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName

string

Name of the SQL virtual machine group.

availabilityGroupListenerName

string

Name of the availability group listener.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AvailabilityGroupListenersGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<AvailabilityGroupListener>)

function get(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, options: RequestOptionsBase, callback: ServiceCallback<AvailabilityGroupListener>)

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName

string

Name of the SQL virtual machine group.

availabilityGroupListenerName

string

Name of the availability group listener.

options
RequestOptionsBase

The optional parameters

get(string, string, string, ServiceCallback<AvailabilityGroupListener>)

function get(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, callback: ServiceCallback<AvailabilityGroupListener>)

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName

string

Name of the SQL virtual machine group.

availabilityGroupListenerName

string

Name of the availability group listener.

listByGroup(string, string, RequestOptionsBase)

Lists all availability group listeners in a SQL virtual machine group.

function listByGroup(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: RequestOptionsBase): Promise<AvailabilityGroupListenersListByGroupResponse>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName

string

Name of the SQL virtual machine group.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AvailabilityGroupListenersListByGroupResponse>

listByGroup(string, string, RequestOptionsBase, ServiceCallback<AvailabilityGroupListenerListResult>)

function listByGroup(resourceGroupName: string, sqlVirtualMachineGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<AvailabilityGroupListenerListResult>)

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName

string

Name of the SQL virtual machine group.

options
RequestOptionsBase

The optional parameters

listByGroup(string, string, ServiceCallback<AvailabilityGroupListenerListResult>)

function listByGroup(resourceGroupName: string, sqlVirtualMachineGroupName: string, callback: ServiceCallback<AvailabilityGroupListenerListResult>)

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName

string

Name of the SQL virtual machine group.

listByGroupNext(string, RequestOptionsBase)

Lists all availability group listeners in a SQL virtual machine group.

function listByGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<AvailabilityGroupListenersListByGroupNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AvailabilityGroupListenersListByGroupNextResponse>

listByGroupNext(string, RequestOptionsBase, ServiceCallback<AvailabilityGroupListenerListResult>)

function listByGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<AvailabilityGroupListenerListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listByGroupNext(string, ServiceCallback<AvailabilityGroupListenerListResult>)

function listByGroupNext(nextPageLink: string, callback: ServiceCallback<AvailabilityGroupListenerListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.