ResourceGroup Constructors
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.
Overloads
ResourceGroup() |
Initializes a new instance of the ResourceGroup class. |
ResourceGroup(String, String, String, String, ResourceGroupProperties, String, IDictionary<String,String>) |
Initializes a new instance of the ResourceGroup class. |
ResourceGroup()
Initializes a new instance of the ResourceGroup class.
public ResourceGroup ();
Public Sub New ()
Applies to
ResourceGroup(String, String, String, String, ResourceGroupProperties, String, IDictionary<String,String>)
Initializes a new instance of the ResourceGroup class.
public ResourceGroup (string location, string id = default, string name = default, string type = default, Microsoft.Azure.Management.ResourceManager.Models.ResourceGroupProperties properties = default, string managedBy = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup : string * string * string * string * Microsoft.Azure.Management.ResourceManager.Models.ResourceGroupProperties * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional properties As ResourceGroupProperties = Nothing, Optional managedBy As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing)
Parameters
- location
- String
The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.
- id
- String
The ID of the resource group.
- name
- String
The name of the resource group.
- type
- String
The type of the resource group.
- properties
- ResourceGroupProperties
The resource group properties.
- managedBy
- String
The ID of the resource that manages this resource group.
- tags
- IDictionary<String,String>
The tags attached to the resource group.