Share via


ArmDataProtectionBackupModelFactory.UserFacingWarningDetail Method

Definition

Initializes a new instance of UserFacingWarningDetail.

public static Azure.ResourceManager.DataProtectionBackup.Models.UserFacingWarningDetail UserFacingWarningDetail (string resourceName = default, Azure.ResponseError warning = default);
static member UserFacingWarningDetail : string * Azure.ResponseError -> Azure.ResourceManager.DataProtectionBackup.Models.UserFacingWarningDetail
Public Shared Function UserFacingWarningDetail (Optional resourceName As String = Nothing, Optional warning As ResponseError = Nothing) As UserFacingWarningDetail

Parameters

resourceName
String

Name of resource for which warning is raised.

warning
ResponseError

Error details for the warning.

Returns

A new UserFacingWarningDetail instance for mocking.

Applies to