共用方式為


ArmPostgreSqlModelFactory.PostgreSqlLogFile Method

Definition

Initializes a new instance of PostgreSqlLogFile.

public static Azure.ResourceManager.PostgreSql.Models.PostgreSqlLogFile PostgreSqlLogFile (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, long? sizeInKB = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string logFileType = default, Uri uri = default);
static member PostgreSqlLogFile : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Uri -> Azure.ResourceManager.PostgreSql.Models.PostgreSqlLogFile
Public Shared Function PostgreSqlLogFile (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional sizeInKB As Nullable(Of Long) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional logFileType As String = Nothing, Optional uri As Uri = Nothing) As PostgreSqlLogFile

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

sizeInKB
Nullable<Int64>

Size of the log file.

createdOn
Nullable<DateTimeOffset>

Creation timestamp of the log file.

lastModifiedOn
Nullable<DateTimeOffset>

Last modified timestamp of the log file.

logFileType
String

Type of the log file.

uri
Uri

The url to download the log file from.

Returns

A new PostgreSqlLogFile instance for mocking.

Applies to