ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerLogFile 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 PostgreSqlFlexibleServerLogFile.
public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLogFile PostgreSqlFlexibleServerLogFile(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, long? sizeInKb = default, string typePropertiesType = default, Uri uri = default);
static member PostgreSqlFlexibleServerLogFile : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * string * Uri -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLogFile
Public Shared Function PostgreSqlFlexibleServerLogFile (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 lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional sizeInKb As Nullable(Of Long) = Nothing, Optional typePropertiesType As String = Nothing, Optional uri As Uri = Nothing) As PostgreSqlFlexibleServerLogFile
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- createdOn
- Nullable<DateTimeOffset>
Creation timestamp of the log file.
- lastModifiedOn
- Nullable<DateTimeOffset>
Last modified timestamp of the log file.
- typePropertiesType
- String
Type of log file. Can be 'ServerLogs' or 'UpgradeLogs'.
- uri
- Uri
URL to download the log file from.
Returns
A new PostgreSqlFlexibleServerLogFile instance for mocking.