Show / Hide Table of Contents

Class UpdateSqlFirewallPolicyDetails

Details to update the SQL Firewall policy.

Inheritance
object
UpdateSqlFirewallPolicyDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class UpdateSqlFirewallPolicyDetails

Properties

AllowedClientIps

Declaration
[JsonProperty(PropertyName = "allowedClientIps")]
public List<string> AllowedClientIps { get; set; }
Property Value
Type Description
List<string>

List of allowed ip addresses for the SQL Firewall policy.

AllowedClientOsUsernames

Declaration
[JsonProperty(PropertyName = "allowedClientOsUsernames")]
public List<string> AllowedClientOsUsernames { get; set; }
Property Value
Type Description
List<string>

List of allowed operating system user names for the SQL Firewall policy.

AllowedClientPrograms

Declaration
[JsonProperty(PropertyName = "allowedClientPrograms")]
public List<string> AllowedClientPrograms { get; set; }
Property Value
Type Description
List<string>

List of allowed client programs for the SQL Firewall policy.

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations": {"CostCenter": "42"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

The description of the SQL Firewall policy.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The display name of the SQL Firewall policy. The name does not have to be unique, and it is changeable.

EnforcementScope

Declaration
[JsonProperty(PropertyName = "enforcementScope")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateSqlFirewallPolicyDetails.EnforcementScopeEnum? EnforcementScope { get; set; }
Property Value
Type Description
UpdateSqlFirewallPolicyDetails.EnforcementScopeEnum?

Specifies the SQL Firewall policy enforcement option.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}

Status

Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateSqlFirewallPolicyDetails.StatusEnum? Status { get; set; }
Property Value
Type Description
UpdateSqlFirewallPolicyDetails.StatusEnum?

Specifies whether the SQL Firewall policy is enabled or disabled.

ViolationAction

Declaration
[JsonProperty(PropertyName = "violationAction")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateSqlFirewallPolicyDetails.ViolationActionEnum? ViolationAction { get; set; }
Property Value
Type Description
UpdateSqlFirewallPolicyDetails.ViolationActionEnum?

Specifies the SQL Firewall action based on detection of SQL Firewall violations.

ViolationAudit

Declaration
[JsonProperty(PropertyName = "violationAudit")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateSqlFirewallPolicyDetails.ViolationAuditEnum? ViolationAudit { get; set; }
Property Value
Type Description
UpdateSqlFirewallPolicyDetails.ViolationAuditEnum?

Specifies whether a unified audit policy should be enabled for auditing the SQL Firewall policy violations.

In this article
Back to top