Azure Stack Hub 中的配额类型Quota types in Azure Stack Hub
配额定义用户订阅可以预配或使用的资源限制。Quotas define the limits of resources that a user subscription can provision or consume. 例如,配额可能允许用户最多创建五个虚拟机 (VM)。For example, a quota might allow a user to create up to five virtual machines (VMs). 每个资源都可以有自已的配额类型。Each resource can have its own types of quotas.
重要
在用户门户中出现可用的新配额或者强制实施更改的配额可能需要长达两小时的时间。It can take up to two hours for new quotas to be available in the user portal or before a changed quota is enforced.
计算配额类型Compute quota types
类型Type | 默认值Default value | 说明Description |
---|---|---|
最大 VM 数Maximum number of VMs | 5050 | 订阅可以在此位置创建的 VM 数目上限。The maximum number of VMs that a subscription can create in this location. |
最大 VM 核心数Maximum number of VM cores | 100100 | 订阅可以在此位置创建的核心数目上限(例如,A3 VM 有四个核心)。The maximum number of cores that a subscription can create in this location (for example, an A3 VM has four cores). |
可用性集的数目上限Maximum number of availability sets | 10 个10 | 可以在此位置创建的可用性集数目上限。The maximum number of availability sets that can be created in this location. |
虚拟机规模集的数目上限Maximum number of virtual machine scale sets | 100100 | 可以在此位置创建的规模集数目上限。The maximum number of scale sets that can be created in this location. |
标准托管磁盘的最大容量 (GB)Maximum capacity (in GB) of standard managed disk | 20482048 | 可以在此位置中创建的标准托管磁盘的最大容量。The maximum capacity of standard managed disks that can be created in this location. 此值是所有标准托管磁盘的分配大小和所有标准快照的已使用大小的总和。This value is a total of the allocation size of all standard managed disks and the used size of all standard snapshots. |
高级托管磁盘的最大容量 (GB)Maximum capacity (in GB) of premium managed disk | 20482048 | 可以在此位置中创建的高级托管磁盘的最大容量。The maximum capacity of premium managed disks that can be created in this location. 此值是所有高级托管磁盘的分配大小和所有高级快照的已使用大小的总和。This value is a total of the allocation size of all premium managed disks and the used size of all premium snapshots. |
备注
非托管磁盘(页 Blob)的最大容量独立于托管磁盘配额。The maximum capacity of unmanaged disks (page blobs) is separate from the managed disk quota. 可以在“存储配额”的“最大容量(GB)”中设置此值。 You can set this value in Maximum capacity (GB) in Storage quotas.
存储配额类型Storage quota types
项目Item | 默认值Default value | 说明Description |
---|---|---|
最大容量 (GB)Maximum capacity (GB) | 20482048 | 可供此位置的订阅使用的总存储容量。Total storage capacity that can be consumed by a subscription in this location. 此值是所有 Blob(包括非托管磁盘)和所有关联的快照、表、队列的已使用大小的总和。This value is a total of the used size of all blobs (including unmanaged disks) and all associated snapshots, tables, queues. |
存储帐户的总数Total number of storage accounts | 20 个20 | 订阅可以在此位置创建的存储帐户数目上限。The maximum number of storage accounts that a subscription can create in this location. |
备注
超过订阅的最大容量 (GB) 时,将无法在订阅中创建新的存储资源。When the Maximum capacity (GB) of a subscription is exceeded, you can't create a new storage resource in the subscription. 尽管仍可使用非托管磁盘创建 VM,但这样做可能会导致已用总容量超过配额限制。Although you can still create VMs with unmanaged disks, doing so may cause your total used capacity to exceed the quota limit.
托管磁盘的最大容量独立于总存储配额。The maximum capacity of managed disks is separate from the total storage quota. 可以在“计算配额”中设置总存储配额。You can set the total storage quota in Compute quotas.
网络配额类型Network quota types
项目Item | 默认值Default value | 说明Description |
---|---|---|
虚拟网络数目上限Maximum virtual networks | 5050 | 订阅可以在此位置创建的虚拟网络数目上限。The maximum number of virtual networks that a subscription can create in this location. |
虚拟网络网关数目上限Maximum virtual network gateways | 11 | 订阅可以在此位置创建的虚拟网络网关(VPN 网关)数目上限。The maximum number of virtual network gateways (VPN gateways) that a subscription can create in this location. |
网络连接数目上限Maximum network connections | 22 | 订阅可以在此位置跨所有虚拟网络网关创建的网络连接(点到点或站点到站点)数目上限。The maximum number of network connections (point-to-point or site-to-site) that a subscription can create across all virtual network gateways in this location. |
公共 IP 数目上限Maximum public IPs | 5050 | 订阅可以在此位置创建的公共 IP 地址数目上限。The maximum number of public IP addresses that a subscription can create in this location. |
NIC 数目上限Maximum NICs | 100100 | 订阅可以在此位置创建的网络接口数目上限。The maximum number of network interfaces that a subscription can create in this location. |
负载均衡器数目上限Maximum load balancers | 5050 | 订阅可以在此位置创建的负载均衡器数目上限。The maximum number of load balancers that a subscription can create in this location. |
网络安全组数目上限Maximum network security groups | 5050 | 订阅可以在此位置创建的网络安全组数目上限。The maximum number of network security groups that a subscription can create in this location. |
事件中心配额类型Event Hubs quota types
类型Type | 默认值Default value | 说明Description |
---|---|---|
最大 VM 核心数Maximum number of VM cores | 10 个10 | 订阅可以在此位置创建的核心数目上限(例如,A3 VM 有四个核心)。The maximum number of cores that a subscription can create in this location (for example, an A3 VM has four cores). |
查看现有配额View an existing quota
可以通过两种不同的方式查看现有配额:There are two different ways to view an existing quota:
计划Plans
在管理员门户的左侧导航窗格中,选择“计划”。In the left navigation pane of the administrator portal, select Plans.
单击要查看其详细信息的计划的名称,将其选中。Select the plan you want to view details for by clicking on its name.
在打开的边栏选项卡中,选择“服务和配额”。In the blade that opens, select Services and quotas.
在“名称”列中单击要查看的配额,将其选中。Select the quota you want to see by clicking it in the Name column.
资源提供程序Resource providers
- 在管理员门户的默认仪表板上,找到“资源提供程序”磁贴。On the default dashboard of the administrator portal, find the Resource providers tile.
- 选择要查看其配额的服务,例如“计算”、“网络”或“存储”。 Select the service with the quota that you want to view, like Compute, Network, or Storage.
- 选择“配额”,然后选择要查看的配额。Select Quotas, and then select the quota you want to view.
编辑配额Edit a quota
可以通过两种不同的方式编辑配额:There are two different ways to edit a quota:
编辑计划Edit a plan
在管理员门户的左侧导航窗格中,选择“计划”。In the left navigation pane of the administrator portal, select Plans.
单击要编辑其配额的计划的名称,将其选中。Select the plan for which you want to edit a quota by clicking on its name.
在打开的边栏选项卡中,选择“服务和配额”。In the blade that opens, select Services and quotas.
在“名称”列中单击要编辑的配额,将其选中。Select the quota you want to edit by clicking it in the Name column.
在打开的边栏选项卡中,选择“在计算中编辑”、“在网络中编辑”或“在存储中编辑”。 In the blade that opens, select Edit in Compute, Edit in Network, or Edit in Storage.
或者,可以按照以下过程来编辑配额:Alternatively, you can follow this procedure to edit a quota:
- 在管理员门户的默认仪表板上,找到“资源提供程序”磁贴。On the default dashboard of the administrator portal, find the Resource providers tile.
- 选择要修改其配额的服务,例如“计算”、“网络”或“存储”。 Select the service with the quota that you want to modify, like Compute, Network, or Storage.
- 接下来选择“配额”,然后选择要更改的配额。Next, select Quotas, and then select the quota you want to change.
- 在“设置存储配额”、“设置计算配额”或“设置网络配额”窗格(具体取决于选择进行编辑的配额的类型)中编辑值,然后选择“保存”。 On the Set Storage quotas, Set Compute quotas, or Set Network quotas pane (depending on the type of quota you've chosen to edit), edit the values, and then select Save.
编辑原始配置Edit original configuration
可以选择编辑配额的原始配置,而不使用附加计划。You can choose to edit the original configuration of a quota instead of using an add-on plan. 编辑配额时,新配置会自动全局应用到使用该配额的所有计划,以及使用这些计划的所有现有订阅。When you edit a quota, the new configuration automatically applies globally to all plans that use that quota and all existing subscriptions that use those plans. 编辑配额的效果不同于使用用户选择订阅的附加计划来提供修改的配额。The editing of a quota is different than when you use an add-on plan to provide a modified quota, which a user chooses to subscribe to.
该配额的新值将全局应用到使用已修改配额的所有计划,以及使用这些计划的所有现有订阅。The new values for the quota apply globally to all plans that use the modified quota and to all existing subscriptions that use those plans.