-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] vmwarecloudsimple/resource-manager (#7529)
* Generated from 1117352716482e818d856209543f23b70a2a42fb (#6002) update readme.python.md change output-folder * Packaging update of azure-mgmt-vmwarecloudsimple * [AutoPR vmwarecloudsimple/resource-manager] typo: vmwarecloudsimple (#6032) * Generated from 82830fe3830c790d8e422e0fbe58ff13a0fbe7be typo: vmwarecloudsimple - Double word "within" * Generated from 76cdf758488ac4efb7fbada7461b98552b7a5732 typo: vmwarecloudsimple - Double word "within" * Packaging update of azure-mgmt-vmwarecloudsimple * [AutoPR vmwarecloudsimple/resource-manager] Update Microsoft.VMwareCloudSimple provider schema (#7528) * Generated from 034f5ef4a306e0c4636f002fc69bb893ffb42944 Update Microsoft.VMwareCloudSimple provider schema * Packaging update of azure-mgmt-vmwarecloudsimple * Generated from 6306ffbd9c5a7734a942176a76fbc62716da105c Update Microsoft.VMwareCloudSimple provider schema * Generated from 7648bbe1444c7e3355ad086019548ad087eafaa0 Update Microsoft.VMwareCloudSimple provider schema * Generated from 654515e507afe5c3e604fe09a93fca50c4ec2a67 Update Microsoft.VMwareCloudSimple provider schema * Generated from 5a3ab7c58c050e8196118aa8f47ad414baaa1fff Update Microsoft.VMwareCloudSimple provider schema * Update HISTORY.rst
- Loading branch information
1 parent
7bb2470
commit b7812f8
Showing
28 changed files
with
6,188 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.. :changelog: | ||
Release History | ||
=============== | ||
|
||
0.1.0 (2019-10-08) | ||
++++++++++++++++++ | ||
|
||
* Initial Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
recursive-include tests *.py *.yaml | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/mgmt/__init__.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Microsoft Azure SDK for Python | ||
============================== | ||
|
||
This is the Microsoft Azure MyService Management Client Library. | ||
|
||
Azure Resource Manager (ARM) is the next generation of management APIs that | ||
replace the old Azure Service Management (ASM). | ||
|
||
This package has been tested with Python 2.7, 3.5, 3.6 and 3.7. | ||
|
||
For the older Azure Service Management (ASM) libraries, see | ||
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library. | ||
|
||
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package. | ||
|
||
|
||
Usage | ||
===== | ||
|
||
For code examples, see `MyService Management | ||
<https://docs.microsoft.com/python/api/overview/azure/>`__ | ||
on docs.microsoft.com. | ||
|
||
|
||
Provide Feedback | ||
================ | ||
|
||
If you encounter any bugs or have suggestions, please file an issue in the | ||
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__ | ||
section of the project. | ||
|
||
|
||
.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-vmwarecloudsimple%2FREADME.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
1 change: 1 addition & 0 deletions
1
sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
19 changes: 19 additions & 0 deletions
19
sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 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 ._configuration import VMwareCloudSimpleClientConfiguration | ||
from ._vmware_cloud_simple_client import VMwareCloudSimpleClient | ||
__all__ = ['VMwareCloudSimpleClient', 'VMwareCloudSimpleClientConfiguration'] | ||
|
||
from .version import VERSION | ||
|
||
__version__ = VERSION | ||
|
53 changes: 53 additions & 0 deletions
53
sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/_configuration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# 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 msrestazure import AzureConfiguration | ||
|
||
from .version import VERSION | ||
|
||
|
||
class VMwareCloudSimpleClientConfiguration(AzureConfiguration): | ||
"""Configuration for VMwareCloudSimpleClient | ||
Note that all parameters used to create this instance are saved as instance | ||
attributes. | ||
:param credentials: Credentials needed for the client to connect to Azure. | ||
:type credentials: :mod:`A msrestazure Credentials | ||
object<msrestazure.azure_active_directory>` | ||
:param subscription_id: The subscription ID. | ||
:type subscription_id: str | ||
:param referer: referer url | ||
:type referer: str | ||
:param str base_url: Service URL | ||
""" | ||
|
||
def __init__( | ||
self, credentials, subscription_id, referer, base_url=None): | ||
|
||
if credentials is None: | ||
raise ValueError("Parameter 'credentials' must not be None.") | ||
if subscription_id is None: | ||
raise ValueError("Parameter 'subscription_id' must not be None.") | ||
if referer is None: | ||
raise ValueError("Parameter 'referer' must not be None.") | ||
if not base_url: | ||
base_url = 'https://management.azure.com' | ||
|
||
super(VMwareCloudSimpleClientConfiguration, self).__init__(base_url) | ||
|
||
# Starting Autorest.Python 4.0.64, make connection pool activated by default | ||
self.keep_alive = True | ||
|
||
self.add_user_agent('azure-mgmt-vmwarecloudsimple/{}'.format(VERSION)) | ||
self.add_user_agent('Azure-SDK-For-Python') | ||
|
||
self.credentials = credentials | ||
self.subscription_id = subscription_id | ||
self.referer = referer |
96 changes: 96 additions & 0 deletions
96
.../azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/_vmware_cloud_simple_client.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# 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.service_client import SDKClient | ||
from msrest import Serializer, Deserializer | ||
|
||
from ._configuration import VMwareCloudSimpleClientConfiguration | ||
from .operations import Operations | ||
from .operations import DedicatedCloudNodesOperations | ||
from .operations import DedicatedCloudServicesOperations | ||
from .operations import SkusAvailabilityOperations | ||
from .operations import PrivateCloudsOperations | ||
from .operations import ResourcePoolsOperations | ||
from .operations import VirtualMachineTemplatesOperations | ||
from .operations import VirtualNetworksOperations | ||
from .operations import UsagesOperations | ||
from .operations import VirtualMachinesOperations | ||
from . import models | ||
|
||
|
||
class VMwareCloudSimpleClient(SDKClient): | ||
"""Description of the new service | ||
:ivar config: Configuration for client. | ||
:vartype config: VMwareCloudSimpleClientConfiguration | ||
:ivar operations: Operations operations | ||
:vartype operations: azure.mgmt.vmwarecloudsimple.operations.Operations | ||
:ivar dedicated_cloud_nodes: DedicatedCloudNodes operations | ||
:vartype dedicated_cloud_nodes: azure.mgmt.vmwarecloudsimple.operations.DedicatedCloudNodesOperations | ||
:ivar dedicated_cloud_services: DedicatedCloudServices operations | ||
:vartype dedicated_cloud_services: azure.mgmt.vmwarecloudsimple.operations.DedicatedCloudServicesOperations | ||
:ivar skus_availability: SkusAvailability operations | ||
:vartype skus_availability: azure.mgmt.vmwarecloudsimple.operations.SkusAvailabilityOperations | ||
:ivar private_clouds: PrivateClouds operations | ||
:vartype private_clouds: azure.mgmt.vmwarecloudsimple.operations.PrivateCloudsOperations | ||
:ivar resource_pools: ResourcePools operations | ||
:vartype resource_pools: azure.mgmt.vmwarecloudsimple.operations.ResourcePoolsOperations | ||
:ivar virtual_machine_templates: VirtualMachineTemplates operations | ||
:vartype virtual_machine_templates: azure.mgmt.vmwarecloudsimple.operations.VirtualMachineTemplatesOperations | ||
:ivar virtual_networks: VirtualNetworks operations | ||
:vartype virtual_networks: azure.mgmt.vmwarecloudsimple.operations.VirtualNetworksOperations | ||
:ivar usages: Usages operations | ||
:vartype usages: azure.mgmt.vmwarecloudsimple.operations.UsagesOperations | ||
:ivar virtual_machines: VirtualMachines operations | ||
:vartype virtual_machines: azure.mgmt.vmwarecloudsimple.operations.VirtualMachinesOperations | ||
:param credentials: Credentials needed for the client to connect to Azure. | ||
:type credentials: :mod:`A msrestazure Credentials | ||
object<msrestazure.azure_active_directory>` | ||
:param subscription_id: The subscription ID. | ||
:type subscription_id: str | ||
:param referer: referer url | ||
:type referer: str | ||
:param str base_url: Service URL | ||
""" | ||
|
||
def __init__( | ||
self, credentials, subscription_id, referer, base_url=None): | ||
|
||
self.config = VMwareCloudSimpleClientConfiguration(credentials, subscription_id, referer, base_url) | ||
super(VMwareCloudSimpleClient, 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 = '2019-04-01' | ||
self._serialize = Serializer(client_models) | ||
self._deserialize = Deserializer(client_models) | ||
|
||
self.operations = Operations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.dedicated_cloud_nodes = DedicatedCloudNodesOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.dedicated_cloud_services = DedicatedCloudServicesOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.skus_availability = SkusAvailabilityOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.private_clouds = PrivateCloudsOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.resource_pools = ResourcePoolsOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.virtual_machine_templates = VirtualMachineTemplatesOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.virtual_networks = VirtualNetworksOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.usages = UsagesOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.virtual_machines = VirtualMachinesOperations( | ||
self._client, self.config, self._serialize, self._deserialize) |
132 changes: 132 additions & 0 deletions
132
sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/models/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
|
||
try: | ||
from ._models_py3 import AvailableOperation | ||
from ._models_py3 import AvailableOperationDisplay | ||
from ._models_py3 import AvailableOperationDisplayPropertyServiceSpecificationMetricsItem | ||
from ._models_py3 import AvailableOperationDisplayPropertyServiceSpecificationMetricsList | ||
from ._models_py3 import CSRPError, CSRPErrorException | ||
from ._models_py3 import CSRPErrorBody | ||
from ._models_py3 import DedicatedCloudNode | ||
from ._models_py3 import DedicatedCloudService | ||
from ._models_py3 import OperationError | ||
from ._models_py3 import OperationResource | ||
from ._models_py3 import PatchPayload | ||
from ._models_py3 import PrivateCloud | ||
from ._models_py3 import ResourcePool | ||
from ._models_py3 import Sku | ||
from ._models_py3 import SkuAvailability | ||
from ._models_py3 import Usage | ||
from ._models_py3 import UsageName | ||
from ._models_py3 import VirtualDisk | ||
from ._models_py3 import VirtualDiskController | ||
from ._models_py3 import VirtualMachine | ||
from ._models_py3 import VirtualMachineStopMode | ||
from ._models_py3 import VirtualMachineTemplate | ||
from ._models_py3 import VirtualNetwork | ||
from ._models_py3 import VirtualNic | ||
except (SyntaxError, ImportError): | ||
from ._models import AvailableOperation | ||
from ._models import AvailableOperationDisplay | ||
from ._models import AvailableOperationDisplayPropertyServiceSpecificationMetricsItem | ||
from ._models import AvailableOperationDisplayPropertyServiceSpecificationMetricsList | ||
from ._models import CSRPError, CSRPErrorException | ||
from ._models import CSRPErrorBody | ||
from ._models import DedicatedCloudNode | ||
from ._models import DedicatedCloudService | ||
from ._models import OperationError | ||
from ._models import OperationResource | ||
from ._models import PatchPayload | ||
from ._models import PrivateCloud | ||
from ._models import ResourcePool | ||
from ._models import Sku | ||
from ._models import SkuAvailability | ||
from ._models import Usage | ||
from ._models import UsageName | ||
from ._models import VirtualDisk | ||
from ._models import VirtualDiskController | ||
from ._models import VirtualMachine | ||
from ._models import VirtualMachineStopMode | ||
from ._models import VirtualMachineTemplate | ||
from ._models import VirtualNetwork | ||
from ._models import VirtualNic | ||
from ._paged_models import AvailableOperationPaged | ||
from ._paged_models import DedicatedCloudNodePaged | ||
from ._paged_models import DedicatedCloudServicePaged | ||
from ._paged_models import PrivateCloudPaged | ||
from ._paged_models import ResourcePoolPaged | ||
from ._paged_models import SkuAvailabilityPaged | ||
from ._paged_models import UsagePaged | ||
from ._paged_models import VirtualMachinePaged | ||
from ._paged_models import VirtualMachineTemplatePaged | ||
from ._paged_models import VirtualNetworkPaged | ||
from ._vmware_cloud_simple_client_enums import ( | ||
OperationOrigin, | ||
AggregationType, | ||
NodeStatus, | ||
OnboardingStatus, | ||
DiskIndependenceMode, | ||
NICType, | ||
PrivateCloudResourceType, | ||
UsageCount, | ||
GuestOSType, | ||
VirtualMachineStatus, | ||
StopMode, | ||
) | ||
|
||
__all__ = [ | ||
'AvailableOperation', | ||
'AvailableOperationDisplay', | ||
'AvailableOperationDisplayPropertyServiceSpecificationMetricsItem', | ||
'AvailableOperationDisplayPropertyServiceSpecificationMetricsList', | ||
'CSRPError', 'CSRPErrorException', | ||
'CSRPErrorBody', | ||
'DedicatedCloudNode', | ||
'DedicatedCloudService', | ||
'OperationError', | ||
'OperationResource', | ||
'PatchPayload', | ||
'PrivateCloud', | ||
'ResourcePool', | ||
'Sku', | ||
'SkuAvailability', | ||
'Usage', | ||
'UsageName', | ||
'VirtualDisk', | ||
'VirtualDiskController', | ||
'VirtualMachine', | ||
'VirtualMachineStopMode', | ||
'VirtualMachineTemplate', | ||
'VirtualNetwork', | ||
'VirtualNic', | ||
'AvailableOperationPaged', | ||
'DedicatedCloudNodePaged', | ||
'DedicatedCloudServicePaged', | ||
'SkuAvailabilityPaged', | ||
'PrivateCloudPaged', | ||
'ResourcePoolPaged', | ||
'VirtualMachineTemplatePaged', | ||
'VirtualNetworkPaged', | ||
'UsagePaged', | ||
'VirtualMachinePaged', | ||
'OperationOrigin', | ||
'AggregationType', | ||
'NodeStatus', | ||
'OnboardingStatus', | ||
'DiskIndependenceMode', | ||
'NICType', | ||
'PrivateCloudResourceType', | ||
'UsageCount', | ||
'GuestOSType', | ||
'VirtualMachineStatus', | ||
'StopMode', | ||
] |
Oops, something went wrong.