Esempio n. 1
0
 /// <summary>
 /// Updates the credentials for the specified datasource
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='collectionName'>
 /// The workspace collection name
 /// </param>
 /// <param name='workspaceId'>
 /// The workspace id
 /// </param>
 /// <param name='gatewayId'>
 /// The gateway id
 /// </param>
 /// <param name='datasourceId'>
 /// The datasource id
 /// </param>
 /// <param name='datasourceDelta'>
 /// The datasource changes
 /// </param>
 public static object PatchDatasource(this IGateways operations, string collectionName, string workspaceId, string gatewayId, string datasourceId, object datasourceDelta)
 {
     return(operations.PatchDatasourceAsync(collectionName, workspaceId, gatewayId, datasourceId, datasourceDelta).GetAwaiter().GetResult());
 }