ManagedDatabaseAdvancedThreatProtectionSettings interface
Interface representing a ManagedDatabaseAdvancedThreatProtectionSettings.
Methods
create |
Creates or updates a managed database's Advanced Threat Protection state. |
get(string, string, string, string, Managed |
Gets a managed database's Advanced Threat Protection state. |
list |
Gets a list of managed database's Advanced Threat Protection states. |
Method Details
createOrUpdate(string, string, string, string, ManagedDatabaseAdvancedThreatProtection, ManagedDatabaseAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams)
Creates or updates a managed database's Advanced Threat Protection state.
function createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, advancedThreatProtectionName: string, parameters: ManagedDatabaseAdvancedThreatProtection, options?: ManagedDatabaseAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<ManagedDatabaseAdvancedThreatProtection>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- databaseName
-
string
The name of the database.
- advancedThreatProtectionName
-
string
The name of the Advanced Threat Protection state.
- parameters
- ManagedDatabaseAdvancedThreatProtection
The managed database Advanced Threat Protection state.
The options parameters.
Returns
get(string, string, string, string, ManagedDatabaseAdvancedThreatProtectionSettingsGetOptionalParams)
Gets a managed database's Advanced Threat Protection state.
function get(resourceGroupName: string, managedInstanceName: string, databaseName: string, advancedThreatProtectionName: string, options?: ManagedDatabaseAdvancedThreatProtectionSettingsGetOptionalParams): Promise<ManagedDatabaseAdvancedThreatProtection>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- databaseName
-
string
The name of the database.
- advancedThreatProtectionName
-
string
The name of the Advanced Threat Protection state.
The options parameters.
Returns
listByDatabase(string, string, string, ManagedDatabaseAdvancedThreatProtectionSettingsListByDatabaseOptionalParams)
Gets a list of managed database's Advanced Threat Protection states.
function listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedDatabaseAdvancedThreatProtectionSettingsListByDatabaseOptionalParams): PagedAsyncIterableIterator<ManagedDatabaseAdvancedThreatProtection, ManagedDatabaseAdvancedThreatProtection[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- databaseName
-
string
The name of the database.
The options parameters.