ArmPostgreSqlFlexibleServersModelFactory.ServerThreatProtectionSettingsModelData 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 ServerThreatProtectionSettingsModelData.
public static Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelData ServerThreatProtectionSettingsModelData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ThreatProtectionState? state = default, DateTimeOffset? createdOn = default);
static member ServerThreatProtectionSettingsModelData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.ThreatProtectionState> * Nullable<DateTimeOffset> -> Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelData
Public Shared Function ServerThreatProtectionSettingsModelData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional state As Nullable(Of ThreatProtectionState) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing) As ServerThreatProtectionSettingsModelData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- state
- Nullable<ThreatProtectionState>
Specifies the state of the Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific server.
- createdOn
- Nullable<DateTimeOffset>
Specifies the UTC creation time of the policy.
Returns
A new ServerThreatProtectionSettingsModelData instance for mocking.
Applies to
Azure SDK for .NET