Compartilhar via


ApiManagementClient.SubscriptionCreate Method

Definition

Overloads

SubscriptionCreate(PsApiManagementContext, String, String, String, String, String, String, Nullable<PsApiManagementSubscriptionState>)
SubscriptionCreate(PsApiManagementContext, String, String, String, String, String, String, String, Boolean, Nullable<PsApiManagementSubscriptionState>)

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

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

subscriptionId
String
scope
String
productId
String
userId
String
name
String
primaryKey
String
secondaryKey
String
allowTracing
Boolean

Returns

Applies to