你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResourceNameRequirements(Int32, Int32, ResourceNameCharacters) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Define the requirements to name a resource.
public ResourceNameRequirements (int minLength, int maxLength, Azure.Provisioning.Primitives.ResourceNameCharacters validCharacters);
new Azure.Provisioning.Primitives.ResourceNameRequirements : int * int * Azure.Provisioning.Primitives.ResourceNameCharacters -> Azure.Provisioning.Primitives.ResourceNameRequirements
Public Sub New (minLength As Integer, maxLength As Integer, validCharacters As ResourceNameCharacters)
Parameters
- minLength
- Int32
The minimum length of the name.
- maxLength
- Int32
The maximum length of the name.
- validCharacters
- ResourceNameCharacters
The set of valid characters in the resource name.