@azure-tools/typespec-azure-core 0.31.0-dev.6 → 0.31.0-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/operations.tsp +15 -16
- package/package.json +1 -1
package/lib/operations.tsp
CHANGED
|
@@ -84,7 +84,6 @@ alias ExpectedResourceOperationTraits = [
|
|
|
84
84
|
* @template InterfaceTraits Traits applicable to the operations.
|
|
85
85
|
* @template TErrorResponse Error response of the operations. If not specified, the default error response is used.
|
|
86
86
|
*/
|
|
87
|
-
@added(Azure.Core.Versions.v1_0_Preview_2)
|
|
88
87
|
@ensureTraitsPresent(InterfaceTraits, ExpectedResourceOperationTraits)
|
|
89
88
|
interface ResourceOperations<
|
|
90
89
|
InterfaceTraits,
|
|
@@ -485,7 +484,7 @@ alias StandardResourceOperations = ResourceOperations<NoConditionalRequests &
|
|
|
485
484
|
* @template TResource The type of the resource.
|
|
486
485
|
* @template Traits Traits to apply to the operation.
|
|
487
486
|
*/
|
|
488
|
-
@
|
|
487
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
489
488
|
op ResourceCreateOrReplace<
|
|
490
489
|
TResource extends object,
|
|
491
490
|
Traits extends object = {}
|
|
@@ -496,7 +495,7 @@ op ResourceCreateOrReplace<
|
|
|
496
495
|
* @template TResource The type of the resource.
|
|
497
496
|
* @template Traits Traits to apply to the operation.
|
|
498
497
|
*/
|
|
499
|
-
@
|
|
498
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
500
499
|
op LongRunningResourceCreateOrReplace<
|
|
501
500
|
TResource extends object,
|
|
502
501
|
Traits extends object = {}
|
|
@@ -507,7 +506,7 @@ op LongRunningResourceCreateOrReplace<
|
|
|
507
506
|
* @template TResource The type of the resource.
|
|
508
507
|
* @template Traits Traits to apply to the operation.
|
|
509
508
|
*/
|
|
510
|
-
@
|
|
509
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
511
510
|
op ResourceCreateOrUpdate<
|
|
512
511
|
TResource extends object,
|
|
513
512
|
Traits extends object = {}
|
|
@@ -518,7 +517,7 @@ op ResourceCreateOrUpdate<
|
|
|
518
517
|
* @template TResource The type of the resource.
|
|
519
518
|
* @template Traits Traits to apply to the operation.
|
|
520
519
|
*/
|
|
521
|
-
@
|
|
520
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
522
521
|
op LongRunningResourceCreateOrUpdate<
|
|
523
522
|
TResource extends object,
|
|
524
523
|
Traits extends object = {}
|
|
@@ -529,7 +528,7 @@ op LongRunningResourceCreateOrUpdate<
|
|
|
529
528
|
* @template TResource The type of the resource.
|
|
530
529
|
* @template Traits Traits to apply to the operation.
|
|
531
530
|
*/
|
|
532
|
-
@
|
|
531
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
533
532
|
op ResourceUpdate<
|
|
534
533
|
TResource extends object,
|
|
535
534
|
Traits extends object = {}
|
|
@@ -540,7 +539,7 @@ op ResourceUpdate<
|
|
|
540
539
|
* @template TResource The type of the resource.
|
|
541
540
|
* @template Traits Traits to apply to the operation.
|
|
542
541
|
*/
|
|
543
|
-
@
|
|
542
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
544
543
|
op ResourceCreateWithServiceProvidedName<
|
|
545
544
|
TResource extends object,
|
|
546
545
|
Traits extends object = {}
|
|
@@ -551,7 +550,7 @@ op ResourceCreateWithServiceProvidedName<
|
|
|
551
550
|
* @template TResource The type of the resource.
|
|
552
551
|
* @template Traits Traits to apply to the operation.
|
|
553
552
|
*/
|
|
554
|
-
@
|
|
553
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
555
554
|
op LongRunningResourceCreateWithServiceProvidedName<
|
|
556
555
|
TResource extends object,
|
|
557
556
|
Traits extends object = {}
|
|
@@ -562,7 +561,7 @@ op LongRunningResourceCreateWithServiceProvidedName<
|
|
|
562
561
|
* @template TResource The type of the resource.
|
|
563
562
|
* @template Traits Traits to apply to the operation.
|
|
564
563
|
*/
|
|
565
|
-
@
|
|
564
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
566
565
|
op ResourceRead<
|
|
567
566
|
TResource extends object,
|
|
568
567
|
Traits extends object = {}
|
|
@@ -573,7 +572,7 @@ op ResourceRead<
|
|
|
573
572
|
* @template TResource The type of the resource.
|
|
574
573
|
* @template Traits Traits to apply to the operation.
|
|
575
574
|
*/
|
|
576
|
-
@
|
|
575
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
577
576
|
op ResourceDelete<
|
|
578
577
|
TResource extends object,
|
|
579
578
|
Traits extends object = {}
|
|
@@ -584,7 +583,7 @@ op ResourceDelete<
|
|
|
584
583
|
* @template TResource The type of the resource.
|
|
585
584
|
* @template Traits Traits to apply to the operation.
|
|
586
585
|
*/
|
|
587
|
-
@
|
|
586
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
588
587
|
op LongRunningResourceDelete<
|
|
589
588
|
TResource extends object,
|
|
590
589
|
Traits extends object = {}
|
|
@@ -595,7 +594,7 @@ op LongRunningResourceDelete<
|
|
|
595
594
|
* @template TResource The type of the resource.
|
|
596
595
|
* @template Traits Traits to apply to the operation.
|
|
597
596
|
*/
|
|
598
|
-
@
|
|
597
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
599
598
|
op ResourceList<
|
|
600
599
|
TResource extends object,
|
|
601
600
|
Traits extends object = {}
|
|
@@ -608,7 +607,7 @@ op ResourceList<
|
|
|
608
607
|
* @template TResponse Object describing the response parameters.
|
|
609
608
|
* @template Traits Traits to apply to the operation.
|
|
610
609
|
*/
|
|
611
|
-
@
|
|
610
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
612
611
|
op ResourceAction<
|
|
613
612
|
TResource extends object,
|
|
614
613
|
TParams,
|
|
@@ -623,7 +622,7 @@ op ResourceAction<
|
|
|
623
622
|
* @template TResponse Object describing the response parameters.
|
|
624
623
|
* @template Traits Traits to apply to the operation.
|
|
625
624
|
*/
|
|
626
|
-
@
|
|
625
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
627
626
|
op ResourceCollectionAction<
|
|
628
627
|
TResource extends object,
|
|
629
628
|
TParams,
|
|
@@ -639,7 +638,7 @@ op ResourceCollectionAction<
|
|
|
639
638
|
* @template TStatusError Object describing the error of the status operation. If not provided, the default error type is used.
|
|
640
639
|
* @template Traits Traits to apply to the operation.
|
|
641
640
|
*/
|
|
642
|
-
@
|
|
641
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
643
642
|
op LongRunningResourceAction<
|
|
644
643
|
TResource extends object,
|
|
645
644
|
TParams,
|
|
@@ -662,7 +661,7 @@ op LongRunningResourceAction<
|
|
|
662
661
|
* @template TStatusError Object describing the error of the status operation. If not provided, the default error type is used.
|
|
663
662
|
* @template Traits Traits to apply to the operation.
|
|
664
663
|
*/
|
|
665
|
-
@
|
|
664
|
+
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
666
665
|
op LongRunningResourceCollectionAction<
|
|
667
666
|
TResource extends object,
|
|
668
667
|
TParams,
|
package/package.json
CHANGED