public interface AvailabilityGroupListeners
Modifier and Type | Method and Description |
---|---|
AvailabilityGroupListener.DefinitionStages.Blank |
define(String name)
Begins definition for a new AvailabilityGroupListener resource.
|
void |
delete(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName)
Deletes an availability group listener.
|
void |
delete(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName,
com.azure.core.util.Context context)
Deletes an availability group listener.
|
void |
deleteById(String id)
Deletes an availability group listener.
|
void |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes an availability group listener.
|
AvailabilityGroupListener |
get(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName)
Gets an availability group listener.
|
AvailabilityGroupListener |
getById(String id)
Gets an availability group listener.
|
com.azure.core.http.rest.Response<AvailabilityGroupListener> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Gets an availability group listener.
|
com.azure.core.http.rest.Response<AvailabilityGroupListener> |
getWithResponse(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName,
com.azure.core.util.Context context)
Gets an availability group listener.
|
com.azure.core.http.rest.PagedIterable<AvailabilityGroupListener> |
listByGroup(String resourceGroupName,
String sqlVirtualMachineGroupName)
Lists all availability group listeners in a SQL virtual machine group.
|
com.azure.core.http.rest.PagedIterable<AvailabilityGroupListener> |
listByGroup(String resourceGroupName,
String sqlVirtualMachineGroupName,
com.azure.core.util.Context context)
Lists all availability group listeners in a SQL virtual machine group.
|
AvailabilityGroupListener get(String resourceGroupName, String sqlVirtualMachineGroupName, String availabilityGroupListenerName)
resourceGroupName
- Name of the resource group that contains the resource. You can obtain this value from
the Azure Resource Manager API or the portal.sqlVirtualMachineGroupName
- Name of the SQL virtual machine group.availabilityGroupListenerName
- Name of the availability group listener.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.com.azure.core.http.rest.Response<AvailabilityGroupListener> getWithResponse(String resourceGroupName, String sqlVirtualMachineGroupName, String availabilityGroupListenerName, com.azure.core.util.Context context)
resourceGroupName
- Name of the resource group that contains the resource. You can obtain this value from
the Azure Resource Manager API or the portal.sqlVirtualMachineGroupName
- Name of the SQL virtual machine group.availabilityGroupListenerName
- Name of the availability group listener.context
- The context to associate with this operation.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.void delete(String resourceGroupName, String sqlVirtualMachineGroupName, String availabilityGroupListenerName)
resourceGroupName
- Name of the resource group that contains the resource. You can obtain this value from
the Azure Resource Manager API or the portal.sqlVirtualMachineGroupName
- Name of the SQL virtual machine group.availabilityGroupListenerName
- Name of the availability group listener.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.void delete(String resourceGroupName, String sqlVirtualMachineGroupName, String availabilityGroupListenerName, com.azure.core.util.Context context)
resourceGroupName
- Name of the resource group that contains the resource. You can obtain this value from
the Azure Resource Manager API or the portal.sqlVirtualMachineGroupName
- Name of the SQL virtual machine group.availabilityGroupListenerName
- Name of the availability group listener.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<AvailabilityGroupListener> listByGroup(String resourceGroupName, String sqlVirtualMachineGroupName)
resourceGroupName
- Name of the resource group that contains the resource. You can obtain this value from
the Azure Resource Manager API or the portal.sqlVirtualMachineGroupName
- Name of the SQL virtual machine group.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.com.azure.core.http.rest.PagedIterable<AvailabilityGroupListener> listByGroup(String resourceGroupName, String sqlVirtualMachineGroupName, com.azure.core.util.Context context)
resourceGroupName
- Name of the resource group that contains the resource. You can obtain this value from
the Azure Resource Manager API or the portal.sqlVirtualMachineGroupName
- Name of the SQL virtual machine group.context
- The context to associate with this operation.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.AvailabilityGroupListener getById(String id)
id
- the resource ID.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.com.azure.core.http.rest.Response<AvailabilityGroupListener> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.void deleteById(String id)
id
- the resource ID.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.void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.AvailabilityGroupListener.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2020 Microsoft Corporation. All rights reserved.