ExtensionsOpenAIModelFactory.ResponsesContainerNetworkPolicyAllowlistParam 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.
The ResponsesContainerNetworkPolicyAllowlistParam.
public static Azure.AI.Extensions.OpenAI.ResponsesContainerNetworkPolicyAllowlistParam ResponsesContainerNetworkPolicyAllowlistParam(System.Collections.Generic.IEnumerable<string> allowedDomains = default, System.Collections.Generic.IEnumerable<Azure.AI.Extensions.OpenAI.ResponsesContainerNetworkPolicyDomainSecretParam> domainSecrets = default);
static member ResponsesContainerNetworkPolicyAllowlistParam : seq<string> * seq<Azure.AI.Extensions.OpenAI.ResponsesContainerNetworkPolicyDomainSecretParam> -> Azure.AI.Extensions.OpenAI.ResponsesContainerNetworkPolicyAllowlistParam
Public Shared Function ResponsesContainerNetworkPolicyAllowlistParam (Optional allowedDomains As IEnumerable(Of String) = Nothing, Optional domainSecrets As IEnumerable(Of ResponsesContainerNetworkPolicyDomainSecretParam) = Nothing) As ResponsesContainerNetworkPolicyAllowlistParam
Parameters
- allowedDomains
- IEnumerable<String>
A list of allowed domains when type is allowlist.
- domainSecrets
- IEnumerable<ResponsesContainerNetworkPolicyDomainSecretParam>
Optional domain-scoped secrets for allowlisted domains.
Returns
A new ResponsesContainerNetworkPolicyAllowlistParam instance for mocking.