Source code for azure.mgmt.subscription.models.subscription_creation_parameters_py3

# 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.serialization import Model


[docs]class SubscriptionCreationParameters(Model): """Subscription Creation Parameters required to create a new Azure subscription. :param display_name: The display name of the subscription. :type display_name: str :param owners: The list of principals that should be granted Owner access on the subscription. Principals should be of type User, Service Principal or Security Group. :type owners: list[~azure.mgmt.subscription.models.AdPrincipal] :param offer_type: The offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available. Only valid when creating a subscription in a enrollment account scope. Possible values include: 'MS-AZR-0017P', 'MS-AZR-0148P' :type offer_type: str or ~azure.mgmt.subscription.models.OfferType :param additional_parameters: Additional, untyped parameters to support custom subscription creation scenarios. :type additional_parameters: dict[str, object] """ _attribute_map = { 'display_name': {'key': 'displayName', 'type': 'str'}, 'owners': {'key': 'owners', 'type': '[AdPrincipal]'}, 'offer_type': {'key': 'offerType', 'type': 'str'}, 'additional_parameters': {'key': 'additionalParameters', 'type': '{object}'}, } def __init__(self, *, display_name: str=None, owners=None, offer_type=None, additional_parameters=None, **kwargs) -> None: super(SubscriptionCreationParameters, self).__init__(**kwargs) self.display_name = display_name self.owners = owners self.offer_type = offer_type self.additional_parameters = additional_parameters