@azure-tools/typespec-azure-core 0.31.0-dev.16 → 0.31.0-dev.17
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 +16 -16
- package/package.json +1 -1
package/lib/operations.tsp
CHANGED
|
@@ -483,134 +483,134 @@ alias StandardResourceOperations = ResourceOperations<NoConditionalRequests &
|
|
|
483
483
|
NoClientRequestId>;
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
|
+
* DEPRECATED: Use ResourceCreateOrReplace from the ResourceOperations interface.
|
|
486
487
|
* Operation signature to create or replace a resource.
|
|
487
488
|
* @template TResource The type of the resource.
|
|
488
489
|
* @template Traits Traits to apply to the operation.
|
|
489
490
|
*/
|
|
490
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
491
491
|
op ResourceCreateOrReplace<
|
|
492
492
|
TResource extends TypeSpec.Reflection.Model,
|
|
493
493
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
494
494
|
> is StandardResourceOperations.ResourceCreateOrReplace<TResource, Traits>;
|
|
495
495
|
|
|
496
496
|
/**
|
|
497
|
+
* DEPRECATED: Use LongRunningResourceCreateOrReplace from the ResourceOperations interface.
|
|
497
498
|
* Long-running operation signature to create or replace a resource.
|
|
498
499
|
* @template TResource The type of the resource.
|
|
499
500
|
* @template Traits Traits to apply to the operation.
|
|
500
501
|
*/
|
|
501
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
502
502
|
op LongRunningResourceCreateOrReplace<
|
|
503
503
|
TResource extends TypeSpec.Reflection.Model,
|
|
504
504
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
505
505
|
> is StandardResourceOperations.LongRunningResourceCreateOrReplace<TResource, Traits>;
|
|
506
506
|
|
|
507
507
|
/**
|
|
508
|
+
* DEPRECATED: Use ResourceCreateOrUpdate from the ResourceOperations interface.
|
|
508
509
|
* Operation signature to create or update a resource.
|
|
509
510
|
* @template TResource The type of the resource.
|
|
510
511
|
* @template Traits Traits to apply to the operation.
|
|
511
512
|
*/
|
|
512
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
513
513
|
op ResourceCreateOrUpdate<
|
|
514
514
|
TResource extends TypeSpec.Reflection.Model,
|
|
515
515
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
516
516
|
> is StandardResourceOperations.ResourceCreateOrUpdate<TResource, Traits>;
|
|
517
517
|
|
|
518
518
|
/**
|
|
519
|
+
* DEPRECATED: Use LongRunningResourceCreateOrUpdate from the ResourceOperations interface.
|
|
519
520
|
* Long-running operation signature to create or update a resource.
|
|
520
521
|
* @template TResource The type of the resource.
|
|
521
522
|
* @template Traits Traits to apply to the operation.
|
|
522
523
|
*/
|
|
523
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
524
524
|
op LongRunningResourceCreateOrUpdate<
|
|
525
525
|
TResource extends TypeSpec.Reflection.Model,
|
|
526
526
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
527
527
|
> is StandardResourceOperations.LongRunningResourceCreateOrUpdate<TResource, Traits>;
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
|
+
* DEPRECATED: Use ResourceUpdate from the ResourceOperations interface.
|
|
530
531
|
* Operation signature to update a resource.
|
|
531
532
|
* @template TResource The type of the resource.
|
|
532
533
|
* @template Traits Traits to apply to the operation.
|
|
533
534
|
*/
|
|
534
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
535
535
|
op ResourceUpdate<
|
|
536
536
|
TResource extends TypeSpec.Reflection.Model,
|
|
537
537
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
538
538
|
> is StandardResourceOperations.ResourceUpdate<TResource, Traits>;
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
|
+
* DEPRECATED: Use ResourceCreateWithServiceProvidedName from the ResourceOperations interface.
|
|
541
542
|
* Operation signature to synchronously create a resource with a service-provided name.
|
|
542
543
|
* @template TResource The type of the resource.
|
|
543
544
|
* @template Traits Traits to apply to the operation.
|
|
544
545
|
*/
|
|
545
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
546
546
|
op ResourceCreateWithServiceProvidedName<
|
|
547
547
|
TResource extends TypeSpec.Reflection.Model,
|
|
548
548
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
549
549
|
> is StandardResourceOperations.ResourceCreateWithServiceProvidedName<TResource, Traits>;
|
|
550
550
|
|
|
551
551
|
/**
|
|
552
|
+
* DEPRECATED: Use LongRunningResourceCreateWithServiceProvidedName from the ResourceOperations interface.
|
|
552
553
|
* Long-running operation signature to create a resource with a service-provided name.
|
|
553
554
|
* @template TResource The type of the resource.
|
|
554
555
|
* @template Traits Traits to apply to the operation.
|
|
555
556
|
*/
|
|
556
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
557
557
|
op LongRunningResourceCreateWithServiceProvidedName<
|
|
558
558
|
TResource extends TypeSpec.Reflection.Model,
|
|
559
559
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
560
560
|
> is StandardResourceOperations.LongRunningResourceCreateWithServiceProvidedName<TResource, Traits>;
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
|
+
* DEPRECATED: Use ResourceRead from the ResourceOperations interface.
|
|
563
564
|
* Operation signature to retrieve a resource.
|
|
564
565
|
* @template TResource The type of the resource.
|
|
565
566
|
* @template Traits Traits to apply to the operation.
|
|
566
567
|
*/
|
|
567
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
568
568
|
op ResourceRead<
|
|
569
569
|
TResource extends TypeSpec.Reflection.Model,
|
|
570
570
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
571
571
|
> is StandardResourceOperations.ResourceRead<TResource, Traits>;
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
|
+
* DEPRECATED: Use ResourceDelete from the ResourceOperations interface.
|
|
574
575
|
* Operation signature to delete a resource.
|
|
575
576
|
* @template TResource The type of the resource.
|
|
576
577
|
* @template Traits Traits to apply to the operation.
|
|
577
578
|
*/
|
|
578
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
579
579
|
op ResourceDelete<
|
|
580
580
|
TResource extends TypeSpec.Reflection.Model,
|
|
581
581
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
582
582
|
> is StandardResourceOperations.ResourceDelete<TResource, Traits>;
|
|
583
583
|
|
|
584
584
|
/**
|
|
585
|
+
* DEPRECATED: Use LongRunningResourceDelete from the ResourceOperations interface.
|
|
585
586
|
* Long-running operation signature to delete a resource.
|
|
586
587
|
* @template TResource The type of the resource.
|
|
587
588
|
* @template Traits Traits to apply to the operation.
|
|
588
589
|
*/
|
|
589
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
590
590
|
op LongRunningResourceDelete<
|
|
591
591
|
TResource extends TypeSpec.Reflection.Model,
|
|
592
592
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
593
593
|
> is StandardResourceOperations.LongRunningResourceDelete<TResource, Traits>;
|
|
594
594
|
|
|
595
595
|
/**
|
|
596
|
+
* DEPRECATED: Use ResourceList from the ResourceOperations interface.
|
|
596
597
|
* Operation signature to list resources in a paginated way.
|
|
597
598
|
* @template TResource The type of the resource.
|
|
598
599
|
* @template Traits Traits to apply to the operation.
|
|
599
600
|
*/
|
|
600
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
601
601
|
op ResourceList<
|
|
602
602
|
TResource extends TypeSpec.Reflection.Model,
|
|
603
603
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
604
604
|
> is StandardResourceOperations.ResourceList<TResource, Traits>;
|
|
605
605
|
|
|
606
606
|
/**
|
|
607
|
+
* DEPRECATED: Use ResourceAction from the ResourceOperations interface.
|
|
607
608
|
* Operation signature for a resource action.
|
|
608
609
|
* @template TResource The type of the resource.
|
|
609
610
|
* @template TParams Object describing the request parameters.
|
|
610
611
|
* @template TResponse Object describing the response parameters.
|
|
611
612
|
* @template Traits Traits to apply to the operation.
|
|
612
613
|
*/
|
|
613
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
614
614
|
op ResourceAction<
|
|
615
615
|
TResource extends TypeSpec.Reflection.Model,
|
|
616
616
|
TParams extends TypeSpec.Reflection.Model,
|
|
@@ -619,13 +619,13 @@ op ResourceAction<
|
|
|
619
619
|
> is StandardResourceOperations.ResourceAction<TResource, TParams, TResponse, Traits>;
|
|
620
620
|
|
|
621
621
|
/**
|
|
622
|
+
* DEPRECATED: Use ResourceCollectionAction from the ResourceOperations interface.
|
|
622
623
|
* Operation signature for an action that applies to a collection of resources.
|
|
623
624
|
* @template TResource The type of the resource.
|
|
624
625
|
* @template TParams Object describing the request parameters.
|
|
625
626
|
* @template TResponse Object describing the response parameters.
|
|
626
627
|
* @template Traits Traits to apply to the operation.
|
|
627
628
|
*/
|
|
628
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
629
629
|
op ResourceCollectionAction<
|
|
630
630
|
TResource extends TypeSpec.Reflection.Model,
|
|
631
631
|
TParams extends TypeSpec.Reflection.Model,
|
|
@@ -634,6 +634,7 @@ op ResourceCollectionAction<
|
|
|
634
634
|
> is StandardResourceOperations.ResourceCollectionAction<TResource, TParams, TResponse, Traits>;
|
|
635
635
|
|
|
636
636
|
/**
|
|
637
|
+
* DEPRECATED: Use LongRunningResourceAction from the ResourceOperations interface.
|
|
637
638
|
* Long-running operation signature for a resource action.
|
|
638
639
|
* @template TResource The type of the resource.
|
|
639
640
|
* @template TParams Object describing the request parameters.
|
|
@@ -641,7 +642,6 @@ op ResourceCollectionAction<
|
|
|
641
642
|
* @template TStatusError Object describing the error of the status operation. If not provided, the default error type is used.
|
|
642
643
|
* @template Traits Traits to apply to the operation.
|
|
643
644
|
*/
|
|
644
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
645
645
|
op LongRunningResourceAction<
|
|
646
646
|
TResource extends TypeSpec.Reflection.Model,
|
|
647
647
|
TParams extends TypeSpec.Reflection.Model,
|
|
@@ -657,6 +657,7 @@ op LongRunningResourceAction<
|
|
|
657
657
|
>;
|
|
658
658
|
|
|
659
659
|
/**
|
|
660
|
+
* DEPRECATED: Use LongRunningResourceCollectionAction from the ResourceOperations interface.
|
|
660
661
|
* Long-running operation signature for an action that applies to a collection of resources.
|
|
661
662
|
* @template TResource The type of the resource.
|
|
662
663
|
* @template TParams Object describing the request parameters.
|
|
@@ -664,14 +665,13 @@ op LongRunningResourceAction<
|
|
|
664
665
|
* @template TStatusError Object describing the error of the status operation. If not provided, the default error type is used.
|
|
665
666
|
* @template Traits Traits to apply to the operation.
|
|
666
667
|
*/
|
|
667
|
-
@deprecated("Use the equivalent operation from the ResourceOperations interface.")
|
|
668
668
|
op LongRunningResourceCollectionAction<
|
|
669
669
|
TResource extends TypeSpec.Reflection.Model,
|
|
670
670
|
TParams extends TypeSpec.Reflection.Model,
|
|
671
671
|
TStatusResult extends TypeSpec.Reflection.Model,
|
|
672
672
|
TStatusError = Foundations.Error,
|
|
673
673
|
Traits extends TypeSpec.Reflection.Model = {}
|
|
674
|
-
> is StandardResourceOperations.
|
|
674
|
+
> is StandardResourceOperations.LongRunningResourceCollectionAction<
|
|
675
675
|
TResource,
|
|
676
676
|
TParams,
|
|
677
677
|
TStatusResult,
|
package/package.json
CHANGED