共用方式為


AssociatedProductProperties Class

Definition

Product profile.

public class AssociatedProductProperties : Azure.ResourceManager.ApiManagement.Models.ProductEntityBaseProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiManagement.Models.AssociatedProductProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiManagement.Models.AssociatedProductProperties>
type AssociatedProductProperties = class
    inherit ProductEntityBaseProperties
    interface IJsonModel<AssociatedProductProperties>
    interface IPersistableModel<AssociatedProductProperties>
Public Class AssociatedProductProperties
Inherits ProductEntityBaseProperties
Implements IJsonModel(Of AssociatedProductProperties), IPersistableModel(Of AssociatedProductProperties)
Inheritance
AssociatedProductProperties
Implements

Properties

Description

Product description. May include HTML formatting tags.

(Inherited from ProductEntityBaseProperties)
Id

Identifier of the product in the form of /products/{productId}.

IsApprovalRequired

whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false.

(Inherited from ProductEntityBaseProperties)
IsSubscriptionRequired

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.

(Inherited from ProductEntityBaseProperties)
Name

Product name.

State

whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished.

(Inherited from ProductEntityBaseProperties)
SubscriptionsLimit

Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false.

(Inherited from ProductEntityBaseProperties)
Terms

Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process.

(Inherited from ProductEntityBaseProperties)

Explicit Interface Implementations

IJsonModel<AssociatedProductProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AssociatedProductProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ProductEntityBaseProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ProductEntityBaseProperties)
IJsonModel<ProductEntityBaseProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ProductEntityBaseProperties)
IPersistableModel<AssociatedProductProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AssociatedProductProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AssociatedProductProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ProductEntityBaseProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ProductEntityBaseProperties)
IPersistableModel<ProductEntityBaseProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ProductEntityBaseProperties)
IPersistableModel<ProductEntityBaseProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ProductEntityBaseProperties)

Applies to