public interface AvailabilityGroupListenersClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AvailabilityGroupListenerInner>,AvailabilityGroupListenerInner> |
beginCreateOrUpdate(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName,
AvailabilityGroupListenerInner parameters)
Creates or updates an availability group listener.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AvailabilityGroupListenerInner>,AvailabilityGroupListenerInner> |
beginCreateOrUpdate(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName,
AvailabilityGroupListenerInner parameters,
com.azure.core.util.Context context)
Creates or updates an availability group listener.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName)
Deletes an availability group listener.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName,
com.azure.core.util.Context context)
Deletes an availability group listener.
|
AvailabilityGroupListenerInner |
createOrUpdate(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName,
AvailabilityGroupListenerInner parameters)
Creates or updates an availability group listener.
|
AvailabilityGroupListenerInner |
createOrUpdate(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName,
AvailabilityGroupListenerInner parameters,
com.azure.core.util.Context context)
Creates or updates an availability group listener.
|
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.
|
AvailabilityGroupListenerInner |
get(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName)
Gets an availability group listener.
|
com.azure.core.http.rest.Response<AvailabilityGroupListenerInner> |
getWithResponse(String resourceGroupName,
String sqlVirtualMachineGroupName,
String availabilityGroupListenerName,
com.azure.core.util.Context context)
Gets an availability group listener.
|
com.azure.core.http.rest.PagedIterable<AvailabilityGroupListenerInner> |
listByGroup(String resourceGroupName,
String sqlVirtualMachineGroupName)
Lists all availability group listeners in a SQL virtual machine group.
|
com.azure.core.http.rest.PagedIterable<AvailabilityGroupListenerInner> |
listByGroup(String resourceGroupName,
String sqlVirtualMachineGroupName,
com.azure.core.util.Context context)
Lists all availability group listeners in a SQL virtual machine group.
|
AvailabilityGroupListenerInner 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<AvailabilityGroupListenerInner> 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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AvailabilityGroupListenerInner>,AvailabilityGroupListenerInner> beginCreateOrUpdate(String resourceGroupName, String sqlVirtualMachineGroupName, String availabilityGroupListenerName, AvailabilityGroupListenerInner parameters)
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.parameters
- 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AvailabilityGroupListenerInner>,AvailabilityGroupListenerInner> beginCreateOrUpdate(String resourceGroupName, String sqlVirtualMachineGroupName, String availabilityGroupListenerName, AvailabilityGroupListenerInner parameters, 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.parameters
- 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.AvailabilityGroupListenerInner createOrUpdate(String resourceGroupName, String sqlVirtualMachineGroupName, String availabilityGroupListenerName, AvailabilityGroupListenerInner parameters)
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.parameters
- 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.AvailabilityGroupListenerInner createOrUpdate(String resourceGroupName, String sqlVirtualMachineGroupName, String availabilityGroupListenerName, AvailabilityGroupListenerInner parameters, 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.parameters
- 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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<AvailabilityGroupListenerInner> 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<AvailabilityGroupListenerInner> 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.Copyright © 2020 Microsoft Corporation. All rights reserved.