You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/azure/fix_plugin_azure/resource/base.py
+17-16Lines changed: 17 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -62,36 +62,35 @@ class MicrosoftResource(BaseResource):
62
62
etag: Optional[str] =field(default=None, metadata={'description': 'A unique read-only string that changes whenever the resource is updated.'}) # fmt: skip
63
63
provisioning_state: Optional[str] =field(default=None, metadata={'description': 'The current provisioning state.'}) # fmt: skip
This method allows for the creation or update of a tag value associated with the specified tag name.
126
125
The tag name must already exist for the operation to be successful.
127
126
"""
128
-
subscription_id=self.resource_subscription_id()
127
+
subscription_id=self.resource_subscription_id
129
128
ifsubscription_idisNone:
130
129
log.warning("Failed to update tag. Subscription ID is not available.")
131
130
returnFalse
@@ -570,11 +569,13 @@ class AzureSku:
570
569
"name": S("name"),
571
570
"tier": S("tier"),
572
571
"family": S("family"),
572
+
"size": S("size"),
573
573
}
574
574
capacity: Optional[int] =field(default=None, metadata={'description': 'Specifies the number of virtual machines in the scale set.'}) # fmt: skip
575
575
family: Optional[str] =field(default=None, metadata={"description": "The family of the sku."})
576
576
name: Optional[str] =field(default=None, metadata={"description": "The sku name."})
577
577
tier: Optional[str] =field(default=None, metadata={'description': 'Specifies the tier of virtual machines in a scale set. Possible values: **standard** **basic**.'}) # fmt: skip
578
+
size: Optional[str] =field(default=None, metadata={"description": "Size of the particular SKU"})
0 commit comments