Skip to content

Commit

Permalink
Update manage_fabric_capacity.py to allow dynamic selection of SKU
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Feb 5, 2024
1 parent 64bc967 commit 5dd492d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage_fabric_capacity.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
parser = argparse.ArgumentParser()
parser.add_argument("resource_id", help="The resource id of the capacity to change, e.g. /subscriptions/12345678-1234-1234-1234-123a12b12d1c/resourceGroups/fabric-rg/providers/Microsoft.Fabric/capacities/myf2capacity")
parser.add_argument("operation", choices=["suspend", "resume", "scale"], help="The operation to perform, either suspend, resume or scale")
parser.add_argument("sku", nargs="?", help="The sku to scale to, e.g. F4")
parser.add_argument("sku", choices=[f"F{2**i}" for i in range(1,12)], nargs="?", help="The sku to scale to, e.g. F4")
args = parser.parse_args()

if os.getenv('IDENTITY_ENDPOINT'):
Expand Down

0 comments on commit 5dd492d

Please sign in to comment.