Class CreateListenerRequest
Implements
Inherited Members
Namespace: Oci.NetworkloadbalancerService.Requests
Assembly: OCI.DotNetSDK.Networkloadbalancer.dll
Syntax
public class CreateListenerRequest : IOciRequest
Examples
Click here to see an example of how to use CreateListener request.
Properties
CreateListenerDetails
Declaration
[Required(ErrorMessage = "CreateListenerDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public CreateListenerDetails CreateListenerDetails { get; set; }
Property Value
Type | Description |
---|---|
CreateListenerDetails | Details to add a listener. |
Remarks
Required
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type | Description |
---|---|
string | For optimistic concurrency control. In the PUT or DELETE call
for a resource, set the |
NetworkLoadBalancerId
Declaration
[Required(ErrorMessage = "NetworkLoadBalancerId is required.")]
[HttpConverter(TargetEnum.Path, "networkLoadBalancerId")]
public string NetworkLoadBalancerId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the network load balancer to update. |
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier. |
OpcRetryToken
Declaration
[HttpConverter(TargetEnum.Header, "opc-retry-token")]
public string OpcRetryToken { get; set; }
Property Value
Type | Description |
---|---|
string | A token that uniquely identifies a request so that it can be retried in case of a timeout or server error without risk of rerunning that same action. Retry tokens expire after 24 hours but they can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. |