你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResourcesOperationsExtensions.BeginUpdateAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
更新资源。
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.GenericResource> BeginUpdateAsync (this Microsoft.Azure.Management.ResourceManager.IResourcesOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Microsoft.Azure.Management.ResourceManager.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateAsync : Microsoft.Azure.Management.ResourceManager.IResourcesOperations * string * string * string * string * string * string * Microsoft.Azure.Management.ResourceManager.Models.GenericResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.GenericResource>
<Extension()>
Public Function BeginUpdateAsync (operations As IResourcesOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, apiVersion As String, parameters As GenericResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GenericResource)
参数
- operations
- IResourcesOperations
此扩展方法的操作组。
- resourceGroupName
- String
资源的资源组的名称。 此名称不区分大小写。
- resourceProviderNamespace
- String
资源提供程序的命名空间。
- parentResourcePath
- String
父资源标识。
- resourceType
- String
要更新的资源的资源类型。
- resourceName
- String
要更新的资源的名称。
- apiVersion
- String
要用于操作的 API 版本。
- parameters
- GenericResource
用于更新资源的参数。
- cancellationToken
- CancellationToken
取消标记。