Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# 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 .proxy_resource import ProxyResource
class FileServer(ProxyResource):
"""Contains information about the File Server.
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
:param vm_size: The size of the virtual machine of the File Server. For
information about available VM sizes for File Server from the Virtual
Machines Marketplace, see Sizes for Virtual Machines (Linux).
:type vm_size: str
:param ssh_configuration: SSH settings for the File Server.
def __init__(self, **kwargs):
super(ProxyResource, self).__init__(**kwargs)
self.id = None
self.name = None
self.type = 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 .proxy_resource import ProxyResource
class Job(ProxyResource):
"""Contains information about a Job.
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
:param scheduling_priority: Scheduling priority associated with the job.
Scheduling priority associated with the job. Possible values include:
'low', 'normal', 'high'. Default value: "normal" .
:type scheduling_priority: str or ~azure.mgmt.batchai.models.JobPriority
:param cluster: Specifies the Id of the cluster on which this job will
# 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 .proxy_resource import ProxyResource
class Cluster(ProxyResource):
"""Contains information about a Cluster.
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
:param vm_size: The size of the virtual machines in the cluster. All
virtual machines in a cluster are the same size. For information about
available VM sizes for clusters using images from the Virtual Machines
Marketplace (see Sizes for Virtual Machines (Linux) or Sizes for Virtual
Machines (Windows). Batch AI service supports all Azure VM sizes except