Interface IDatabaseVulnerabilityAssessmentsOperations
DatabaseVulnerabilityAssessmentsOperations operations.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
public interface IDatabaseVulnerabilityAssessmentsOperations
Methods
CreateOrUpdateWithHttpMessagesAsync(String, String, String, DatabaseVulnerabilityAssessment, Dictionary<String,List<String>>, CancellationToken)
Creates or updates the database's vulnerability assessment.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
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. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<DatabaseVulnerabilityAssessment>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
DeleteWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)
Removes the database's vulnerability assessment.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync (string resourceGroupName, string serverName, string databaseName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
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. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
ValidationException
Thrown when a required parameter is null |
GetWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)
Gets the database's vulnerability assessment.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment>> GetWithHttpMessagesAsync (string resourceGroupName, string serverName, string databaseName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
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. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<DatabaseVulnerabilityAssessment>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
ListByDatabaseNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)
Lists the vulnerability assessment policies associated with a database.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment>>> ListByDatabaseNextWithHttpMessagesAsync (string nextPageLink, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<IPage<DatabaseVulnerabilityAssessment>>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
ListByDatabaseWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)
Lists the vulnerability assessment policies associated with a database.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment>>> ListByDatabaseWithHttpMessagesAsync (string resourceGroupName, string serverName, string databaseName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
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. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<IPage<DatabaseVulnerabilityAssessment>>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |