@azure-tools/typespec-azure-core 0.35.0-dev.7 → 0.35.0-dev.9
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 +59 -15
- package/package.json +1 -1
package/lib/operations.tsp
CHANGED
|
@@ -508,7 +508,10 @@ alias StandardResourceOperations = ResourceOperations<NoConditionalRequests &
|
|
|
508
508
|
NoClientRequestId>;
|
|
509
509
|
|
|
510
510
|
/**
|
|
511
|
-
* DEPRECATED: Use ResourceCreateOrReplace from
|
|
511
|
+
* DEPRECATED: Use `ResourceCreateOrReplace` from a `ResourceOperations` interface instance.
|
|
512
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
513
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
514
|
+
*
|
|
512
515
|
* Operation signature to create or replace a resource.
|
|
513
516
|
* @template TResource The type of the resource.
|
|
514
517
|
* @template Traits Traits to apply to the operation.
|
|
@@ -519,7 +522,10 @@ op ResourceCreateOrReplace<
|
|
|
519
522
|
> is StandardResourceOperations.ResourceCreateOrReplace<TResource, Traits>;
|
|
520
523
|
|
|
521
524
|
/**
|
|
522
|
-
* DEPRECATED: Use LongRunningResourceCreateOrReplace from
|
|
525
|
+
* DEPRECATED: Use `LongRunningResourceCreateOrReplace` from a `ResourceOperations` interface instance.
|
|
526
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
527
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
528
|
+
*
|
|
523
529
|
* Long-running operation signature to create or replace a resource.
|
|
524
530
|
* @template TResource The type of the resource.
|
|
525
531
|
* @template Traits Traits to apply to the operation.
|
|
@@ -530,7 +536,10 @@ op LongRunningResourceCreateOrReplace<
|
|
|
530
536
|
> is StandardResourceOperations.LongRunningResourceCreateOrReplace<TResource, Traits>;
|
|
531
537
|
|
|
532
538
|
/**
|
|
533
|
-
* DEPRECATED: Use ResourceCreateOrUpdate from
|
|
539
|
+
* DEPRECATED: Use `ResourceCreateOrUpdate` from a `ResourceOperations` interface instance.
|
|
540
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
541
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
542
|
+
*
|
|
534
543
|
* Operation signature to create or update a resource.
|
|
535
544
|
* @template TResource The type of the resource.
|
|
536
545
|
* @template Traits Traits to apply to the operation.
|
|
@@ -541,7 +550,10 @@ op ResourceCreateOrUpdate<
|
|
|
541
550
|
> is StandardResourceOperations.ResourceCreateOrUpdate<TResource, Traits>;
|
|
542
551
|
|
|
543
552
|
/**
|
|
544
|
-
* DEPRECATED: Use LongRunningResourceCreateOrUpdate from
|
|
553
|
+
* DEPRECATED: Use `LongRunningResourceCreateOrUpdate` from a `ResourceOperations` interface instance.
|
|
554
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
555
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
556
|
+
*
|
|
545
557
|
* Long-running operation signature to create or update a resource.
|
|
546
558
|
* @template TResource The type of the resource.
|
|
547
559
|
* @template Traits Traits to apply to the operation.
|
|
@@ -552,7 +564,9 @@ op LongRunningResourceCreateOrUpdate<
|
|
|
552
564
|
> is StandardResourceOperations.LongRunningResourceCreateOrUpdate<TResource, Traits>;
|
|
553
565
|
|
|
554
566
|
/**
|
|
555
|
-
* DEPRECATED: Use ResourceUpdate from
|
|
567
|
+
* DEPRECATED: Use `ResourceUpdate` from a `ResourceOperations` interface instance.
|
|
568
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
569
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
556
570
|
* Operation signature to update a resource.
|
|
557
571
|
* @template TResource The type of the resource.
|
|
558
572
|
* @template Traits Traits to apply to the operation.
|
|
@@ -563,7 +577,10 @@ op ResourceUpdate<
|
|
|
563
577
|
> is StandardResourceOperations.ResourceUpdate<TResource, Traits>;
|
|
564
578
|
|
|
565
579
|
/**
|
|
566
|
-
* DEPRECATED: Use ResourceCreateWithServiceProvidedName from
|
|
580
|
+
* DEPRECATED: Use `ResourceCreateWithServiceProvidedName` from a `ResourceOperations` interface instance.
|
|
581
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
582
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
583
|
+
*
|
|
567
584
|
* Operation signature to synchronously create a resource with a service-provided name.
|
|
568
585
|
* @template TResource The type of the resource.
|
|
569
586
|
* @template Traits Traits to apply to the operation.
|
|
@@ -574,7 +591,10 @@ op ResourceCreateWithServiceProvidedName<
|
|
|
574
591
|
> is StandardResourceOperations.ResourceCreateWithServiceProvidedName<TResource, Traits>;
|
|
575
592
|
|
|
576
593
|
/**
|
|
577
|
-
* DEPRECATED: Use LongRunningResourceCreateWithServiceProvidedName from
|
|
594
|
+
* DEPRECATED: Use `LongRunningResourceCreateWithServiceProvidedName` from a `ResourceOperations` interface instance.
|
|
595
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
596
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
597
|
+
*
|
|
578
598
|
* Long-running operation signature to create a resource with a service-provided name.
|
|
579
599
|
* @template TResource The type of the resource.
|
|
580
600
|
* @template Traits Traits to apply to the operation.
|
|
@@ -585,7 +605,10 @@ op LongRunningResourceCreateWithServiceProvidedName<
|
|
|
585
605
|
> is StandardResourceOperations.LongRunningResourceCreateWithServiceProvidedName<TResource, Traits>;
|
|
586
606
|
|
|
587
607
|
/**
|
|
588
|
-
* DEPRECATED: Use ResourceRead from
|
|
608
|
+
* DEPRECATED: Use `ResourceRead` from a `ResourceOperations` interface instance.
|
|
609
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
610
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
611
|
+
*
|
|
589
612
|
* Operation signature to retrieve a resource.
|
|
590
613
|
* @template TResource The type of the resource.
|
|
591
614
|
* @template Traits Traits to apply to the operation.
|
|
@@ -596,7 +619,10 @@ op ResourceRead<
|
|
|
596
619
|
> is StandardResourceOperations.ResourceRead<TResource, Traits>;
|
|
597
620
|
|
|
598
621
|
/**
|
|
599
|
-
* DEPRECATED: Use ResourceDelete from
|
|
622
|
+
* DEPRECATED: Use `ResourceDelete` from a `ResourceOperations` interface instance.
|
|
623
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
624
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
625
|
+
*
|
|
600
626
|
* Operation signature to delete a resource.
|
|
601
627
|
* @template TResource The type of the resource.
|
|
602
628
|
* @template Traits Traits to apply to the operation.
|
|
@@ -607,7 +633,10 @@ op ResourceDelete<
|
|
|
607
633
|
> is StandardResourceOperations.ResourceDelete<TResource, Traits>;
|
|
608
634
|
|
|
609
635
|
/**
|
|
610
|
-
* DEPRECATED: Use LongRunningResourceDelete from
|
|
636
|
+
* DEPRECATED: Use `LongRunningResourceDelete` from a `ResourceOperations` interface instance.
|
|
637
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
638
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
639
|
+
*
|
|
611
640
|
* Long-running operation signature to delete a resource.
|
|
612
641
|
* @template TResource The type of the resource.
|
|
613
642
|
* @template Traits Traits to apply to the operation.
|
|
@@ -618,7 +647,10 @@ op LongRunningResourceDelete<
|
|
|
618
647
|
> is StandardResourceOperations.LongRunningResourceDelete<TResource, Traits>;
|
|
619
648
|
|
|
620
649
|
/**
|
|
621
|
-
* DEPRECATED: Use ResourceList from
|
|
650
|
+
* DEPRECATED: Use `ResourceList` from a `ResourceOperations` interface instance.
|
|
651
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
652
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
653
|
+
*
|
|
622
654
|
* Operation signature to list resources in a paginated way.
|
|
623
655
|
* @template TResource The type of the resource.
|
|
624
656
|
* @template Traits Traits to apply to the operation.
|
|
@@ -629,7 +661,10 @@ op ResourceList<
|
|
|
629
661
|
> is StandardResourceOperations.ResourceList<TResource, Traits>;
|
|
630
662
|
|
|
631
663
|
/**
|
|
632
|
-
* DEPRECATED: Use ResourceAction from
|
|
664
|
+
* DEPRECATED: Use `ResourceAction` from a `ResourceOperations` interface instance.
|
|
665
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
666
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
667
|
+
*
|
|
633
668
|
* Operation signature for a resource action.
|
|
634
669
|
* @template TResource The type of the resource.
|
|
635
670
|
* @template TParams Object describing the request parameters.
|
|
@@ -644,7 +679,10 @@ op ResourceAction<
|
|
|
644
679
|
> is StandardResourceOperations.ResourceAction<TResource, TParams, TResponse, Traits>;
|
|
645
680
|
|
|
646
681
|
/**
|
|
647
|
-
* DEPRECATED: Use ResourceCollectionAction from
|
|
682
|
+
* DEPRECATED: Use `ResourceCollectionAction` from a `ResourceOperations` interface instance.
|
|
683
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
684
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
685
|
+
*
|
|
648
686
|
* Operation signature for an action that applies to a collection of resources.
|
|
649
687
|
* @template TResource The type of the resource.
|
|
650
688
|
* @template TParams Object describing the request parameters.
|
|
@@ -659,7 +697,10 @@ op ResourceCollectionAction<
|
|
|
659
697
|
> is StandardResourceOperations.ResourceCollectionAction<TResource, TParams, TResponse, Traits>;
|
|
660
698
|
|
|
661
699
|
/**
|
|
662
|
-
* DEPRECATED: Use LongRunningResourceAction from
|
|
700
|
+
* DEPRECATED: Use `LongRunningResourceAction` from a `ResourceOperations` interface instance.
|
|
701
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
702
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
703
|
+
*
|
|
663
704
|
* Long-running operation signature for a resource action.
|
|
664
705
|
* @template TResource The type of the resource.
|
|
665
706
|
* @template TParams Object describing the request parameters.
|
|
@@ -682,7 +723,10 @@ op LongRunningResourceAction<
|
|
|
682
723
|
>;
|
|
683
724
|
|
|
684
725
|
/**
|
|
685
|
-
* DEPRECATED: Use LongRunningResourceCollectionAction from
|
|
726
|
+
* DEPRECATED: Use `LongRunningResourceCollectionAction` from a `ResourceOperations` interface instance.
|
|
727
|
+
* This can be done by instantiating your own version with the traits you want `alias Operations = Azure.Core.ResourceOperations<ServiceTraits>;`.
|
|
728
|
+
* See https://azure.github.io/typespec-azure/docs/getstarted/azure-core/step05#defining-the-operation-interface for details on how to use.
|
|
729
|
+
*
|
|
686
730
|
* Long-running operation signature for an action that applies to a collection of resources.
|
|
687
731
|
* @template TResource The type of the resource.
|
|
688
732
|
* @template TParams Object describing the request parameters.
|
package/package.json
CHANGED