How to use the azure-mgmt-batchai.azure.mgmt.batchai.models.cluster.Cluster function in azure-mgmt-batchai

To help you get started, we’ve selected a few azure-mgmt-batchai 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-batchai / azure / mgmt / batchai / models / cluster.py View on Github external
def __init__(self, **kwargs):
        super(Cluster, self).__init__(**kwargs)
        self.vm_size = kwargs.get('vm_size', None)
        self.vm_priority = kwargs.get('vm_priority', "dedicated")
        self.scale_settings = kwargs.get('scale_settings', None)
        self.virtual_machine_configuration = kwargs.get('virtual_machine_configuration', None)
        self.node_setup = kwargs.get('node_setup', None)
        self.user_account_settings = kwargs.get('user_account_settings', None)
        self.subnet = kwargs.get('subnet', None)
        self.creation_time = None
        self.provisioning_state = None
        self.provisioning_state_transition_time = None
        self.allocation_state = None
        self.allocation_state_transition_time = None
        self.errors = None
        self.current_node_count = None
        self.node_state_counts = None

azure-mgmt-batchai

Microsoft Azure Batch AI Management Client Library for Python

MIT
Latest version published 8 days ago

Package Health Score

90 / 100
Full package analysis