次の方法で共有


MySqlServerSecurityAlertPolicyCollection.GetIfExists メソッド

定義

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}
  • 操作IdServerSecurityAlertPolicies_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlServerSecurityAlertPolicyResource> GetIfExists (Azure.ResourceManager.MySql.Models.MySqlSecurityAlertPolicyName securityAlertPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.MySql.Models.MySqlSecurityAlertPolicyName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlServerSecurityAlertPolicyResource>
override this.GetIfExists : Azure.ResourceManager.MySql.Models.MySqlSecurityAlertPolicyName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlServerSecurityAlertPolicyResource>
Public Overridable Function GetIfExists (securityAlertPolicyName As MySqlSecurityAlertPolicyName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of MySqlServerSecurityAlertPolicyResource)

パラメーター

securityAlertPolicyName
MySqlSecurityAlertPolicyName

セキュリティ アラート ポリシーの名前。

cancellationToken
CancellationToken

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

戻り値

適用対象