Share via


ResourceMetadata(String) Constructor

Definition

Initializes a new instance of ResourceMetadata.

public ResourceMetadata (string resourceId);
new Azure.ResourceManager.AppComplianceAutomation.Models.ResourceMetadata : string -> Azure.ResourceManager.AppComplianceAutomation.Models.ResourceMetadata
Public Sub New (resourceId As String)

Parameters

resourceId
String

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

Exceptions

resourceId is null.

Applies to