@@ -1403,7 +1403,7 @@ public PsApiManagementApi ApiCreateRevision(
14031403 }
14041404 else
14051405 {
1406- apiCreateParams = new ApiCreateOrUpdateParameter ( api . Path ) ;
1406+ apiCreateParams = new ApiCreateOrUpdateParameter ( path : api . Path ) ;
14071407 apiCreateParams . SourceApiId = Utils . GetApiIdFullPath ( apiId , sourceRevisionId ) ;
14081408 }
14091409
@@ -1909,8 +1909,9 @@ public PsApiManagementProduct ProductCreate(
19091909 int ? subscriptionsLimit ,
19101910 PsApiManagementProductState ? state )
19111911 {
1912- var productContract = new ProductContract ( title )
1913- {
1912+ var productContract = new ProductContract ( )
1913+ {
1914+ DisplayName = title ,
19141915 ApprovalRequired = approvalRequired ,
19151916 Description = description ,
19161917 SubscriptionRequired = subscriptionRequired ,
@@ -2086,14 +2087,14 @@ public PsApiManagementSubscription SubscriptionCreate(
20862087 if ( productId != null )
20872088 {
20882089 createParameters = new SubscriptionCreateParameters (
2089- Utils . GetProductIdFullPath ( productId ) ,
2090- name ) ;
2090+ scope : Utils . GetProductIdFullPath ( productId ) ,
2091+ displayName : name ) ;
20912092 }
20922093 else
20932094 {
20942095 createParameters = new SubscriptionCreateParameters (
2095- scope ,
2096- name ) ;
2096+ scope : scope ,
2097+ displayName : name ) ;
20972098 }
20982099
20992100 if ( primaryKey != null )
@@ -2393,7 +2394,7 @@ public PsApiManagementGroup GroupCreate(
23932394 PsApiManagementGroupType ? type ,
23942395 string externalId )
23952396 {
2396- var groupCreateParameters = new GroupCreateParameters ( name )
2397+ var groupCreateParameters = new GroupCreateParameters ( displayName : name )
23972398 {
23982399 Description = description
23992400 } ;
@@ -3219,7 +3220,12 @@ public PsApiManagementOpenIdConnectProvider OpenIdProviderCreate(
32193220 string clientSecret ,
32203221 string description )
32213222 {
3222- var openIdProviderCreateParameters = new OpenidConnectProviderContract ( name , metadataEndpointUri , clientId ) ;
3223+ var openIdProviderCreateParameters = new OpenidConnectProviderContract ( )
3224+ {
3225+ DisplayName = name ,
3226+ MetadataEndpoint = metadataEndpointUri ,
3227+ ClientId = clientId
3228+ } ;
32233229
32243230 if ( ! string . IsNullOrWhiteSpace ( clientSecret ) )
32253231 {
@@ -3498,7 +3504,7 @@ public PsApiManagementIdentityProvider IdentityProviderCreate(
34983504 string profileEditPolicyName ,
34993505 string signinTenant )
35003506 {
3501- var identityProviderCreateParameters = new IdentityProviderCreateContract ( clientId , clientSecret ) ;
3507+ var identityProviderCreateParameters = new IdentityProviderCreateContract ( clientId : clientId , clientSecret : clientSecret ) ;
35023508 if ( allowedTenants != null )
35033509 {
35043510 identityProviderCreateParameters . AllowedTenants = allowedTenants ;
@@ -3674,7 +3680,7 @@ public PsApiManagementBackend BackendCreate(
36743680 PsApiManagementBackendProxy proxy ,
36753681 PsApiManagementServiceFabric serviceFabric )
36763682 {
3677- var backendCreateParams = new BackendContract ( url , protocol ) ;
3683+ var backendCreateParams = new BackendContract ( url : url , protocol : protocol ) ;
36783684 if ( ! string . IsNullOrEmpty ( resourceId ) )
36793685 {
36803686 backendCreateParams . ResourceId = resourceId ;
@@ -3878,7 +3884,7 @@ public PsApiManagementCache CacheCreate(
38783884 string resourceid ,
38793885 string UseFromLocation )
38803886 {
3881- var cacheCreateParameters = new CacheContract ( connectionString , UseFromLocation ) ;
3887+ var cacheCreateParameters = new CacheContract ( connectionString : connectionString , useFromLocation : UseFromLocation ) ;
38823888 if ( description != null )
38833889 {
38843890 cacheCreateParameters . Description = description ;
@@ -3988,7 +3994,7 @@ public PsApiManagementDiagnostic DiagnosticCreate(
39883994 PsApiManagementPipelineDiagnosticSetting frontend ,
39893995 PsApiManagementPipelineDiagnosticSetting backend )
39903996 {
3991- var diagnosticContract = new DiagnosticContract ( Utils . GetLoggerIdFullPath ( loggerId ) ) ;
3997+ var diagnosticContract = new DiagnosticContract ( loggerId : Utils . GetLoggerIdFullPath ( loggerId ) ) ;
39923998 if ( ! string . IsNullOrEmpty ( alwaysLog ) )
39933999 {
39944000 diagnosticContract . AlwaysLog = Utils . GetAlwaysLog ( alwaysLog ) ;
0 commit comments