Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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