SecurityCenterExtensions.GetSubscriptionSecurityApplicationAsync 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.
Get a specific application for the requested scope by applicationId
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}
- Operation Id: Application_Get
- Default Api Version: 2022-07-01-preview
- Resource: SubscriptionSecurityApplicationResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource>> GetSubscriptionSecurityApplicationAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string applicationId, System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionSecurityApplicationAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource>>
<Extension()>
Public Function GetSubscriptionSecurityApplicationAsync (subscriptionResource As SubscriptionResource, applicationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionSecurityApplicationResource))
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- applicationId
- String
The security Application key - unique key for the standard application.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource
or applicationId
is null.
applicationId
is an empty string, and was expected to be non-empty.