Show / Hide Table of Contents

Class GetConfirmSubscriptionRequest

Inheritance
object
GetConfirmSubscriptionRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OnsService.Requests
Assembly: OCI.DotNetSDK.Ons.dll
Syntax
public class GetConfirmSubscriptionRequest : IOciRequest
Examples

Click here to see an example of how to use GetConfirmSubscription request.

Properties

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[HttpConverter(TargetEnum.Path, "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the subscription to get the confirmation details for.

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 need to contact Oracle about a particular request, please provide the request ID.

Protocol

Declaration
[Required(ErrorMessage = "Protocol is required.")]
[HttpConverter(TargetEnum.Query, "protocol")]
public string Protocol { get; set; }
Property Value
Type Description
string

The protocol used for the subscription.
Allowed values:

  • CUSTOM_HTTPS
  • EMAIL
  • HTTPS (deprecated; for PagerDuty endpoints, use PAGERDUTY)
  • ORACLE_FUNCTIONS
  • PAGERDUTY
  • SLACK
  • SMS
    For information about subscription protocols, see To create a subscription.
Remarks

Required

Token

Declaration
[Required(ErrorMessage = "Token is required.")]
[HttpConverter(TargetEnum.Query, "token")]
public string Token { get; set; }
Property Value
Type Description
string

The subscription confirmation token.

Remarks

Required

Implements

IOciRequest
In this article
Back to top