SubscriptionUpdateParameters Constructors
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.
Overloads
SubscriptionUpdateParameters() |
Initializes a new instance of the SubscriptionUpdateParameters class. |
SubscriptionUpdateParameters(String, String, Nullable<DateTime>, String, String, String, Nullable<SubscriptionState>, String, Nullable<Boolean>) |
Initializes a new instance of the SubscriptionUpdateParameters class. |
SubscriptionUpdateParameters()
Initializes a new instance of the SubscriptionUpdateParameters class.
public SubscriptionUpdateParameters ();
Public Sub New ()
Applies to
SubscriptionUpdateParameters(String, String, Nullable<DateTime>, String, String, String, Nullable<SubscriptionState>, String, Nullable<Boolean>)
Initializes a new instance of the SubscriptionUpdateParameters class.
public SubscriptionUpdateParameters (string ownerId = default, string scope = default, DateTime? expirationDate = default, string displayName = default, string primaryKey = default, string secondaryKey = default, Microsoft.Azure.Management.ApiManagement.Models.SubscriptionState? state = default, string stateComment = default, bool? allowTracing = default);
new Microsoft.Azure.Management.ApiManagement.Models.SubscriptionUpdateParameters : string * string * Nullable<DateTime> * string * string * string * Nullable<Microsoft.Azure.Management.ApiManagement.Models.SubscriptionState> * string * Nullable<bool> -> Microsoft.Azure.Management.ApiManagement.Models.SubscriptionUpdateParameters
Public Sub New (Optional ownerId As String = Nothing, Optional scope As String = Nothing, Optional expirationDate As Nullable(Of DateTime) = Nothing, Optional displayName As String = Nothing, Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing, Optional state As Nullable(Of SubscriptionState) = Nothing, Optional stateComment As String = Nothing, Optional allowTracing As Nullable(Of Boolean) = Nothing)
Parameters
- ownerId
- String
User identifier path: /users/{userId}
- scope
- String
Scope like /products/{productId} or /apis or /apis/{apiId}
Subscription expiration date. The
setting is for audit purposes only and the subscription is not
automatically expired. The subscription lifecycle can be managed by
using the state
property. The date conforms to the following
format: yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601
standard.
- displayName
- String
Subscription name.
- primaryKey
- String
Primary subscription key.
- secondaryKey
- String
Secondary subscription key.
- state
- Nullable<SubscriptionState>
Subscription state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated. Possible values include: 'suspended', 'active', 'expired', 'submitted', 'rejected', 'cancelled'
- stateComment
- String
Comments describing subscription state change by the administrator when the state is changed to the 'rejected'.
Applies to
Azure SDK for .NET