Skip to content

Commit

Permalink
[AutoPR] devtestlabs/resource-manager (#3724)
Browse files Browse the repository at this point in the history
* [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
  • Loading branch information
AutorestCI authored and lmazuel committed Feb 8, 2019
1 parent 59117d6 commit c368680
Show file tree
Hide file tree
Showing 329 changed files with 13,944 additions and 2,919 deletions.
109 changes: 109 additions & 0 deletions azure-mgmt-devtestlabs/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,115 @@
Release History
===============

3.0.0 (2019-02-07)
++++++++++++++++++

**Features**

- Model NotificationChannel has a new parameter email_recipient
- Model NotificationChannel has a new parameter notification_locale
- Model ArtifactInstallProperties has a new parameter artifact_title
- Model GalleryImage has a new parameter plan_id
- Model GalleryImage has a new parameter is_plan_authorized
- Model EvaluatePoliciesProperties has a new parameter user_object_id
- Model ArtifactInstallPropertiesFragment has a new parameter artifact_title
- Model Lab has a new parameter announcement
- Model Lab has a new parameter support
- Model Lab has a new parameter load_balancer_id
- Model Lab has a new parameter mandatory_artifacts_resource_ids_linux
- Model Lab has a new parameter extended_properties
- Model Lab has a new parameter mandatory_artifacts_resource_ids_windows
- Model Lab has a new parameter vm_creation_resource_group
- Model Lab has a new parameter environment_permission
- Model Lab has a new parameter network_security_group_id
- Model Lab has a new parameter public_ip_id
- Model NotificationSettingsFragment has a new parameter email_recipient
- Model NotificationSettingsFragment has a new parameter notification_locale
- Model LabVirtualMachineCreationParameter has a new parameter schedule_parameters
- Model LabVirtualMachineCreationParameter has a new parameter compute_id
- Model LabVirtualMachineCreationParameter has a new parameter data_disk_parameters
- Model LabVirtualMachineCreationParameter has a new parameter last_known_power_state
- Model LabVirtualMachineCreationParameter has a new parameter plan_id
- Model ShutdownNotificationContent has a new parameter vm_url
- Model ShutdownNotificationContent has a new parameter minutes_until_shutdown
- Model NotificationSettings has a new parameter email_recipient
- Model NotificationSettings has a new parameter notification_locale
- Model LabVirtualMachine has a new parameter plan_id
- Model LabVirtualMachine has a new parameter schedule_parameters
- Model LabVirtualMachine has a new parameter last_known_power_state
- Model LabVirtualMachine has a new parameter data_disk_parameters
- Model ArmTemplate has a new parameter enabled
- Model CustomImage has a new parameter custom_image_plan
- Model CustomImage has a new parameter data_disk_storage_info
- Model CustomImage has a new parameter is_plan_authorized
- Model CustomImage has a new parameter managed_snapshot_id
- Model LabVirtualMachineFragment has a new parameter schedule_parameters
- Model LabVirtualMachineFragment has a new parameter compute_id
- Model LabVirtualMachineFragment has a new parameter data_disk_parameters
- Model LabVirtualMachineFragment has a new parameter last_known_power_state
- Model LabVirtualMachineFragment has a new parameter plan_id
- Added operation DisksOperations.update
- Added operation CustomImagesOperations.update
- Added operation LabsOperations.import_virtual_machine
- Added operation SecretsOperations.update
- Added operation EnvironmentsOperations.update
- Added operation FormulasOperations.update
- Added operation VirtualMachinesOperations.transfer_disks
- Added operation VirtualMachinesOperations.un_claim
- Added operation VirtualMachinesOperations.resize
- Added operation VirtualMachinesOperations.restart
- Added operation VirtualMachinesOperations.get_rdp_file_contents
- Added operation VirtualMachinesOperations.redeploy
- Added operation group ServiceFabricsOperations
- Added operation group ServiceFabricSchedulesOperations

**Breaking changes**

- Model VirtualNetworkFragment no longer has parameter type
- Model VirtualNetworkFragment no longer has parameter id
- Model VirtualNetworkFragment no longer has parameter location
- Model VirtualNetworkFragment no longer has parameter name
- Model VirtualNetworkFragment no longer has parameter external_subnets
- Model VirtualNetworkFragment no longer has parameter provisioning_state
- Model VirtualNetworkFragment no longer has parameter unique_identifier
- Model PolicyFragment no longer has parameter type
- Model PolicyFragment no longer has parameter id
- Model PolicyFragment no longer has parameter location
- Model PolicyFragment no longer has parameter name
- Model PolicyFragment no longer has parameter unique_identifier
- Model PolicyFragment no longer has parameter provisioning_state
- Model ArtifactSourceFragment no longer has parameter type
- Model ArtifactSourceFragment no longer has parameter id
- Model ArtifactSourceFragment no longer has parameter location
- Model ArtifactSourceFragment no longer has parameter name
- Model ArtifactSourceFragment no longer has parameter unique_identifier
- Model ArtifactSourceFragment no longer has parameter provisioning_state
- Model LabVirtualMachineCreationParameter no longer has parameter applicable_schedule
- Model LabVirtualMachineCreationParameter no longer has parameter compute_vm
- Model LabVirtualMachineCreationParameter no longer has parameter unique_identifier
- Model LabVirtualMachineCreationParameter no longer has parameter provisioning_state
- Model ApplicableScheduleFragment no longer has parameter location
- Model ApplicableScheduleFragment no longer has parameter type
- Model ApplicableScheduleFragment no longer has parameter id
- Model ApplicableScheduleFragment no longer has parameter name
- Model ScheduleFragment no longer has parameter type
- Model ScheduleFragment no longer has parameter id
- Model ScheduleFragment no longer has parameter location
- Model ScheduleFragment no longer has parameter name
- Model ScheduleFragment no longer has parameter unique_identifier
- Model ScheduleFragment no longer has parameter provisioning_state
- Model LabVirtualMachineFragment no longer has parameter type
- Model LabVirtualMachineFragment no longer has parameter id
- Model LabVirtualMachineFragment no longer has parameter compute_vm
- Model LabVirtualMachineFragment no longer has parameter location
- Model LabVirtualMachineFragment no longer has parameter name
- Model LabVirtualMachineFragment no longer has parameter unique_identifier
- Model LabVirtualMachineFragment no longer has parameter provisioning_state
- Model LabVirtualMachineFragment no longer has parameter applicable_schedule
- Model LabFragment has a new signature
- Model UserFragment has a new signature
- Model NotificationChannelFragment has a new signature

2.2.0 (2018-02-15)
++++++++++++++++++

Expand Down
3 changes: 3 additions & 0 deletions azure-mgmt-devtestlabs/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
include *.rst
include azure/__init__.py
include azure/mgmt/__init__.py

19 changes: 0 additions & 19 deletions azure-mgmt-devtestlabs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,6 @@ For the older Azure Service Management (ASM) libraries, see
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.


Compatibility
=============

**IMPORTANT**: If you have an earlier version of the azure package
(version < 1.0), you should uninstall it before installing this package.

You can check the version using pip:

.. code:: shell
pip freeze
If you see azure==0.11.0 (or any version below 1.0), uninstall it first:

.. code:: shell
pip uninstall azure
Usage
=====

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from msrest.service_client import ServiceClient
from msrest.service_client import SDKClient
from msrest import Serializer, Deserializer
from msrestazure import AzureConfiguration
from .version import VERSION
Expand All @@ -33,6 +33,8 @@
from .operations.disks_operations import DisksOperations
from .operations.environments_operations import EnvironmentsOperations
from .operations.secrets_operations import SecretsOperations
from .operations.service_fabrics_operations import ServiceFabricsOperations
from .operations.service_fabric_schedules_operations import ServiceFabricSchedulesOperations
from .operations.virtual_machines_operations import VirtualMachinesOperations
from .operations.virtual_machine_schedules_operations import VirtualMachineSchedulesOperations
from .operations.virtual_networks_operations import VirtualNetworksOperations
Expand Down Expand Up @@ -71,7 +73,7 @@ def __init__(
self.subscription_id = subscription_id


class DevTestLabsClient(object):
class DevTestLabsClient(SDKClient):
"""The DevTest Labs Client.
:ivar config: Configuration for client.
Expand Down Expand Up @@ -117,6 +119,10 @@ class DevTestLabsClient(object):
:vartype environments: azure.mgmt.devtestlabs.operations.EnvironmentsOperations
:ivar secrets: Secrets operations
:vartype secrets: azure.mgmt.devtestlabs.operations.SecretsOperations
:ivar service_fabrics: ServiceFabrics operations
:vartype service_fabrics: azure.mgmt.devtestlabs.operations.ServiceFabricsOperations
:ivar service_fabric_schedules: ServiceFabricSchedules operations
:vartype service_fabric_schedules: azure.mgmt.devtestlabs.operations.ServiceFabricSchedulesOperations
:ivar virtual_machines: VirtualMachines operations
:vartype virtual_machines: azure.mgmt.devtestlabs.operations.VirtualMachinesOperations
:ivar virtual_machine_schedules: VirtualMachineSchedules operations
Expand All @@ -136,10 +142,10 @@ def __init__(
self, credentials, subscription_id, base_url=None):

self.config = DevTestLabsClientConfiguration(credentials, subscription_id, base_url)
self._client = ServiceClient(self.config.credentials, self.config)
super(DevTestLabsClient, self).__init__(self.config.credentials, self.config)

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

Expand Down Expand Up @@ -183,6 +189,10 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.secrets = SecretsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.service_fabrics = ServiceFabricsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.service_fabric_schedules = ServiceFabricSchedulesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.virtual_machines = VirtualMachinesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_schedules = VirtualMachineSchedulesOperations(
Expand Down
Loading

0 comments on commit c368680

Please sign in to comment.