@@ -184,8 +184,6 @@ class ModernCspSubscriptionCreationParameters(Model):
184
184
:type sku_id: str
185
185
:param reseller_id: Reseller ID, basically MPN Id.
186
186
:type reseller_id: str
187
- :param service_provider_id: Service provider ID, basically MPN Id.
188
- :type service_provider_id: str
189
187
"""
190
188
191
189
_validation = {
@@ -197,15 +195,13 @@ class ModernCspSubscriptionCreationParameters(Model):
197
195
'display_name' : {'key' : 'displayName' , 'type' : 'str' },
198
196
'sku_id' : {'key' : 'skuId' , 'type' : 'str' },
199
197
'reseller_id' : {'key' : 'resellerId' , 'type' : 'str' },
200
- 'service_provider_id' : {'key' : 'serviceProviderId' , 'type' : 'str' },
201
198
}
202
199
203
200
def __init__ (self , ** kwargs ):
204
201
super (ModernCspSubscriptionCreationParameters , self ).__init__ (** kwargs )
205
202
self .display_name = kwargs .get ('display_name' , None )
206
203
self .sku_id = kwargs .get ('sku_id' , None )
207
204
self .reseller_id = kwargs .get ('reseller_id' , None )
208
- self .service_provider_id = kwargs .get ('service_provider_id' , None )
209
205
210
206
211
207
class ModernSubscriptionCreationParameters (Model ):
@@ -215,9 +211,6 @@ class ModernSubscriptionCreationParameters(Model):
215
211
216
212
:param display_name: Required. The friendly name of the subscription.
217
213
:type display_name: str
218
- :param billing_profile_id: Required. The ARM ID of the billing profile for
219
- which you want to create the subscription.
220
- :type billing_profile_id: str
221
214
:param sku_id: Required. The SKU ID of the Azure plan. Azure plan
222
215
determines the pricing and service-level agreement of the subscription.
223
216
Use 001 for Microsoft Azure Plan and 002 for Microsoft Azure Plan for
@@ -240,13 +233,11 @@ class ModernSubscriptionCreationParameters(Model):
240
233
241
234
_validation = {
242
235
'display_name' : {'required' : True },
243
- 'billing_profile_id' : {'required' : True },
244
236
'sku_id' : {'required' : True },
245
237
}
246
238
247
239
_attribute_map = {
248
240
'display_name' : {'key' : 'displayName' , 'type' : 'str' },
249
- 'billing_profile_id' : {'key' : 'billingProfileId' , 'type' : 'str' },
250
241
'sku_id' : {'key' : 'skuId' , 'type' : 'str' },
251
242
'cost_center' : {'key' : 'costCenter' , 'type' : 'str' },
252
243
'owner' : {'key' : 'owner' , 'type' : 'AdPrincipal' },
@@ -257,7 +248,6 @@ class ModernSubscriptionCreationParameters(Model):
257
248
def __init__ (self , ** kwargs ):
258
249
super (ModernSubscriptionCreationParameters , self ).__init__ (** kwargs )
259
250
self .display_name = kwargs .get ('display_name' , None )
260
- self .billing_profile_id = kwargs .get ('billing_profile_id' , None )
261
251
self .sku_id = kwargs .get ('sku_id' , None )
262
252
self .cost_center = kwargs .get ('cost_center' , None )
263
253
self .owner = kwargs .get ('owner' , None )
@@ -413,6 +403,8 @@ class SubscriptionCreationParameters(Model):
413
403
414
404
:param display_name: The display name of the subscription.
415
405
:type display_name: str
406
+ :param management_group_id: The Management Group Id.
407
+ :type management_group_id: str
416
408
:param owners: The list of principals that should be granted Owner access
417
409
on the subscription. Principals should be of type User, Service Principal
418
410
or Security Group.
@@ -430,6 +422,7 @@ class SubscriptionCreationParameters(Model):
430
422
431
423
_attribute_map = {
432
424
'display_name' : {'key' : 'displayName' , 'type' : 'str' },
425
+ 'management_group_id' : {'key' : 'managementGroupId' , 'type' : 'str' },
433
426
'owners' : {'key' : 'owners' , 'type' : '[AdPrincipal]' },
434
427
'offer_type' : {'key' : 'offerType' , 'type' : 'str' },
435
428
'additional_parameters' : {'key' : 'additionalParameters' , 'type' : '{object}' },
@@ -438,6 +431,7 @@ class SubscriptionCreationParameters(Model):
438
431
def __init__ (self , ** kwargs ):
439
432
super (SubscriptionCreationParameters , self ).__init__ (** kwargs )
440
433
self .display_name = kwargs .get ('display_name' , None )
434
+ self .management_group_id = kwargs .get ('management_group_id' , None )
441
435
self .owners = kwargs .get ('owners' , None )
442
436
self .offer_type = kwargs .get ('offer_type' , None )
443
437
self .additional_parameters = kwargs .get ('additional_parameters' , None )
@@ -476,53 +470,6 @@ def __init__(self, **kwargs):
476
470
self .subscription_name = kwargs .get ('subscription_name' , None )
477
471
478
472
479
- class SubscriptionOperation (Model ):
480
- """status of the subscription POST operation.
481
-
482
- Variables are only populated by the server, and will be ignored when
483
- sending a request.
484
-
485
- :ivar id: The operation Id.
486
- :vartype id: str
487
- :param status: Status of the pending subscription
488
- :type status: str
489
- :param status_detail: Status Detail of the pending subscription
490
- :type status_detail: str
491
- """
492
-
493
- _validation = {
494
- 'id' : {'readonly' : True },
495
- }
496
-
497
- _attribute_map = {
498
- 'id' : {'key' : 'id' , 'type' : 'str' },
499
- 'status' : {'key' : 'status' , 'type' : 'str' },
500
- 'status_detail' : {'key' : 'statusDetail' , 'type' : 'str' },
501
- }
502
-
503
- def __init__ (self , ** kwargs ):
504
- super (SubscriptionOperation , self ).__init__ (** kwargs )
505
- self .id = None
506
- self .status = kwargs .get ('status' , None )
507
- self .status_detail = kwargs .get ('status_detail' , None )
508
-
509
-
510
- class SubscriptionOperationListResult (Model ):
511
- """A list of pending subscription operations.
512
-
513
- :param value: A list of pending SubscriptionOperations
514
- :type value: list[~azure.mgmt.subscription.models.SubscriptionOperation]
515
- """
516
-
517
- _attribute_map = {
518
- 'value' : {'key' : 'value' , 'type' : '[SubscriptionOperation]' },
519
- }
520
-
521
- def __init__ (self , ** kwargs ):
522
- super (SubscriptionOperationListResult , self ).__init__ (** kwargs )
523
- self .value = kwargs .get ('value' , None )
524
-
525
-
526
473
class SubscriptionPolicies (Model ):
527
474
"""Subscription policies.
528
475
0 commit comments