ArmAppComplianceAutomationModelFactory.ResourceItem Method

Definition

Initializes a new instance of ResourceItem.

public static Azure.ResourceManager.AppComplianceAutomation.Models.ResourceItem ResourceItem (string subscriptionId = default, string resourceGroup = default, string resourceType = default, string resourceId = default);
static member ResourceItem : string * string * string * string -> Azure.ResourceManager.AppComplianceAutomation.Models.ResourceItem
Public Shared Function ResourceItem (Optional subscriptionId As String = Nothing, Optional resourceGroup As String = Nothing, Optional resourceType As String = Nothing, Optional resourceId As String = Nothing) As ResourceItem

Parameters

subscriptionId
String

The subscription Id of this resource.

resourceGroup
String

The resource group name of this resource.

resourceType
String

The resource type of this resource.

resourceId
String

The resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".

Returns

A new ResourceItem instance for mocking.

Applies to