Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions azure-mgmt-deploymentmanager/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
recursive-include tests *.py *.yaml
include *.rst
include azure/__init__.py
include azure/mgmt/__init__.py
Expand Down
3 changes: 3 additions & 0 deletions azure-mgmt-deploymentmanager/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ 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-deploymentmanager%2FREADME.png
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
# regenerated.
# --------------------------------------------------------------------------

from .azure_deployment_manager import AzureDeploymentManager
from .deployment_manager_client import DeploymentManagerClient
from .version import VERSION

__all__ = ['AzureDeploymentManager']
__all__ = ['DeploymentManagerClient']

__version__ = VERSION

Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
from . import models


class AzureDeploymentManagerConfiguration(AzureConfiguration):
"""Configuration for AzureDeploymentManager
class DeploymentManagerClientConfiguration(AzureConfiguration):
"""Configuration for DeploymentManagerClient
Note that all parameters used to create this instance are saved as instance
attributes.

Expand All @@ -48,7 +48,7 @@ def __init__(
if not base_url:
base_url = 'https://management.azure.com'

super(AzureDeploymentManagerConfiguration, self).__init__(base_url)
super(DeploymentManagerClientConfiguration, self).__init__(base_url)

self.add_user_agent('azure-mgmt-deploymentmanager/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')
Expand All @@ -57,11 +57,11 @@ def __init__(
self.subscription_id = subscription_id


class AzureDeploymentManager(SDKClient):
class DeploymentManagerClient(SDKClient):
"""REST APIs for orchestrating deployments using the Azure Deployment Manager (ADM). See https://docs.microsoft.com/en-us/azure/azure-resource-manager/deployment-manager-overview for more information.

:ivar config: Configuration for client.
:vartype config: AzureDeploymentManagerConfiguration
:vartype config: DeploymentManagerClientConfiguration

:ivar service_topologies: ServiceTopologies operations
:vartype service_topologies: azure.mgmt.deploymentmanager.operations.ServiceTopologiesOperations
Expand Down Expand Up @@ -91,8 +91,8 @@ class AzureDeploymentManager(SDKClient):
def __init__(
self, credentials, subscription_id, base_url=None):

self.config = AzureDeploymentManagerConfiguration(credentials, subscription_id, base_url)
super(AzureDeploymentManager, self).__init__(self.config.credentials, self.config)
self.config = DeploymentManagerClientConfiguration(credentials, subscription_id, base_url)
super(DeploymentManagerClient, 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 = '2018-09-01-preview'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
from .azure_entity_resource import AzureEntityResource
from .resource import Resource
from .tracked_resource import TrackedResource
from .azure_deployment_manager_enums import (
from .deployment_manager_client_enums import (
DeploymentMode,
)

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

VERSION = "0.1.0"
VERSION = "0.9.0"