Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/rdbms/azure-mgmt-rdbms/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "dc92283b118284e79f4ed3837763e2bb079ffa09",
"commit": "1f707cd3d86c85efa3327ea7a881d0c728908e31",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/python@6.4.12",
"@autorest/python@6.6.0",
"@autorest/modelerfour@4.24.3"
],
"autorest_command": "autorest specification/postgresql/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.4.12 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/postgresql/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.6.0 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"readme": "specification/postgresql/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "10.2.0b10"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "10.2.0b10"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -3521,9 +3521,9 @@ class Storage(_serialization.Model):
:ivar auto_grow: Flag to enable / disable Storage Auto grow for flexible server. Known values
are: "Enabled" and "Disabled".
:vartype auto_grow: str or ~azure.mgmt.rdbms.postgresql_flexibleservers.models.StorageAutoGrow
:ivar iops_tier: Name of storage tier for IOPS. Known values are: "P1", "P2", "P3", "P4", "P6",
:ivar tier: Name of storage tier for IOPS. Known values are: "P1", "P2", "P3", "P4", "P6",
"P10", "P15", "P20", "P30", "P40", "P50", "P60", "P70", and "P80".
:vartype iops_tier: str or
:vartype tier: str or
~azure.mgmt.rdbms.postgresql_flexibleservers.models.AzureManagedDiskPerformanceTiers
:ivar iops: Storage tier IOPS quantity.
:vartype iops: int
Expand All @@ -3536,7 +3536,7 @@ class Storage(_serialization.Model):
_attribute_map = {
"storage_size_gb": {"key": "storageSizeGB", "type": "int"},
"auto_grow": {"key": "autoGrow", "type": "str"},
"iops_tier": {"key": "iopsTier", "type": "str"},
"tier": {"key": "tier", "type": "str"},
"iops": {"key": "iops", "type": "int"},
}

Expand All @@ -3545,7 +3545,7 @@ def __init__(
*,
storage_size_gb: Optional[int] = None,
auto_grow: Optional[Union[str, "_models.StorageAutoGrow"]] = None,
iops_tier: Optional[Union[str, "_models.AzureManagedDiskPerformanceTiers"]] = None,
tier: Optional[Union[str, "_models.AzureManagedDiskPerformanceTiers"]] = None,
**kwargs: Any
) -> None:
"""
Expand All @@ -3555,15 +3555,15 @@ def __init__(
values are: "Enabled" and "Disabled".
:paramtype auto_grow: str or
~azure.mgmt.rdbms.postgresql_flexibleservers.models.StorageAutoGrow
:keyword iops_tier: Name of storage tier for IOPS. Known values are: "P1", "P2", "P3", "P4",
"P6", "P10", "P15", "P20", "P30", "P40", "P50", "P60", "P70", and "P80".
:paramtype iops_tier: str or
:keyword tier: Name of storage tier for IOPS. Known values are: "P1", "P2", "P3", "P4", "P6",
"P10", "P15", "P20", "P30", "P40", "P50", "P60", "P70", and "P80".
:paramtype tier: str or
~azure.mgmt.rdbms.postgresql_flexibleservers.models.AzureManagedDiskPerformanceTiers
"""
super().__init__(**kwargs)
self.storage_size_gb = storage_size_gb
self.auto_grow = auto_grow
self.iops_tier = iops_tier
self.tier = tier
self.iops = None


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def main():
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
},
"storage": {"autoGrow": "Disabled", "iopsTier": "P20", "storageSizeGB": 512},
"storage": {"autoGrow": "Disabled", "storageSizeGB": 512, "tier": "P20"},
"version": "12",
},
"sku": {"name": "Standard_D4s_v3", "tier": "GeneralPurpose"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def main():
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
},
"storage": {"autoGrow": "Disabled", "iopsTier": "P20", "storageSizeGB": 512},
"storage": {"autoGrow": "Disabled", "storageSizeGB": 512, "tier": "P20"},
"version": "12",
},
"sku": {"name": "Standard_D4s_v3", "tier": "GeneralPurpose"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def main():
"administratorLoginPassword": "newpassword",
"backup": {"backupRetentionDays": 20},
"createMode": "Update",
"storage": {"autoGrow": "Enabled", "iopsTier": "P30", "storageSizeGB": 1024},
"storage": {"autoGrow": "Enabled", "storageSizeGB": 1024, "tier": "P30"},
},
"sku": {"name": "Standard_D8s_v3", "tier": "GeneralPurpose"},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def main():
},
"backup": {"backupRetentionDays": 20},
"createMode": "Update",
"storage": {"autoGrow": "Disabled", "iopsTier": "P30", "storageSizeGB": 1024},
"storage": {"autoGrow": "Disabled", "storageSizeGB": 1024, "tier": "P30"},
},
"sku": {"name": "Standard_D8s_v3", "tier": "GeneralPurpose"},
},
Expand Down