次の方法で共有


RuleOperationsExtensions.CreateOrUpdateAsync メソッド

名前空間: Microsoft.WindowsAzure.Management.Monitoring.Alerts
アセンブリ: Microsoft.WindowsAzure.Management.Monitoring (Microsoft.WindowsAzure.Management.Monitoring.dll)

使用方法

'使用
Dim operations As IRuleOperations
Dim parameters As RuleCreateOrUpdateParameters
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = RuleOperationsExtensions.CreateOrUpdateAsync(operations, parameters)

構文

'宣言
<ExtensionAttribute> _
Public Shared Function CreateOrUpdateAsync ( _
    operations As IRuleOperations, _
    parameters As RuleCreateOrUpdateParameters _
) As Task(Of AzureOperationResponse)
[ExtensionAttribute] 
public static Task<AzureOperationResponse> CreateOrUpdateAsync (
    IRuleOperations operations,
    RuleCreateOrUpdateParameters parameters
)
[ExtensionAttribute] 
public:
static Task<AzureOperationResponse^>^ CreateOrUpdateAsync (
    IRuleOperations^ operations, 
    RuleCreateOrUpdateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static Task<AzureOperationResponse> CreateOrUpdateAsync (
    IRuleOperations operations, 
    RuleCreateOrUpdateParameters parameters
)
ExtensionAttribute 
public static function CreateOrUpdateAsync (
    operations : IRuleOperations, 
    parameters : RuleCreateOrUpdateParameters
) : Task<AzureOperationResponse>

パラメーター

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations.
  • parameters
    Required. The rule to create or update.

戻り値

A standard service response including an HTTP status code and request ID.

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバーはすべてスレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows 7 および Windows Server 2008

ターゲット プラットフォーム

関連項目

リファレンス

RuleOperationsExtensions クラス
RuleOperationsExtensions のメンバー
Microsoft.WindowsAzure.Management.Monitoring.Alerts 名前空間