From 35a317e637dbe68cc9bfa8e25db643656dcbc025 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Sat, 26 Oct 2019 16:01:19 +0000 Subject: [PATCH] Generated from 0cd1f96acaf7a73b29d816516c3b081b3f711799 use secure link for documentation --- .../azure/mgmt/batch/models/_models.py | 2 +- .../azure/mgmt/batch/models/_models_py3.py | 2 +- .../azure/mgmt/batch/models/_paged_models.py | 10 ---------- .../operations/_application_package_operations.py | 9 +++++++-- 4 files changed, 9 insertions(+), 14 deletions(-) diff --git a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_models.py b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_models.py index 0ebe8628f102..83172b1f814c 100644 --- a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_models.py +++ b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_models.py @@ -2015,7 +2015,7 @@ class Pool(ProxyResource): pool are the same size. For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services - (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). + (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with diff --git a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_models_py3.py b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_models_py3.py index fe783b11ca84..e8d92e45a542 100644 --- a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_models_py3.py +++ b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_models_py3.py @@ -2015,7 +2015,7 @@ class Pool(ProxyResource): pool are the same size. For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services - (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). + (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with diff --git a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_paged_models.py b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_paged_models.py index 1eb94dd020cd..1865025a41f0 100644 --- a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_paged_models.py +++ b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/models/_paged_models.py @@ -25,8 +25,6 @@ class BatchAccountPaged(Paged): def __init__(self, *args, **kwargs): super(BatchAccountPaged, self).__init__(*args, **kwargs) - - class ApplicationPackagePaged(Paged): """ A paging container for iterating over a list of :class:`ApplicationPackage ` object @@ -40,8 +38,6 @@ class ApplicationPackagePaged(Paged): def __init__(self, *args, **kwargs): super(ApplicationPackagePaged, self).__init__(*args, **kwargs) - - class ApplicationPaged(Paged): """ A paging container for iterating over a list of :class:`Application ` object @@ -55,8 +51,6 @@ class ApplicationPaged(Paged): def __init__(self, *args, **kwargs): super(ApplicationPaged, self).__init__(*args, **kwargs) - - class OperationPaged(Paged): """ A paging container for iterating over a list of :class:`Operation ` object @@ -70,8 +64,6 @@ class OperationPaged(Paged): def __init__(self, *args, **kwargs): super(OperationPaged, self).__init__(*args, **kwargs) - - class CertificatePaged(Paged): """ A paging container for iterating over a list of :class:`Certificate ` object @@ -85,8 +77,6 @@ class CertificatePaged(Paged): def __init__(self, *args, **kwargs): super(CertificatePaged, self).__init__(*args, **kwargs) - - class PoolPaged(Paged): """ A paging container for iterating over a list of :class:`Pool ` object diff --git a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/operations/_application_package_operations.py b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/operations/_application_package_operations.py index 6e125e1993cf..8b0dbba3af85 100644 --- a/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/operations/_application_package_operations.py +++ b/sdk/batch/azure-mgmt-batch/azure/mgmt/batch/operations/_application_package_operations.py @@ -41,7 +41,9 @@ def __init__(self, client, config, serializer, deserializer): def activate( self, resource_group_name, account_name, application_name, version_name, format, custom_headers=None, raw=False, **operation_config): - """Activates the specified application package. + """Activates the specified application package. This should be done after + the `ApplicationPackage` was created and uploaded. This needs to be + done before an `ApplicationPackage` can be used on Pools or Tasks. :param resource_group_name: The name of the resource group that contains the Batch account. @@ -118,7 +120,10 @@ def activate( def create( self, resource_group_name, account_name, application_name, version_name, custom_headers=None, raw=False, **operation_config): - """Creates an application package record. + """Creates an application package record. The record contains the SAS + where the package should be uploaded to. Once it is uploaded the + `ApplicationPackage` needs to be activated using + `ApplicationPackageActive` before it can be used. :param resource_group_name: The name of the resource group that contains the Batch account.