コード例 #1
0
 /// <summary>
 /// Get a tag rule set for a given monitor resource.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='monitorName'>
 /// Monitor resource name
 /// </param>
 /// <param name='subAccountName'>
 /// Sub Account resource name
 /// </param>
 /// <param name='ruleSetName'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <MonitoringTagRules> GetAsync(this ISubAccountTagRulesOperations operations, string resourceGroupName, string monitorName, string subAccountName, string ruleSetName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, monitorName, subAccountName, ruleSetName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }