Skip to content

Commit 5d5bf08

Browse files
author
SDKAuto
committed
CodeGen from PR 11670 in Azure/azure-rest-api-specs
hide StorageAccountCredentials put (Azure#11670) * hide StorageAccountCredentials put * hide StorageAccounts put
1 parent 1d09bd7 commit 5d5bf08

File tree

3 files changed

+4
-73
lines changed

3 files changed

+4
-73
lines changed

sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
from ._models_py3 import Sku
6161
from ._models_py3 import SKUCapability
6262
from ._models_py3 import SkuCost
63-
from ._models_py3 import SKUCost
6463
from ._models_py3 import SkuInformation
6564
from ._models_py3 import SkuLocationInfo
6665
from ._models_py3 import SkuRestriction
@@ -128,7 +127,6 @@
128127
from ._models import Sku
129128
from ._models import SKUCapability
130129
from ._models import SkuCost
131-
from ._models import SKUCost
132130
from ._models import SkuInformation
133131
from ._models import SkuLocationInfo
134132
from ._models import SkuRestriction
@@ -259,7 +257,6 @@
259257
'Sku',
260258
'SKUCapability',
261259
'SkuCost',
262-
'SKUCost',
263260
'SkuInformation',
264261
'SkuLocationInfo',
265262
'SkuRestriction',

sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/_models.py

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2412,39 +2412,6 @@ def __init__(self, **kwargs):
24122412
self.extended_unit = None
24132413

24142414

2415-
class SKUCost(Model):
2416-
"""The cost of the SKU.
2417-
2418-
Variables are only populated by the server, and will be ignored when
2419-
sending a request.
2420-
2421-
:ivar meter_id: The meter id
2422-
:vartype meter_id: str
2423-
:ivar quantity: The quantity
2424-
:vartype quantity: int
2425-
:ivar extended_unit: The extended unit
2426-
:vartype extended_unit: str
2427-
"""
2428-
2429-
_validation = {
2430-
'meter_id': {'readonly': True},
2431-
'quantity': {'readonly': True},
2432-
'extended_unit': {'readonly': True},
2433-
}
2434-
2435-
_attribute_map = {
2436-
'meter_id': {'key': 'meterId', 'type': 'str'},
2437-
'quantity': {'key': 'quantity', 'type': 'int'},
2438-
'extended_unit': {'key': 'extendedUnit', 'type': 'str'},
2439-
}
2440-
2441-
def __init__(self, **kwargs):
2442-
super(SKUCost, self).__init__(**kwargs)
2443-
self.meter_id = None
2444-
self.quantity = None
2445-
self.extended_unit = None
2446-
2447-
24482415
class SkuInformation(Model):
24492416
"""Sku information.
24502417
@@ -2476,7 +2443,7 @@ class SkuInformation(Model):
24762443
available.
24772444
:vartype required_features: list[str]
24782445
:ivar costs: The cost of the SKU
2479-
:vartype costs: list[~azure.mgmt.databoxedge.models.SKUCost]
2446+
:vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost]
24802447
:ivar capabilities: The capabilities of the SKU
24812448
:vartype capabilities: list[~azure.mgmt.databoxedge.models.SKUCapability]
24822449
"""
@@ -2507,7 +2474,7 @@ class SkuInformation(Model):
25072474
'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'},
25082475
'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'},
25092476
'required_features': {'key': 'requiredFeatures', 'type': '[str]'},
2510-
'costs': {'key': 'costs', 'type': '[SKUCost]'},
2477+
'costs': {'key': 'costs', 'type': '[SkuCost]'},
25112478
'capabilities': {'key': 'capabilities', 'type': '[SKUCapability]'},
25122479
}
25132480

sdk/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2020_05_01_preview/models/_models_py3.py

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2412,39 +2412,6 @@ def __init__(self, **kwargs) -> None:
24122412
self.extended_unit = None
24132413

24142414

2415-
class SKUCost(Model):
2416-
"""The cost of the SKU.
2417-
2418-
Variables are only populated by the server, and will be ignored when
2419-
sending a request.
2420-
2421-
:ivar meter_id: The meter id
2422-
:vartype meter_id: str
2423-
:ivar quantity: The quantity
2424-
:vartype quantity: int
2425-
:ivar extended_unit: The extended unit
2426-
:vartype extended_unit: str
2427-
"""
2428-
2429-
_validation = {
2430-
'meter_id': {'readonly': True},
2431-
'quantity': {'readonly': True},
2432-
'extended_unit': {'readonly': True},
2433-
}
2434-
2435-
_attribute_map = {
2436-
'meter_id': {'key': 'meterId', 'type': 'str'},
2437-
'quantity': {'key': 'quantity', 'type': 'int'},
2438-
'extended_unit': {'key': 'extendedUnit', 'type': 'str'},
2439-
}
2440-
2441-
def __init__(self, **kwargs) -> None:
2442-
super(SKUCost, self).__init__(**kwargs)
2443-
self.meter_id = None
2444-
self.quantity = None
2445-
self.extended_unit = None
2446-
2447-
24482415
class SkuInformation(Model):
24492416
"""Sku information.
24502417
@@ -2476,7 +2443,7 @@ class SkuInformation(Model):
24762443
available.
24772444
:vartype required_features: list[str]
24782445
:ivar costs: The cost of the SKU
2479-
:vartype costs: list[~azure.mgmt.databoxedge.models.SKUCost]
2446+
:vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost]
24802447
:ivar capabilities: The capabilities of the SKU
24812448
:vartype capabilities: list[~azure.mgmt.databoxedge.models.SKUCapability]
24822449
"""
@@ -2507,7 +2474,7 @@ class SkuInformation(Model):
25072474
'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'},
25082475
'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'},
25092476
'required_features': {'key': 'requiredFeatures', 'type': '[str]'},
2510-
'costs': {'key': 'costs', 'type': '[SKUCost]'},
2477+
'costs': {'key': 'costs', 'type': '[SkuCost]'},
25112478
'capabilities': {'key': 'capabilities', 'type': '[SKUCapability]'},
25122479
}
25132480

0 commit comments

Comments
 (0)