Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription release #14426

Merged
merged 3 commits into from
Oct 12, 2020
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
13 changes: 13 additions & 0 deletions sdk/subscription/azure-mgmt-subscription/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Release History

## 0.7.0 (2020-10-12)

**Features**

- Added operation group AliasOperations

**Breaking changes**

- Removed operation SubscriptionOperations.create_subscription_in_enrollment_account
- Removed operation SubscriptionOperations.create_subscription
- Removed operation SubscriptionOperations.create_csp_subscription
- Removed operation group SubscriptionOperationOperations

## 0.6.0 (2020-06-05)

**Features**
Expand Down
30 changes: 11 additions & 19 deletions sdk/subscription/azure-mgmt-subscription/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

This is the Microsoft Azure Subscription Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

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.
# Usage

For the older Azure Service Management (ASM) libraries, see
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
library.
For code examples, see [Subscription Management](https://docs.microsoft.com/python/api/overview/azure/)
on docs.microsoft.com.

For a more complete set of Azure libraries, see the
[azure sdk python release](https://aka.ms/azsdk/python/all).

## Usage
# Provide Feedback

For code examples, see [Subscription
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)
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-subscription%2FREADME.png)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-subscription%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
from .operations import SubscriptionsOperations
from .operations import TenantsOperations
from .operations import SubscriptionOperations
from .operations import SubscriptionOperationOperations
from .operations import Operations
from .operations import AliasOperations
from . import models


Expand All @@ -33,10 +33,10 @@ class SubscriptionClient(SDKClient):
:vartype tenants: azure.mgmt.subscription.operations.TenantsOperations
:ivar subscription: Subscription operations
:vartype subscription: azure.mgmt.subscription.operations.SubscriptionOperations
:ivar subscription_operation: SubscriptionOperation operations
:vartype subscription_operation: azure.mgmt.subscription.operations.SubscriptionOperationOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.subscription.operations.Operations
:ivar alias: Alias operations
:vartype alias: azure.mgmt.subscription.operations.AliasOperations

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -60,7 +60,7 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.subscription = SubscriptionOperations(
self._client, self.config, self._serialize, self._deserialize)
self.subscription_operation = SubscriptionOperationOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.alias = AliasOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,40 @@
# --------------------------------------------------------------------------

try:
from ._models_py3 import AdPrincipal
from ._models_py3 import CanceledSubscriptionId
from ._models_py3 import EnabledSubscriptionId
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import ErrorResponseBody, ErrorResponseBodyException
from ._models_py3 import Location
from ._models_py3 import ModernCspSubscriptionCreationParameters
from ._models_py3 import ModernSubscriptionCreationParameters
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import OperationListResult
from ._models_py3 import PutAliasListResult
from ._models_py3 import PutAliasRequest
from ._models_py3 import PutAliasRequestProperties
from ._models_py3 import PutAliasResponse
from ._models_py3 import PutAliasResponseProperties
from ._models_py3 import RenamedSubscriptionId
from ._models_py3 import Subscription
from ._models_py3 import SubscriptionCreationParameters
from ._models_py3 import SubscriptionCreationResult
from ._models_py3 import SubscriptionName
from ._models_py3 import SubscriptionPolicies
from ._models_py3 import TenantIdDescription
except (SyntaxError, ImportError):
from ._models import AdPrincipal
from ._models import CanceledSubscriptionId
from ._models import EnabledSubscriptionId
from ._models import ErrorResponse, ErrorResponseException
from ._models import ErrorResponseBody, ErrorResponseBodyException
from ._models import Location
from ._models import ModernCspSubscriptionCreationParameters
from ._models import ModernSubscriptionCreationParameters
from ._models import Operation
from ._models import OperationDisplay
from ._models import OperationListResult
from ._models import PutAliasListResult
from ._models import PutAliasRequest
from ._models import PutAliasRequestProperties
from ._models import PutAliasResponse
from ._models import PutAliasResponseProperties
from ._models import RenamedSubscriptionId
from ._models import Subscription
from ._models import SubscriptionCreationParameters
from ._models import SubscriptionCreationResult
from ._models import SubscriptionName
from ._models import SubscriptionPolicies
from ._models import TenantIdDescription
Expand All @@ -51,24 +53,26 @@
from ._subscription_client_enums import (
SubscriptionState,
SpendingLimit,
OfferType,
Workload,
ProvisioningState,
)

__all__ = [
'AdPrincipal',
'CanceledSubscriptionId',
'EnabledSubscriptionId',
'ErrorResponse', 'ErrorResponseException',
'ErrorResponseBody', 'ErrorResponseBodyException',
'Location',
'ModernCspSubscriptionCreationParameters',
'ModernSubscriptionCreationParameters',
'Operation',
'OperationDisplay',
'OperationListResult',
'PutAliasListResult',
'PutAliasRequest',
'PutAliasRequestProperties',
'PutAliasResponse',
'PutAliasResponseProperties',
'RenamedSubscriptionId',
'Subscription',
'SubscriptionCreationParameters',
'SubscriptionCreationResult',
'SubscriptionName',
'SubscriptionPolicies',
'TenantIdDescription',
Expand All @@ -77,5 +81,6 @@
'TenantIdDescriptionPaged',
'SubscriptionState',
'SpendingLimit',
'OfferType',
'Workload',
'ProvisioningState',
]
Loading