ApiManagementClient.SubscriptionCreate Method
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
SubscriptionCreate(PsApiManagementContext, String, String, String, String, String, String, Nullable<PsApiManagementSubscriptionState>)
public Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription SubscriptionCreate (Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementContext context, string subscriptionId, string productId, string userId, string name, string primaryKey, string secondaryKey, Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscriptionState? state);
member this.SubscriptionCreate : Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementContext * string * string * string * string * string * string * Nullable<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscriptionState> -> Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription
Public Function SubscriptionCreate (context As PsApiManagementContext, subscriptionId As String, productId As String, userId As String, name As String, primaryKey As String, secondaryKey As String, state As Nullable(Of PsApiManagementSubscriptionState)) As PsApiManagementSubscription
Parameters
- context
- PsApiManagementContext
- subscriptionId
- String
- productId
- String
- userId
- String
- name
- String
- primaryKey
- String
- secondaryKey
- String
Returns
Applies to
SubscriptionCreate(PsApiManagementContext, String, String, String, String, String, String, String, Boolean, Nullable<PsApiManagementSubscriptionState>)
public Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription SubscriptionCreate (Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementContext context, string subscriptionId, string scope, string productId, string userId, string name, string primaryKey, string secondaryKey, bool allowTracing, Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscriptionState? state);
member this.SubscriptionCreate : Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementContext * string * string * string * string * string * string * string * bool * Nullable<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscriptionState> -> Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription
Public Function SubscriptionCreate (context As PsApiManagementContext, subscriptionId As String, scope As String, productId As String, userId As String, name As String, primaryKey As String, secondaryKey As String, allowTracing As Boolean, state As Nullable(Of PsApiManagementSubscriptionState)) As PsApiManagementSubscription
Parameters
- context
- PsApiManagementContext
- subscriptionId
- String
- scope
- String
- productId
- String
- userId
- String
- name
- String
- primaryKey
- String
- secondaryKey
- String
- allowTracing
- Boolean