Delen via


ArmSupportModelFactory.SupportFileDetailData Method

Definition

Initializes a new instance of SupportFileDetailData.

public static Azure.ResourceManager.Support.SupportFileDetailData SupportFileDetailData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, int? chunkSize = default, int? fileSize = default, int? numberOfChunks = default);
static member SupportFileDetailData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.Support.SupportFileDetailData
Public Shared Function SupportFileDetailData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional chunkSize As Nullable(Of Integer) = Nothing, Optional fileSize As Nullable(Of Integer) = Nothing, Optional numberOfChunks As Nullable(Of Integer) = Nothing) As SupportFileDetailData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

createdOn
Nullable<DateTimeOffset>

Time in UTC (ISO 8601 format) when file workspace was created.

chunkSize
Nullable<Int32>

Size of each chunk. The size of each chunk should be provided in bytes and must not exceed 2.5 megabytes (MB).

fileSize
Nullable<Int32>

Size of the file to be uploaded. The file size must not exceed 5 MB and should be provided in bytes.

numberOfChunks
Nullable<Int32>

Number of chunks to be uploaded. The maximum number of allowed chunks is 2.

Returns

A new SupportFileDetailData instance for mocking.

Applies to