ResourceManagerModelFactory.ResourceGroupData Method

Definition

Initializes a new instance of ResourceGroupData.

public static Azure.ResourceManager.Resources.ResourceGroupData ResourceGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string resourceGroupProvisioningState = default, string managedBy = default);
static member ResourceGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Resources.ResourceGroupData
Public Shared Function ResourceGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional resourceGroupProvisioningState As String = Nothing, Optional managedBy As String = Nothing) As ResourceGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

resourceGroupProvisioningState
String

The resource group properties.

managedBy
String

The ID of the resource that manages this resource group.

Returns

A new ResourceGroupData instance for mocking.

Applies to