AvailabilityGroupListeners class
Class representing a AvailabilityGroupListeners.
Constructors
Availability |
Create a AvailabilityGroupListeners. |
Methods
Constructor Details
AvailabilityGroupListeners(SqlVirtualMachineManagementClientContext)
Create a AvailabilityGroupListeners.
new AvailabilityGroupListeners(client: SqlVirtualMachineManagementClientContext)
Parameters
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
- callback
The callback
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.
- callback
The callback
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
The callback
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.
The callback
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
The callback
listByGroupNext(string, ServiceCallback<AvailabilityGroupListenerListResult>)
function listByGroupNext(nextPageLink: string, callback: ServiceCallback<AvailabilityGroupListenerListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
The callback