SqlPoolGeoBackupPolicies interface
Interface representing a SqlPoolGeoBackupPolicies.
Methods
create |
Updates a SQL Pool geo backup policy. |
get(string, string, string, string, Sql |
Get the specified SQL pool geo backup policy |
list(string, string, string, Sql |
Get list of SQL pool geo backup policies |
Method Details
createOrUpdate(string, string, string, string, GeoBackupPolicy, SqlPoolGeoBackupPoliciesCreateOrUpdateOptionalParams)
Updates a SQL Pool geo backup policy.
function createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, geoBackupPolicyName: string, parameters: GeoBackupPolicy, options?: SqlPoolGeoBackupPoliciesCreateOrUpdateOptionalParams): Promise<GeoBackupPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sqlPoolName
-
string
SQL pool name
- geoBackupPolicyName
-
string
The name of the geo backup policy.
- parameters
- GeoBackupPolicy
The required parameters for creating or updating the geo backup policy.
The options parameters.
Returns
Promise<GeoBackupPolicy>
get(string, string, string, string, SqlPoolGeoBackupPoliciesGetOptionalParams)
Get the specified SQL pool geo backup policy
function get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, geoBackupPolicyName: string, options?: SqlPoolGeoBackupPoliciesGetOptionalParams): Promise<GeoBackupPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sqlPoolName
-
string
SQL pool name
- geoBackupPolicyName
-
string
The name of the geo backup policy.
The options parameters.
Returns
Promise<GeoBackupPolicy>
list(string, string, string, SqlPoolGeoBackupPoliciesListOptionalParams)
Get list of SQL pool geo backup policies
function list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolGeoBackupPoliciesListOptionalParams): PagedAsyncIterableIterator<GeoBackupPolicy, GeoBackupPolicy[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sqlPoolName
-
string
SQL pool name
The options parameters.