Share via


ArmSecurityCenterModelFactory.AzureResourceIdentifier Method

Definition

Initializes a new instance of AzureResourceIdentifier.

public static Azure.ResourceManager.SecurityCenter.Models.AzureResourceIdentifier AzureResourceIdentifier (Azure.Core.ResourceIdentifier azureResourceId = default);
static member AzureResourceIdentifier : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SecurityCenter.Models.AzureResourceIdentifier
Public Shared Function AzureResourceIdentifier (Optional azureResourceId As ResourceIdentifier = Nothing) As AzureResourceIdentifier

Parameters

azureResourceId
ResourceIdentifier

ARM resource identifier for the cloud resource being alerted on.

Returns

A new AzureResourceIdentifier instance for mocking.

Applies to