public interface SqlVirtualMachineGroupsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlVirtualMachineGroupInner>,SqlVirtualMachineGroupInner> |
beginCreateOrUpdate(String resourceGroupName,
String sqlVirtualMachineGroupName,
SqlVirtualMachineGroupInner parameters)
Creates or updates a SQL virtual machine group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlVirtualMachineGroupInner>,SqlVirtualMachineGroupInner> |
beginCreateOrUpdate(String resourceGroupName,
String sqlVirtualMachineGroupName,
SqlVirtualMachineGroupInner parameters,
com.azure.core.util.Context context)
Creates or updates a SQL virtual machine group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String sqlVirtualMachineGroupName)
Deletes a SQL virtual machine group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String sqlVirtualMachineGroupName,
com.azure.core.util.Context context)
Deletes a SQL virtual machine group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlVirtualMachineGroupInner>,SqlVirtualMachineGroupInner> |
beginUpdate(String resourceGroupName,
String sqlVirtualMachineGroupName,
SqlVirtualMachineGroupUpdate parameters)
Updates SQL virtual machine group tags.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlVirtualMachineGroupInner>,SqlVirtualMachineGroupInner> |
beginUpdate(String resourceGroupName,
String sqlVirtualMachineGroupName,
SqlVirtualMachineGroupUpdate parameters,
com.azure.core.util.Context context)
Updates SQL virtual machine group tags.
|
SqlVirtualMachineGroupInner |
createOrUpdate(String resourceGroupName,
String sqlVirtualMachineGroupName,
SqlVirtualMachineGroupInner parameters)
Creates or updates a SQL virtual machine group.
|
SqlVirtualMachineGroupInner |
createOrUpdate(String resourceGroupName,
String sqlVirtualMachineGroupName,
SqlVirtualMachineGroupInner parameters,
com.azure.core.util.Context context)
Creates or updates a SQL virtual machine group.
|
void |
delete(String resourceGroupName,
String sqlVirtualMachineGroupName)
Deletes a SQL virtual machine group.
|
void |
delete(String resourceGroupName,
String sqlVirtualMachineGroupName,
com.azure.core.util.Context context)
Deletes a SQL virtual machine group.
|
SqlVirtualMachineGroupInner |
getByResourceGroup(String resourceGroupName,
String sqlVirtualMachineGroupName)
Gets a SQL virtual machine group.
|
com.azure.core.http.rest.Response<SqlVirtualMachineGroupInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String sqlVirtualMachineGroupName,
com.azure.core.util.Context context)
Gets a SQL virtual machine group.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachineGroupInner> |
list()
Gets all SQL virtual machine groups in a subscription.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachineGroupInner> |
list(com.azure.core.util.Context context)
Gets all SQL virtual machine groups in a subscription.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachineGroupInner> |
listByResourceGroup(String resourceGroupName)
Gets all SQL virtual machine groups in a resource group.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachineGroupInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets all SQL virtual machine groups in a resource group.
|
SqlVirtualMachineGroupInner |
update(String resourceGroupName,
String sqlVirtualMachineGroupName,
SqlVirtualMachineGroupUpdate parameters)
Updates SQL virtual machine group tags.
|
SqlVirtualMachineGroupInner |
update(String resourceGroupName,
String sqlVirtualMachineGroupName,
SqlVirtualMachineGroupUpdate parameters,
com.azure.core.util.Context context)
Updates SQL virtual machine group tags.
|
SqlVirtualMachineGroupInner getByResourceGroup(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.Response<SqlVirtualMachineGroupInner> getByResourceGroupWithResponse(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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlVirtualMachineGroupInner>,SqlVirtualMachineGroupInner> beginCreateOrUpdate(String resourceGroupName, String sqlVirtualMachineGroupName, SqlVirtualMachineGroupInner 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.parameters
- 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlVirtualMachineGroupInner>,SqlVirtualMachineGroupInner> beginCreateOrUpdate(String resourceGroupName, String sqlVirtualMachineGroupName, SqlVirtualMachineGroupInner 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.parameters
- 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.SqlVirtualMachineGroupInner createOrUpdate(String resourceGroupName, String sqlVirtualMachineGroupName, SqlVirtualMachineGroupInner 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.parameters
- 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.SqlVirtualMachineGroupInner createOrUpdate(String resourceGroupName, String sqlVirtualMachineGroupName, SqlVirtualMachineGroupInner 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.parameters
- 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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.void delete(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.void delete(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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlVirtualMachineGroupInner>,SqlVirtualMachineGroupInner> beginUpdate(String resourceGroupName, String sqlVirtualMachineGroupName, SqlVirtualMachineGroupUpdate 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.parameters
- 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlVirtualMachineGroupInner>,SqlVirtualMachineGroupInner> beginUpdate(String resourceGroupName, String sqlVirtualMachineGroupName, SqlVirtualMachineGroupUpdate 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.parameters
- 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.SqlVirtualMachineGroupInner update(String resourceGroupName, String sqlVirtualMachineGroupName, SqlVirtualMachineGroupUpdate 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.parameters
- 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.SqlVirtualMachineGroupInner update(String resourceGroupName, String sqlVirtualMachineGroupName, SqlVirtualMachineGroupUpdate 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.parameters
- 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.com.azure.core.http.rest.PagedIterable<SqlVirtualMachineGroupInner> listByResourceGroup(String resourceGroupName)
resourceGroupName
- Name of the resource group that contains the resource. You can obtain this value from
the Azure Resource Manager API or the portal.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<SqlVirtualMachineGroupInner> listByResourceGroup(String resourceGroupName, 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.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<SqlVirtualMachineGroupInner> list()
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<SqlVirtualMachineGroupInner> list(com.azure.core.util.Context context)
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.