Class AllowedDomain
Hostnames and ports allowed by a sandbox network policy.
Inherited Members
Namespace: Oci.GenerativeaiService.Models
Assembly: OCI.DotNetSDK.Generativeai.dll
Syntax
public class AllowedDomain
Properties
Hostnames
Declaration
[Required(ErrorMessage = "Hostnames is required.")]
[JsonProperty(PropertyName = "hostnames")]
public List<string> Hostnames { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | Hostnames allowed by this domain rule. |
Remarks
Required
Ports
Declaration
[Required(ErrorMessage = "Ports is required.")]
[JsonProperty(PropertyName = "ports")]
public List<int> Ports { get; set; }
Property Value
| Type | Description |
|---|---|
| List<int> | Ports allowed by this domain rule. |
Remarks
Required