你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResourceGroup(String, String) Constructor

Definition

Creates a new ResourceGroup.

public ResourceGroup (string bicepIdentifier, string? resourceVersion = default);
public ResourceGroup (string identifierName, string? resourceVersion = default);
new Azure.Provisioning.Resources.ResourceGroup : string * string -> Azure.Provisioning.Resources.ResourceGroup
new Azure.Provisioning.Resources.ResourceGroup : string * string -> Azure.Provisioning.Resources.ResourceGroup
Public Sub New (bicepIdentifier As String, Optional resourceVersion As String = Nothing)
Public Sub New (identifierName As String, Optional resourceVersion As String = Nothing)

Parameters

bicepIdentifieridentifierName
String

The the Bicep identifier name of the ResourceGroup resource. This can be used to refer to the resource in expressions, but is not the Azure name of the resource. This value can contain letters, numbers, and underscores.

resourceVersion
String

Version of the ResourceGroup.

Applies to