ArmSecurityInsightsModelFactory.SecurityInsightsFileMetadata Method

Definition

Initializes a new instance of SecurityInsightsFileMetadata.

public static Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileMetadata SecurityInsightsFileMetadata (Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileFormat? fileFormat = default, string fileName = default, int? fileSize = default, Uri fileContentUri = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileDeleteStatus? deleteStatus = default);
static member SecurityInsightsFileMetadata : Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileFormat> * string * Nullable<int> * Uri * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileDeleteStatus> -> Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsFileMetadata
Public Shared Function SecurityInsightsFileMetadata (Optional fileFormat As Nullable(Of SecurityInsightsFileFormat) = Nothing, Optional fileName As String = Nothing, Optional fileSize As Nullable(Of Integer) = Nothing, Optional fileContentUri As Uri = Nothing, Optional deleteStatus As Nullable(Of SecurityInsightsFileDeleteStatus) = Nothing) As SecurityInsightsFileMetadata

Parameters

fileFormat
Nullable<SecurityInsightsFileFormat>

The format of the file.

fileName
String

The name of the file.

fileSize
Nullable<Int32>

The size of the file.

fileContentUri
Uri

A URI with a valid SAS token to allow uploading / downloading the file.

deleteStatus
Nullable<SecurityInsightsFileDeleteStatus>

Indicates whether the file was deleted from the storage account.

Returns

A new SecurityInsightsFileMetadata instance for mocking.

Applies to