你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ApplicationPackageOperationsExtensions.Activate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
激活指定的应用程序包。 这应在创建并上传 后 ApplicationPackage
完成。 必须先完成此操作,然后 ApplicationPackage
才能在池或任务上使用 。
public static Microsoft.Azure.Management.Batch.Models.ApplicationPackage Activate (this Microsoft.Azure.Management.Batch.IApplicationPackageOperations operations, string resourceGroupName, string accountName, string applicationName, string versionName, string format);
static member Activate : Microsoft.Azure.Management.Batch.IApplicationPackageOperations * string * string * string * string * string -> Microsoft.Azure.Management.Batch.Models.ApplicationPackage
<Extension()>
Public Function Activate (operations As IApplicationPackageOperations, resourceGroupName As String, accountName As String, applicationName As String, versionName As String, format As String) As ApplicationPackage
参数
- operations
- IApplicationPackageOperations
此扩展方法的操作组。
- resourceGroupName
- String
包含 Batch 帐户的资源组的名称。
- accountName
- String
Batch 帐户的名称。
- applicationName
- String
应用程序的名称。 这在帐户中必须是唯一的。
- versionName
- String
应用程序的版本。
- format
- String
应用程序包二进制文件的格式。