-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Expand file tree
/
Copy pathrollout_properties_model_py3.py
More file actions
52 lines (44 loc) · 1.95 KB
/
rollout_properties_model_py3.py
File metadata and controls
52 lines (44 loc) · 1.95 KB
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
50
51
52
# 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 RolloutPropertiesModel(Model):
"""Defines the properties of a rollout.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar status: The current status of the rollout.
:vartype status: str
:ivar total_retry_attempts: The cardinal count of total number of retries
performed on the rollout at a given time.
:vartype total_retry_attempts: int
:ivar operation_info: Operational information of the rollout.
:vartype operation_info:
~azure.mgmt.deploymentmanager.models.RolloutOperationInfo
:ivar services: The detailed information on the services being deployed.
:vartype services: list[~azure.mgmt.deploymentmanager.models.Service]
"""
_validation = {
'status': {'readonly': True},
'total_retry_attempts': {'readonly': True},
'operation_info': {'readonly': True},
'services': {'readonly': True},
}
_attribute_map = {
'status': {'key': 'status', 'type': 'str'},
'total_retry_attempts': {'key': 'totalRetryAttempts', 'type': 'int'},
'operation_info': {'key': 'operationInfo', 'type': 'RolloutOperationInfo'},
'services': {'key': 'services', 'type': '[Service]'},
}
def __init__(self, **kwargs) -> None:
super(RolloutPropertiesModel, self).__init__(**kwargs)
self.status = None
self.total_retry_attempts = None
self.operation_info = None
self.services = None