Class DatabaseVulnerabilityAssessmentsOperationsExtensions
Extension methods for DatabaseVulnerabilityAssessmentsOperations.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
public static class DatabaseVulnerabilityAssessmentsOperationsExtensions
Methods
CreateOrUpdate(IDatabaseVulnerabilityAssessmentsOperations, String, String, String, DatabaseVulnerabilityAssessment)
Creates or updates the database's vulnerability assessment.
Declaration
public static Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment CreateOrUpdate (this Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment parameters);
Parameters
|
IDatabaseVulnerabilityAssessmentsOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database for which the vulnerability assessment is defined. |
|
DatabaseVulnerabilityAssessment
parameters
The requested resource. |
Returns
|
DatabaseVulnerabilityAssessment
|
CreateOrUpdateAsync(IDatabaseVulnerabilityAssessmentsOperations, String, String, String, DatabaseVulnerabilityAssessment, CancellationToken)
Creates or updates the database's vulnerability assessment.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment parameters, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
IDatabaseVulnerabilityAssessmentsOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database for which the vulnerability assessment is defined. |
|
DatabaseVulnerabilityAssessment
parameters
The requested resource. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<DatabaseVulnerabilityAssessment>
|
Delete(IDatabaseVulnerabilityAssessmentsOperations, String, String, String)
Removes the database's vulnerability assessment.
Declaration
public static void Delete (this Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations operations, string resourceGroupName, string serverName, string databaseName);
Parameters
|
IDatabaseVulnerabilityAssessmentsOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database for which the vulnerability assessment is defined. |
DeleteAsync(IDatabaseVulnerabilityAssessmentsOperations, String, String, String, CancellationToken)
Removes the database's vulnerability assessment.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations operations, string resourceGroupName, string serverName, string databaseName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
IDatabaseVulnerabilityAssessmentsOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database for which the vulnerability assessment is defined. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task
|
Get(IDatabaseVulnerabilityAssessmentsOperations, String, String, String)
Gets the database's vulnerability assessment.
Declaration
public static Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment Get (this Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations operations, string resourceGroupName, string serverName, string databaseName);
Parameters
|
IDatabaseVulnerabilityAssessmentsOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database for which the vulnerability assessment is defined. |
Returns
|
DatabaseVulnerabilityAssessment
|
GetAsync(IDatabaseVulnerabilityAssessmentsOperations, String, String, String, CancellationToken)
Gets the database's vulnerability assessment.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment> GetAsync (this Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations operations, string resourceGroupName, string serverName, string databaseName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
IDatabaseVulnerabilityAssessmentsOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database for which the vulnerability assessment is defined. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<DatabaseVulnerabilityAssessment>
|
ListByDatabase(IDatabaseVulnerabilityAssessmentsOperations, String, String, String)
Lists the vulnerability assessment policies associated with a database.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment> ListByDatabase (this Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations operations, string resourceGroupName, string serverName, string databaseName);
Parameters
|
IDatabaseVulnerabilityAssessmentsOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database for which the vulnerability assessment policies are defined. |
Returns
|
IPage<DatabaseVulnerabilityAssessment>
|
ListByDatabaseAsync(IDatabaseVulnerabilityAssessmentsOperations, String, String, String, CancellationToken)
Lists the vulnerability assessment policies associated with a database.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment>> ListByDatabaseAsync (this Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations operations, string resourceGroupName, string serverName, string databaseName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
IDatabaseVulnerabilityAssessmentsOperations
operations
The operations group for this extension method. |
|
String
resourceGroupName
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
|
String
serverName
The name of the server. |
|
String
databaseName
The name of the database for which the vulnerability assessment policies are defined. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IPage<DatabaseVulnerabilityAssessment>>
|
ListByDatabaseNext(IDatabaseVulnerabilityAssessmentsOperations, String)
Lists the vulnerability assessment policies associated with a database.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment> ListByDatabaseNext (this Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations operations, string nextPageLink);
Parameters
|
IDatabaseVulnerabilityAssessmentsOperations
operations
The operations group for this extension method. |
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
Returns
|
IPage<DatabaseVulnerabilityAssessment>
|
ListByDatabaseNextAsync(IDatabaseVulnerabilityAssessmentsOperations, String, CancellationToken)
Lists the vulnerability assessment policies associated with a database.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment>> ListByDatabaseNextAsync (this Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
IDatabaseVulnerabilityAssessmentsOperations
operations
The operations group for this extension method. |
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<IPage<DatabaseVulnerabilityAssessment>>
|