Cloud Defense Logo

Products

Solutions

Company

Book A Live Demo

Top 10 Examples of "azure-mgmt-batch in functional component" in Python

Dive into secure and efficient coding practices with our curated list of the top 10 examples showcasing 'azure-mgmt-batch' in functional components in Python. Our advanced machine learning engine meticulously scans each line of code, cross-referencing millions of open source libraries to ensure your implementation is not just functional, but also robust and secure. Elevate your React applications to new heights by mastering the art of handling side effects, API calls, and asynchronous operations with confidence and precision.

# 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
def __init__(self):
        super(Resource, self).__init__()
        self.id = None
        self.name = None
        self.type = None
        self.location = None
        self.tags = None
# 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
# 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},
    }
def __init__(self, storage_account_id):
        super(AutoStorageBaseProperties, self).__init__()
        self.storage_account_id = storage_account_id
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
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
def __init__(self, format):
        super(ActivateApplicationPackageParameters, self).__init__()
        self.format = format
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
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

Is your System Free of Underlying Vulnerabilities?
Find Out Now