Skip to content

Commit c368680

Browse files
AutorestCIlmazuel
authored andcommitted
[AutoPR] devtestlabs/resource-manager (#3724)
* [AutoPR devtestlabs/resource-manager] Add Devtestlabs/2018-09-15 (#3717) * Generated from 6af191447abf057ee3216d1f7794014d19256ece Update go and ruby readme * Packaging update of azure-mgmt-devtestlabs * Generated from dc80cf49a2d04b807dd419fe80aca8d436cccd47 (#3856) typo: devtestlabs/resource-manager/Microsoft.DevTestLab/DTL - occured -> occurred - Reponse -> Response - seperated -> separated * Generated from 64d9912a89570d7e419c816684747912ec618b10 (#3936) typo: Microsoft.DevTestLab - Reponse -> Response - notificationchannels -> notification channels - GibiBytes -> Gibibytes * Packaging update of azure-mgmt-devtestlabs * updated versioning * re-recorded tests and edited changelog
1 parent 59117d6 commit c368680

File tree

329 files changed

+13944
-2919
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+13944
-2919
lines changed

azure-mgmt-devtestlabs/HISTORY.rst

+109
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,115 @@
33
Release History
44
===============
55

6+
3.0.0 (2019-02-07)
7+
++++++++++++++++++
8+
9+
**Features**
10+
11+
- Model NotificationChannel has a new parameter email_recipient
12+
- Model NotificationChannel has a new parameter notification_locale
13+
- Model ArtifactInstallProperties has a new parameter artifact_title
14+
- Model GalleryImage has a new parameter plan_id
15+
- Model GalleryImage has a new parameter is_plan_authorized
16+
- Model EvaluatePoliciesProperties has a new parameter user_object_id
17+
- Model ArtifactInstallPropertiesFragment has a new parameter artifact_title
18+
- Model Lab has a new parameter announcement
19+
- Model Lab has a new parameter support
20+
- Model Lab has a new parameter load_balancer_id
21+
- Model Lab has a new parameter mandatory_artifacts_resource_ids_linux
22+
- Model Lab has a new parameter extended_properties
23+
- Model Lab has a new parameter mandatory_artifacts_resource_ids_windows
24+
- Model Lab has a new parameter vm_creation_resource_group
25+
- Model Lab has a new parameter environment_permission
26+
- Model Lab has a new parameter network_security_group_id
27+
- Model Lab has a new parameter public_ip_id
28+
- Model NotificationSettingsFragment has a new parameter email_recipient
29+
- Model NotificationSettingsFragment has a new parameter notification_locale
30+
- Model LabVirtualMachineCreationParameter has a new parameter schedule_parameters
31+
- Model LabVirtualMachineCreationParameter has a new parameter compute_id
32+
- Model LabVirtualMachineCreationParameter has a new parameter data_disk_parameters
33+
- Model LabVirtualMachineCreationParameter has a new parameter last_known_power_state
34+
- Model LabVirtualMachineCreationParameter has a new parameter plan_id
35+
- Model ShutdownNotificationContent has a new parameter vm_url
36+
- Model ShutdownNotificationContent has a new parameter minutes_until_shutdown
37+
- Model NotificationSettings has a new parameter email_recipient
38+
- Model NotificationSettings has a new parameter notification_locale
39+
- Model LabVirtualMachine has a new parameter plan_id
40+
- Model LabVirtualMachine has a new parameter schedule_parameters
41+
- Model LabVirtualMachine has a new parameter last_known_power_state
42+
- Model LabVirtualMachine has a new parameter data_disk_parameters
43+
- Model ArmTemplate has a new parameter enabled
44+
- Model CustomImage has a new parameter custom_image_plan
45+
- Model CustomImage has a new parameter data_disk_storage_info
46+
- Model CustomImage has a new parameter is_plan_authorized
47+
- Model CustomImage has a new parameter managed_snapshot_id
48+
- Model LabVirtualMachineFragment has a new parameter schedule_parameters
49+
- Model LabVirtualMachineFragment has a new parameter compute_id
50+
- Model LabVirtualMachineFragment has a new parameter data_disk_parameters
51+
- Model LabVirtualMachineFragment has a new parameter last_known_power_state
52+
- Model LabVirtualMachineFragment has a new parameter plan_id
53+
- Added operation DisksOperations.update
54+
- Added operation CustomImagesOperations.update
55+
- Added operation LabsOperations.import_virtual_machine
56+
- Added operation SecretsOperations.update
57+
- Added operation EnvironmentsOperations.update
58+
- Added operation FormulasOperations.update
59+
- Added operation VirtualMachinesOperations.transfer_disks
60+
- Added operation VirtualMachinesOperations.un_claim
61+
- Added operation VirtualMachinesOperations.resize
62+
- Added operation VirtualMachinesOperations.restart
63+
- Added operation VirtualMachinesOperations.get_rdp_file_contents
64+
- Added operation VirtualMachinesOperations.redeploy
65+
- Added operation group ServiceFabricsOperations
66+
- Added operation group ServiceFabricSchedulesOperations
67+
68+
**Breaking changes**
69+
70+
- Model VirtualNetworkFragment no longer has parameter type
71+
- Model VirtualNetworkFragment no longer has parameter id
72+
- Model VirtualNetworkFragment no longer has parameter location
73+
- Model VirtualNetworkFragment no longer has parameter name
74+
- Model VirtualNetworkFragment no longer has parameter external_subnets
75+
- Model VirtualNetworkFragment no longer has parameter provisioning_state
76+
- Model VirtualNetworkFragment no longer has parameter unique_identifier
77+
- Model PolicyFragment no longer has parameter type
78+
- Model PolicyFragment no longer has parameter id
79+
- Model PolicyFragment no longer has parameter location
80+
- Model PolicyFragment no longer has parameter name
81+
- Model PolicyFragment no longer has parameter unique_identifier
82+
- Model PolicyFragment no longer has parameter provisioning_state
83+
- Model ArtifactSourceFragment no longer has parameter type
84+
- Model ArtifactSourceFragment no longer has parameter id
85+
- Model ArtifactSourceFragment no longer has parameter location
86+
- Model ArtifactSourceFragment no longer has parameter name
87+
- Model ArtifactSourceFragment no longer has parameter unique_identifier
88+
- Model ArtifactSourceFragment no longer has parameter provisioning_state
89+
- Model LabVirtualMachineCreationParameter no longer has parameter applicable_schedule
90+
- Model LabVirtualMachineCreationParameter no longer has parameter compute_vm
91+
- Model LabVirtualMachineCreationParameter no longer has parameter unique_identifier
92+
- Model LabVirtualMachineCreationParameter no longer has parameter provisioning_state
93+
- Model ApplicableScheduleFragment no longer has parameter location
94+
- Model ApplicableScheduleFragment no longer has parameter type
95+
- Model ApplicableScheduleFragment no longer has parameter id
96+
- Model ApplicableScheduleFragment no longer has parameter name
97+
- Model ScheduleFragment no longer has parameter type
98+
- Model ScheduleFragment no longer has parameter id
99+
- Model ScheduleFragment no longer has parameter location
100+
- Model ScheduleFragment no longer has parameter name
101+
- Model ScheduleFragment no longer has parameter unique_identifier
102+
- Model ScheduleFragment no longer has parameter provisioning_state
103+
- Model LabVirtualMachineFragment no longer has parameter type
104+
- Model LabVirtualMachineFragment no longer has parameter id
105+
- Model LabVirtualMachineFragment no longer has parameter compute_vm
106+
- Model LabVirtualMachineFragment no longer has parameter location
107+
- Model LabVirtualMachineFragment no longer has parameter name
108+
- Model LabVirtualMachineFragment no longer has parameter unique_identifier
109+
- Model LabVirtualMachineFragment no longer has parameter provisioning_state
110+
- Model LabVirtualMachineFragment no longer has parameter applicable_schedule
111+
- Model LabFragment has a new signature
112+
- Model UserFragment has a new signature
113+
- Model NotificationChannelFragment has a new signature
114+
6115
2.2.0 (2018-02-15)
7116
++++++++++++++++++
8117

azure-mgmt-devtestlabs/MANIFEST.in

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
include *.rst
2+
include azure/__init__.py
3+
include azure/mgmt/__init__.py
4+

azure-mgmt-devtestlabs/README.rst

-19
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,6 @@ For the older Azure Service Management (ASM) libraries, see
1414
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.
1515

1616

17-
Compatibility
18-
=============
19-
20-
**IMPORTANT**: If you have an earlier version of the azure package
21-
(version < 1.0), you should uninstall it before installing this package.
22-
23-
You can check the version using pip:
24-
25-
.. code:: shell
26-
27-
pip freeze
28-
29-
If you see azure==0.11.0 (or any version below 1.0), uninstall it first:
30-
31-
.. code:: shell
32-
33-
pip uninstall azure
34-
35-
3617
Usage
3718
=====
3819

azure-mgmt-devtestlabs/azure/mgmt/devtestlabs/dev_test_labs_client.py

+14-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
from msrest.service_client import ServiceClient
12+
from msrest.service_client import SDKClient
1313
from msrest import Serializer, Deserializer
1414
from msrestazure import AzureConfiguration
1515
from .version import VERSION
@@ -33,6 +33,8 @@
3333
from .operations.disks_operations import DisksOperations
3434
from .operations.environments_operations import EnvironmentsOperations
3535
from .operations.secrets_operations import SecretsOperations
36+
from .operations.service_fabrics_operations import ServiceFabricsOperations
37+
from .operations.service_fabric_schedules_operations import ServiceFabricSchedulesOperations
3638
from .operations.virtual_machines_operations import VirtualMachinesOperations
3739
from .operations.virtual_machine_schedules_operations import VirtualMachineSchedulesOperations
3840
from .operations.virtual_networks_operations import VirtualNetworksOperations
@@ -71,7 +73,7 @@ def __init__(
7173
self.subscription_id = subscription_id
7274

7375

74-
class DevTestLabsClient(object):
76+
class DevTestLabsClient(SDKClient):
7577
"""The DevTest Labs Client.
7678
7779
:ivar config: Configuration for client.
@@ -117,6 +119,10 @@ class DevTestLabsClient(object):
117119
:vartype environments: azure.mgmt.devtestlabs.operations.EnvironmentsOperations
118120
:ivar secrets: Secrets operations
119121
:vartype secrets: azure.mgmt.devtestlabs.operations.SecretsOperations
122+
:ivar service_fabrics: ServiceFabrics operations
123+
:vartype service_fabrics: azure.mgmt.devtestlabs.operations.ServiceFabricsOperations
124+
:ivar service_fabric_schedules: ServiceFabricSchedules operations
125+
:vartype service_fabric_schedules: azure.mgmt.devtestlabs.operations.ServiceFabricSchedulesOperations
120126
:ivar virtual_machines: VirtualMachines operations
121127
:vartype virtual_machines: azure.mgmt.devtestlabs.operations.VirtualMachinesOperations
122128
:ivar virtual_machine_schedules: VirtualMachineSchedules operations
@@ -136,10 +142,10 @@ def __init__(
136142
self, credentials, subscription_id, base_url=None):
137143

138144
self.config = DevTestLabsClientConfiguration(credentials, subscription_id, base_url)
139-
self._client = ServiceClient(self.config.credentials, self.config)
145+
super(DevTestLabsClient, self).__init__(self.config.credentials, self.config)
140146

141147
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
142-
self.api_version = '2016-05-15'
148+
self.api_version = '2018-09-15'
143149
self._serialize = Serializer(client_models)
144150
self._deserialize = Deserializer(client_models)
145151

@@ -183,6 +189,10 @@ def __init__(
183189
self._client, self.config, self._serialize, self._deserialize)
184190
self.secrets = SecretsOperations(
185191
self._client, self.config, self._serialize, self._deserialize)
192+
self.service_fabrics = ServiceFabricsOperations(
193+
self._client, self.config, self._serialize, self._deserialize)
194+
self.service_fabric_schedules = ServiceFabricSchedulesOperations(
195+
self._client, self.config, self._serialize, self._deserialize)
186196
self.virtual_machines = VirtualMachinesOperations(
187197
self._client, self.config, self._serialize, self._deserialize)
188198
self.virtual_machine_schedules = VirtualMachineSchedulesOperations(

0 commit comments

Comments
 (0)