@azure/arm-cognitiveservices 6.0.0 → 7.0.0-alpha.20211220.3
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/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -95
- package/dist/index.js +4800 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/cognitiveServicesManagementClient.d.ts +42 -0
- package/dist-esm/src/cognitiveServicesManagementClient.d.ts.map +1 -0
- package/dist-esm/src/cognitiveServicesManagementClient.js +133 -0
- package/dist-esm/src/cognitiveServicesManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1310 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +128 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +68 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1017 -713
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +26 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +199 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/accounts.d.ts +138 -0
- package/dist-esm/src/operations/accounts.d.ts.map +1 -0
- package/dist-esm/src/operations/accounts.js +628 -0
- package/dist-esm/src/operations/accounts.js.map +1 -0
- package/dist-esm/src/operations/commitmentPlans.d.ts +76 -0
- package/dist-esm/src/operations/commitmentPlans.d.ts.map +1 -0
- package/dist-esm/src/operations/commitmentPlans.js +293 -0
- package/dist-esm/src/operations/commitmentPlans.js.map +1 -0
- package/dist-esm/src/operations/commitmentTiers.d.ts +35 -0
- package/dist-esm/src/operations/commitmentTiers.d.ts.map +1 -0
- package/dist-esm/src/operations/commitmentTiers.js +132 -0
- package/dist-esm/src/operations/commitmentTiers.js.map +1 -0
- package/dist-esm/src/operations/deletedAccounts.d.ts +57 -0
- package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/deletedAccounts.js +232 -0
- package/dist-esm/src/operations/deletedAccounts.js.map +1 -0
- package/dist-esm/src/operations/deployments.d.ts +81 -0
- package/dist-esm/src/operations/deployments.d.ts.map +1 -0
- package/dist-esm/src/operations/deployments.js +331 -0
- package/dist-esm/src/operations/deployments.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +17 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +70 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +271 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +20 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +53 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
- package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operations/resourceSkus.js +124 -0
- package/dist-esm/src/operations/resourceSkus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts +102 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/accounts.js} +2 -1
- package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts +51 -0
- package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/commitmentPlans.js} +2 -9
- package/dist-esm/src/operationsInterfaces/commitmentPlans.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/commitmentTiers.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/commitmentTiers.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/commitmentTiers.js} +2 -2
- package/dist-esm/src/operationsInterfaces/commitmentTiers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts +36 -0
- package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
- package/{src/models/resourceSkusMappers.ts → dist-esm/src/operationsInterfaces/deletedAccounts.js} +2 -10
- package/dist-esm/src/operationsInterfaces/deletedAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deployments.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deployments.js +9 -0
- package/dist-esm/src/operationsInterfaces/deployments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +17 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
- package/dist-esm/test/cognitiveservices_examples.d.ts +4 -0
- package/dist-esm/test/cognitiveservices_examples.d.ts.map +1 -0
- package/dist-esm/test/cognitiveservices_examples.js +127 -0
- package/dist-esm/test/cognitiveservices_examples.js.map +1 -0
- package/package.json +65 -22
- package/review/arm-cognitiveservices.api.md +1150 -0
- package/rollup.config.js +181 -24
- package/src/cognitiveServicesManagementClient.ts +148 -172
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1122 -1415
- package/src/models/mappers.ts +1161 -835
- package/src/models/parameters.ts +159 -40
- package/src/operations/accounts.ts +587 -574
- package/src/operations/commitmentPlans.ts +394 -0
- package/src/operations/commitmentTiers.ts +158 -0
- package/src/operations/deletedAccounts.ts +197 -185
- package/src/operations/deployments.ts +464 -0
- package/src/operations/index.ts +4 -2
- package/src/operations/operations.ts +85 -85
- package/src/operations/privateEndpointConnections.ts +232 -202
- package/src/operations/privateLinkResources.ts +34 -62
- package/src/operations/resourceSkus.ts +90 -86
- package/src/operationsInterfaces/accounts.ts +195 -0
- package/src/operationsInterfaces/commitmentPlans.ts +93 -0
- package/src/operationsInterfaces/commitmentTiers.ts +24 -0
- package/src/operationsInterfaces/deletedAccounts.ts +68 -0
- package/src/operationsInterfaces/deployments.ts +109 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +5 -3
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +115 -0
- package/src/operationsInterfaces/privateLinkResources.ts +27 -0
- package/src/operationsInterfaces/resourceSkus.ts +22 -0
- package/tsconfig.json +3 -3
- package/types/arm-cognitiveservices.d.ts +1860 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-cognitiveservices.js +0 -3385
- package/dist/arm-cognitiveservices.js.map +0 -1
- package/dist/arm-cognitiveservices.min.js +0 -1
- package/dist/arm-cognitiveservices.min.js.map +0 -1
- package/esm/cognitiveServicesManagementClient.d.ts +0 -77
- package/esm/cognitiveServicesManagementClient.d.ts.map +0 -1
- package/esm/cognitiveServicesManagementClient.js +0 -108
- package/esm/cognitiveServicesManagementClient.js.map +0 -1
- package/esm/cognitiveServicesManagementClientContext.d.ts +0 -22
- package/esm/cognitiveServicesManagementClientContext.d.ts.map +0 -1
- package/esm/cognitiveServicesManagementClientContext.js +0 -61
- package/esm/cognitiveServicesManagementClientContext.js.map +0 -1
- package/esm/models/accountsMappers.d.ts +0 -2
- package/esm/models/accountsMappers.d.ts.map +0 -1
- package/esm/models/accountsMappers.js +0 -9
- package/esm/models/accountsMappers.js.map +0 -1
- package/esm/models/deletedAccountsMappers.d.ts +0 -2
- package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
- package/esm/models/deletedAccountsMappers.js +0 -9
- package/esm/models/deletedAccountsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1645
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -58
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -11
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -115
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/resourceSkusMappers.d.ts +0 -2
- package/esm/models/resourceSkusMappers.d.ts.map +0 -1
- package/esm/models/resourceSkusMappers.js +0 -9
- package/esm/models/resourceSkusMappers.js.map +0 -1
- package/esm/operations/accounts.d.ts +0 -245
- package/esm/operations/accounts.d.ts.map +0 -1
- package/esm/operations/accounts.js +0 -389
- package/esm/operations/accounts.js.map +0 -1
- package/esm/operations/deletedAccounts.d.ts +0 -89
- package/esm/operations/deletedAccounts.d.ts.map +0 -1
- package/esm/operations/deletedAccounts.js +0 -149
- package/esm/operations/deletedAccounts.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -69
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -108
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -193
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -34
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -49
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/resourceSkus.d.ts +0 -46
- package/esm/operations/resourceSkus.d.ts.map +0 -1
- package/esm/operations/resourceSkus.js +0 -70
- package/esm/operations/resourceSkus.js.map +0 -1
- package/src/cognitiveServicesManagementClientContext.ts +0 -74
- package/src/models/accountsMappers.ts +0 -51
- package/src/models/deletedAccountsMappers.ts +0 -44
- package/src/models/privateEndpointConnectionsMappers.ts +0 -44
- package/src/models/privateLinkResourcesMappers.ts +0 -44
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
Account,
|
|
13
|
+
DeletedAccountsListOptionalParams,
|
|
14
|
+
DeletedAccountsGetOptionalParams,
|
|
15
|
+
DeletedAccountsGetResponse,
|
|
16
|
+
DeletedAccountsPurgeOptionalParams
|
|
17
|
+
} from "../models";
|
|
18
|
+
|
|
19
|
+
/// <reference lib="esnext.asynciterable" />
|
|
20
|
+
/** Interface representing a DeletedAccounts. */
|
|
21
|
+
export interface DeletedAccounts {
|
|
22
|
+
/**
|
|
23
|
+
* Returns all the resources of a particular type belonging to a subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(
|
|
27
|
+
options?: DeletedAccountsListOptionalParams
|
|
28
|
+
): PagedAsyncIterableIterator<Account>;
|
|
29
|
+
/**
|
|
30
|
+
* Returns a Cognitive Services account specified by the parameters.
|
|
31
|
+
* @param location Resource location.
|
|
32
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
+
* @param accountName The name of Cognitive Services account.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
get(
|
|
37
|
+
location: string,
|
|
38
|
+
resourceGroupName: string,
|
|
39
|
+
accountName: string,
|
|
40
|
+
options?: DeletedAccountsGetOptionalParams
|
|
41
|
+
): Promise<DeletedAccountsGetResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Deletes a Cognitive Services account from the resource group.
|
|
44
|
+
* @param location Resource location.
|
|
45
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
46
|
+
* @param accountName The name of Cognitive Services account.
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
beginPurge(
|
|
50
|
+
location: string,
|
|
51
|
+
resourceGroupName: string,
|
|
52
|
+
accountName: string,
|
|
53
|
+
options?: DeletedAccountsPurgeOptionalParams
|
|
54
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
55
|
+
/**
|
|
56
|
+
* Deletes a Cognitive Services account from the resource group.
|
|
57
|
+
* @param location Resource location.
|
|
58
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
|
+
* @param accountName The name of Cognitive Services account.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginPurgeAndWait(
|
|
63
|
+
location: string,
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
accountName: string,
|
|
66
|
+
options?: DeletedAccountsPurgeOptionalParams
|
|
67
|
+
): Promise<void>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
Deployment,
|
|
13
|
+
DeploymentsListOptionalParams,
|
|
14
|
+
DeploymentsGetOptionalParams,
|
|
15
|
+
DeploymentsGetResponse,
|
|
16
|
+
DeploymentsCreateOrUpdateOptionalParams,
|
|
17
|
+
DeploymentsCreateOrUpdateResponse,
|
|
18
|
+
DeploymentsDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a Deployments. */
|
|
23
|
+
export interface Deployments {
|
|
24
|
+
/**
|
|
25
|
+
* Gets the deployments associated with the Cognitive Services account.
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param accountName The name of Cognitive Services account.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
accountName: string,
|
|
33
|
+
options?: DeploymentsListOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<Deployment>;
|
|
35
|
+
/**
|
|
36
|
+
* Gets the specified deployments associated with the Cognitive Services account.
|
|
37
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
38
|
+
* @param accountName The name of Cognitive Services account.
|
|
39
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
get(
|
|
43
|
+
resourceGroupName: string,
|
|
44
|
+
accountName: string,
|
|
45
|
+
deploymentName: string,
|
|
46
|
+
options?: DeploymentsGetOptionalParams
|
|
47
|
+
): Promise<DeploymentsGetResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Update the state of specified deployments associated with the Cognitive Services account.
|
|
50
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
|
+
* @param accountName The name of Cognitive Services account.
|
|
52
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
53
|
+
* @param deployment The deployment properties.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
beginCreateOrUpdate(
|
|
57
|
+
resourceGroupName: string,
|
|
58
|
+
accountName: string,
|
|
59
|
+
deploymentName: string,
|
|
60
|
+
deployment: Deployment,
|
|
61
|
+
options?: DeploymentsCreateOrUpdateOptionalParams
|
|
62
|
+
): Promise<
|
|
63
|
+
PollerLike<
|
|
64
|
+
PollOperationState<DeploymentsCreateOrUpdateResponse>,
|
|
65
|
+
DeploymentsCreateOrUpdateResponse
|
|
66
|
+
>
|
|
67
|
+
>;
|
|
68
|
+
/**
|
|
69
|
+
* Update the state of specified deployments associated with the Cognitive Services account.
|
|
70
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
71
|
+
* @param accountName The name of Cognitive Services account.
|
|
72
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
73
|
+
* @param deployment The deployment properties.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
beginCreateOrUpdateAndWait(
|
|
77
|
+
resourceGroupName: string,
|
|
78
|
+
accountName: string,
|
|
79
|
+
deploymentName: string,
|
|
80
|
+
deployment: Deployment,
|
|
81
|
+
options?: DeploymentsCreateOrUpdateOptionalParams
|
|
82
|
+
): Promise<DeploymentsCreateOrUpdateResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Deletes the specified deployment associated with the Cognitive Services account.
|
|
85
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
86
|
+
* @param accountName The name of Cognitive Services account.
|
|
87
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
beginDelete(
|
|
91
|
+
resourceGroupName: string,
|
|
92
|
+
accountName: string,
|
|
93
|
+
deploymentName: string,
|
|
94
|
+
options?: DeploymentsDeleteOptionalParams
|
|
95
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
96
|
+
/**
|
|
97
|
+
* Deletes the specified deployment associated with the Cognitive Services account.
|
|
98
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
|
+
* @param accountName The name of Cognitive Services account.
|
|
100
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
beginDeleteAndWait(
|
|
104
|
+
resourceGroupName: string,
|
|
105
|
+
accountName: string,
|
|
106
|
+
deploymentName: string,
|
|
107
|
+
options?: DeploymentsDeleteOptionalParams
|
|
108
|
+
): Promise<void>;
|
|
109
|
+
}
|
|
@@ -3,13 +3,15 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
8
|
+
|
|
9
9
|
export * from "./accounts";
|
|
10
10
|
export * from "./deletedAccounts";
|
|
11
11
|
export * from "./resourceSkus";
|
|
12
12
|
export * from "./operations";
|
|
13
|
+
export * from "./commitmentTiers";
|
|
13
14
|
export * from "./privateEndpointConnections";
|
|
14
15
|
export * from "./privateLinkResources";
|
|
15
|
-
|
|
16
|
+
export * from "./deployments";
|
|
17
|
+
export * from "./commitmentPlans";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
|
11
|
+
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Interface representing a Operations. */
|
|
14
|
+
export interface Operations {
|
|
15
|
+
/**
|
|
16
|
+
* Lists all the available Cognitive Services account operations.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(
|
|
20
|
+
options?: OperationsListOptionalParams
|
|
21
|
+
): PagedAsyncIterableIterator<Operation>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
10
|
+
import {
|
|
11
|
+
PrivateEndpointConnectionsListOptionalParams,
|
|
12
|
+
PrivateEndpointConnectionsListResponse,
|
|
13
|
+
PrivateEndpointConnectionsGetOptionalParams,
|
|
14
|
+
PrivateEndpointConnectionsGetResponse,
|
|
15
|
+
PrivateEndpointConnection,
|
|
16
|
+
PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
|
|
17
|
+
PrivateEndpointConnectionsCreateOrUpdateResponse,
|
|
18
|
+
PrivateEndpointConnectionsDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
22
|
+
export interface PrivateEndpointConnections {
|
|
23
|
+
/**
|
|
24
|
+
* Gets the private endpoint connections associated with the Cognitive Services account.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param accountName The name of Cognitive Services account.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(
|
|
30
|
+
resourceGroupName: string,
|
|
31
|
+
accountName: string,
|
|
32
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
|
33
|
+
): Promise<PrivateEndpointConnectionsListResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the specified private endpoint connection associated with the Cognitive Services account.
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param accountName The name of Cognitive Services account.
|
|
38
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
39
|
+
* Cognitive Services Account
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
get(
|
|
43
|
+
resourceGroupName: string,
|
|
44
|
+
accountName: string,
|
|
45
|
+
privateEndpointConnectionName: string,
|
|
46
|
+
options?: PrivateEndpointConnectionsGetOptionalParams
|
|
47
|
+
): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Update the state of specified private endpoint connection associated with the Cognitive Services
|
|
50
|
+
* account.
|
|
51
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
52
|
+
* @param accountName The name of Cognitive Services account.
|
|
53
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
54
|
+
* Cognitive Services Account
|
|
55
|
+
* @param properties The private endpoint connection properties.
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginCreateOrUpdate(
|
|
59
|
+
resourceGroupName: string,
|
|
60
|
+
accountName: string,
|
|
61
|
+
privateEndpointConnectionName: string,
|
|
62
|
+
properties: PrivateEndpointConnection,
|
|
63
|
+
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
|
64
|
+
): Promise<
|
|
65
|
+
PollerLike<
|
|
66
|
+
PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,
|
|
67
|
+
PrivateEndpointConnectionsCreateOrUpdateResponse
|
|
68
|
+
>
|
|
69
|
+
>;
|
|
70
|
+
/**
|
|
71
|
+
* Update the state of specified private endpoint connection associated with the Cognitive Services
|
|
72
|
+
* account.
|
|
73
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
|
+
* @param accountName The name of Cognitive Services account.
|
|
75
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
76
|
+
* Cognitive Services Account
|
|
77
|
+
* @param properties The private endpoint connection properties.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
beginCreateOrUpdateAndWait(
|
|
81
|
+
resourceGroupName: string,
|
|
82
|
+
accountName: string,
|
|
83
|
+
privateEndpointConnectionName: string,
|
|
84
|
+
properties: PrivateEndpointConnection,
|
|
85
|
+
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
|
86
|
+
): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Deletes the specified private endpoint connection associated with the Cognitive Services account.
|
|
89
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
90
|
+
* @param accountName The name of Cognitive Services account.
|
|
91
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
92
|
+
* Cognitive Services Account
|
|
93
|
+
* @param options The options parameters.
|
|
94
|
+
*/
|
|
95
|
+
beginDelete(
|
|
96
|
+
resourceGroupName: string,
|
|
97
|
+
accountName: string,
|
|
98
|
+
privateEndpointConnectionName: string,
|
|
99
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
100
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
101
|
+
/**
|
|
102
|
+
* Deletes the specified private endpoint connection associated with the Cognitive Services account.
|
|
103
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
104
|
+
* @param accountName The name of Cognitive Services account.
|
|
105
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
106
|
+
* Cognitive Services Account
|
|
107
|
+
* @param options The options parameters.
|
|
108
|
+
*/
|
|
109
|
+
beginDeleteAndWait(
|
|
110
|
+
resourceGroupName: string,
|
|
111
|
+
accountName: string,
|
|
112
|
+
privateEndpointConnectionName: string,
|
|
113
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
114
|
+
): Promise<void>;
|
|
115
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
PrivateLinkResourcesListOptionalParams,
|
|
11
|
+
PrivateLinkResourcesListResponse
|
|
12
|
+
} from "../models";
|
|
13
|
+
|
|
14
|
+
/** Interface representing a PrivateLinkResources. */
|
|
15
|
+
export interface PrivateLinkResources {
|
|
16
|
+
/**
|
|
17
|
+
* Gets the private link resources that need to be created for a Cognitive Services account.
|
|
18
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19
|
+
* @param accountName The name of Cognitive Services account.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
list(
|
|
23
|
+
resourceGroupName: string,
|
|
24
|
+
accountName: string,
|
|
25
|
+
options?: PrivateLinkResourcesListOptionalParams
|
|
26
|
+
): Promise<PrivateLinkResourcesListResponse>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { ResourceSku, ResourceSkusListOptionalParams } from "../models";
|
|
11
|
+
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Interface representing a ResourceSkus. */
|
|
14
|
+
export interface ResourceSkus {
|
|
15
|
+
/**
|
|
16
|
+
* Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(
|
|
20
|
+
options?: ResourceSkusListOptionalParams
|
|
21
|
+
): PagedAsyncIterableIterator<ResourceSku>;
|
|
22
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"module": "es6",
|
|
4
4
|
"moduleResolution": "node",
|
|
5
5
|
"strict": true,
|
|
6
|
-
"target": "
|
|
6
|
+
"target": "es6",
|
|
7
7
|
"sourceMap": true,
|
|
8
8
|
"declarationMap": true,
|
|
9
9
|
"esModuleInterop": true,
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
12
|
"lib": ["es6", "dom"],
|
|
13
13
|
"declaration": true,
|
|
14
|
-
"outDir": "./esm",
|
|
14
|
+
"outDir": "./dist-esm",
|
|
15
15
|
"importHelpers": true
|
|
16
16
|
},
|
|
17
|
-
"include": ["./src/**/*.ts"],
|
|
17
|
+
"include": ["./src/**/*.ts", "./test/**/*.ts"],
|
|
18
18
|
"exclude": ["node_modules"]
|
|
19
19
|
}
|