public interface SqlVirtualMachines
Modifier and Type | Method and Description |
---|---|
SqlVirtualMachine.DefinitionStages.Blank |
define(String name)
Begins definition for a new SqlVirtualMachine resource.
|
void |
delete(String resourceGroupName,
String sqlVirtualMachineName,
com.azure.core.util.Context context)
Deletes a SQL virtual machine.
|
void |
deleteById(String id)
Deletes a SQL virtual machine.
|
void |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes a SQL virtual machine.
|
void |
deleteByResourceGroup(String resourceGroupName,
String sqlVirtualMachineName)
Deletes a SQL virtual machine.
|
SqlVirtualMachine |
getById(String id)
Gets a SQL virtual machine.
|
com.azure.core.http.rest.Response<SqlVirtualMachine> |
getByIdWithResponse(String id,
String expand,
com.azure.core.util.Context context)
Gets a SQL virtual machine.
|
SqlVirtualMachine |
getByResourceGroup(String resourceGroupName,
String sqlVirtualMachineName)
Gets a SQL virtual machine.
|
com.azure.core.http.rest.Response<SqlVirtualMachine> |
getByResourceGroupWithResponse(String resourceGroupName,
String sqlVirtualMachineName,
String expand,
com.azure.core.util.Context context)
Gets a SQL virtual machine.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachine> |
list()
Gets all SQL virtual machines in a subscription.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachine> |
list(com.azure.core.util.Context context)
Gets all SQL virtual machines in a subscription.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachine> |
listByResourceGroup(String resourceGroupName)
Gets all SQL virtual machines in a resource group.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachine> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets all SQL virtual machines in a resource group.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachine> |
listBySqlVmGroup(String resourceGroupName,
String sqlVirtualMachineGroupName)
Gets the list of sql virtual machines in a SQL virtual machine group.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachine> |
listBySqlVmGroup(String resourceGroupName,
String sqlVirtualMachineGroupName,
com.azure.core.util.Context context)
Gets the list of sql virtual machines in a SQL virtual machine group.
|
com.azure.core.http.rest.PagedIterable<SqlVirtualMachine> listBySqlVmGroup(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<SqlVirtualMachine> listBySqlVmGroup(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.http.rest.PagedIterable<SqlVirtualMachine> 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<SqlVirtualMachine> 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.SqlVirtualMachine getByResourceGroup(String resourceGroupName, String sqlVirtualMachineName)
resourceGroupName
- Name of the resource group that contains the resource. You can obtain this value from
the Azure Resource Manager API or the portal.sqlVirtualMachineName
- Name of the SQL virtual machine.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<SqlVirtualMachine> getByResourceGroupWithResponse(String resourceGroupName, String sqlVirtualMachineName, String expand, 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.sqlVirtualMachineName
- Name of the SQL virtual machine.expand
- The child resources to include in the response.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 deleteByResourceGroup(String resourceGroupName, String sqlVirtualMachineName)
resourceGroupName
- Name of the resource group that contains the resource. You can obtain this value from
the Azure Resource Manager API or the portal.sqlVirtualMachineName
- Name of the SQL virtual machine.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 sqlVirtualMachineName, 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.sqlVirtualMachineName
- Name of the SQL virtual machine.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<SqlVirtualMachine> 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<SqlVirtualMachine> 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.SqlVirtualMachine 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<SqlVirtualMachine> getByIdWithResponse(String id, String expand, com.azure.core.util.Context context)
id
- the resource ID.expand
- The child resources to include in the response.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.SqlVirtualMachine.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2020 Microsoft Corporation. All rights reserved.