Share via


ApiManagementClient.SubscriptionSet Method

Definition

Overloads

SubscriptionSet(String, String, String, String, String, String, String, String, Nullable<PsApiManagementSubscriptionState>, Nullable<DateTime>, String, PsApiManagementSubscription)
SubscriptionSet(PsApiManagementContext, String, String, String, String, Nullable<PsApiManagementSubscriptionState>, Nullable<DateTime>, String)

SubscriptionSet(String, String, String, String, String, String, String, String, Nullable<PsApiManagementSubscriptionState>, Nullable<DateTime>, String, PsApiManagementSubscription)

public void SubscriptionSet (string resourceGroupName, string serviceName, string subscriptionId, string name, string scope, string userId, string primaryKey, string secondaryKey, Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscriptionState? state, DateTime? expiresOn, string stateComment, Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription inputObject);
member this.SubscriptionSet : string * string * string * string * string * string * string * string * Nullable<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscriptionState> * Nullable<DateTime> * string * Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription -> unit
Public Sub SubscriptionSet (resourceGroupName As String, serviceName As String, subscriptionId As String, name As String, scope As String, userId As String, primaryKey As String, secondaryKey As String, state As Nullable(Of PsApiManagementSubscriptionState), expiresOn As Nullable(Of DateTime), stateComment As String, inputObject As PsApiManagementSubscription)

Parameters

resourceGroupName
String
serviceName
String
subscriptionId
String
name
String
scope
String
userId
String
primaryKey
String
secondaryKey
String
expiresOn
Nullable<DateTime>
stateComment
String

Applies to

SubscriptionSet(PsApiManagementContext, String, String, String, String, Nullable<PsApiManagementSubscriptionState>, Nullable<DateTime>, String)

public void SubscriptionSet (Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementContext context, string subscriptionId, string name, string primaryKey, string secondaryKey, Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscriptionState? state, DateTime? expiresOn, string stateComment);
member this.SubscriptionSet : Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementContext * string * string * string * string * Nullable<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscriptionState> * Nullable<DateTime> * string -> unit
Public Sub SubscriptionSet (context As PsApiManagementContext, subscriptionId As String, name As String, primaryKey As String, secondaryKey As String, state As Nullable(Of PsApiManagementSubscriptionState), expiresOn As Nullable(Of DateTime), stateComment As String)

Parameters

subscriptionId
String
name
String
primaryKey
String
secondaryKey
String
expiresOn
Nullable<DateTime>
stateComment
String

Applies to