共用方式為


ProductEntityBaseParameters.SubscriptionRequired Property

Definition

Gets or sets whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as "protected" and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as "open" and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it's value is assumed to be true.

[Newtonsoft.Json.JsonProperty(PropertyName="subscriptionRequired")]
public bool? SubscriptionRequired { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="subscriptionRequired")>]
member this.SubscriptionRequired : Nullable<bool> with get, set
Public Property SubscriptionRequired As Nullable(Of Boolean)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to