SecurityCenterExtensions.GetRegulatoryComplianceStandardAsync 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.
Supported regulatory compliance details state for selected standard
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}
- Operation Id: RegulatoryComplianceStandards_Get
- Default Api Version: 2019-01-01-preview
- Resource: RegulatoryComplianceStandardResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.RegulatoryComplianceStandardResource>> GetRegulatoryComplianceStandardAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string regulatoryComplianceStandardName, System.Threading.CancellationToken cancellationToken = default);
static member GetRegulatoryComplianceStandardAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.RegulatoryComplianceStandardResource>>
<Extension()>
Public Function GetRegulatoryComplianceStandardAsync (subscriptionResource As SubscriptionResource, regulatoryComplianceStandardName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RegulatoryComplianceStandardResource))
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- regulatoryComplianceStandardName
- String
Name of the regulatory compliance standard object.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource
or regulatoryComplianceStandardName
is null.
regulatoryComplianceStandardName
is an empty string, and was expected to be non-empty.