File: update_system_services_response.py

package info (click to toggle)
python-azure 20201208%2Bgit-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,437,920 kB
  • sloc: python: 4,287,452; javascript: 269; makefile: 198; sh: 187; xml: 106
file content (49 lines) | stat: -rw-r--r-- 1,875 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 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 msrest.serialization import Model


class UpdateSystemServicesResponse(Model):
    """Response of the update system services API.

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

    :ivar update_status: Update status. Possible values include: 'Unknown',
     'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
    :vartype update_status: str or
     ~azure.mgmt.machinelearningcompute.models.OperationStatus
    :ivar update_started_on: The date and time when the last system services
     update was started.
    :vartype update_started_on: datetime
    :ivar update_completed_on: The date and time when the last system services
     update completed.
    :vartype update_completed_on: datetime
    """

    _validation = {
        'update_status': {'readonly': True},
        'update_started_on': {'readonly': True},
        'update_completed_on': {'readonly': True},
    }

    _attribute_map = {
        'update_status': {'key': 'updateStatus', 'type': 'str'},
        'update_started_on': {'key': 'updateStartedOn', 'type': 'iso-8601'},
        'update_completed_on': {'key': 'updateCompletedOn', 'type': 'iso-8601'},
    }

    def __init__(self):
        super(UpdateSystemServicesResponse, self).__init__()
        self.update_status = None
        self.update_started_on = None
        self.update_completed_on = None