File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed
sdk/digitaltwins/digital-twins-core Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 11# Release History
22
3- ## 1.1.0 (2022-05-31 )
3+ ## 1.1.0 (2022-07-19 )
44
5- - GA Release
5+ ### Features Added
6+
7+ - Added support for twin and component metadata property ` $lastUpdateTime ` , signifying the date and time a twin or component was last updated.
68
79## 1.1.0-beta.1 (2022-04-04)
810
Original file line number Diff line number Diff line change @@ -86,9 +86,7 @@ export type DigitalTwinsAddResponse = DigitalTwinsAddHeaders & {
8686export class DigitalTwinsClient {
8787 constructor (endpointUrl : string , credential : TokenCredential , options ? : DigitalTwinsClientOptions );
8888 createModels(dtdlModels : any [], options ? : OperationOptions ): Promise <DigitalTwinModelsAddResponse >;
89- // @deprecated (undocumented)
90- decomissionModel: (modelId : string , options ? : OperationOptions ) => Promise <RestResponse >;
91- decommissionModel(modelId : string , options ? : OperationOptions ): Promise <RestResponse >;
89+ decomissionModel(modelId : string , options ? : OperationOptions ): Promise <RestResponse >;
9290 deleteDigitalTwin(digitalTwinId : string , options ? : DigitalTwinsDeleteOptionalParams ): Promise <RestResponse >;
9391 deleteEventRoute(eventRouteId : string , options ? : OperationOptions ): Promise <RestResponse >;
9492 deleteModel(modelId : string , options ? : OperationOptions ): Promise <RestResponse >;
Original file line number Diff line number Diff line change @@ -753,23 +753,18 @@ export class DigitalTwinsClient {
753753 * @returns The http response.
754754 *
755755 */
756- public decommissionModel ( modelId : string , options : OperationOptions = { } ) : Promise < RestResponse > {
756+ public decomissionModel ( modelId : string , options : OperationOptions = { } ) : Promise < RestResponse > {
757757 const jsonPatch = [ { op : "replace" , path : "/decommissioned" , value : true } ] ;
758758
759759 return tracingClient . withSpan (
760- "DigitalTwinsClient.decommissionModel " ,
760+ "DigitalTwinsClient.decomissionModel " ,
761761 options ,
762762 async ( updatedOptions ) => {
763763 return this . client . digitalTwinModels . update ( modelId , jsonPatch , updatedOptions ) ;
764764 }
765765 ) ;
766766 }
767767
768- /**
769- * @deprecated Please use {@link DigitalTwinsClient.decommissionModel} instead.
770- */
771- public decomissionModel = this . decommissionModel ;
772-
773768 /**
774769 * Delete a model.
775770 *
You can’t perform that action at this time.
0 commit comments