次の方法で共有


ProductEntityBaseParameters コンストラクター

定義

オーバーロード

ProductEntityBaseParameters()

ProductEntityBaseParameters クラスの新しいインスタンスを初期化します。

ProductEntityBaseParameters(String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<ProductState>)

ProductEntityBaseParameters クラスの新しいインスタンスを初期化します。

ProductEntityBaseParameters()

ProductEntityBaseParameters クラスの新しいインスタンスを初期化します。

public ProductEntityBaseParameters ();
Public Sub New ()

適用対象

ProductEntityBaseParameters(String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<ProductState>)

ProductEntityBaseParameters クラスの新しいインスタンスを初期化します。

public ProductEntityBaseParameters (string description = default, string terms = default, bool? subscriptionRequired = default, bool? approvalRequired = default, int? subscriptionsLimit = default, Microsoft.Azure.Management.ApiManagement.Models.ProductState? state = default);
new Microsoft.Azure.Management.ApiManagement.Models.ProductEntityBaseParameters : string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<Microsoft.Azure.Management.ApiManagement.Models.ProductState> -> Microsoft.Azure.Management.ApiManagement.Models.ProductEntityBaseParameters
Public Sub New (Optional description As String = Nothing, Optional terms As String = Nothing, Optional subscriptionRequired As Nullable(Of Boolean) = Nothing, Optional approvalRequired As Nullable(Of Boolean) = Nothing, Optional subscriptionsLimit As Nullable(Of Integer) = Nothing, Optional state As Nullable(Of ProductState) = Nothing)

パラメーター

description
String

製品の説明。 HTML 書式設定タグを含めることができます。

terms
String

製品の使用条件。 製品をサブスクライブしようとする開発者に提示される条件です。開発者は、サブスクリプション プロセスを完了する前にこれらの条件に同意する必要があります。

subscriptionRequired
Nullable<Boolean>

この製品に含まれる API にアクセスするために製品サブスクリプションが必要かどうか。 true の場合、製品は "保護済み" と呼ばれ、製品に含まれる API への要求を成功させるために有効なサブスクリプション キーが必要です。 false の場合、製品は "オープン" と呼ばれ、製品に含まれる API への要求はサブスクリプション キーなしで行うことができます。 新しい製品を作成するときに プロパティを省略した場合、値は true と見なされます。

approvalRequired
Nullable<Boolean>

サブスクリプションの承認が必要かどうか。 false の場合、新しいサブスクリプションが自動的に承認され、サブスクライブ直後に開発者が製品の API を呼び出すことができます。 true の場合、管理者は、開発者が製品の API を使用する前に、サブスクリプションを手動で承認する必要があります。 subscriptionRequired プロパティが存在し、値が false の場合にのみ存在できます。

subscriptionsLimit
Nullable<Int32>

ユーザーがこの製品に対して同時に必要なサブスクリプションの数かどうか。 ユーザーサブスクリプションごとに無制限を許可するには、null または省略に設定します。 subscriptionRequired プロパティが存在し、値が false の場合にのみ存在できます。

state
Nullable<ProductState>

製品が公開されているかどうか。 公開された製品は、開発者ポータルのユーザーが検出できます。 公開されていない製品は、管理者にのみ表示されます。 Product の既定の状態は発行されません。 指定できる値は、'notPublished'、'published' です。

適用対象