Skip to content

Commit

Permalink
CodeGen from PR 11670 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
hide StorageAccountCredentials put (Azure#11670)

* hide StorageAccountCredentials put

* hide StorageAccounts put
  • Loading branch information
SDKAuto committed Nov 17, 2020
1 parent 1d09bd7 commit 5d5bf08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
from ._models_py3 import Sku
from ._models_py3 import SKUCapability
from ._models_py3 import SkuCost
from ._models_py3 import SKUCost
from ._models_py3 import SkuInformation
from ._models_py3 import SkuLocationInfo
from ._models_py3 import SkuRestriction
Expand Down Expand Up @@ -128,7 +127,6 @@
from ._models import Sku
from ._models import SKUCapability
from ._models import SkuCost
from ._models import SKUCost
from ._models import SkuInformation
from ._models import SkuLocationInfo
from ._models import SkuRestriction
Expand Down Expand Up @@ -259,7 +257,6 @@
'Sku',
'SKUCapability',
'SkuCost',
'SKUCost',
'SkuInformation',
'SkuLocationInfo',
'SkuRestriction',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2412,39 +2412,6 @@ def __init__(self, **kwargs):
self.extended_unit = None


class SKUCost(Model):
"""The cost of the SKU.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar meter_id: The meter id
:vartype meter_id: str
:ivar quantity: The quantity
:vartype quantity: int
:ivar extended_unit: The extended unit
:vartype extended_unit: str
"""

_validation = {
'meter_id': {'readonly': True},
'quantity': {'readonly': True},
'extended_unit': {'readonly': True},
}

_attribute_map = {
'meter_id': {'key': 'meterId', 'type': 'str'},
'quantity': {'key': 'quantity', 'type': 'int'},
'extended_unit': {'key': 'extendedUnit', 'type': 'str'},
}

def __init__(self, **kwargs):
super(SKUCost, self).__init__(**kwargs)
self.meter_id = None
self.quantity = None
self.extended_unit = None


class SkuInformation(Model):
"""Sku information.
Expand Down Expand Up @@ -2476,7 +2443,7 @@ class SkuInformation(Model):
available.
:vartype required_features: list[str]
:ivar costs: The cost of the SKU
:vartype costs: list[~azure.mgmt.databoxedge.models.SKUCost]
:vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost]
:ivar capabilities: The capabilities of the SKU
:vartype capabilities: list[~azure.mgmt.databoxedge.models.SKUCapability]
"""
Expand Down Expand Up @@ -2507,7 +2474,7 @@ class SkuInformation(Model):
'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'},
'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'},
'required_features': {'key': 'requiredFeatures', 'type': '[str]'},
'costs': {'key': 'costs', 'type': '[SKUCost]'},
'costs': {'key': 'costs', 'type': '[SkuCost]'},
'capabilities': {'key': 'capabilities', 'type': '[SKUCapability]'},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2412,39 +2412,6 @@ def __init__(self, **kwargs) -> None:
self.extended_unit = None


class SKUCost(Model):
"""The cost of the SKU.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar meter_id: The meter id
:vartype meter_id: str
:ivar quantity: The quantity
:vartype quantity: int
:ivar extended_unit: The extended unit
:vartype extended_unit: str
"""

_validation = {
'meter_id': {'readonly': True},
'quantity': {'readonly': True},
'extended_unit': {'readonly': True},
}

_attribute_map = {
'meter_id': {'key': 'meterId', 'type': 'str'},
'quantity': {'key': 'quantity', 'type': 'int'},
'extended_unit': {'key': 'extendedUnit', 'type': 'str'},
}

def __init__(self, **kwargs) -> None:
super(SKUCost, self).__init__(**kwargs)
self.meter_id = None
self.quantity = None
self.extended_unit = None


class SkuInformation(Model):
"""Sku information.
Expand Down Expand Up @@ -2476,7 +2443,7 @@ class SkuInformation(Model):
available.
:vartype required_features: list[str]
:ivar costs: The cost of the SKU
:vartype costs: list[~azure.mgmt.databoxedge.models.SKUCost]
:vartype costs: list[~azure.mgmt.databoxedge.models.SkuCost]
:ivar capabilities: The capabilities of the SKU
:vartype capabilities: list[~azure.mgmt.databoxedge.models.SKUCapability]
"""
Expand Down Expand Up @@ -2507,7 +2474,7 @@ class SkuInformation(Model):
'location_info': {'key': 'locationInfo', 'type': '[SkuLocationInfo]'},
'required_quota_ids': {'key': 'requiredQuotaIds', 'type': '[str]'},
'required_features': {'key': 'requiredFeatures', 'type': '[str]'},
'costs': {'key': 'costs', 'type': '[SKUCost]'},
'costs': {'key': 'costs', 'type': '[SkuCost]'},
'capabilities': {'key': 'capabilities', 'type': '[SKUCapability]'},
}

Expand Down

0 comments on commit 5d5bf08

Please sign in to comment.