@@ -1403,7 +1403,7 @@ public PsApiManagementApi ApiCreateRevision(
1403
1403
}
1404
1404
else
1405
1405
{
1406
- apiCreateParams = new ApiCreateOrUpdateParameter ( api . Path ) ;
1406
+ apiCreateParams = new ApiCreateOrUpdateParameter ( path : api . Path ) ;
1407
1407
apiCreateParams . SourceApiId = Utils . GetApiIdFullPath ( apiId , sourceRevisionId ) ;
1408
1408
}
1409
1409
@@ -1909,8 +1909,9 @@ public PsApiManagementProduct ProductCreate(
1909
1909
int ? subscriptionsLimit ,
1910
1910
PsApiManagementProductState ? state )
1911
1911
{
1912
- var productContract = new ProductContract ( title )
1913
- {
1912
+ var productContract = new ProductContract ( )
1913
+ {
1914
+ DisplayName = title ,
1914
1915
ApprovalRequired = approvalRequired ,
1915
1916
Description = description ,
1916
1917
SubscriptionRequired = subscriptionRequired ,
@@ -2086,14 +2087,14 @@ public PsApiManagementSubscription SubscriptionCreate(
2086
2087
if ( productId != null )
2087
2088
{
2088
2089
createParameters = new SubscriptionCreateParameters (
2089
- Utils . GetProductIdFullPath ( productId ) ,
2090
- name ) ;
2090
+ scope : Utils . GetProductIdFullPath ( productId ) ,
2091
+ displayName : name ) ;
2091
2092
}
2092
2093
else
2093
2094
{
2094
2095
createParameters = new SubscriptionCreateParameters (
2095
- scope ,
2096
- name ) ;
2096
+ scope : scope ,
2097
+ displayName : name ) ;
2097
2098
}
2098
2099
2099
2100
if ( primaryKey != null )
@@ -2393,7 +2394,7 @@ public PsApiManagementGroup GroupCreate(
2393
2394
PsApiManagementGroupType ? type ,
2394
2395
string externalId )
2395
2396
{
2396
- var groupCreateParameters = new GroupCreateParameters ( name )
2397
+ var groupCreateParameters = new GroupCreateParameters ( displayName : name )
2397
2398
{
2398
2399
Description = description
2399
2400
} ;
@@ -3219,7 +3220,12 @@ public PsApiManagementOpenIdConnectProvider OpenIdProviderCreate(
3219
3220
string clientSecret ,
3220
3221
string description )
3221
3222
{
3222
- var openIdProviderCreateParameters = new OpenidConnectProviderContract ( name , metadataEndpointUri , clientId ) ;
3223
+ var openIdProviderCreateParameters = new OpenidConnectProviderContract ( )
3224
+ {
3225
+ DisplayName = name ,
3226
+ MetadataEndpoint = metadataEndpointUri ,
3227
+ ClientId = clientId
3228
+ } ;
3223
3229
3224
3230
if ( ! string . IsNullOrWhiteSpace ( clientSecret ) )
3225
3231
{
@@ -3498,7 +3504,7 @@ public PsApiManagementIdentityProvider IdentityProviderCreate(
3498
3504
string profileEditPolicyName ,
3499
3505
string signinTenant )
3500
3506
{
3501
- var identityProviderCreateParameters = new IdentityProviderCreateContract ( clientId , clientSecret ) ;
3507
+ var identityProviderCreateParameters = new IdentityProviderCreateContract ( clientId : clientId , clientSecret : clientSecret ) ;
3502
3508
if ( allowedTenants != null )
3503
3509
{
3504
3510
identityProviderCreateParameters . AllowedTenants = allowedTenants ;
@@ -3674,7 +3680,7 @@ public PsApiManagementBackend BackendCreate(
3674
3680
PsApiManagementBackendProxy proxy ,
3675
3681
PsApiManagementServiceFabric serviceFabric )
3676
3682
{
3677
- var backendCreateParams = new BackendContract ( url , protocol ) ;
3683
+ var backendCreateParams = new BackendContract ( url : url , protocol : protocol ) ;
3678
3684
if ( ! string . IsNullOrEmpty ( resourceId ) )
3679
3685
{
3680
3686
backendCreateParams . ResourceId = resourceId ;
@@ -3878,7 +3884,7 @@ public PsApiManagementCache CacheCreate(
3878
3884
string resourceid ,
3879
3885
string UseFromLocation )
3880
3886
{
3881
- var cacheCreateParameters = new CacheContract ( connectionString , UseFromLocation ) ;
3887
+ var cacheCreateParameters = new CacheContract ( connectionString : connectionString , useFromLocation : UseFromLocation ) ;
3882
3888
if ( description != null )
3883
3889
{
3884
3890
cacheCreateParameters . Description = description ;
@@ -3988,7 +3994,7 @@ public PsApiManagementDiagnostic DiagnosticCreate(
3988
3994
PsApiManagementPipelineDiagnosticSetting frontend ,
3989
3995
PsApiManagementPipelineDiagnosticSetting backend )
3990
3996
{
3991
- var diagnosticContract = new DiagnosticContract ( Utils . GetLoggerIdFullPath ( loggerId ) ) ;
3997
+ var diagnosticContract = new DiagnosticContract ( loggerId : Utils . GetLoggerIdFullPath ( loggerId ) ) ;
3992
3998
if ( ! string . IsNullOrEmpty ( alwaysLog ) )
3993
3999
{
3994
4000
diagnosticContract . AlwaysLog = Utils . GetAlwaysLog ( alwaysLog ) ;
0 commit comments