ManagedInstanceVulnerabilityAssessmentCollection.GetIfExists Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to get details for this resource from the service.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
- Operation Id: ManagedInstanceVulnerabilityAssessments_Get
- Default Api Version: 2020-11-01-preview
- Resource: ManagedInstanceVulnerabilityAssessmentResource
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceVulnerabilityAssessmentResource> GetIfExists (Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName vulnerabilityAssessmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceVulnerabilityAssessmentResource>
override this.GetIfExists : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceVulnerabilityAssessmentResource>
Public Overridable Function GetIfExists (vulnerabilityAssessmentName As VulnerabilityAssessmentName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ManagedInstanceVulnerabilityAssessmentResource)
Parameters
- vulnerabilityAssessmentName
- VulnerabilityAssessmentName
The name of the vulnerability assessment.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET