Skip to content

Commit

Permalink
Generated from ca7dadf
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure SDK for Python bot committed Dec 15, 2017
1 parent 27624f4 commit 9ef42d9
Show file tree
Hide file tree
Showing 59 changed files with 327 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(

super(BatchManagementClientConfiguration, self).__init__(base_url)

self.add_user_agent('batchmanagementclient/{}'.format(VERSION))
self.add_user_agent('azure-mgmt-batch/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')

self.credentials = credentials
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ class ActivateApplicationPackageParameters(Model):
}

def __init__(self, format):
super(ActivateApplicationPackageParameters, self).__init__()
self.format = format
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Application(Model):
}

def __init__(self, id=None, display_name=None, packages=None, allow_updates=None, default_version=None):
super(Application, self).__init__()
self.id = id
self.display_name = display_name
self.packages = packages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ class ApplicationCreateParameters(Model):
}

def __init__(self, allow_updates=None, display_name=None):
super(ApplicationCreateParameters, self).__init__()
self.allow_updates = allow_updates
self.display_name = display_name
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class ApplicationPackage(Model):
}

def __init__(self):
super(ApplicationPackage, self).__init__()
self.id = None
self.version = None
self.state = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ class ApplicationPackageReference(Model):
}

def __init__(self, id, version=None):
super(ApplicationPackageReference, self).__init__()
self.id = id
self.version = version
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class ApplicationUpdateParameters(Model):
}

def __init__(self, allow_updates=None, default_version=None, display_name=None):
super(ApplicationUpdateParameters, self).__init__()
self.allow_updates = allow_updates
self.default_version = default_version
self.display_name = display_name
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/auto_scale_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class AutoScaleRun(Model):
}

def __init__(self, evaluation_time, results=None, error=None):
super(AutoScaleRun, self).__init__()
self.evaluation_time = evaluation_time
self.results = results
self.error = error
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class AutoScaleRunError(Model):
}

def __init__(self, code, message, details=None):
super(AutoScaleRunError, self).__init__()
self.code = code
self.message = message
self.details = details
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ class AutoScaleSettings(Model):
}

def __init__(self, formula, evaluation_interval=None):
super(AutoScaleSettings, self).__init__()
self.formula = formula
self.evaluation_interval = evaluation_interval
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ class AutoStorageBaseProperties(Model):
}

def __init__(self, storage_account_id):
super(AutoStorageBaseProperties, self).__init__()
self.storage_account_id = storage_account_id
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ class AutoUserSpecification(Model):
}

def __init__(self, scope=None, elevation_level=None):
super(AutoUserSpecification, self).__init__()
self.scope = scope
self.elevation_level = elevation_level
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class BatchAccountCreateParameters(Model):
}

def __init__(self, location, tags=None, auto_storage=None, pool_allocation_mode=None, key_vault_reference=None):
super(BatchAccountCreateParameters, self).__init__()
self.location = location
self.tags = tags
self.auto_storage = auto_storage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class BatchAccountKeys(Model):
}

def __init__(self):
super(BatchAccountKeys, self).__init__()
self.account_name = None
self.primary = None
self.secondary = None
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ class BatchAccountRegenerateKeyParameters(Model):
}

def __init__(self, key_name):
super(BatchAccountRegenerateKeyParameters, self).__init__()
self.key_name = key_name
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class BatchAccountUpdateParameters(Model):
}

def __init__(self, tags=None, auto_storage=None):
super(BatchAccountUpdateParameters, self).__init__()
self.tags = tags
self.auto_storage = auto_storage
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ class BatchLocationQuota(Model):
}

def __init__(self):
super(BatchLocationQuota, self).__init__()
self.account_quota = None
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class CertificateBaseProperties(Model):
}

def __init__(self, thumbprint_algorithm=None, thumbprint=None, format=None):
super(CertificateBaseProperties, self).__init__()
self.thumbprint_algorithm = thumbprint_algorithm
self.thumbprint = thumbprint
self.format = format
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class CertificateReference(Model):
}

def __init__(self, id, store_location=None, store_name=None, visibility=None):
super(CertificateReference, self).__init__()
self.id = id
self.store_location = store_location
self.store_name = store_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ class CheckNameAvailabilityParameters(Model):
type = "Microsoft.Batch/batchAccounts"

def __init__(self, name):
super(CheckNameAvailabilityParameters, self).__init__()
self.name = name
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class CheckNameAvailabilityResult(Model):
}

def __init__(self):
super(CheckNameAvailabilityResult, self).__init__()
self.name_available = None
self.reason = None
self.message = None
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class CloudServiceConfiguration(Model):
}

def __init__(self, os_family, target_os_version=None, current_os_version=None):
super(CloudServiceConfiguration, self).__init__()
self.os_family = os_family
self.target_os_version = target_os_version
self.current_os_version = current_os_version
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/data_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class DataDisk(Model):
}

def __init__(self, lun, disk_size_gb, caching=None, storage_account_type=None):
super(DataDisk, self).__init__()
self.lun = lun
self.caching = caching
self.disk_size_gb = disk_size_gb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class DeleteCertificateError(Model):
}

def __init__(self, code, message, target=None, details=None):
super(DeleteCertificateError, self).__init__()
self.code = code
self.message = message
self.target = target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ class DeploymentConfiguration(Model):
}

def __init__(self, cloud_service_configuration=None, virtual_machine_configuration=None):
super(DeploymentConfiguration, self).__init__()
self.cloud_service_configuration = cloud_service_configuration
self.virtual_machine_configuration = virtual_machine_configuration
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ class EnvironmentSetting(Model):
}

def __init__(self, name, value=None):
super(EnvironmentSetting, self).__init__()
self.name = name
self.value = value
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class FixedScaleSettings(Model):
"""Fixed scale settings for the pool.
:param resize_timeout: The timeout for allocation of compute nodes to the
pool. The default value is 15 minutes. The minimum value is 5 minutes. If
pool. The default value is 15 minutes. Timeout values use ISO 8601 format.
For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If
you specify a value less than 5 minutes, the Batch service rejects the
request with an error; if you are calling the REST API directly, the HTTP
status code is 400 (Bad Request).
Expand Down Expand Up @@ -45,6 +46,7 @@ class FixedScaleSettings(Model):
}

def __init__(self, resize_timeout=None, target_dedicated_nodes=None, target_low_priority_nodes=None, node_deallocation_option=None):
super(FixedScaleSettings, self).__init__()
self.resize_timeout = resize_timeout
self.target_dedicated_nodes = target_dedicated_nodes
self.target_low_priority_nodes = target_low_priority_nodes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class ImageReference(Model):
}

def __init__(self, publisher=None, offer=None, sku=None, version=None, id=None):
super(ImageReference, self).__init__()
self.publisher = publisher
self.offer = offer
self.sku = sku
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class InboundNatPool(Model):
}

def __init__(self, name, protocol, backend_port, frontend_port_range_start, frontend_port_range_end, network_security_group_rules=None):
super(InboundNatPool, self).__init__()
self.name = name
self.protocol = protocol
self.backend_port = backend_port
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ class KeyVaultReference(Model):
}

def __init__(self, id, url):
super(KeyVaultReference, self).__init__()
self.id = id
self.url = url
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class LinuxUserConfiguration(Model):
}

def __init__(self, uid=None, gid=None, ssh_private_key=None):
super(LinuxUserConfiguration, self).__init__()
self.uid = uid
self.gid = gid
self.ssh_private_key = ssh_private_key
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/metadata_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ class MetadataItem(Model):
}

def __init__(self, name, value):
super(MetadataItem, self).__init__()
self.name = name
self.value = value
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ class NetworkConfiguration(Model):
}

def __init__(self, subnet_id=None, endpoint_configuration=None):
super(NetworkConfiguration, self).__init__()
self.subnet_id = subnet_id
self.endpoint_configuration = endpoint_configuration
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class NetworkSecurityGroupRule(Model):
}

def __init__(self, priority, access, source_address_prefix):
super(NetworkSecurityGroupRule, self).__init__()
self.priority = priority
self.access = access
self.source_address_prefix = source_address_prefix
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class Operation(Model):
}

def __init__(self, name=None, display=None, origin=None, properties=None):
super(Operation, self).__init__()
self.name = name
self.display = display
self.origin = origin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class OperationDisplay(Model):
}

def __init__(self, provider=None, operation=None, resource=None, description=None):
super(OperationDisplay, self).__init__()
self.provider = provider
self.operation = operation
self.resource = resource
Expand Down
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/os_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ class OSDisk(Model):
}

def __init__(self, caching=None):
super(OSDisk, self).__init__()
self.caching = caching
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ class PoolEndpointConfiguration(Model):
}

def __init__(self, inbound_nat_pools):
super(PoolEndpointConfiguration, self).__init__()
self.inbound_nat_pools = inbound_nat_pools
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/proxy_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class ProxyResource(Model):
}

def __init__(self):
super(ProxyResource, self).__init__()
self.id = None
self.name = None
self.type = None
Expand Down
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/resize_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class ResizeError(Model):
}

def __init__(self, code, message, details=None):
super(ResizeError, self).__init__()
self.code = code
self.message = message
self.details = details
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class ResizeOperationStatus(Model):
}

def __init__(self, target_dedicated_nodes=None, target_low_priority_nodes=None, resize_timeout=None, node_deallocation_option=None, start_time=None, errors=None):
super(ResizeOperationStatus, self).__init__()
self.target_dedicated_nodes = target_dedicated_nodes
self.target_low_priority_nodes = target_low_priority_nodes
self.resize_timeout = resize_timeout
Expand Down
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class Resource(Model):
}

def __init__(self):
super(Resource, self).__init__()
self.id = None
self.name = None
self.type = None
Expand Down
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/resource_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class ResourceFile(Model):
}

def __init__(self, blob_source, file_path, file_mode=None):
super(ResourceFile, self).__init__()
self.blob_source = blob_source
self.file_path = file_path
self.file_mode = file_mode
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/scale_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ class ScaleSettings(Model):
}

def __init__(self, fixed_scale=None, auto_scale=None):
super(ScaleSettings, self).__init__()
self.fixed_scale = fixed_scale
self.auto_scale = auto_scale
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/start_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class StartTask(Model):
}

def __init__(self, command_line=None, resource_files=None, environment_settings=None, user_identity=None, max_task_retry_count=None, wait_for_success=None):
super(StartTask, self).__init__()
self.command_line = command_line
self.resource_files = resource_files
self.environment_settings = environment_settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ class TaskSchedulingPolicy(Model):
}

def __init__(self, node_fill_type):
super(TaskSchedulingPolicy, self).__init__()
self.node_fill_type = node_fill_type
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/user_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class UserAccount(Model):
}

def __init__(self, name, password, elevation_level=None, linux_user_configuration=None):
super(UserAccount, self).__init__()
self.name = name
self.password = password
self.elevation_level = elevation_level
Expand Down
1 change: 1 addition & 0 deletions azure-mgmt-batch/azure/mgmt/batch/models/user_identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ class UserIdentity(Model):
}

def __init__(self, user_name=None, auto_user=None):
super(UserIdentity, self).__init__()
self.user_name = user_name
self.auto_user = auto_user
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class VirtualMachineConfiguration(Model):
}

def __init__(self, image_reference, node_agent_sku_id, os_disk=None, windows_configuration=None, data_disks=None, license_type=None):
super(VirtualMachineConfiguration, self).__init__()
self.image_reference = image_reference
self.os_disk = os_disk
self.node_agent_sku_id = node_agent_sku_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ class WindowsConfiguration(Model):
}

def __init__(self, enable_automatic_updates=None):
super(WindowsConfiguration, self).__init__()
self.enable_automatic_updates = enable_automatic_updates
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class ApplicationOperations(object):
:ivar api_version: The API version to be used with the HTTP request. Constant value: "2017-09-01".
"""

models = models

def __init__(self, client, config, serializer, deserializer):

self._client = client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class ApplicationPackageOperations(object):
:ivar api_version: The API version to be used with the HTTP request. Constant value: "2017-09-01".
"""

models = models

def __init__(self, client, config, serializer, deserializer):

self._client = client
Expand Down
Loading

0 comments on commit 9ef42d9

Please sign in to comment.