How to use azure-mgmt-batch - 10 common examples

To help you get started, we’ve selected a few azure-mgmt-batch examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-sdk-for-python / azure-mgmt-batch / azure / mgmt / batch / models / batch_account.py View on Github external
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from .resource import Resource


class BatchAccount(Resource):
    """Contains information about an Azure Batch account.

    Variables are only populated by the server, and will be ignored when
    sending a request.

    :ivar id: The ID of the resource
    :vartype id: str
    :ivar name: The name of the resource
    :vartype name: str
    :ivar type: The type of the resource
    :vartype type: str
    :ivar location: The location of the resource
    :vartype location: str
    :ivar tags: The tags of the resource
    :vartype tags: dict
    :ivar account_endpoint: The endpoint used by this account to interact with
github Azure / azure-sdk-for-python / azure-mgmt-batch / azure / mgmt / batch / models / resource.py View on Github external
def __init__(self):
        super(Resource, self).__init__()
        self.id = None
        self.name = None
        self.type = None
        self.location = None
        self.tags = None
github Azure / azure-sdk-for-python / azure-mgmt-batch / azure / mgmt / batch / models / batch_account.py View on Github external
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from .resource import Resource


class BatchAccount(Resource):
    """Contains information about an Azure Batch account.

    Variables are only populated by the server, and will be ignored when
    sending a request.

    :ivar id: The ID of the resource.
    :vartype id: str
    :ivar name: The name of the resource.
    :vartype name: str
    :ivar type: The type of the resource.
    :vartype type: str
    :ivar location: The location of the resource.
    :vartype location: str
    :ivar tags: The tags of the resource.
    :vartype tags: dict[str, str]
    :ivar account_endpoint: The account endpoint used to interact with the
github Azure / azure-sdk-for-python / azure-mgmt-batch / azure / mgmt / batch / models / auto_storage_properties.py View on Github external
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from .auto_storage_base_properties import AutoStorageBaseProperties


class AutoStorageProperties(AutoStorageBaseProperties):
    """Contains information about the auto-storage account associated with a Batch
    account.

    :param storage_account_id: The resource ID of the storage account to be
     used for auto-storage account.
    :type storage_account_id: str
    :param last_key_sync: The UTC time at which storage keys were last
     synchronized with the Batch account.
    :type last_key_sync: datetime
    """

    _validation = {
        'storage_account_id': {'required': True},
        'last_key_sync': {'required': True},
    }
github Azure / azure-sdk-for-python / azure-mgmt-batch / azure / mgmt / batch / models / auto_storage_base_properties.py View on Github external
def __init__(self, storage_account_id):
        super(AutoStorageBaseProperties, self).__init__()
        self.storage_account_id = storage_account_id
github Azure / azure-sdk-for-python / azure-mgmt-batch / azure / mgmt / batch / models / batch_account.py View on Github external
def __init__(self):
        super(BatchAccount, self).__init__()
        self.account_endpoint = None
        self.provisioning_state = None
        self.pool_allocation_mode = None
        self.key_vault_reference = None
        self.auto_storage = None
        self.core_quota = None
        self.pool_quota = None
        self.active_job_and_job_schedule_quota = None
github Azure / azure-sdk-for-python / azure-mgmt-batch / azure / mgmt / batch / models / batch_account.py View on Github external
def __init__(self):
        super(BatchAccount, self).__init__()
        self.account_endpoint = None
        self.provisioning_state = None
        self.pool_allocation_mode = None
        self.key_vault_reference = None
        self.auto_storage = None
        self.dedicated_core_quota = None
        self.low_priority_core_quota = None
        self.pool_quota = None
        self.active_job_and_job_schedule_quota = None
github Azure / azure-sdk-for-python / azure-mgmt-batch / azure / mgmt / batch / models / activate_application_package_parameters.py View on Github external
def __init__(self, format):
        super(ActivateApplicationPackageParameters, self).__init__()
        self.format = format
github Azure / azure-sdk-for-python / azure-mgmt-batch / azure / mgmt / batch / models / application.py View on Github external
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
        self.allow_updates = allow_updates
        self.default_version = default_version
github Azure / azure-sdk-for-python / azure-mgmt-batch / azure / mgmt / batch / models / application_package.py View on Github external
def __init__(self):
        super(ApplicationPackage, self).__init__()
        self.id = None
        self.version = None
        self.state = None
        self.format = None
        self.storage_url = None
        self.storage_url_expiry = None
        self.last_activation_time = None

azure-mgmt-batch

Microsoft Azure Batch Management Client Library for Python

MIT
Latest version published 1 month ago

Package Health Score

96 / 100
Full package analysis

Popular azure-mgmt-batch functions

Similar packages