@azure/arm-cognitiveservices 7.3.1 → 7.4.0

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.
Files changed (163) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/LICENSE +1 -1
  3. package/dist/index.js +1232 -42
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/accountsCreateSample.js +17 -8
  8. package/dist-esm/samples-dev/accountsCreateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/accountsDeleteSample.js +12 -4
  10. package/dist-esm/samples-dev/accountsDeleteSample.js.map +1 -1
  11. package/dist-esm/samples-dev/accountsGetSample.js +12 -4
  12. package/dist-esm/samples-dev/accountsGetSample.js.map +1 -1
  13. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +12 -4
  14. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +1 -1
  15. package/dist-esm/samples-dev/accountsListKeysSample.js +12 -4
  16. package/dist-esm/samples-dev/accountsListKeysSample.js.map +1 -1
  17. package/dist-esm/samples-dev/accountsListModelsSample.js +11 -4
  18. package/dist-esm/samples-dev/accountsListModelsSample.js.map +1 -1
  19. package/dist-esm/samples-dev/accountsListSample.js +11 -3
  20. package/dist-esm/samples-dev/accountsListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/accountsListSkusSample.js +12 -4
  22. package/dist-esm/samples-dev/accountsListSkusSample.js.map +1 -1
  23. package/dist-esm/samples-dev/accountsListUsagesSample.js +12 -4
  24. package/dist-esm/samples-dev/accountsListUsagesSample.js.map +1 -1
  25. package/dist-esm/samples-dev/accountsRegenerateKeySample.js +12 -4
  26. package/dist-esm/samples-dev/accountsRegenerateKeySample.js.map +1 -1
  27. package/dist-esm/samples-dev/accountsUpdateSample.js +12 -4
  28. package/dist-esm/samples-dev/accountsUpdateSample.js.map +1 -1
  29. package/dist-esm/samples-dev/checkDomainAvailabilitySample.js +11 -3
  30. package/dist-esm/samples-dev/checkDomainAvailabilitySample.js.map +1 -1
  31. package/dist-esm/samples-dev/checkSkuAvailabilitySample.js +11 -3
  32. package/dist-esm/samples-dev/checkSkuAvailabilitySample.js.map +1 -1
  33. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateAssociationSample.d.ts +2 -0
  34. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateAssociationSample.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateAssociationSample.js +43 -0
  36. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateAssociationSample.js.map +1 -0
  37. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdatePlanSample.d.ts +2 -0
  38. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdatePlanSample.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdatePlanSample.js +50 -0
  40. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdatePlanSample.js.map +1 -0
  41. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateSample.js +11 -4
  42. package/dist-esm/samples-dev/commitmentPlansCreateOrUpdateSample.js.map +1 -1
  43. package/dist-esm/samples-dev/commitmentPlansDeleteAssociationSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/commitmentPlansDeleteAssociationSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/commitmentPlansDeleteAssociationSample.js +40 -0
  46. package/dist-esm/samples-dev/commitmentPlansDeleteAssociationSample.js.map +1 -0
  47. package/dist-esm/samples-dev/commitmentPlansDeletePlanSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/commitmentPlansDeletePlanSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/commitmentPlansDeletePlanSample.js +39 -0
  50. package/dist-esm/samples-dev/commitmentPlansDeletePlanSample.js.map +1 -0
  51. package/dist-esm/samples-dev/commitmentPlansDeleteSample.js +11 -4
  52. package/dist-esm/samples-dev/commitmentPlansDeleteSample.js.map +1 -1
  53. package/dist-esm/samples-dev/commitmentPlansGetAssociationSample.d.ts +2 -0
  54. package/dist-esm/samples-dev/commitmentPlansGetAssociationSample.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/commitmentPlansGetAssociationSample.js +40 -0
  56. package/dist-esm/samples-dev/commitmentPlansGetAssociationSample.js.map +1 -0
  57. package/dist-esm/samples-dev/commitmentPlansGetPlanSample.d.ts +2 -0
  58. package/dist-esm/samples-dev/commitmentPlansGetPlanSample.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/commitmentPlansGetPlanSample.js +39 -0
  60. package/dist-esm/samples-dev/commitmentPlansGetPlanSample.js.map +1 -0
  61. package/dist-esm/samples-dev/commitmentPlansGetSample.js +11 -4
  62. package/dist-esm/samples-dev/commitmentPlansGetSample.js.map +1 -1
  63. package/dist-esm/samples-dev/commitmentPlansListAssociationsSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/commitmentPlansListAssociationsSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/commitmentPlansListAssociationsSample.js +53 -0
  66. package/dist-esm/samples-dev/commitmentPlansListAssociationsSample.js.map +1 -0
  67. package/dist-esm/samples-dev/commitmentPlansListPlansByResourceGroupSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/commitmentPlansListPlansByResourceGroupSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/commitmentPlansListPlansByResourceGroupSample.js +52 -0
  70. package/dist-esm/samples-dev/commitmentPlansListPlansByResourceGroupSample.js.map +1 -0
  71. package/dist-esm/samples-dev/commitmentPlansListPlansBySubscriptionSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/commitmentPlansListPlansBySubscriptionSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/commitmentPlansListPlansBySubscriptionSample.js +51 -0
  74. package/dist-esm/samples-dev/commitmentPlansListPlansBySubscriptionSample.js.map +1 -0
  75. package/dist-esm/samples-dev/commitmentPlansListSample.js +11 -4
  76. package/dist-esm/samples-dev/commitmentPlansListSample.js.map +1 -1
  77. package/dist-esm/samples-dev/commitmentPlansUpdatePlanSample.d.ts +2 -0
  78. package/dist-esm/samples-dev/commitmentPlansUpdatePlanSample.d.ts.map +1 -0
  79. package/dist-esm/samples-dev/commitmentPlansUpdatePlanSample.js +40 -0
  80. package/dist-esm/samples-dev/commitmentPlansUpdatePlanSample.js.map +1 -0
  81. package/dist-esm/samples-dev/commitmentTiersListSample.js +10 -3
  82. package/dist-esm/samples-dev/commitmentTiersListSample.js.map +1 -1
  83. package/dist-esm/samples-dev/deletedAccountsGetSample.js +12 -4
  84. package/dist-esm/samples-dev/deletedAccountsGetSample.js.map +1 -1
  85. package/dist-esm/samples-dev/deletedAccountsListSample.js +11 -3
  86. package/dist-esm/samples-dev/deletedAccountsListSample.js.map +1 -1
  87. package/dist-esm/samples-dev/deletedAccountsPurgeSample.js +12 -4
  88. package/dist-esm/samples-dev/deletedAccountsPurgeSample.js.map +1 -1
  89. package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js +11 -4
  90. package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js.map +1 -1
  91. package/dist-esm/samples-dev/deploymentsDeleteSample.js +11 -4
  92. package/dist-esm/samples-dev/deploymentsDeleteSample.js.map +1 -1
  93. package/dist-esm/samples-dev/deploymentsGetSample.js +11 -4
  94. package/dist-esm/samples-dev/deploymentsGetSample.js.map +1 -1
  95. package/dist-esm/samples-dev/deploymentsListSample.js +11 -4
  96. package/dist-esm/samples-dev/deploymentsListSample.js.map +1 -1
  97. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  98. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  99. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +11 -4
  100. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  101. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -4
  102. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  103. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -4
  104. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
  105. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +11 -4
  106. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  107. package/dist-esm/samples-dev/privateLinkResourcesListSample.js +11 -4
  108. package/dist-esm/samples-dev/privateLinkResourcesListSample.js.map +1 -1
  109. package/dist-esm/samples-dev/resourceSkusListSample.js +11 -3
  110. package/dist-esm/samples-dev/resourceSkusListSample.js.map +1 -1
  111. package/dist-esm/src/cognitiveServicesManagementClient.js +2 -2
  112. package/dist-esm/src/models/index.d.ts +248 -0
  113. package/dist-esm/src/models/index.d.ts.map +1 -1
  114. package/dist-esm/src/models/index.js +36 -0
  115. package/dist-esm/src/models/index.js.map +1 -1
  116. package/dist-esm/src/models/mappers.d.ts +10 -0
  117. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  118. package/dist-esm/src/models/mappers.js +259 -0
  119. package/dist-esm/src/models/mappers.js.map +1 -1
  120. package/dist-esm/src/models/parameters.d.ts +4 -0
  121. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  122. package/dist-esm/src/models/parameters.js +36 -2
  123. package/dist-esm/src/models/parameters.js.map +1 -1
  124. package/dist-esm/src/operations/accounts.js +0 -3
  125. package/dist-esm/src/operations/accounts.js.map +1 -1
  126. package/dist-esm/src/operations/commitmentPlans.d.ts +181 -1
  127. package/dist-esm/src/operations/commitmentPlans.d.ts.map +1 -1
  128. package/dist-esm/src/operations/commitmentPlans.js +864 -5
  129. package/dist-esm/src/operations/commitmentPlans.js.map +1 -1
  130. package/dist-esm/src/operations/commitmentTiers.js +0 -1
  131. package/dist-esm/src/operations/commitmentTiers.js.map +1 -1
  132. package/dist-esm/src/operations/deletedAccounts.js +0 -1
  133. package/dist-esm/src/operations/deletedAccounts.js.map +1 -1
  134. package/dist-esm/src/operations/deployments.js +0 -1
  135. package/dist-esm/src/operations/deployments.js.map +1 -1
  136. package/dist-esm/src/operations/operations.js +0 -1
  137. package/dist-esm/src/operations/operations.js.map +1 -1
  138. package/dist-esm/src/operations/resourceSkus.js +0 -1
  139. package/dist-esm/src/operations/resourceSkus.js.map +1 -1
  140. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts +132 -1
  141. package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts.map +1 -1
  142. package/dist-esm/src/pagingHelper.d.ts +4 -4
  143. package/dist-esm/src/pagingHelper.js +4 -4
  144. package/dist-esm/test/cognitiveservices_examples.d.ts.map +1 -1
  145. package/dist-esm/test/cognitiveservices_examples.js +19 -0
  146. package/dist-esm/test/cognitiveservices_examples.js.map +1 -1
  147. package/package.json +7 -6
  148. package/review/arm-cognitiveservices.api.md +220 -0
  149. package/src/cognitiveServicesManagementClient.ts +2 -2
  150. package/src/models/index.ts +287 -0
  151. package/src/models/mappers.ts +283 -0
  152. package/src/models/parameters.ts +42 -2
  153. package/src/operations/accounts.ts +0 -3
  154. package/src/operations/commitmentPlans.ts +1222 -47
  155. package/src/operations/commitmentTiers.ts +0 -1
  156. package/src/operations/deletedAccounts.ts +0 -1
  157. package/src/operations/deployments.ts +0 -1
  158. package/src/operations/operations.ts +0 -1
  159. package/src/operations/resourceSkus.ts +0 -1
  160. package/src/operationsInterfaces/commitmentPlans.ts +232 -1
  161. package/src/pagingHelper.ts +4 -4
  162. package/types/arm-cognitiveservices.d.ts +423 -4
  163. package/types/tsdoc-metadata.json +1 -1
@@ -48,8 +48,14 @@ export declare interface AccountModel extends DeploymentModel {
48
48
  capabilities?: {
49
49
  [propertyName: string]: string;
50
50
  };
51
+ /** The capabilities for finetune models. */
52
+ finetuneCapabilities?: {
53
+ [propertyName: string]: string;
54
+ };
51
55
  /** Cognitive Services account ModelDeprecationInfo. */
52
56
  deprecation?: ModelDeprecationInfo;
57
+ /** Model lifecycle status. */
58
+ lifecycleStatus?: ModelLifecycleStatus;
53
59
  /**
54
60
  * Metadata pertaining to creation and last modification of the resource.
55
61
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -151,6 +157,13 @@ export declare interface AccountProperties {
151
157
  * NOTE: This property will not be serialized. It can only be populated by the server.
152
158
  */
153
159
  readonly scheduledPurgeDate?: string;
160
+ /** The multiregion settings of Cognitive Services account. */
161
+ locations?: MultiRegionSettings;
162
+ /**
163
+ * The commitment plan associations of Cognitive Services account.
164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
+ */
166
+ readonly commitmentPlanAssociations?: CommitmentPlanAssociation[];
154
167
  }
155
168
 
156
169
  /** Interface representing a Accounts. */
@@ -572,10 +585,55 @@ export declare interface CommitmentPlan extends ProxyResource {
572
585
  * NOTE: This property will not be serialized. It can only be populated by the server.
573
586
  */
574
587
  readonly etag?: string;
588
+ /** The Kind of the resource. */
589
+ kind?: string;
590
+ /** The resource model definition representing SKU */
591
+ sku?: Sku;
592
+ /** Resource tags. */
593
+ tags?: {
594
+ [propertyName: string]: string;
595
+ };
596
+ /** The geo-location where the resource lives */
597
+ location?: string;
575
598
  /** Properties of Cognitive Services account commitment plan. */
576
599
  properties?: CommitmentPlanProperties;
577
600
  }
578
601
 
602
+ /** The commitment plan association. */
603
+ export declare interface CommitmentPlanAccountAssociation extends ProxyResource {
604
+ /**
605
+ * Metadata pertaining to creation and last modification of the resource.
606
+ * NOTE: This property will not be serialized. It can only be populated by the server.
607
+ */
608
+ readonly systemData?: SystemData;
609
+ /**
610
+ * Resource Etag.
611
+ * NOTE: This property will not be serialized. It can only be populated by the server.
612
+ */
613
+ readonly etag?: string;
614
+ /** The Azure resource id of the account. */
615
+ accountId?: string;
616
+ }
617
+
618
+ /** The list of cognitive services Commitment Plan Account Association operation response. */
619
+ export declare interface CommitmentPlanAccountAssociationListResult {
620
+ /** The link used to get the next page of Commitment Plan Account Association. */
621
+ nextLink?: string;
622
+ /**
623
+ * Gets the list of Cognitive Services Commitment Plan Account Association and their properties.
624
+ * NOTE: This property will not be serialized. It can only be populated by the server.
625
+ */
626
+ readonly value?: CommitmentPlanAccountAssociation[];
627
+ }
628
+
629
+ /** The commitment plan association. */
630
+ export declare interface CommitmentPlanAssociation {
631
+ /** The Azure resource id of the commitment plan. */
632
+ commitmentPlanId?: string;
633
+ /** The location of of the commitment plan. */
634
+ commitmentPlanLocation?: string;
635
+ }
636
+
579
637
  /** The list of cognitive services accounts operation response. */
580
638
  export declare interface CommitmentPlanListResult {
581
639
  /** The link used to get the next page of CommitmentPlan. */
@@ -589,6 +647,13 @@ export declare interface CommitmentPlanListResult {
589
647
 
590
648
  /** Properties of Cognitive Services account commitment plan. */
591
649
  export declare interface CommitmentPlanProperties {
650
+ /**
651
+ * Gets the status of the resource at the time the operation was called.
652
+ * NOTE: This property will not be serialized. It can only be populated by the server.
653
+ */
654
+ readonly provisioningState?: CommitmentPlanProvisioningState;
655
+ /** Commitment plan guid. */
656
+ commitmentPlanGuid?: string;
592
657
  /** Account hosting model. */
593
658
  hostingModel?: HostingModel;
594
659
  /** Commitment plan type. */
@@ -606,6 +671,21 @@ export declare interface CommitmentPlanProperties {
606
671
  readonly last?: CommitmentPeriod;
607
672
  }
608
673
 
674
+ /**
675
+ * Defines values for CommitmentPlanProvisioningState. \
676
+ * {@link KnownCommitmentPlanProvisioningState} can be used interchangeably with CommitmentPlanProvisioningState,
677
+ * this enum contains the known values that the service supports.
678
+ * ### Known values supported by the service
679
+ * **Accepted** \
680
+ * **Creating** \
681
+ * **Deleting** \
682
+ * **Moving** \
683
+ * **Failed** \
684
+ * **Succeeded** \
685
+ * **Canceled**
686
+ */
687
+ export declare type CommitmentPlanProvisioningState = string;
688
+
609
689
  /** Interface representing a CommitmentPlans. */
610
690
  export declare interface CommitmentPlans {
611
691
  /**
@@ -615,6 +695,25 @@ export declare interface CommitmentPlans {
615
695
  * @param options The options parameters.
616
696
  */
617
697
  list(resourceGroupName: string, accountName: string, options?: CommitmentPlansListOptionalParams): PagedAsyncIterableIterator<CommitmentPlan>;
698
+ /**
699
+ * Returns all the resources of a particular type belonging to a resource group
700
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
701
+ * @param options The options parameters.
702
+ */
703
+ listPlansByResourceGroup(resourceGroupName: string, options?: CommitmentPlansListPlansByResourceGroupOptionalParams): PagedAsyncIterableIterator<CommitmentPlan>;
704
+ /**
705
+ * Returns all the resources of a particular type belonging to a subscription.
706
+ * @param options The options parameters.
707
+ */
708
+ listPlansBySubscription(options?: CommitmentPlansListPlansBySubscriptionOptionalParams): PagedAsyncIterableIterator<CommitmentPlan>;
709
+ /**
710
+ * Gets the associations of the Cognitive Services commitment plan.
711
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
712
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
713
+ * Account
714
+ * @param options The options parameters.
715
+ */
716
+ listAssociations(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansListAssociationsOptionalParams): PagedAsyncIterableIterator<CommitmentPlanAccountAssociation>;
618
717
  /**
619
718
  * Gets the specified commitmentPlans associated with the Cognitive Services account.
620
719
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -652,15 +751,162 @@ export declare interface CommitmentPlans {
652
751
  * @param options The options parameters.
653
752
  */
654
753
  beginDeleteAndWait(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams): Promise<void>;
754
+ /**
755
+ * Create Cognitive Services commitment plan.
756
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
757
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
758
+ * Account
759
+ * @param commitmentPlan The parameters to provide for the created commitment plan.
760
+ * @param options The options parameters.
761
+ */
762
+ beginCreateOrUpdatePlan(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdatePlanOptionalParams): Promise<PollerLike<PollOperationState<CommitmentPlansCreateOrUpdatePlanResponse>, CommitmentPlansCreateOrUpdatePlanResponse>>;
763
+ /**
764
+ * Create Cognitive Services commitment plan.
765
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
766
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
767
+ * Account
768
+ * @param commitmentPlan The parameters to provide for the created commitment plan.
769
+ * @param options The options parameters.
770
+ */
771
+ beginCreateOrUpdatePlanAndWait(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdatePlanOptionalParams): Promise<CommitmentPlansCreateOrUpdatePlanResponse>;
772
+ /**
773
+ * Create Cognitive Services commitment plan.
774
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
775
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
776
+ * Account
777
+ * @param commitmentPlan The parameters to provide for the created commitment plan.
778
+ * @param options The options parameters.
779
+ */
780
+ beginUpdatePlan(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: PatchResourceTagsAndSku, options?: CommitmentPlansUpdatePlanOptionalParams): Promise<PollerLike<PollOperationState<CommitmentPlansUpdatePlanResponse>, CommitmentPlansUpdatePlanResponse>>;
781
+ /**
782
+ * Create Cognitive Services commitment plan.
783
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
784
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
785
+ * Account
786
+ * @param commitmentPlan The parameters to provide for the created commitment plan.
787
+ * @param options The options parameters.
788
+ */
789
+ beginUpdatePlanAndWait(resourceGroupName: string, commitmentPlanName: string, commitmentPlan: PatchResourceTagsAndSku, options?: CommitmentPlansUpdatePlanOptionalParams): Promise<CommitmentPlansUpdatePlanResponse>;
790
+ /**
791
+ * Deletes a Cognitive Services commitment plan from the resource group.
792
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
793
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
794
+ * Account
795
+ * @param options The options parameters.
796
+ */
797
+ beginDeletePlan(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansDeletePlanOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
798
+ /**
799
+ * Deletes a Cognitive Services commitment plan from the resource group.
800
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
801
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
802
+ * Account
803
+ * @param options The options parameters.
804
+ */
805
+ beginDeletePlanAndWait(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansDeletePlanOptionalParams): Promise<void>;
806
+ /**
807
+ * Returns a Cognitive Services commitment plan specified by the parameters.
808
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
809
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
810
+ * Account
811
+ * @param options The options parameters.
812
+ */
813
+ getPlan(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansGetPlanOptionalParams): Promise<CommitmentPlansGetPlanResponse>;
814
+ /**
815
+ * Gets the association of the Cognitive Services commitment plan.
816
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
817
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
818
+ * Account
819
+ * @param commitmentPlanAssociationName The name of the commitment plan association with the Cognitive
820
+ * Services Account
821
+ * @param options The options parameters.
822
+ */
823
+ getAssociation(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansGetAssociationOptionalParams): Promise<CommitmentPlansGetAssociationResponse>;
824
+ /**
825
+ * Create or update the association of the Cognitive Services commitment plan.
826
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
827
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
828
+ * Account
829
+ * @param commitmentPlanAssociationName The name of the commitment plan association with the Cognitive
830
+ * Services Account
831
+ * @param association The commitmentPlan properties.
832
+ * @param options The options parameters.
833
+ */
834
+ beginCreateOrUpdateAssociation(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, association: CommitmentPlanAccountAssociation, options?: CommitmentPlansCreateOrUpdateAssociationOptionalParams): Promise<PollerLike<PollOperationState<CommitmentPlansCreateOrUpdateAssociationResponse>, CommitmentPlansCreateOrUpdateAssociationResponse>>;
835
+ /**
836
+ * Create or update the association of the Cognitive Services commitment plan.
837
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
838
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
839
+ * Account
840
+ * @param commitmentPlanAssociationName The name of the commitment plan association with the Cognitive
841
+ * Services Account
842
+ * @param association The commitmentPlan properties.
843
+ * @param options The options parameters.
844
+ */
845
+ beginCreateOrUpdateAssociationAndWait(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, association: CommitmentPlanAccountAssociation, options?: CommitmentPlansCreateOrUpdateAssociationOptionalParams): Promise<CommitmentPlansCreateOrUpdateAssociationResponse>;
846
+ /**
847
+ * Deletes the association of the Cognitive Services commitment plan.
848
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
849
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
850
+ * Account
851
+ * @param commitmentPlanAssociationName The name of the commitment plan association with the Cognitive
852
+ * Services Account
853
+ * @param options The options parameters.
854
+ */
855
+ beginDeleteAssociation(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansDeleteAssociationOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
856
+ /**
857
+ * Deletes the association of the Cognitive Services commitment plan.
858
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
859
+ * @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
860
+ * Account
861
+ * @param commitmentPlanAssociationName The name of the commitment plan association with the Cognitive
862
+ * Services Account
863
+ * @param options The options parameters.
864
+ */
865
+ beginDeleteAssociationAndWait(resourceGroupName: string, commitmentPlanName: string, commitmentPlanAssociationName: string, options?: CommitmentPlansDeleteAssociationOptionalParams): Promise<void>;
655
866
  }
656
867
 
868
+ /** Optional parameters. */
869
+ export declare interface CommitmentPlansCreateOrUpdateAssociationOptionalParams extends coreClient.OperationOptions {
870
+ /** Delay to wait until next poll, in milliseconds. */
871
+ updateIntervalInMs?: number;
872
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
873
+ resumeFrom?: string;
874
+ }
875
+
876
+ /** Contains response data for the createOrUpdateAssociation operation. */
877
+ export declare type CommitmentPlansCreateOrUpdateAssociationResponse = CommitmentPlanAccountAssociation;
878
+
657
879
  /** Optional parameters. */
658
880
  export declare interface CommitmentPlansCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
659
881
  }
660
882
 
883
+ /** Optional parameters. */
884
+ export declare interface CommitmentPlansCreateOrUpdatePlanOptionalParams extends coreClient.OperationOptions {
885
+ /** Delay to wait until next poll, in milliseconds. */
886
+ updateIntervalInMs?: number;
887
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
888
+ resumeFrom?: string;
889
+ }
890
+
891
+ /** Contains response data for the createOrUpdatePlan operation. */
892
+ export declare type CommitmentPlansCreateOrUpdatePlanResponse = CommitmentPlan;
893
+
661
894
  /** Contains response data for the createOrUpdate operation. */
662
895
  export declare type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan;
663
896
 
897
+ /** Defines headers for CommitmentPlans_deleteAssociation operation. */
898
+ export declare interface CommitmentPlansDeleteAssociationHeaders {
899
+ location?: string;
900
+ }
901
+
902
+ /** Optional parameters. */
903
+ export declare interface CommitmentPlansDeleteAssociationOptionalParams extends coreClient.OperationOptions {
904
+ /** Delay to wait until next poll, in milliseconds. */
905
+ updateIntervalInMs?: number;
906
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
907
+ resumeFrom?: string;
908
+ }
909
+
664
910
  /** Optional parameters. */
665
911
  export declare interface CommitmentPlansDeleteOptionalParams extends coreClient.OperationOptions {
666
912
  /** Delay to wait until next poll, in milliseconds. */
@@ -669,13 +915,54 @@ export declare interface CommitmentPlansDeleteOptionalParams extends coreClient.
669
915
  resumeFrom?: string;
670
916
  }
671
917
 
918
+ /** Defines headers for CommitmentPlans_deletePlan operation. */
919
+ export declare interface CommitmentPlansDeletePlanHeaders {
920
+ location?: string;
921
+ }
922
+
923
+ /** Optional parameters. */
924
+ export declare interface CommitmentPlansDeletePlanOptionalParams extends coreClient.OperationOptions {
925
+ /** Delay to wait until next poll, in milliseconds. */
926
+ updateIntervalInMs?: number;
927
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
928
+ resumeFrom?: string;
929
+ }
930
+
931
+ /** Optional parameters. */
932
+ export declare interface CommitmentPlansGetAssociationOptionalParams extends coreClient.OperationOptions {
933
+ }
934
+
935
+ /** Contains response data for the getAssociation operation. */
936
+ export declare type CommitmentPlansGetAssociationResponse = CommitmentPlanAccountAssociation;
937
+
672
938
  /** Optional parameters. */
673
939
  export declare interface CommitmentPlansGetOptionalParams extends coreClient.OperationOptions {
674
940
  }
675
941
 
942
+ /** Optional parameters. */
943
+ export declare interface CommitmentPlansGetPlanOptionalParams extends coreClient.OperationOptions {
944
+ }
945
+
946
+ /** Contains response data for the getPlan operation. */
947
+ export declare type CommitmentPlansGetPlanResponse = CommitmentPlan;
948
+
676
949
  /** Contains response data for the get operation. */
677
950
  export declare type CommitmentPlansGetResponse = CommitmentPlan;
678
951
 
952
+ /** Optional parameters. */
953
+ export declare interface CommitmentPlansListAssociationsNextOptionalParams extends coreClient.OperationOptions {
954
+ }
955
+
956
+ /** Contains response data for the listAssociationsNext operation. */
957
+ export declare type CommitmentPlansListAssociationsNextResponse = CommitmentPlanAccountAssociationListResult;
958
+
959
+ /** Optional parameters. */
960
+ export declare interface CommitmentPlansListAssociationsOptionalParams extends coreClient.OperationOptions {
961
+ }
962
+
963
+ /** Contains response data for the listAssociations operation. */
964
+ export declare type CommitmentPlansListAssociationsResponse = CommitmentPlanAccountAssociationListResult;
965
+
679
966
  /** Optional parameters. */
680
967
  export declare interface CommitmentPlansListNextOptionalParams extends coreClient.OperationOptions {
681
968
  }
@@ -687,9 +974,53 @@ export declare type CommitmentPlansListNextResponse = CommitmentPlanListResult;
687
974
  export declare interface CommitmentPlansListOptionalParams extends coreClient.OperationOptions {
688
975
  }
689
976
 
977
+ /** Optional parameters. */
978
+ export declare interface CommitmentPlansListPlansByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
979
+ }
980
+
981
+ /** Contains response data for the listPlansByResourceGroupNext operation. */
982
+ export declare type CommitmentPlansListPlansByResourceGroupNextResponse = CommitmentPlanListResult;
983
+
984
+ /** Optional parameters. */
985
+ export declare interface CommitmentPlansListPlansByResourceGroupOptionalParams extends coreClient.OperationOptions {
986
+ }
987
+
988
+ /** Contains response data for the listPlansByResourceGroup operation. */
989
+ export declare type CommitmentPlansListPlansByResourceGroupResponse = CommitmentPlanListResult;
990
+
991
+ /** Optional parameters. */
992
+ export declare interface CommitmentPlansListPlansBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
993
+ }
994
+
995
+ /** Contains response data for the listPlansBySubscriptionNext operation. */
996
+ export declare type CommitmentPlansListPlansBySubscriptionNextResponse = CommitmentPlanListResult;
997
+
998
+ /** Optional parameters. */
999
+ export declare interface CommitmentPlansListPlansBySubscriptionOptionalParams extends coreClient.OperationOptions {
1000
+ }
1001
+
1002
+ /** Contains response data for the listPlansBySubscription operation. */
1003
+ export declare type CommitmentPlansListPlansBySubscriptionResponse = CommitmentPlanListResult;
1004
+
690
1005
  /** Contains response data for the list operation. */
691
1006
  export declare type CommitmentPlansListResponse = CommitmentPlanListResult;
692
1007
 
1008
+ /** Defines headers for CommitmentPlans_updatePlan operation. */
1009
+ export declare interface CommitmentPlansUpdatePlanHeaders {
1010
+ location?: string;
1011
+ }
1012
+
1013
+ /** Optional parameters. */
1014
+ export declare interface CommitmentPlansUpdatePlanOptionalParams extends coreClient.OperationOptions {
1015
+ /** Delay to wait until next poll, in milliseconds. */
1016
+ updateIntervalInMs?: number;
1017
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1018
+ resumeFrom?: string;
1019
+ }
1020
+
1021
+ /** Contains response data for the updatePlan operation. */
1022
+ export declare type CommitmentPlansUpdatePlanResponse = CommitmentPlan;
1023
+
693
1024
  /** Cognitive Services account commitment quota. */
694
1025
  export declare interface CommitmentQuota {
695
1026
  /** Commitment quota quantity. */
@@ -1098,11 +1429,11 @@ export declare interface ErrorResponse {
1098
1429
  }
1099
1430
 
1100
1431
  /**
1101
- * Given a result page from a pageable operation, returns a
1102
- * continuation token that can be used to begin paging from
1432
+ * Given the last `.value` produced by the `byPage` iterator,
1433
+ * returns a continuation token that can be used to begin paging from
1103
1434
  * that point later.
1104
- * @param page A result object from calling .byPage() on a paged operation.
1105
- * @returns The continuation token that can be passed into byPage().
1435
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
1436
+ * @returns The continuation token that can be passed into byPage() during future calls.
1106
1437
  */
1107
1438
  export declare function getContinuationToken(page: unknown): string | undefined;
1108
1439
 
@@ -1173,6 +1504,24 @@ export declare enum KnownActionType {
1173
1504
  Internal = "Internal"
1174
1505
  }
1175
1506
 
1507
+ /** Known values of {@link CommitmentPlanProvisioningState} that the service accepts. */
1508
+ export declare enum KnownCommitmentPlanProvisioningState {
1509
+ /** Accepted */
1510
+ Accepted = "Accepted",
1511
+ /** Creating */
1512
+ Creating = "Creating",
1513
+ /** Deleting */
1514
+ Deleting = "Deleting",
1515
+ /** Moving */
1516
+ Moving = "Moving",
1517
+ /** Failed */
1518
+ Failed = "Failed",
1519
+ /** Succeeded */
1520
+ Succeeded = "Succeeded",
1521
+ /** Canceled */
1522
+ Canceled = "Canceled"
1523
+ }
1524
+
1176
1525
  /** Known values of {@link CreatedByType} that the service accepts. */
1177
1526
  export declare enum KnownCreatedByType {
1178
1527
  /** User */
@@ -1227,6 +1576,14 @@ export declare enum KnownKeySource {
1227
1576
  MicrosoftKeyVault = "Microsoft.KeyVault"
1228
1577
  }
1229
1578
 
1579
+ /** Known values of {@link ModelLifecycleStatus} that the service accepts. */
1580
+ export declare enum KnownModelLifecycleStatus {
1581
+ /** GenerallyAvailable */
1582
+ GenerallyAvailable = "GenerallyAvailable",
1583
+ /** Preview */
1584
+ Preview = "Preview"
1585
+ }
1586
+
1230
1587
  /** Known values of {@link NetworkRuleAction} that the service accepts. */
1231
1588
  export declare enum KnownNetworkRuleAction {
1232
1589
  /** Allow */
@@ -1313,6 +1670,16 @@ export declare enum KnownResourceSkuRestrictionsReasonCode {
1313
1670
  NotAvailableForSubscription = "NotAvailableForSubscription"
1314
1671
  }
1315
1672
 
1673
+ /** Known values of {@link RoutingMethods} that the service accepts. */
1674
+ export declare enum KnownRoutingMethods {
1675
+ /** Priority */
1676
+ Priority = "Priority",
1677
+ /** Weighted */
1678
+ Weighted = "Weighted",
1679
+ /** Performance */
1680
+ Performance = "Performance"
1681
+ }
1682
+
1316
1683
  /** Known values of {@link SkuTier} that the service accepts. */
1317
1684
  export declare enum KnownSkuTier {
1318
1685
  /** Free */
@@ -1361,6 +1728,23 @@ export declare interface ModelDeprecationInfo {
1361
1728
  inference?: string;
1362
1729
  }
1363
1730
 
1731
+ /**
1732
+ * Defines values for ModelLifecycleStatus. \
1733
+ * {@link KnownModelLifecycleStatus} can be used interchangeably with ModelLifecycleStatus,
1734
+ * this enum contains the known values that the service supports.
1735
+ * ### Known values supported by the service
1736
+ * **GenerallyAvailable** \
1737
+ * **Preview**
1738
+ */
1739
+ export declare type ModelLifecycleStatus = string;
1740
+
1741
+ /** The multiregion settings Cognitive Services account. */
1742
+ export declare interface MultiRegionSettings {
1743
+ /** Multiregion routing methods. */
1744
+ routingMethod?: RoutingMethods;
1745
+ regions?: RegionSetting[];
1746
+ }
1747
+
1364
1748
  /**
1365
1749
  * Defines values for NetworkRuleAction. \
1366
1750
  * {@link KnownNetworkRuleAction} can be used interchangeably with NetworkRuleAction,
@@ -1479,6 +1863,20 @@ export declare type OperationsListResponse = OperationListResult;
1479
1863
  */
1480
1864
  export declare type Origin = string;
1481
1865
 
1866
+ /** The object being used to update tags of a resource, in general used for PATCH operations. */
1867
+ export declare interface PatchResourceTags {
1868
+ /** Resource tags. */
1869
+ tags?: {
1870
+ [propertyName: string]: string;
1871
+ };
1872
+ }
1873
+
1874
+ /** The object being used to update tags and sku of a resource, in general used for PATCH operations. */
1875
+ export declare interface PatchResourceTagsAndSku extends PatchResourceTags {
1876
+ /** The resource model definition representing SKU */
1877
+ sku?: Sku;
1878
+ }
1879
+
1482
1880
  /** The Private Endpoint resource. */
1483
1881
  export declare interface PrivateEndpoint {
1484
1882
  /**
@@ -1752,6 +2150,16 @@ export declare interface RegenerateKeyParameters {
1752
2150
  keyName: KeyName;
1753
2151
  }
1754
2152
 
2153
+ /** The call rate limit Cognitive Services account. */
2154
+ export declare interface RegionSetting {
2155
+ /** Name of the region. */
2156
+ name?: string;
2157
+ /** A value for priority or weighted routing methods. */
2158
+ value?: number;
2159
+ /** Maps the region to the regional custom subdomain. */
2160
+ customsubdomain?: string;
2161
+ }
2162
+
1755
2163
  export declare interface RequestMatchPattern {
1756
2164
  path?: string;
1757
2165
  method?: string;
@@ -1858,6 +2266,17 @@ export declare interface ResourceSkusListOptionalParams extends coreClient.Opera
1858
2266
  /** Contains response data for the list operation. */
1859
2267
  export declare type ResourceSkusListResponse = ResourceSkuListResult;
1860
2268
 
2269
+ /**
2270
+ * Defines values for RoutingMethods. \
2271
+ * {@link KnownRoutingMethods} can be used interchangeably with RoutingMethods,
2272
+ * this enum contains the known values that the service supports.
2273
+ * ### Known values supported by the service
2274
+ * **Priority** \
2275
+ * **Weighted** \
2276
+ * **Performance**
2277
+ */
2278
+ export declare type RoutingMethods = string;
2279
+
1861
2280
  /** The resource model definition representing SKU */
1862
2281
  export declare interface Sku {
1863
2282
  /** The name of the SKU. Ex - P3. It is typically a letter+number code */
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.33.5"
8
+ "packageVersion": "7.34.3"
9
9
  }
10
10
  ]
11
11
  }