ArmDataMigrationModelFactory.ProjectFileProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ProjectFileProperties.
public static Azure.ResourceManager.DataMigration.Models.ProjectFileProperties ProjectFileProperties (string extension = default, string filePath = default, DateTimeOffset? lastModified = default, string mediaType = default, long? size = default);
static member ProjectFileProperties : string * string * Nullable<DateTimeOffset> * string * Nullable<int64> -> Azure.ResourceManager.DataMigration.Models.ProjectFileProperties
Public Shared Function ProjectFileProperties (Optional extension As String = Nothing, Optional filePath As String = Nothing, Optional lastModified As Nullable(Of DateTimeOffset) = Nothing, Optional mediaType As String = Nothing, Optional size As Nullable(Of Long) = Nothing) As ProjectFileProperties
Parameters
- extension
- String
Optional File extension. If submitted it should not have a leading period and must match the extension from filePath.
- filePath
- String
Relative path of this file resource. This property can be set when creating or updating the file resource.
- lastModified
- Nullable<DateTimeOffset>
Modification DateTime.
- mediaType
- String
File content type. This property can be modified to reflect the file content type.
Returns
A new ProjectFileProperties instance for mocking.
Applies to
Azure SDK for .NET