Share via


MockablePostgreSqlFlexibleServersArmClient.GetServerThreatProtectionSettingsModelResource Method

Definition

Gets an object representing a ServerThreatProtectionSettingsModelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, ThreatProtectionName) to create a ServerThreatProtectionSettingsModelResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelResource GetServerThreatProtectionSettingsModelResource (Azure.Core.ResourceIdentifier id);
abstract member GetServerThreatProtectionSettingsModelResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelResource
override this.GetServerThreatProtectionSettingsModelResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.PostgreSql.FlexibleServers.ServerThreatProtectionSettingsModelResource
Public Overridable Function GetServerThreatProtectionSettingsModelResource (id As ResourceIdentifier) As ServerThreatProtectionSettingsModelResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ServerThreatProtectionSettingsModelResource object.

Applies to