你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PricingsOperationsExtensions.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates a provided Microsoft Defender for Cloud pricing configuration in the subscription.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.Pricing> UpdateAsync (this Microsoft.Azure.Management.Security.IPricingsOperations operations, string pricingName, Microsoft.Azure.Management.Security.Models.Pricing pricing, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Security.IPricingsOperations * string * Microsoft.Azure.Management.Security.Models.Pricing * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.Pricing>
<Extension()>
Public Function UpdateAsync (operations As IPricingsOperations, pricingName As String, pricing As Pricing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Pricing)
Parameters
- operations
- IPricingsOperations
The operations group for this extension method.
- pricingName
- String
name of the pricing configuration
- pricing
- Pricing
- cancellationToken
- CancellationToken
The cancellation token.