次の方法で共有


SecurityCenterExtensions.GetSecurityAutomations メソッド

定義

オーバーロード

GetSecurityAutomations(ResourceGroupResource)

ResourceGroupResource 内の SecurityAutomationResources のコレクションを取得します。

GetSecurityAutomations(SubscriptionResource, CancellationToken)

指定したサブスクリプション内のすべてのセキュリティ自動化を一覧表示します。 指定したサブスクリプションのセキュリティ自動化の次のページを取得するには、応答で 'nextLink' プロパティを使用します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Security/automations
  • 操作IdAutomations_List

GetSecurityAutomations(ResourceGroupResource)

ResourceGroupResource 内の SecurityAutomationResources のコレクションを取得します。

public static Azure.ResourceManager.SecurityCenter.SecurityAutomationCollection GetSecurityAutomations (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetSecurityAutomations : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.SecurityCenter.SecurityAutomationCollection
<Extension()>
Public Function GetSecurityAutomations (resourceGroupResource As ResourceGroupResource) As SecurityAutomationCollection

パラメーター

resourceGroupResource
ResourceGroupResource

ResourceGroupResourceメソッドが実行するインスタンス。

戻り値

SecurityAutomationResources のコレクションとその SecurityAutomationResource に対する操作を表す オブジェクト。

適用対象

GetSecurityAutomations(SubscriptionResource, CancellationToken)

指定したサブスクリプション内のすべてのセキュリティ自動化を一覧表示します。 指定したサブスクリプションのセキュリティ自動化の次のページを取得するには、応答で 'nextLink' プロパティを使用します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Security/automations
  • 操作IdAutomations_List
public static Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource> GetSecurityAutomations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSecurityAutomations : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityAutomationResource>
<Extension()>
Public Function GetSecurityAutomations (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityAutomationResource)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行するインスタンス。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の SecurityAutomationResource サービス要求を受け取る可能性がある のコレクション。

適用対象