共用方式為


SecurityCenterExtensions.GetSubscriptionSecurityApplication Method

Definition

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 Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource> GetSubscriptionSecurityApplication (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string applicationId, System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionSecurityApplication : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityApplicationResource>
<Extension()>
Public Function GetSubscriptionSecurityApplication (subscriptionResource As SubscriptionResource, applicationId As String, Optional cancellationToken As CancellationToken = Nothing) As 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.

Applies to