ProductContract.SubscriptionRequired Property
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.
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="properties.subscriptionRequired")]
public bool? SubscriptionRequired { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.subscriptionRequired")>]
member this.SubscriptionRequired : Nullable<bool> with get, set
Public Property SubscriptionRequired As Nullable(Of Boolean)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute