SubscriptionContract コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
SubscriptionContract() |
SubscriptionContract クラスの新しいインスタンスを初期化します。 |
SubscriptionContract(String, SubscriptionState, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, String, String, Nullable<Boolean>) |
SubscriptionContract クラスの新しいインスタンスを初期化します。 |
SubscriptionContract()
SubscriptionContract クラスの新しいインスタンスを初期化します。
public SubscriptionContract();
Public Sub New ()
適用対象
SubscriptionContract(String, SubscriptionState, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, String, String, Nullable<Boolean>)
SubscriptionContract クラスの新しいインスタンスを初期化します。
public SubscriptionContract(string scope, Microsoft.Azure.Management.ApiManagement.Models.SubscriptionState state, string id = default, string name = default, string type = default, string ownerId = default, string displayName = default, DateTime? createdDate = default, DateTime? startDate = default, DateTime? expirationDate = default, DateTime? endDate = default, DateTime? notificationDate = default, string primaryKey = default, string secondaryKey = default, string stateComment = default, bool? allowTracing = default);
new Microsoft.Azure.Management.ApiManagement.Models.SubscriptionContract : string * Microsoft.Azure.Management.ApiManagement.Models.SubscriptionState * string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * string * string * string * Nullable<bool> -> Microsoft.Azure.Management.ApiManagement.Models.SubscriptionContract
Public Sub New (scope As String, state As SubscriptionState, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional ownerId As String = Nothing, Optional displayName As String = Nothing, Optional createdDate As Nullable(Of DateTime) = Nothing, Optional startDate As Nullable(Of DateTime) = Nothing, Optional expirationDate As Nullable(Of DateTime) = Nothing, Optional endDate As Nullable(Of DateTime) = Nothing, Optional notificationDate As Nullable(Of DateTime) = Nothing, Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing, Optional stateComment As String = Nothing, Optional allowTracing As Nullable(Of Boolean) = Nothing)
パラメーター
- scope
- String
/products/{productId} や /apis または /apis/{apiId} などのスコープ。
- state
- SubscriptionState
サブスクリプションの状態。 可能な状態は * アクティブです。 サブスクリプションがアクティブで、 * 中断 – サブスクリプションがブロックされ、サブスクライバーは製品の API を呼び出すことができません。送信済み - サブスクリプション要求は開発者によって行われましたが、まだ承認または拒否されていません。* 拒否されました。 サブスクリプション要求は管理者によって拒否されました。* 取り消されました。サブスクリプションは開発者または管理者によってキャンセルされました。 * 有効期限切れ – サブスクリプションが有効期限に達し、非アクティブ化されました。 使用可能な値には、'suspended'、'active'、'expired'、'submitted'、'rejected'、'cancelled' などがあります。
- id
- String
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
リソースの名前
- type
- String
リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"
- ownerId
- String
サブスクリプション所有者のユーザー リソース識別子。 値は、/users/{userId} 形式の有効な相対 URL です。{userId} はユーザー識別子です。
- displayName
- String
サブスクリプションの名前。サブスクリプションに名前がない場合は null。
サブスクリプションの作成日。 日付は、ISO 8601 標準で指定されている形式 yyyy-MM-ddTHH:mm:ssZ
に準拠しています。
サブスクリプションのアクティブ化日。 この設定は監査のみを目的としており、サブスクリプションは自動的にアクティブ化されません。 サブスクリプションのライフサイクルは、 プロパティを使用 state
して管理できます。 日付は、ISO 8601 標準で指定されている形式 yyyy-MM-ddTHH:mm:ssZ
に準拠しています。
サブスクリプションの有効期限。 この設定は監査のみを目的としており、サブスクリプションの有効期限は自動的には切れていません。 サブスクリプションのライフサイクルは、 プロパティを使用 state
して管理できます。 日付は、ISO 8601 標準で指定されている形式 yyyy-MM-ddTHH:mm:ssZ
に準拠しています。
サブスクリプションが取り消されたか期限切れになった日付。 この設定は監査のみを目的としており、サブスクリプションは自動的に取り消されません。 サブスクリプションのライフサイクルは、 プロパティを使用 state
して管理できます。 日付は、ISO 8601 標準で指定されている形式 yyyy-MM-ddTHH:mm:ssZ
に準拠しています。
今後のサブスクリプションの有効期限の通知日。 日付は、ISO 8601 標準で指定されている形式 yyyy-MM-ddTHH:mm:ssZ
に準拠しています。
- primaryKey
- String
サブスクリプションの主キー。 このプロパティは'GET' 操作では入力されません。 値を取得するには、'/listSecrets' POST 要求を使用します。
- secondaryKey
- String
サブスクリプションのセカンダリ キー。 このプロパティは'GET' 操作では入力されません。 値を取得するには、'/listSecrets' POST 要求を使用します。
- stateComment
- String
状態が 'rejected' に変更されたときに管理者によって追加されるオプションのサブスクリプション コメント。
適用対象
Azure SDK for .NET