@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
|
@@ -1,3385 +0,0 @@
|
|
|
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
|
-
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-js'), require('@azure/ms-rest-azure-js')) :
|
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-js', '@azure/ms-rest-azure-js'], factory) :
|
|
11
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmCognitiveservices = {}), global.msRest, global.msRestAzure));
|
|
12
|
-
}(this, (function (exports, msRest, msRestAzure) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation.
|
|
56
|
-
* Licensed under the MIT License.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
63
|
-
__proto__: null
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation.
|
|
68
|
-
* Licensed under the MIT License.
|
|
69
|
-
*
|
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
72
|
-
*/
|
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
75
|
-
var Sku = {
|
|
76
|
-
serializedName: "Sku",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "Sku",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
name: {
|
|
82
|
-
required: true,
|
|
83
|
-
serializedName: "name",
|
|
84
|
-
type: {
|
|
85
|
-
name: "String"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
tier: {
|
|
89
|
-
serializedName: "tier",
|
|
90
|
-
type: {
|
|
91
|
-
name: "String"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
size: {
|
|
95
|
-
serializedName: "size",
|
|
96
|
-
type: {
|
|
97
|
-
name: "String"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
family: {
|
|
101
|
-
serializedName: "family",
|
|
102
|
-
type: {
|
|
103
|
-
name: "String"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
capacity: {
|
|
107
|
-
serializedName: "capacity",
|
|
108
|
-
type: {
|
|
109
|
-
name: "Number"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
var UserAssignedIdentity = {
|
|
116
|
-
serializedName: "UserAssignedIdentity",
|
|
117
|
-
type: {
|
|
118
|
-
name: "Composite",
|
|
119
|
-
className: "UserAssignedIdentity",
|
|
120
|
-
modelProperties: {
|
|
121
|
-
principalId: {
|
|
122
|
-
readOnly: true,
|
|
123
|
-
serializedName: "principalId",
|
|
124
|
-
type: {
|
|
125
|
-
name: "String"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
clientId: {
|
|
129
|
-
readOnly: true,
|
|
130
|
-
serializedName: "clientId",
|
|
131
|
-
type: {
|
|
132
|
-
name: "String"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
};
|
|
138
|
-
var Identity = {
|
|
139
|
-
serializedName: "Identity",
|
|
140
|
-
type: {
|
|
141
|
-
name: "Composite",
|
|
142
|
-
className: "Identity",
|
|
143
|
-
modelProperties: {
|
|
144
|
-
type: {
|
|
145
|
-
serializedName: "type",
|
|
146
|
-
type: {
|
|
147
|
-
name: "Enum",
|
|
148
|
-
allowedValues: ["None", "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned"]
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
tenantId: {
|
|
152
|
-
readOnly: true,
|
|
153
|
-
serializedName: "tenantId",
|
|
154
|
-
type: {
|
|
155
|
-
name: "String"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
principalId: {
|
|
159
|
-
readOnly: true,
|
|
160
|
-
serializedName: "principalId",
|
|
161
|
-
type: {
|
|
162
|
-
name: "String"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
userAssignedIdentities: {
|
|
166
|
-
serializedName: "userAssignedIdentities",
|
|
167
|
-
type: {
|
|
168
|
-
name: "Dictionary",
|
|
169
|
-
value: {
|
|
170
|
-
type: {
|
|
171
|
-
name: "Composite",
|
|
172
|
-
className: "UserAssignedIdentity"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
var SystemData = {
|
|
181
|
-
serializedName: "systemData",
|
|
182
|
-
type: {
|
|
183
|
-
name: "Composite",
|
|
184
|
-
className: "SystemData",
|
|
185
|
-
modelProperties: {
|
|
186
|
-
createdBy: {
|
|
187
|
-
serializedName: "createdBy",
|
|
188
|
-
type: {
|
|
189
|
-
name: "String"
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
createdByType: {
|
|
193
|
-
serializedName: "createdByType",
|
|
194
|
-
type: {
|
|
195
|
-
name: "String"
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
createdAt: {
|
|
199
|
-
serializedName: "createdAt",
|
|
200
|
-
type: {
|
|
201
|
-
name: "DateTime"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
lastModifiedBy: {
|
|
205
|
-
serializedName: "lastModifiedBy",
|
|
206
|
-
type: {
|
|
207
|
-
name: "String"
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
lastModifiedByType: {
|
|
211
|
-
serializedName: "lastModifiedByType",
|
|
212
|
-
type: {
|
|
213
|
-
name: "String"
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
lastModifiedAt: {
|
|
217
|
-
serializedName: "lastModifiedAt",
|
|
218
|
-
type: {
|
|
219
|
-
name: "DateTime"
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
};
|
|
225
|
-
var SkuCapability = {
|
|
226
|
-
serializedName: "SkuCapability",
|
|
227
|
-
type: {
|
|
228
|
-
name: "Composite",
|
|
229
|
-
className: "SkuCapability",
|
|
230
|
-
modelProperties: {
|
|
231
|
-
name: {
|
|
232
|
-
serializedName: "name",
|
|
233
|
-
type: {
|
|
234
|
-
name: "String"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
value: {
|
|
238
|
-
serializedName: "value",
|
|
239
|
-
type: {
|
|
240
|
-
name: "String"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
var SkuChangeInfo = {
|
|
247
|
-
serializedName: "SkuChangeInfo",
|
|
248
|
-
type: {
|
|
249
|
-
name: "Composite",
|
|
250
|
-
className: "SkuChangeInfo",
|
|
251
|
-
modelProperties: {
|
|
252
|
-
countOfDowngrades: {
|
|
253
|
-
serializedName: "countOfDowngrades",
|
|
254
|
-
type: {
|
|
255
|
-
name: "Number"
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
countOfUpgradesAfterDowngrades: {
|
|
259
|
-
serializedName: "countOfUpgradesAfterDowngrades",
|
|
260
|
-
type: {
|
|
261
|
-
name: "Number"
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
lastChangeDate: {
|
|
265
|
-
serializedName: "lastChangeDate",
|
|
266
|
-
type: {
|
|
267
|
-
name: "String"
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
|
-
var IpRule = {
|
|
274
|
-
serializedName: "IpRule",
|
|
275
|
-
type: {
|
|
276
|
-
name: "Composite",
|
|
277
|
-
className: "IpRule",
|
|
278
|
-
modelProperties: {
|
|
279
|
-
value: {
|
|
280
|
-
required: true,
|
|
281
|
-
serializedName: "value",
|
|
282
|
-
type: {
|
|
283
|
-
name: "String"
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
};
|
|
289
|
-
var VirtualNetworkRule = {
|
|
290
|
-
serializedName: "VirtualNetworkRule",
|
|
291
|
-
type: {
|
|
292
|
-
name: "Composite",
|
|
293
|
-
className: "VirtualNetworkRule",
|
|
294
|
-
modelProperties: {
|
|
295
|
-
id: {
|
|
296
|
-
required: true,
|
|
297
|
-
serializedName: "id",
|
|
298
|
-
type: {
|
|
299
|
-
name: "String"
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
state: {
|
|
303
|
-
serializedName: "state",
|
|
304
|
-
type: {
|
|
305
|
-
name: "String"
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
ignoreMissingVnetServiceEndpoint: {
|
|
309
|
-
serializedName: "ignoreMissingVnetServiceEndpoint",
|
|
310
|
-
type: {
|
|
311
|
-
name: "Boolean"
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
};
|
|
317
|
-
var NetworkRuleSet = {
|
|
318
|
-
serializedName: "NetworkRuleSet",
|
|
319
|
-
type: {
|
|
320
|
-
name: "Composite",
|
|
321
|
-
className: "NetworkRuleSet",
|
|
322
|
-
modelProperties: {
|
|
323
|
-
defaultAction: {
|
|
324
|
-
serializedName: "defaultAction",
|
|
325
|
-
type: {
|
|
326
|
-
name: "String"
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
ipRules: {
|
|
330
|
-
serializedName: "ipRules",
|
|
331
|
-
type: {
|
|
332
|
-
name: "Sequence",
|
|
333
|
-
element: {
|
|
334
|
-
type: {
|
|
335
|
-
name: "Composite",
|
|
336
|
-
className: "IpRule"
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
virtualNetworkRules: {
|
|
342
|
-
serializedName: "virtualNetworkRules",
|
|
343
|
-
type: {
|
|
344
|
-
name: "Sequence",
|
|
345
|
-
element: {
|
|
346
|
-
type: {
|
|
347
|
-
name: "Composite",
|
|
348
|
-
className: "VirtualNetworkRule"
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
};
|
|
356
|
-
var KeyVaultProperties = {
|
|
357
|
-
serializedName: "KeyVaultProperties",
|
|
358
|
-
type: {
|
|
359
|
-
name: "Composite",
|
|
360
|
-
className: "KeyVaultProperties",
|
|
361
|
-
modelProperties: {
|
|
362
|
-
keyName: {
|
|
363
|
-
serializedName: "keyName",
|
|
364
|
-
type: {
|
|
365
|
-
name: "String"
|
|
366
|
-
}
|
|
367
|
-
},
|
|
368
|
-
keyVersion: {
|
|
369
|
-
serializedName: "keyVersion",
|
|
370
|
-
type: {
|
|
371
|
-
name: "String"
|
|
372
|
-
}
|
|
373
|
-
},
|
|
374
|
-
keyVaultUri: {
|
|
375
|
-
serializedName: "keyVaultUri",
|
|
376
|
-
type: {
|
|
377
|
-
name: "String"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
identityClientId: {
|
|
381
|
-
serializedName: "identityClientId",
|
|
382
|
-
type: {
|
|
383
|
-
name: "String"
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
};
|
|
389
|
-
var Encryption = {
|
|
390
|
-
serializedName: "Encryption",
|
|
391
|
-
type: {
|
|
392
|
-
name: "Composite",
|
|
393
|
-
className: "Encryption",
|
|
394
|
-
modelProperties: {
|
|
395
|
-
keyVaultProperties: {
|
|
396
|
-
serializedName: "keyVaultProperties",
|
|
397
|
-
type: {
|
|
398
|
-
name: "Composite",
|
|
399
|
-
className: "KeyVaultProperties"
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
keySource: {
|
|
403
|
-
serializedName: "keySource",
|
|
404
|
-
defaultValue: "Microsoft.KeyVault",
|
|
405
|
-
type: {
|
|
406
|
-
name: "String"
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
};
|
|
412
|
-
var UserOwnedStorage = {
|
|
413
|
-
serializedName: "UserOwnedStorage",
|
|
414
|
-
type: {
|
|
415
|
-
name: "Composite",
|
|
416
|
-
className: "UserOwnedStorage",
|
|
417
|
-
modelProperties: {
|
|
418
|
-
resourceId: {
|
|
419
|
-
serializedName: "resourceId",
|
|
420
|
-
type: {
|
|
421
|
-
name: "String"
|
|
422
|
-
}
|
|
423
|
-
},
|
|
424
|
-
identityClientId: {
|
|
425
|
-
serializedName: "identityClientId",
|
|
426
|
-
type: {
|
|
427
|
-
name: "String"
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
};
|
|
433
|
-
var PrivateEndpoint = {
|
|
434
|
-
serializedName: "PrivateEndpoint",
|
|
435
|
-
type: {
|
|
436
|
-
name: "Composite",
|
|
437
|
-
className: "PrivateEndpoint",
|
|
438
|
-
modelProperties: {
|
|
439
|
-
id: {
|
|
440
|
-
readOnly: true,
|
|
441
|
-
serializedName: "id",
|
|
442
|
-
type: {
|
|
443
|
-
name: "String"
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
};
|
|
449
|
-
var PrivateLinkServiceConnectionState = {
|
|
450
|
-
serializedName: "PrivateLinkServiceConnectionState",
|
|
451
|
-
type: {
|
|
452
|
-
name: "Composite",
|
|
453
|
-
className: "PrivateLinkServiceConnectionState",
|
|
454
|
-
modelProperties: {
|
|
455
|
-
status: {
|
|
456
|
-
serializedName: "status",
|
|
457
|
-
type: {
|
|
458
|
-
name: "String"
|
|
459
|
-
}
|
|
460
|
-
},
|
|
461
|
-
description: {
|
|
462
|
-
serializedName: "description",
|
|
463
|
-
type: {
|
|
464
|
-
name: "String"
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
actionsRequired: {
|
|
468
|
-
serializedName: "actionsRequired",
|
|
469
|
-
type: {
|
|
470
|
-
name: "String"
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
};
|
|
476
|
-
var PrivateEndpointConnectionProperties = {
|
|
477
|
-
serializedName: "PrivateEndpointConnectionProperties",
|
|
478
|
-
type: {
|
|
479
|
-
name: "Composite",
|
|
480
|
-
className: "PrivateEndpointConnectionProperties",
|
|
481
|
-
modelProperties: {
|
|
482
|
-
privateEndpoint: {
|
|
483
|
-
serializedName: "privateEndpoint",
|
|
484
|
-
type: {
|
|
485
|
-
name: "Composite",
|
|
486
|
-
className: "PrivateEndpoint"
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
privateLinkServiceConnectionState: {
|
|
490
|
-
required: true,
|
|
491
|
-
serializedName: "privateLinkServiceConnectionState",
|
|
492
|
-
type: {
|
|
493
|
-
name: "Composite",
|
|
494
|
-
className: "PrivateLinkServiceConnectionState"
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
provisioningState: {
|
|
498
|
-
serializedName: "provisioningState",
|
|
499
|
-
type: {
|
|
500
|
-
name: "String"
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
groupIds: {
|
|
504
|
-
serializedName: "groupIds",
|
|
505
|
-
type: {
|
|
506
|
-
name: "Sequence",
|
|
507
|
-
element: {
|
|
508
|
-
type: {
|
|
509
|
-
name: "String"
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
};
|
|
517
|
-
var Resource = {
|
|
518
|
-
serializedName: "Resource",
|
|
519
|
-
type: {
|
|
520
|
-
name: "Composite",
|
|
521
|
-
className: "Resource",
|
|
522
|
-
modelProperties: {
|
|
523
|
-
id: {
|
|
524
|
-
readOnly: true,
|
|
525
|
-
serializedName: "id",
|
|
526
|
-
type: {
|
|
527
|
-
name: "String"
|
|
528
|
-
}
|
|
529
|
-
},
|
|
530
|
-
name: {
|
|
531
|
-
readOnly: true,
|
|
532
|
-
serializedName: "name",
|
|
533
|
-
type: {
|
|
534
|
-
name: "String"
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
type: {
|
|
538
|
-
readOnly: true,
|
|
539
|
-
serializedName: "type",
|
|
540
|
-
type: {
|
|
541
|
-
name: "String"
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
};
|
|
547
|
-
var AzureEntityResource = {
|
|
548
|
-
serializedName: "AzureEntityResource",
|
|
549
|
-
type: {
|
|
550
|
-
name: "Composite",
|
|
551
|
-
className: "AzureEntityResource",
|
|
552
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
|
|
553
|
-
readOnly: true,
|
|
554
|
-
serializedName: "etag",
|
|
555
|
-
type: {
|
|
556
|
-
name: "String"
|
|
557
|
-
}
|
|
558
|
-
} })
|
|
559
|
-
}
|
|
560
|
-
};
|
|
561
|
-
var PrivateEndpointConnection = {
|
|
562
|
-
serializedName: "PrivateEndpointConnection",
|
|
563
|
-
type: {
|
|
564
|
-
name: "Composite",
|
|
565
|
-
className: "PrivateEndpointConnection",
|
|
566
|
-
modelProperties: __assign(__assign({}, AzureEntityResource.type.modelProperties), { properties: {
|
|
567
|
-
serializedName: "properties",
|
|
568
|
-
type: {
|
|
569
|
-
name: "Composite",
|
|
570
|
-
className: "PrivateEndpointConnectionProperties"
|
|
571
|
-
}
|
|
572
|
-
}, systemData: {
|
|
573
|
-
readOnly: true,
|
|
574
|
-
serializedName: "systemData",
|
|
575
|
-
type: {
|
|
576
|
-
name: "Composite",
|
|
577
|
-
className: "SystemData"
|
|
578
|
-
}
|
|
579
|
-
}, location: {
|
|
580
|
-
serializedName: "location",
|
|
581
|
-
type: {
|
|
582
|
-
name: "String"
|
|
583
|
-
}
|
|
584
|
-
} })
|
|
585
|
-
}
|
|
586
|
-
};
|
|
587
|
-
var ApiProperties = {
|
|
588
|
-
serializedName: "ApiProperties",
|
|
589
|
-
type: {
|
|
590
|
-
name: "Composite",
|
|
591
|
-
className: "ApiProperties",
|
|
592
|
-
modelProperties: {
|
|
593
|
-
qnaRuntimeEndpoint: {
|
|
594
|
-
serializedName: "qnaRuntimeEndpoint",
|
|
595
|
-
type: {
|
|
596
|
-
name: "String"
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
qnaAzureSearchEndpointKey: {
|
|
600
|
-
serializedName: "qnaAzureSearchEndpointKey",
|
|
601
|
-
type: {
|
|
602
|
-
name: "String"
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
qnaAzureSearchEndpointId: {
|
|
606
|
-
serializedName: "qnaAzureSearchEndpointId",
|
|
607
|
-
type: {
|
|
608
|
-
name: "String"
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
statisticsEnabled: {
|
|
612
|
-
serializedName: "statisticsEnabled",
|
|
613
|
-
type: {
|
|
614
|
-
name: "Boolean"
|
|
615
|
-
}
|
|
616
|
-
},
|
|
617
|
-
eventHubConnectionString: {
|
|
618
|
-
serializedName: "eventHubConnectionString",
|
|
619
|
-
constraints: {
|
|
620
|
-
MaxLength: 1000,
|
|
621
|
-
Pattern: /^( *)Endpoint=sb:\/\/(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$/
|
|
622
|
-
},
|
|
623
|
-
type: {
|
|
624
|
-
name: "String"
|
|
625
|
-
}
|
|
626
|
-
},
|
|
627
|
-
storageAccountConnectionString: {
|
|
628
|
-
serializedName: "storageAccountConnectionString",
|
|
629
|
-
constraints: {
|
|
630
|
-
MaxLength: 1000,
|
|
631
|
-
Pattern: /^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$/
|
|
632
|
-
},
|
|
633
|
-
type: {
|
|
634
|
-
name: "String"
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
aadClientId: {
|
|
638
|
-
serializedName: "aadClientId",
|
|
639
|
-
constraints: {
|
|
640
|
-
MaxLength: 500
|
|
641
|
-
},
|
|
642
|
-
type: {
|
|
643
|
-
name: "String"
|
|
644
|
-
}
|
|
645
|
-
},
|
|
646
|
-
aadTenantId: {
|
|
647
|
-
serializedName: "aadTenantId",
|
|
648
|
-
constraints: {
|
|
649
|
-
MaxLength: 500
|
|
650
|
-
},
|
|
651
|
-
type: {
|
|
652
|
-
name: "String"
|
|
653
|
-
}
|
|
654
|
-
},
|
|
655
|
-
superUser: {
|
|
656
|
-
serializedName: "superUser",
|
|
657
|
-
constraints: {
|
|
658
|
-
MaxLength: 500
|
|
659
|
-
},
|
|
660
|
-
type: {
|
|
661
|
-
name: "String"
|
|
662
|
-
}
|
|
663
|
-
},
|
|
664
|
-
websiteName: {
|
|
665
|
-
serializedName: "websiteName",
|
|
666
|
-
constraints: {
|
|
667
|
-
MaxLength: 500
|
|
668
|
-
},
|
|
669
|
-
type: {
|
|
670
|
-
name: "String"
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
additionalProperties: {
|
|
675
|
-
type: {
|
|
676
|
-
name: "Object"
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
};
|
|
681
|
-
var RequestMatchPattern = {
|
|
682
|
-
serializedName: "RequestMatchPattern",
|
|
683
|
-
type: {
|
|
684
|
-
name: "Composite",
|
|
685
|
-
className: "RequestMatchPattern",
|
|
686
|
-
modelProperties: {
|
|
687
|
-
path: {
|
|
688
|
-
serializedName: "path",
|
|
689
|
-
type: {
|
|
690
|
-
name: "String"
|
|
691
|
-
}
|
|
692
|
-
},
|
|
693
|
-
method: {
|
|
694
|
-
serializedName: "method",
|
|
695
|
-
type: {
|
|
696
|
-
name: "String"
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
};
|
|
702
|
-
var ThrottlingRule = {
|
|
703
|
-
serializedName: "ThrottlingRule",
|
|
704
|
-
type: {
|
|
705
|
-
name: "Composite",
|
|
706
|
-
className: "ThrottlingRule",
|
|
707
|
-
modelProperties: {
|
|
708
|
-
key: {
|
|
709
|
-
serializedName: "key",
|
|
710
|
-
type: {
|
|
711
|
-
name: "String"
|
|
712
|
-
}
|
|
713
|
-
},
|
|
714
|
-
renewalPeriod: {
|
|
715
|
-
serializedName: "renewalPeriod",
|
|
716
|
-
type: {
|
|
717
|
-
name: "Number"
|
|
718
|
-
}
|
|
719
|
-
},
|
|
720
|
-
count: {
|
|
721
|
-
serializedName: "count",
|
|
722
|
-
type: {
|
|
723
|
-
name: "Number"
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
minCount: {
|
|
727
|
-
serializedName: "minCount",
|
|
728
|
-
type: {
|
|
729
|
-
name: "Number"
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
|
-
dynamicThrottlingEnabled: {
|
|
733
|
-
serializedName: "dynamicThrottlingEnabled",
|
|
734
|
-
type: {
|
|
735
|
-
name: "Boolean"
|
|
736
|
-
}
|
|
737
|
-
},
|
|
738
|
-
matchPatterns: {
|
|
739
|
-
serializedName: "matchPatterns",
|
|
740
|
-
type: {
|
|
741
|
-
name: "Sequence",
|
|
742
|
-
element: {
|
|
743
|
-
type: {
|
|
744
|
-
name: "Composite",
|
|
745
|
-
className: "RequestMatchPattern"
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
};
|
|
753
|
-
var CallRateLimit = {
|
|
754
|
-
serializedName: "CallRateLimit",
|
|
755
|
-
type: {
|
|
756
|
-
name: "Composite",
|
|
757
|
-
className: "CallRateLimit",
|
|
758
|
-
modelProperties: {
|
|
759
|
-
count: {
|
|
760
|
-
serializedName: "count",
|
|
761
|
-
type: {
|
|
762
|
-
name: "Number"
|
|
763
|
-
}
|
|
764
|
-
},
|
|
765
|
-
renewalPeriod: {
|
|
766
|
-
serializedName: "renewalPeriod",
|
|
767
|
-
type: {
|
|
768
|
-
name: "Number"
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
rules: {
|
|
772
|
-
serializedName: "rules",
|
|
773
|
-
type: {
|
|
774
|
-
name: "Sequence",
|
|
775
|
-
element: {
|
|
776
|
-
type: {
|
|
777
|
-
name: "Composite",
|
|
778
|
-
className: "ThrottlingRule"
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
};
|
|
786
|
-
var QuotaLimit = {
|
|
787
|
-
serializedName: "QuotaLimit",
|
|
788
|
-
type: {
|
|
789
|
-
name: "Composite",
|
|
790
|
-
className: "QuotaLimit",
|
|
791
|
-
modelProperties: {
|
|
792
|
-
count: {
|
|
793
|
-
serializedName: "count",
|
|
794
|
-
type: {
|
|
795
|
-
name: "Number"
|
|
796
|
-
}
|
|
797
|
-
},
|
|
798
|
-
renewalPeriod: {
|
|
799
|
-
serializedName: "renewalPeriod",
|
|
800
|
-
type: {
|
|
801
|
-
name: "Number"
|
|
802
|
-
}
|
|
803
|
-
},
|
|
804
|
-
rules: {
|
|
805
|
-
serializedName: "rules",
|
|
806
|
-
type: {
|
|
807
|
-
name: "Sequence",
|
|
808
|
-
element: {
|
|
809
|
-
type: {
|
|
810
|
-
name: "Composite",
|
|
811
|
-
className: "ThrottlingRule"
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
};
|
|
819
|
-
var AccountProperties = {
|
|
820
|
-
serializedName: "AccountProperties",
|
|
821
|
-
type: {
|
|
822
|
-
name: "Composite",
|
|
823
|
-
className: "AccountProperties",
|
|
824
|
-
modelProperties: {
|
|
825
|
-
provisioningState: {
|
|
826
|
-
readOnly: true,
|
|
827
|
-
serializedName: "provisioningState",
|
|
828
|
-
type: {
|
|
829
|
-
name: "String"
|
|
830
|
-
}
|
|
831
|
-
},
|
|
832
|
-
endpoint: {
|
|
833
|
-
readOnly: true,
|
|
834
|
-
serializedName: "endpoint",
|
|
835
|
-
type: {
|
|
836
|
-
name: "String"
|
|
837
|
-
}
|
|
838
|
-
},
|
|
839
|
-
internalId: {
|
|
840
|
-
readOnly: true,
|
|
841
|
-
serializedName: "internalId",
|
|
842
|
-
type: {
|
|
843
|
-
name: "String"
|
|
844
|
-
}
|
|
845
|
-
},
|
|
846
|
-
capabilities: {
|
|
847
|
-
readOnly: true,
|
|
848
|
-
serializedName: "capabilities",
|
|
849
|
-
type: {
|
|
850
|
-
name: "Sequence",
|
|
851
|
-
element: {
|
|
852
|
-
type: {
|
|
853
|
-
name: "Composite",
|
|
854
|
-
className: "SkuCapability"
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
},
|
|
859
|
-
isMigrated: {
|
|
860
|
-
readOnly: true,
|
|
861
|
-
serializedName: "isMigrated",
|
|
862
|
-
type: {
|
|
863
|
-
name: "Boolean"
|
|
864
|
-
}
|
|
865
|
-
},
|
|
866
|
-
migrationToken: {
|
|
867
|
-
serializedName: "migrationToken",
|
|
868
|
-
type: {
|
|
869
|
-
name: "String"
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
skuChangeInfo: {
|
|
873
|
-
readOnly: true,
|
|
874
|
-
serializedName: "skuChangeInfo",
|
|
875
|
-
type: {
|
|
876
|
-
name: "Composite",
|
|
877
|
-
className: "SkuChangeInfo"
|
|
878
|
-
}
|
|
879
|
-
},
|
|
880
|
-
customSubDomainName: {
|
|
881
|
-
serializedName: "customSubDomainName",
|
|
882
|
-
type: {
|
|
883
|
-
name: "String"
|
|
884
|
-
}
|
|
885
|
-
},
|
|
886
|
-
networkAcls: {
|
|
887
|
-
serializedName: "networkAcls",
|
|
888
|
-
type: {
|
|
889
|
-
name: "Composite",
|
|
890
|
-
className: "NetworkRuleSet"
|
|
891
|
-
}
|
|
892
|
-
},
|
|
893
|
-
encryption: {
|
|
894
|
-
serializedName: "encryption",
|
|
895
|
-
type: {
|
|
896
|
-
name: "Composite",
|
|
897
|
-
className: "Encryption"
|
|
898
|
-
}
|
|
899
|
-
},
|
|
900
|
-
userOwnedStorage: {
|
|
901
|
-
serializedName: "userOwnedStorage",
|
|
902
|
-
type: {
|
|
903
|
-
name: "Sequence",
|
|
904
|
-
element: {
|
|
905
|
-
type: {
|
|
906
|
-
name: "Composite",
|
|
907
|
-
className: "UserOwnedStorage"
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
privateEndpointConnections: {
|
|
913
|
-
readOnly: true,
|
|
914
|
-
serializedName: "privateEndpointConnections",
|
|
915
|
-
type: {
|
|
916
|
-
name: "Sequence",
|
|
917
|
-
element: {
|
|
918
|
-
type: {
|
|
919
|
-
name: "Composite",
|
|
920
|
-
className: "PrivateEndpointConnection"
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
publicNetworkAccess: {
|
|
926
|
-
serializedName: "publicNetworkAccess",
|
|
927
|
-
type: {
|
|
928
|
-
name: "String"
|
|
929
|
-
}
|
|
930
|
-
},
|
|
931
|
-
apiProperties: {
|
|
932
|
-
serializedName: "apiProperties",
|
|
933
|
-
type: {
|
|
934
|
-
name: "Composite",
|
|
935
|
-
className: "ApiProperties",
|
|
936
|
-
additionalProperties: {
|
|
937
|
-
type: {
|
|
938
|
-
name: "Object"
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
|
-
dateCreated: {
|
|
944
|
-
readOnly: true,
|
|
945
|
-
serializedName: "dateCreated",
|
|
946
|
-
type: {
|
|
947
|
-
name: "String"
|
|
948
|
-
}
|
|
949
|
-
},
|
|
950
|
-
callRateLimit: {
|
|
951
|
-
readOnly: true,
|
|
952
|
-
serializedName: "callRateLimit",
|
|
953
|
-
type: {
|
|
954
|
-
name: "Composite",
|
|
955
|
-
className: "CallRateLimit"
|
|
956
|
-
}
|
|
957
|
-
},
|
|
958
|
-
quotaLimit: {
|
|
959
|
-
readOnly: true,
|
|
960
|
-
serializedName: "quotaLimit",
|
|
961
|
-
type: {
|
|
962
|
-
name: "Composite",
|
|
963
|
-
className: "QuotaLimit"
|
|
964
|
-
}
|
|
965
|
-
},
|
|
966
|
-
restrictOutboundNetworkAccess: {
|
|
967
|
-
serializedName: "restrictOutboundNetworkAccess",
|
|
968
|
-
type: {
|
|
969
|
-
name: "Boolean"
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
|
-
allowedFqdnList: {
|
|
973
|
-
serializedName: "allowedFqdnList",
|
|
974
|
-
type: {
|
|
975
|
-
name: "Sequence",
|
|
976
|
-
element: {
|
|
977
|
-
type: {
|
|
978
|
-
name: "String"
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
disableLocalAuth: {
|
|
984
|
-
serializedName: "disableLocalAuth",
|
|
985
|
-
type: {
|
|
986
|
-
name: "Boolean"
|
|
987
|
-
}
|
|
988
|
-
},
|
|
989
|
-
endpoints: {
|
|
990
|
-
readOnly: true,
|
|
991
|
-
serializedName: "endpoints",
|
|
992
|
-
type: {
|
|
993
|
-
name: "Dictionary",
|
|
994
|
-
value: {
|
|
995
|
-
type: {
|
|
996
|
-
name: "String"
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
restore: {
|
|
1002
|
-
serializedName: "restore",
|
|
1003
|
-
type: {
|
|
1004
|
-
name: "Boolean"
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
};
|
|
1010
|
-
var Account = {
|
|
1011
|
-
serializedName: "Account",
|
|
1012
|
-
type: {
|
|
1013
|
-
name: "Composite",
|
|
1014
|
-
className: "Account",
|
|
1015
|
-
modelProperties: __assign(__assign({}, AzureEntityResource.type.modelProperties), { kind: {
|
|
1016
|
-
serializedName: "kind",
|
|
1017
|
-
type: {
|
|
1018
|
-
name: "String"
|
|
1019
|
-
}
|
|
1020
|
-
}, sku: {
|
|
1021
|
-
serializedName: "sku",
|
|
1022
|
-
type: {
|
|
1023
|
-
name: "Composite",
|
|
1024
|
-
className: "Sku"
|
|
1025
|
-
}
|
|
1026
|
-
}, identity: {
|
|
1027
|
-
serializedName: "identity",
|
|
1028
|
-
type: {
|
|
1029
|
-
name: "Composite",
|
|
1030
|
-
className: "Identity"
|
|
1031
|
-
}
|
|
1032
|
-
}, systemData: {
|
|
1033
|
-
readOnly: true,
|
|
1034
|
-
serializedName: "systemData",
|
|
1035
|
-
type: {
|
|
1036
|
-
name: "Composite",
|
|
1037
|
-
className: "SystemData"
|
|
1038
|
-
}
|
|
1039
|
-
}, tags: {
|
|
1040
|
-
serializedName: "tags",
|
|
1041
|
-
type: {
|
|
1042
|
-
name: "Dictionary",
|
|
1043
|
-
value: {
|
|
1044
|
-
type: {
|
|
1045
|
-
name: "String"
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
}, location: {
|
|
1050
|
-
serializedName: "location",
|
|
1051
|
-
type: {
|
|
1052
|
-
name: "String"
|
|
1053
|
-
}
|
|
1054
|
-
}, properties: {
|
|
1055
|
-
serializedName: "properties",
|
|
1056
|
-
type: {
|
|
1057
|
-
name: "Composite",
|
|
1058
|
-
className: "AccountProperties"
|
|
1059
|
-
}
|
|
1060
|
-
} })
|
|
1061
|
-
}
|
|
1062
|
-
};
|
|
1063
|
-
var ApiKeys = {
|
|
1064
|
-
serializedName: "ApiKeys",
|
|
1065
|
-
type: {
|
|
1066
|
-
name: "Composite",
|
|
1067
|
-
className: "ApiKeys",
|
|
1068
|
-
modelProperties: {
|
|
1069
|
-
key1: {
|
|
1070
|
-
serializedName: "key1",
|
|
1071
|
-
type: {
|
|
1072
|
-
name: "String"
|
|
1073
|
-
}
|
|
1074
|
-
},
|
|
1075
|
-
key2: {
|
|
1076
|
-
serializedName: "key2",
|
|
1077
|
-
type: {
|
|
1078
|
-
name: "String"
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
};
|
|
1084
|
-
var RegenerateKeyParameters = {
|
|
1085
|
-
serializedName: "RegenerateKeyParameters",
|
|
1086
|
-
type: {
|
|
1087
|
-
name: "Composite",
|
|
1088
|
-
className: "RegenerateKeyParameters",
|
|
1089
|
-
modelProperties: {
|
|
1090
|
-
keyName: {
|
|
1091
|
-
required: true,
|
|
1092
|
-
serializedName: "keyName",
|
|
1093
|
-
type: {
|
|
1094
|
-
name: "Enum",
|
|
1095
|
-
allowedValues: ["Key1", "Key2"]
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
};
|
|
1101
|
-
var AccountSku = {
|
|
1102
|
-
serializedName: "AccountSku",
|
|
1103
|
-
type: {
|
|
1104
|
-
name: "Composite",
|
|
1105
|
-
className: "AccountSku",
|
|
1106
|
-
modelProperties: {
|
|
1107
|
-
resourceType: {
|
|
1108
|
-
serializedName: "resourceType",
|
|
1109
|
-
type: {
|
|
1110
|
-
name: "String"
|
|
1111
|
-
}
|
|
1112
|
-
},
|
|
1113
|
-
sku: {
|
|
1114
|
-
serializedName: "sku",
|
|
1115
|
-
type: {
|
|
1116
|
-
name: "Composite",
|
|
1117
|
-
className: "Sku"
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
};
|
|
1123
|
-
var AccountSkuListResult = {
|
|
1124
|
-
serializedName: "AccountSkuListResult",
|
|
1125
|
-
type: {
|
|
1126
|
-
name: "Composite",
|
|
1127
|
-
className: "AccountSkuListResult",
|
|
1128
|
-
modelProperties: {
|
|
1129
|
-
value: {
|
|
1130
|
-
serializedName: "value",
|
|
1131
|
-
type: {
|
|
1132
|
-
name: "Sequence",
|
|
1133
|
-
element: {
|
|
1134
|
-
type: {
|
|
1135
|
-
name: "Composite",
|
|
1136
|
-
className: "AccountSku"
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
};
|
|
1144
|
-
var MetricName = {
|
|
1145
|
-
serializedName: "MetricName",
|
|
1146
|
-
type: {
|
|
1147
|
-
name: "Composite",
|
|
1148
|
-
className: "MetricName",
|
|
1149
|
-
modelProperties: {
|
|
1150
|
-
value: {
|
|
1151
|
-
serializedName: "value",
|
|
1152
|
-
type: {
|
|
1153
|
-
name: "String"
|
|
1154
|
-
}
|
|
1155
|
-
},
|
|
1156
|
-
localizedValue: {
|
|
1157
|
-
serializedName: "localizedValue",
|
|
1158
|
-
type: {
|
|
1159
|
-
name: "String"
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
|
-
};
|
|
1165
|
-
var Usage = {
|
|
1166
|
-
serializedName: "Usage",
|
|
1167
|
-
type: {
|
|
1168
|
-
name: "Composite",
|
|
1169
|
-
className: "Usage",
|
|
1170
|
-
modelProperties: {
|
|
1171
|
-
unit: {
|
|
1172
|
-
serializedName: "unit",
|
|
1173
|
-
type: {
|
|
1174
|
-
name: "String"
|
|
1175
|
-
}
|
|
1176
|
-
},
|
|
1177
|
-
name: {
|
|
1178
|
-
serializedName: "name",
|
|
1179
|
-
type: {
|
|
1180
|
-
name: "Composite",
|
|
1181
|
-
className: "MetricName"
|
|
1182
|
-
}
|
|
1183
|
-
},
|
|
1184
|
-
quotaPeriod: {
|
|
1185
|
-
serializedName: "quotaPeriod",
|
|
1186
|
-
type: {
|
|
1187
|
-
name: "String"
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
|
-
limit: {
|
|
1191
|
-
serializedName: "limit",
|
|
1192
|
-
type: {
|
|
1193
|
-
name: "Number"
|
|
1194
|
-
}
|
|
1195
|
-
},
|
|
1196
|
-
currentValue: {
|
|
1197
|
-
serializedName: "currentValue",
|
|
1198
|
-
type: {
|
|
1199
|
-
name: "Number"
|
|
1200
|
-
}
|
|
1201
|
-
},
|
|
1202
|
-
nextResetTime: {
|
|
1203
|
-
serializedName: "nextResetTime",
|
|
1204
|
-
type: {
|
|
1205
|
-
name: "String"
|
|
1206
|
-
}
|
|
1207
|
-
},
|
|
1208
|
-
status: {
|
|
1209
|
-
serializedName: "status",
|
|
1210
|
-
type: {
|
|
1211
|
-
name: "String"
|
|
1212
|
-
}
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
}
|
|
1216
|
-
};
|
|
1217
|
-
var UsageListResult = {
|
|
1218
|
-
serializedName: "UsageListResult",
|
|
1219
|
-
type: {
|
|
1220
|
-
name: "Composite",
|
|
1221
|
-
className: "UsageListResult",
|
|
1222
|
-
modelProperties: {
|
|
1223
|
-
value: {
|
|
1224
|
-
serializedName: "value",
|
|
1225
|
-
type: {
|
|
1226
|
-
name: "Sequence",
|
|
1227
|
-
element: {
|
|
1228
|
-
type: {
|
|
1229
|
-
name: "Composite",
|
|
1230
|
-
className: "Usage"
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
};
|
|
1238
|
-
var CheckSkuAvailabilityParameter = {
|
|
1239
|
-
serializedName: "CheckSkuAvailabilityParameter",
|
|
1240
|
-
type: {
|
|
1241
|
-
name: "Composite",
|
|
1242
|
-
className: "CheckSkuAvailabilityParameter",
|
|
1243
|
-
modelProperties: {
|
|
1244
|
-
skus: {
|
|
1245
|
-
required: true,
|
|
1246
|
-
serializedName: "skus",
|
|
1247
|
-
type: {
|
|
1248
|
-
name: "Sequence",
|
|
1249
|
-
element: {
|
|
1250
|
-
type: {
|
|
1251
|
-
name: "String"
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
},
|
|
1256
|
-
kind: {
|
|
1257
|
-
required: true,
|
|
1258
|
-
serializedName: "kind",
|
|
1259
|
-
type: {
|
|
1260
|
-
name: "String"
|
|
1261
|
-
}
|
|
1262
|
-
},
|
|
1263
|
-
type: {
|
|
1264
|
-
required: true,
|
|
1265
|
-
serializedName: "type",
|
|
1266
|
-
type: {
|
|
1267
|
-
name: "String"
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
};
|
|
1273
|
-
var SkuAvailability = {
|
|
1274
|
-
serializedName: "SkuAvailability",
|
|
1275
|
-
type: {
|
|
1276
|
-
name: "Composite",
|
|
1277
|
-
className: "SkuAvailability",
|
|
1278
|
-
modelProperties: {
|
|
1279
|
-
kind: {
|
|
1280
|
-
serializedName: "kind",
|
|
1281
|
-
type: {
|
|
1282
|
-
name: "String"
|
|
1283
|
-
}
|
|
1284
|
-
},
|
|
1285
|
-
type: {
|
|
1286
|
-
serializedName: "type",
|
|
1287
|
-
type: {
|
|
1288
|
-
name: "String"
|
|
1289
|
-
}
|
|
1290
|
-
},
|
|
1291
|
-
skuName: {
|
|
1292
|
-
serializedName: "skuName",
|
|
1293
|
-
type: {
|
|
1294
|
-
name: "String"
|
|
1295
|
-
}
|
|
1296
|
-
},
|
|
1297
|
-
skuAvailable: {
|
|
1298
|
-
serializedName: "skuAvailable",
|
|
1299
|
-
type: {
|
|
1300
|
-
name: "Boolean"
|
|
1301
|
-
}
|
|
1302
|
-
},
|
|
1303
|
-
reason: {
|
|
1304
|
-
serializedName: "reason",
|
|
1305
|
-
type: {
|
|
1306
|
-
name: "String"
|
|
1307
|
-
}
|
|
1308
|
-
},
|
|
1309
|
-
message: {
|
|
1310
|
-
serializedName: "message",
|
|
1311
|
-
type: {
|
|
1312
|
-
name: "String"
|
|
1313
|
-
}
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
};
|
|
1318
|
-
var SkuAvailabilityListResult = {
|
|
1319
|
-
serializedName: "SkuAvailabilityListResult",
|
|
1320
|
-
type: {
|
|
1321
|
-
name: "Composite",
|
|
1322
|
-
className: "SkuAvailabilityListResult",
|
|
1323
|
-
modelProperties: {
|
|
1324
|
-
value: {
|
|
1325
|
-
serializedName: "value",
|
|
1326
|
-
type: {
|
|
1327
|
-
name: "Sequence",
|
|
1328
|
-
element: {
|
|
1329
|
-
type: {
|
|
1330
|
-
name: "Composite",
|
|
1331
|
-
className: "SkuAvailability"
|
|
1332
|
-
}
|
|
1333
|
-
}
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
}
|
|
1337
|
-
}
|
|
1338
|
-
};
|
|
1339
|
-
var CheckDomainAvailabilityParameter = {
|
|
1340
|
-
serializedName: "CheckDomainAvailabilityParameter",
|
|
1341
|
-
type: {
|
|
1342
|
-
name: "Composite",
|
|
1343
|
-
className: "CheckDomainAvailabilityParameter",
|
|
1344
|
-
modelProperties: {
|
|
1345
|
-
subdomainName: {
|
|
1346
|
-
required: true,
|
|
1347
|
-
serializedName: "subdomainName",
|
|
1348
|
-
type: {
|
|
1349
|
-
name: "String"
|
|
1350
|
-
}
|
|
1351
|
-
},
|
|
1352
|
-
type: {
|
|
1353
|
-
required: true,
|
|
1354
|
-
serializedName: "type",
|
|
1355
|
-
type: {
|
|
1356
|
-
name: "String"
|
|
1357
|
-
}
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
};
|
|
1362
|
-
var DomainAvailability = {
|
|
1363
|
-
serializedName: "DomainAvailability",
|
|
1364
|
-
type: {
|
|
1365
|
-
name: "Composite",
|
|
1366
|
-
className: "DomainAvailability",
|
|
1367
|
-
modelProperties: {
|
|
1368
|
-
isSubdomainAvailable: {
|
|
1369
|
-
serializedName: "isSubdomainAvailable",
|
|
1370
|
-
type: {
|
|
1371
|
-
name: "Boolean"
|
|
1372
|
-
}
|
|
1373
|
-
},
|
|
1374
|
-
reason: {
|
|
1375
|
-
serializedName: "reason",
|
|
1376
|
-
type: {
|
|
1377
|
-
name: "String"
|
|
1378
|
-
}
|
|
1379
|
-
},
|
|
1380
|
-
subdomainName: {
|
|
1381
|
-
serializedName: "subdomainName",
|
|
1382
|
-
type: {
|
|
1383
|
-
name: "String"
|
|
1384
|
-
}
|
|
1385
|
-
},
|
|
1386
|
-
type: {
|
|
1387
|
-
serializedName: "type",
|
|
1388
|
-
type: {
|
|
1389
|
-
name: "String"
|
|
1390
|
-
}
|
|
1391
|
-
}
|
|
1392
|
-
}
|
|
1393
|
-
}
|
|
1394
|
-
};
|
|
1395
|
-
var ResourceSkuRestrictionInfo = {
|
|
1396
|
-
serializedName: "ResourceSkuRestrictionInfo",
|
|
1397
|
-
type: {
|
|
1398
|
-
name: "Composite",
|
|
1399
|
-
className: "ResourceSkuRestrictionInfo",
|
|
1400
|
-
modelProperties: {
|
|
1401
|
-
locations: {
|
|
1402
|
-
serializedName: "locations",
|
|
1403
|
-
type: {
|
|
1404
|
-
name: "Sequence",
|
|
1405
|
-
element: {
|
|
1406
|
-
type: {
|
|
1407
|
-
name: "String"
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
}
|
|
1411
|
-
},
|
|
1412
|
-
zones: {
|
|
1413
|
-
serializedName: "zones",
|
|
1414
|
-
type: {
|
|
1415
|
-
name: "Sequence",
|
|
1416
|
-
element: {
|
|
1417
|
-
type: {
|
|
1418
|
-
name: "String"
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
}
|
|
1422
|
-
}
|
|
1423
|
-
}
|
|
1424
|
-
}
|
|
1425
|
-
};
|
|
1426
|
-
var ResourceSkuRestrictions = {
|
|
1427
|
-
serializedName: "ResourceSkuRestrictions",
|
|
1428
|
-
type: {
|
|
1429
|
-
name: "Composite",
|
|
1430
|
-
className: "ResourceSkuRestrictions",
|
|
1431
|
-
modelProperties: {
|
|
1432
|
-
type: {
|
|
1433
|
-
serializedName: "type",
|
|
1434
|
-
type: {
|
|
1435
|
-
name: "Enum",
|
|
1436
|
-
allowedValues: ["Location", "Zone"]
|
|
1437
|
-
}
|
|
1438
|
-
},
|
|
1439
|
-
values: {
|
|
1440
|
-
serializedName: "values",
|
|
1441
|
-
type: {
|
|
1442
|
-
name: "Sequence",
|
|
1443
|
-
element: {
|
|
1444
|
-
type: {
|
|
1445
|
-
name: "String"
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
}
|
|
1449
|
-
},
|
|
1450
|
-
restrictionInfo: {
|
|
1451
|
-
serializedName: "restrictionInfo",
|
|
1452
|
-
type: {
|
|
1453
|
-
name: "Composite",
|
|
1454
|
-
className: "ResourceSkuRestrictionInfo"
|
|
1455
|
-
}
|
|
1456
|
-
},
|
|
1457
|
-
reasonCode: {
|
|
1458
|
-
serializedName: "reasonCode",
|
|
1459
|
-
type: {
|
|
1460
|
-
name: "String"
|
|
1461
|
-
}
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1465
|
-
};
|
|
1466
|
-
var ResourceSku = {
|
|
1467
|
-
serializedName: "ResourceSku",
|
|
1468
|
-
type: {
|
|
1469
|
-
name: "Composite",
|
|
1470
|
-
className: "ResourceSku",
|
|
1471
|
-
modelProperties: {
|
|
1472
|
-
resourceType: {
|
|
1473
|
-
serializedName: "resourceType",
|
|
1474
|
-
type: {
|
|
1475
|
-
name: "String"
|
|
1476
|
-
}
|
|
1477
|
-
},
|
|
1478
|
-
name: {
|
|
1479
|
-
serializedName: "name",
|
|
1480
|
-
type: {
|
|
1481
|
-
name: "String"
|
|
1482
|
-
}
|
|
1483
|
-
},
|
|
1484
|
-
tier: {
|
|
1485
|
-
serializedName: "tier",
|
|
1486
|
-
type: {
|
|
1487
|
-
name: "String"
|
|
1488
|
-
}
|
|
1489
|
-
},
|
|
1490
|
-
kind: {
|
|
1491
|
-
serializedName: "kind",
|
|
1492
|
-
type: {
|
|
1493
|
-
name: "String"
|
|
1494
|
-
}
|
|
1495
|
-
},
|
|
1496
|
-
locations: {
|
|
1497
|
-
serializedName: "locations",
|
|
1498
|
-
type: {
|
|
1499
|
-
name: "Sequence",
|
|
1500
|
-
element: {
|
|
1501
|
-
type: {
|
|
1502
|
-
name: "String"
|
|
1503
|
-
}
|
|
1504
|
-
}
|
|
1505
|
-
}
|
|
1506
|
-
},
|
|
1507
|
-
restrictions: {
|
|
1508
|
-
serializedName: "restrictions",
|
|
1509
|
-
type: {
|
|
1510
|
-
name: "Sequence",
|
|
1511
|
-
element: {
|
|
1512
|
-
type: {
|
|
1513
|
-
name: "Composite",
|
|
1514
|
-
className: "ResourceSkuRestrictions"
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
};
|
|
1522
|
-
var PrivateEndpointConnectionListResult = {
|
|
1523
|
-
serializedName: "PrivateEndpointConnectionListResult",
|
|
1524
|
-
type: {
|
|
1525
|
-
name: "Composite",
|
|
1526
|
-
className: "PrivateEndpointConnectionListResult",
|
|
1527
|
-
modelProperties: {
|
|
1528
|
-
value: {
|
|
1529
|
-
serializedName: "value",
|
|
1530
|
-
type: {
|
|
1531
|
-
name: "Sequence",
|
|
1532
|
-
element: {
|
|
1533
|
-
type: {
|
|
1534
|
-
name: "Composite",
|
|
1535
|
-
className: "PrivateEndpointConnection"
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
}
|
|
1539
|
-
}
|
|
1540
|
-
}
|
|
1541
|
-
}
|
|
1542
|
-
};
|
|
1543
|
-
var PrivateLinkResourceProperties = {
|
|
1544
|
-
serializedName: "PrivateLinkResourceProperties",
|
|
1545
|
-
type: {
|
|
1546
|
-
name: "Composite",
|
|
1547
|
-
className: "PrivateLinkResourceProperties",
|
|
1548
|
-
modelProperties: {
|
|
1549
|
-
groupId: {
|
|
1550
|
-
readOnly: true,
|
|
1551
|
-
serializedName: "groupId",
|
|
1552
|
-
type: {
|
|
1553
|
-
name: "String"
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
requiredMembers: {
|
|
1557
|
-
readOnly: true,
|
|
1558
|
-
serializedName: "requiredMembers",
|
|
1559
|
-
type: {
|
|
1560
|
-
name: "Sequence",
|
|
1561
|
-
element: {
|
|
1562
|
-
type: {
|
|
1563
|
-
name: "String"
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
},
|
|
1568
|
-
requiredZoneNames: {
|
|
1569
|
-
serializedName: "requiredZoneNames",
|
|
1570
|
-
type: {
|
|
1571
|
-
name: "Sequence",
|
|
1572
|
-
element: {
|
|
1573
|
-
type: {
|
|
1574
|
-
name: "String"
|
|
1575
|
-
}
|
|
1576
|
-
}
|
|
1577
|
-
}
|
|
1578
|
-
},
|
|
1579
|
-
displayName: {
|
|
1580
|
-
readOnly: true,
|
|
1581
|
-
serializedName: "displayName",
|
|
1582
|
-
type: {
|
|
1583
|
-
name: "String"
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
};
|
|
1589
|
-
var PrivateLinkResource = {
|
|
1590
|
-
serializedName: "PrivateLinkResource",
|
|
1591
|
-
type: {
|
|
1592
|
-
name: "Composite",
|
|
1593
|
-
className: "PrivateLinkResource",
|
|
1594
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { properties: {
|
|
1595
|
-
serializedName: "properties",
|
|
1596
|
-
type: {
|
|
1597
|
-
name: "Composite",
|
|
1598
|
-
className: "PrivateLinkResourceProperties"
|
|
1599
|
-
}
|
|
1600
|
-
} })
|
|
1601
|
-
}
|
|
1602
|
-
};
|
|
1603
|
-
var PrivateLinkResourceListResult = {
|
|
1604
|
-
serializedName: "PrivateLinkResourceListResult",
|
|
1605
|
-
type: {
|
|
1606
|
-
name: "Composite",
|
|
1607
|
-
className: "PrivateLinkResourceListResult",
|
|
1608
|
-
modelProperties: {
|
|
1609
|
-
value: {
|
|
1610
|
-
serializedName: "value",
|
|
1611
|
-
type: {
|
|
1612
|
-
name: "Sequence",
|
|
1613
|
-
element: {
|
|
1614
|
-
type: {
|
|
1615
|
-
name: "Composite",
|
|
1616
|
-
className: "PrivateLinkResource"
|
|
1617
|
-
}
|
|
1618
|
-
}
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
};
|
|
1624
|
-
var ProxyResource = {
|
|
1625
|
-
serializedName: "ProxyResource",
|
|
1626
|
-
type: {
|
|
1627
|
-
name: "Composite",
|
|
1628
|
-
className: "ProxyResource",
|
|
1629
|
-
modelProperties: __assign({}, Resource.type.modelProperties)
|
|
1630
|
-
}
|
|
1631
|
-
};
|
|
1632
|
-
var TrackedResource = {
|
|
1633
|
-
serializedName: "TrackedResource",
|
|
1634
|
-
type: {
|
|
1635
|
-
name: "Composite",
|
|
1636
|
-
className: "TrackedResource",
|
|
1637
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
|
|
1638
|
-
serializedName: "tags",
|
|
1639
|
-
type: {
|
|
1640
|
-
name: "Dictionary",
|
|
1641
|
-
value: {
|
|
1642
|
-
type: {
|
|
1643
|
-
name: "String"
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
}, location: {
|
|
1648
|
-
required: true,
|
|
1649
|
-
serializedName: "location",
|
|
1650
|
-
type: {
|
|
1651
|
-
name: "String"
|
|
1652
|
-
}
|
|
1653
|
-
} })
|
|
1654
|
-
}
|
|
1655
|
-
};
|
|
1656
|
-
var ErrorAdditionalInfo = {
|
|
1657
|
-
serializedName: "ErrorAdditionalInfo",
|
|
1658
|
-
type: {
|
|
1659
|
-
name: "Composite",
|
|
1660
|
-
className: "ErrorAdditionalInfo",
|
|
1661
|
-
modelProperties: {
|
|
1662
|
-
type: {
|
|
1663
|
-
readOnly: true,
|
|
1664
|
-
serializedName: "type",
|
|
1665
|
-
type: {
|
|
1666
|
-
name: "String"
|
|
1667
|
-
}
|
|
1668
|
-
},
|
|
1669
|
-
info: {
|
|
1670
|
-
readOnly: true,
|
|
1671
|
-
serializedName: "info",
|
|
1672
|
-
type: {
|
|
1673
|
-
name: "Object"
|
|
1674
|
-
}
|
|
1675
|
-
}
|
|
1676
|
-
}
|
|
1677
|
-
}
|
|
1678
|
-
};
|
|
1679
|
-
var ErrorDetail = {
|
|
1680
|
-
serializedName: "ErrorDetail",
|
|
1681
|
-
type: {
|
|
1682
|
-
name: "Composite",
|
|
1683
|
-
className: "ErrorDetail",
|
|
1684
|
-
modelProperties: {
|
|
1685
|
-
code: {
|
|
1686
|
-
readOnly: true,
|
|
1687
|
-
serializedName: "code",
|
|
1688
|
-
type: {
|
|
1689
|
-
name: "String"
|
|
1690
|
-
}
|
|
1691
|
-
},
|
|
1692
|
-
message: {
|
|
1693
|
-
readOnly: true,
|
|
1694
|
-
serializedName: "message",
|
|
1695
|
-
type: {
|
|
1696
|
-
name: "String"
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
target: {
|
|
1700
|
-
readOnly: true,
|
|
1701
|
-
serializedName: "target",
|
|
1702
|
-
type: {
|
|
1703
|
-
name: "String"
|
|
1704
|
-
}
|
|
1705
|
-
},
|
|
1706
|
-
details: {
|
|
1707
|
-
readOnly: true,
|
|
1708
|
-
serializedName: "details",
|
|
1709
|
-
type: {
|
|
1710
|
-
name: "Sequence",
|
|
1711
|
-
element: {
|
|
1712
|
-
type: {
|
|
1713
|
-
name: "Composite",
|
|
1714
|
-
className: "ErrorDetail"
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
}
|
|
1718
|
-
},
|
|
1719
|
-
additionalInfo: {
|
|
1720
|
-
readOnly: true,
|
|
1721
|
-
serializedName: "additionalInfo",
|
|
1722
|
-
type: {
|
|
1723
|
-
name: "Sequence",
|
|
1724
|
-
element: {
|
|
1725
|
-
type: {
|
|
1726
|
-
name: "Composite",
|
|
1727
|
-
className: "ErrorAdditionalInfo"
|
|
1728
|
-
}
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
}
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1734
|
-
};
|
|
1735
|
-
var ErrorResponse = {
|
|
1736
|
-
serializedName: "ErrorResponse",
|
|
1737
|
-
type: {
|
|
1738
|
-
name: "Composite",
|
|
1739
|
-
className: "ErrorResponse",
|
|
1740
|
-
modelProperties: {
|
|
1741
|
-
error: {
|
|
1742
|
-
serializedName: "error",
|
|
1743
|
-
type: {
|
|
1744
|
-
name: "Composite",
|
|
1745
|
-
className: "ErrorDetail"
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
}
|
|
1750
|
-
};
|
|
1751
|
-
var OperationDisplay = {
|
|
1752
|
-
serializedName: "Operation_display",
|
|
1753
|
-
type: {
|
|
1754
|
-
name: "Composite",
|
|
1755
|
-
className: "OperationDisplay",
|
|
1756
|
-
modelProperties: {
|
|
1757
|
-
provider: {
|
|
1758
|
-
readOnly: true,
|
|
1759
|
-
serializedName: "provider",
|
|
1760
|
-
type: {
|
|
1761
|
-
name: "String"
|
|
1762
|
-
}
|
|
1763
|
-
},
|
|
1764
|
-
resource: {
|
|
1765
|
-
readOnly: true,
|
|
1766
|
-
serializedName: "resource",
|
|
1767
|
-
type: {
|
|
1768
|
-
name: "String"
|
|
1769
|
-
}
|
|
1770
|
-
},
|
|
1771
|
-
operation: {
|
|
1772
|
-
readOnly: true,
|
|
1773
|
-
serializedName: "operation",
|
|
1774
|
-
type: {
|
|
1775
|
-
name: "String"
|
|
1776
|
-
}
|
|
1777
|
-
},
|
|
1778
|
-
description: {
|
|
1779
|
-
readOnly: true,
|
|
1780
|
-
serializedName: "description",
|
|
1781
|
-
type: {
|
|
1782
|
-
name: "String"
|
|
1783
|
-
}
|
|
1784
|
-
}
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
};
|
|
1788
|
-
var Operation = {
|
|
1789
|
-
serializedName: "Operation",
|
|
1790
|
-
type: {
|
|
1791
|
-
name: "Composite",
|
|
1792
|
-
className: "Operation",
|
|
1793
|
-
modelProperties: {
|
|
1794
|
-
name: {
|
|
1795
|
-
readOnly: true,
|
|
1796
|
-
serializedName: "name",
|
|
1797
|
-
type: {
|
|
1798
|
-
name: "String"
|
|
1799
|
-
}
|
|
1800
|
-
},
|
|
1801
|
-
isDataAction: {
|
|
1802
|
-
readOnly: true,
|
|
1803
|
-
serializedName: "isDataAction",
|
|
1804
|
-
type: {
|
|
1805
|
-
name: "Boolean"
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
display: {
|
|
1809
|
-
serializedName: "display",
|
|
1810
|
-
type: {
|
|
1811
|
-
name: "Composite",
|
|
1812
|
-
className: "OperationDisplay"
|
|
1813
|
-
}
|
|
1814
|
-
},
|
|
1815
|
-
origin: {
|
|
1816
|
-
readOnly: true,
|
|
1817
|
-
serializedName: "origin",
|
|
1818
|
-
type: {
|
|
1819
|
-
name: "String"
|
|
1820
|
-
}
|
|
1821
|
-
},
|
|
1822
|
-
actionType: {
|
|
1823
|
-
readOnly: true,
|
|
1824
|
-
serializedName: "actionType",
|
|
1825
|
-
type: {
|
|
1826
|
-
name: "String"
|
|
1827
|
-
}
|
|
1828
|
-
}
|
|
1829
|
-
}
|
|
1830
|
-
}
|
|
1831
|
-
};
|
|
1832
|
-
var AccountListResult = {
|
|
1833
|
-
serializedName: "AccountListResult",
|
|
1834
|
-
type: {
|
|
1835
|
-
name: "Composite",
|
|
1836
|
-
className: "AccountListResult",
|
|
1837
|
-
modelProperties: {
|
|
1838
|
-
nextLink: {
|
|
1839
|
-
serializedName: "nextLink",
|
|
1840
|
-
type: {
|
|
1841
|
-
name: "String"
|
|
1842
|
-
}
|
|
1843
|
-
},
|
|
1844
|
-
value: {
|
|
1845
|
-
readOnly: true,
|
|
1846
|
-
serializedName: "",
|
|
1847
|
-
type: {
|
|
1848
|
-
name: "Sequence",
|
|
1849
|
-
element: {
|
|
1850
|
-
type: {
|
|
1851
|
-
name: "Composite",
|
|
1852
|
-
className: "Account"
|
|
1853
|
-
}
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
|
-
}
|
|
1857
|
-
}
|
|
1858
|
-
}
|
|
1859
|
-
};
|
|
1860
|
-
var ResourceSkuListResult = {
|
|
1861
|
-
serializedName: "ResourceSkuListResult",
|
|
1862
|
-
type: {
|
|
1863
|
-
name: "Composite",
|
|
1864
|
-
className: "ResourceSkuListResult",
|
|
1865
|
-
modelProperties: {
|
|
1866
|
-
value: {
|
|
1867
|
-
required: true,
|
|
1868
|
-
serializedName: "",
|
|
1869
|
-
type: {
|
|
1870
|
-
name: "Sequence",
|
|
1871
|
-
element: {
|
|
1872
|
-
type: {
|
|
1873
|
-
name: "Composite",
|
|
1874
|
-
className: "ResourceSku"
|
|
1875
|
-
}
|
|
1876
|
-
}
|
|
1877
|
-
}
|
|
1878
|
-
},
|
|
1879
|
-
nextLink: {
|
|
1880
|
-
serializedName: "nextLink",
|
|
1881
|
-
type: {
|
|
1882
|
-
name: "String"
|
|
1883
|
-
}
|
|
1884
|
-
}
|
|
1885
|
-
}
|
|
1886
|
-
}
|
|
1887
|
-
};
|
|
1888
|
-
var OperationListResult = {
|
|
1889
|
-
serializedName: "OperationListResult",
|
|
1890
|
-
type: {
|
|
1891
|
-
name: "Composite",
|
|
1892
|
-
className: "OperationListResult",
|
|
1893
|
-
modelProperties: {
|
|
1894
|
-
value: {
|
|
1895
|
-
readOnly: true,
|
|
1896
|
-
serializedName: "",
|
|
1897
|
-
type: {
|
|
1898
|
-
name: "Sequence",
|
|
1899
|
-
element: {
|
|
1900
|
-
type: {
|
|
1901
|
-
name: "Composite",
|
|
1902
|
-
className: "Operation"
|
|
1903
|
-
}
|
|
1904
|
-
}
|
|
1905
|
-
}
|
|
1906
|
-
},
|
|
1907
|
-
nextLink: {
|
|
1908
|
-
readOnly: true,
|
|
1909
|
-
serializedName: "nextLink",
|
|
1910
|
-
type: {
|
|
1911
|
-
name: "String"
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
}
|
|
1915
|
-
}
|
|
1916
|
-
};
|
|
1917
|
-
|
|
1918
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1919
|
-
__proto__: null,
|
|
1920
|
-
CloudError: CloudError,
|
|
1921
|
-
BaseResource: BaseResource,
|
|
1922
|
-
Sku: Sku,
|
|
1923
|
-
UserAssignedIdentity: UserAssignedIdentity,
|
|
1924
|
-
Identity: Identity,
|
|
1925
|
-
SystemData: SystemData,
|
|
1926
|
-
SkuCapability: SkuCapability,
|
|
1927
|
-
SkuChangeInfo: SkuChangeInfo,
|
|
1928
|
-
IpRule: IpRule,
|
|
1929
|
-
VirtualNetworkRule: VirtualNetworkRule,
|
|
1930
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
1931
|
-
KeyVaultProperties: KeyVaultProperties,
|
|
1932
|
-
Encryption: Encryption,
|
|
1933
|
-
UserOwnedStorage: UserOwnedStorage,
|
|
1934
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
1935
|
-
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
1936
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
1937
|
-
Resource: Resource,
|
|
1938
|
-
AzureEntityResource: AzureEntityResource,
|
|
1939
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1940
|
-
ApiProperties: ApiProperties,
|
|
1941
|
-
RequestMatchPattern: RequestMatchPattern,
|
|
1942
|
-
ThrottlingRule: ThrottlingRule,
|
|
1943
|
-
CallRateLimit: CallRateLimit,
|
|
1944
|
-
QuotaLimit: QuotaLimit,
|
|
1945
|
-
AccountProperties: AccountProperties,
|
|
1946
|
-
Account: Account,
|
|
1947
|
-
ApiKeys: ApiKeys,
|
|
1948
|
-
RegenerateKeyParameters: RegenerateKeyParameters,
|
|
1949
|
-
AccountSku: AccountSku,
|
|
1950
|
-
AccountSkuListResult: AccountSkuListResult,
|
|
1951
|
-
MetricName: MetricName,
|
|
1952
|
-
Usage: Usage,
|
|
1953
|
-
UsageListResult: UsageListResult,
|
|
1954
|
-
CheckSkuAvailabilityParameter: CheckSkuAvailabilityParameter,
|
|
1955
|
-
SkuAvailability: SkuAvailability,
|
|
1956
|
-
SkuAvailabilityListResult: SkuAvailabilityListResult,
|
|
1957
|
-
CheckDomainAvailabilityParameter: CheckDomainAvailabilityParameter,
|
|
1958
|
-
DomainAvailability: DomainAvailability,
|
|
1959
|
-
ResourceSkuRestrictionInfo: ResourceSkuRestrictionInfo,
|
|
1960
|
-
ResourceSkuRestrictions: ResourceSkuRestrictions,
|
|
1961
|
-
ResourceSku: ResourceSku,
|
|
1962
|
-
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
1963
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
1964
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
1965
|
-
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
1966
|
-
ProxyResource: ProxyResource,
|
|
1967
|
-
TrackedResource: TrackedResource,
|
|
1968
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1969
|
-
ErrorDetail: ErrorDetail,
|
|
1970
|
-
ErrorResponse: ErrorResponse,
|
|
1971
|
-
OperationDisplay: OperationDisplay,
|
|
1972
|
-
Operation: Operation,
|
|
1973
|
-
AccountListResult: AccountListResult,
|
|
1974
|
-
ResourceSkuListResult: ResourceSkuListResult,
|
|
1975
|
-
OperationListResult: OperationListResult
|
|
1976
|
-
});
|
|
1977
|
-
|
|
1978
|
-
/*
|
|
1979
|
-
* Copyright (c) Microsoft Corporation.
|
|
1980
|
-
* Licensed under the MIT License.
|
|
1981
|
-
*
|
|
1982
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1983
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1984
|
-
* regenerated.
|
|
1985
|
-
*/
|
|
1986
|
-
var acceptLanguage = {
|
|
1987
|
-
parameterPath: "acceptLanguage",
|
|
1988
|
-
mapper: {
|
|
1989
|
-
serializedName: "accept-language",
|
|
1990
|
-
defaultValue: "en-US",
|
|
1991
|
-
type: {
|
|
1992
|
-
name: "String"
|
|
1993
|
-
}
|
|
1994
|
-
}
|
|
1995
|
-
};
|
|
1996
|
-
var accountName = {
|
|
1997
|
-
parameterPath: "accountName",
|
|
1998
|
-
mapper: {
|
|
1999
|
-
required: true,
|
|
2000
|
-
serializedName: "accountName",
|
|
2001
|
-
constraints: {
|
|
2002
|
-
MaxLength: 64,
|
|
2003
|
-
MinLength: 2,
|
|
2004
|
-
Pattern: /^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/
|
|
2005
|
-
},
|
|
2006
|
-
type: {
|
|
2007
|
-
name: "String"
|
|
2008
|
-
}
|
|
2009
|
-
}
|
|
2010
|
-
};
|
|
2011
|
-
var apiVersion = {
|
|
2012
|
-
parameterPath: "apiVersion",
|
|
2013
|
-
mapper: {
|
|
2014
|
-
required: true,
|
|
2015
|
-
serializedName: "api-version",
|
|
2016
|
-
constraints: {
|
|
2017
|
-
MinLength: 1
|
|
2018
|
-
},
|
|
2019
|
-
type: {
|
|
2020
|
-
name: "String"
|
|
2021
|
-
}
|
|
2022
|
-
}
|
|
2023
|
-
};
|
|
2024
|
-
var filter = {
|
|
2025
|
-
parameterPath: ["options", "filter"],
|
|
2026
|
-
mapper: {
|
|
2027
|
-
serializedName: "$filter",
|
|
2028
|
-
type: {
|
|
2029
|
-
name: "String"
|
|
2030
|
-
}
|
|
2031
|
-
}
|
|
2032
|
-
};
|
|
2033
|
-
var location = {
|
|
2034
|
-
parameterPath: "location",
|
|
2035
|
-
mapper: {
|
|
2036
|
-
required: true,
|
|
2037
|
-
serializedName: "location",
|
|
2038
|
-
type: {
|
|
2039
|
-
name: "String"
|
|
2040
|
-
}
|
|
2041
|
-
}
|
|
2042
|
-
};
|
|
2043
|
-
var nextPageLink = {
|
|
2044
|
-
parameterPath: "nextPageLink",
|
|
2045
|
-
mapper: {
|
|
2046
|
-
required: true,
|
|
2047
|
-
serializedName: "nextLink",
|
|
2048
|
-
type: {
|
|
2049
|
-
name: "String"
|
|
2050
|
-
}
|
|
2051
|
-
},
|
|
2052
|
-
skipEncoding: true
|
|
2053
|
-
};
|
|
2054
|
-
var privateEndpointConnectionName = {
|
|
2055
|
-
parameterPath: "privateEndpointConnectionName",
|
|
2056
|
-
mapper: {
|
|
2057
|
-
required: true,
|
|
2058
|
-
serializedName: "privateEndpointConnectionName",
|
|
2059
|
-
type: {
|
|
2060
|
-
name: "String"
|
|
2061
|
-
}
|
|
2062
|
-
}
|
|
2063
|
-
};
|
|
2064
|
-
var resourceGroupName = {
|
|
2065
|
-
parameterPath: "resourceGroupName",
|
|
2066
|
-
mapper: {
|
|
2067
|
-
required: true,
|
|
2068
|
-
serializedName: "resourceGroupName",
|
|
2069
|
-
constraints: {
|
|
2070
|
-
MaxLength: 90,
|
|
2071
|
-
MinLength: 1,
|
|
2072
|
-
Pattern: /^[-\w\._\(\)]+$/
|
|
2073
|
-
},
|
|
2074
|
-
type: {
|
|
2075
|
-
name: "String"
|
|
2076
|
-
}
|
|
2077
|
-
}
|
|
2078
|
-
};
|
|
2079
|
-
var subscriptionId = {
|
|
2080
|
-
parameterPath: "subscriptionId",
|
|
2081
|
-
mapper: {
|
|
2082
|
-
required: true,
|
|
2083
|
-
serializedName: "subscriptionId",
|
|
2084
|
-
constraints: {
|
|
2085
|
-
MinLength: 1
|
|
2086
|
-
},
|
|
2087
|
-
type: {
|
|
2088
|
-
name: "String"
|
|
2089
|
-
}
|
|
2090
|
-
}
|
|
2091
|
-
};
|
|
2092
|
-
|
|
2093
|
-
/*
|
|
2094
|
-
* Copyright (c) Microsoft Corporation.
|
|
2095
|
-
* Licensed under the MIT License.
|
|
2096
|
-
*
|
|
2097
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2098
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2099
|
-
*/
|
|
2100
|
-
|
|
2101
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
2102
|
-
__proto__: null,
|
|
2103
|
-
Account: Account,
|
|
2104
|
-
AccountListResult: AccountListResult,
|
|
2105
|
-
AccountProperties: AccountProperties,
|
|
2106
|
-
AccountSku: AccountSku,
|
|
2107
|
-
AccountSkuListResult: AccountSkuListResult,
|
|
2108
|
-
ApiKeys: ApiKeys,
|
|
2109
|
-
ApiProperties: ApiProperties,
|
|
2110
|
-
AzureEntityResource: AzureEntityResource,
|
|
2111
|
-
BaseResource: BaseResource,
|
|
2112
|
-
CallRateLimit: CallRateLimit,
|
|
2113
|
-
Encryption: Encryption,
|
|
2114
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2115
|
-
ErrorDetail: ErrorDetail,
|
|
2116
|
-
ErrorResponse: ErrorResponse,
|
|
2117
|
-
Identity: Identity,
|
|
2118
|
-
IpRule: IpRule,
|
|
2119
|
-
KeyVaultProperties: KeyVaultProperties,
|
|
2120
|
-
MetricName: MetricName,
|
|
2121
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
2122
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
2123
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2124
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
2125
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
2126
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
2127
|
-
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
2128
|
-
ProxyResource: ProxyResource,
|
|
2129
|
-
QuotaLimit: QuotaLimit,
|
|
2130
|
-
RegenerateKeyParameters: RegenerateKeyParameters,
|
|
2131
|
-
RequestMatchPattern: RequestMatchPattern,
|
|
2132
|
-
Resource: Resource,
|
|
2133
|
-
Sku: Sku,
|
|
2134
|
-
SkuCapability: SkuCapability,
|
|
2135
|
-
SkuChangeInfo: SkuChangeInfo,
|
|
2136
|
-
SystemData: SystemData,
|
|
2137
|
-
ThrottlingRule: ThrottlingRule,
|
|
2138
|
-
TrackedResource: TrackedResource,
|
|
2139
|
-
Usage: Usage,
|
|
2140
|
-
UsageListResult: UsageListResult,
|
|
2141
|
-
UserAssignedIdentity: UserAssignedIdentity,
|
|
2142
|
-
UserOwnedStorage: UserOwnedStorage,
|
|
2143
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
2144
|
-
});
|
|
2145
|
-
|
|
2146
|
-
/*
|
|
2147
|
-
* Copyright (c) Microsoft Corporation.
|
|
2148
|
-
* Licensed under the MIT License.
|
|
2149
|
-
*
|
|
2150
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2151
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2152
|
-
* regenerated.
|
|
2153
|
-
*/
|
|
2154
|
-
/** Class representing a Accounts. */
|
|
2155
|
-
var Accounts = /** @class */ (function () {
|
|
2156
|
-
/**
|
|
2157
|
-
* Create a Accounts.
|
|
2158
|
-
* @param {CognitiveServicesManagementClientContext} client Reference to the service client.
|
|
2159
|
-
*/
|
|
2160
|
-
function Accounts(client) {
|
|
2161
|
-
this.client = client;
|
|
2162
|
-
}
|
|
2163
|
-
/**
|
|
2164
|
-
* Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the
|
|
2165
|
-
* keys for developer to access intelligent APIs. It's also the resource type for billing.
|
|
2166
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2167
|
-
* @param accountName The name of Cognitive Services account.
|
|
2168
|
-
* @param account The parameters to provide for the created account.
|
|
2169
|
-
* @param [options] The optional parameters
|
|
2170
|
-
* @returns Promise<Models.AccountsCreateResponse>
|
|
2171
|
-
*/
|
|
2172
|
-
Accounts.prototype.create = function (resourceGroupName, accountName, account, options) {
|
|
2173
|
-
return this.beginCreate(resourceGroupName, accountName, account, options).then(function (lroPoller) {
|
|
2174
|
-
return lroPoller.pollUntilFinished();
|
|
2175
|
-
});
|
|
2176
|
-
};
|
|
2177
|
-
/**
|
|
2178
|
-
* Updates a Cognitive Services account
|
|
2179
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2180
|
-
* @param accountName The name of Cognitive Services account.
|
|
2181
|
-
* @param account The parameters to provide for the created account.
|
|
2182
|
-
* @param [options] The optional parameters
|
|
2183
|
-
* @returns Promise<Models.AccountsUpdateResponse>
|
|
2184
|
-
*/
|
|
2185
|
-
Accounts.prototype.update = function (resourceGroupName, accountName, account, options) {
|
|
2186
|
-
return this.beginUpdate(resourceGroupName, accountName, account, options).then(function (lroPoller) {
|
|
2187
|
-
return lroPoller.pollUntilFinished();
|
|
2188
|
-
});
|
|
2189
|
-
};
|
|
2190
|
-
/**
|
|
2191
|
-
* Deletes a Cognitive Services account from the resource group.
|
|
2192
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2193
|
-
* @param accountName The name of Cognitive Services account.
|
|
2194
|
-
* @param [options] The optional parameters
|
|
2195
|
-
* @returns Promise<msRest.RestResponse>
|
|
2196
|
-
*/
|
|
2197
|
-
Accounts.prototype.deleteMethod = function (resourceGroupName, accountName, options) {
|
|
2198
|
-
return this.beginDeleteMethod(resourceGroupName, accountName, options).then(function (lroPoller) {
|
|
2199
|
-
return lroPoller.pollUntilFinished();
|
|
2200
|
-
});
|
|
2201
|
-
};
|
|
2202
|
-
Accounts.prototype.get = function (resourceGroupName, accountName, options, callback) {
|
|
2203
|
-
return this.client.sendOperationRequest({
|
|
2204
|
-
resourceGroupName: resourceGroupName,
|
|
2205
|
-
accountName: accountName,
|
|
2206
|
-
options: options
|
|
2207
|
-
}, getOperationSpec, callback);
|
|
2208
|
-
};
|
|
2209
|
-
Accounts.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
2210
|
-
return this.client.sendOperationRequest({
|
|
2211
|
-
resourceGroupName: resourceGroupName,
|
|
2212
|
-
options: options
|
|
2213
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
2214
|
-
};
|
|
2215
|
-
Accounts.prototype.list = function (options, callback) {
|
|
2216
|
-
return this.client.sendOperationRequest({
|
|
2217
|
-
options: options
|
|
2218
|
-
}, listOperationSpec, callback);
|
|
2219
|
-
};
|
|
2220
|
-
Accounts.prototype.listKeys = function (resourceGroupName, accountName, options, callback) {
|
|
2221
|
-
return this.client.sendOperationRequest({
|
|
2222
|
-
resourceGroupName: resourceGroupName,
|
|
2223
|
-
accountName: accountName,
|
|
2224
|
-
options: options
|
|
2225
|
-
}, listKeysOperationSpec, callback);
|
|
2226
|
-
};
|
|
2227
|
-
Accounts.prototype.regenerateKey = function (resourceGroupName, accountName, keyName, options, callback) {
|
|
2228
|
-
return this.client.sendOperationRequest({
|
|
2229
|
-
resourceGroupName: resourceGroupName,
|
|
2230
|
-
accountName: accountName,
|
|
2231
|
-
keyName: keyName,
|
|
2232
|
-
options: options
|
|
2233
|
-
}, regenerateKeyOperationSpec, callback);
|
|
2234
|
-
};
|
|
2235
|
-
Accounts.prototype.listSkus = function (resourceGroupName, accountName, options, callback) {
|
|
2236
|
-
return this.client.sendOperationRequest({
|
|
2237
|
-
resourceGroupName: resourceGroupName,
|
|
2238
|
-
accountName: accountName,
|
|
2239
|
-
options: options
|
|
2240
|
-
}, listSkusOperationSpec, callback);
|
|
2241
|
-
};
|
|
2242
|
-
Accounts.prototype.listUsages = function (resourceGroupName, accountName, options, callback) {
|
|
2243
|
-
return this.client.sendOperationRequest({
|
|
2244
|
-
resourceGroupName: resourceGroupName,
|
|
2245
|
-
accountName: accountName,
|
|
2246
|
-
options: options
|
|
2247
|
-
}, listUsagesOperationSpec, callback);
|
|
2248
|
-
};
|
|
2249
|
-
/**
|
|
2250
|
-
* Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the
|
|
2251
|
-
* keys for developer to access intelligent APIs. It's also the resource type for billing.
|
|
2252
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2253
|
-
* @param accountName The name of Cognitive Services account.
|
|
2254
|
-
* @param account The parameters to provide for the created account.
|
|
2255
|
-
* @param [options] The optional parameters
|
|
2256
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2257
|
-
*/
|
|
2258
|
-
Accounts.prototype.beginCreate = function (resourceGroupName, accountName, account, options) {
|
|
2259
|
-
return this.client.sendLRORequest({
|
|
2260
|
-
resourceGroupName: resourceGroupName,
|
|
2261
|
-
accountName: accountName,
|
|
2262
|
-
account: account,
|
|
2263
|
-
options: options
|
|
2264
|
-
}, beginCreateOperationSpec, options);
|
|
2265
|
-
};
|
|
2266
|
-
/**
|
|
2267
|
-
* Updates a Cognitive Services account
|
|
2268
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2269
|
-
* @param accountName The name of Cognitive Services account.
|
|
2270
|
-
* @param account The parameters to provide for the created account.
|
|
2271
|
-
* @param [options] The optional parameters
|
|
2272
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2273
|
-
*/
|
|
2274
|
-
Accounts.prototype.beginUpdate = function (resourceGroupName, accountName, account, options) {
|
|
2275
|
-
return this.client.sendLRORequest({
|
|
2276
|
-
resourceGroupName: resourceGroupName,
|
|
2277
|
-
accountName: accountName,
|
|
2278
|
-
account: account,
|
|
2279
|
-
options: options
|
|
2280
|
-
}, beginUpdateOperationSpec, options);
|
|
2281
|
-
};
|
|
2282
|
-
/**
|
|
2283
|
-
* Deletes a Cognitive Services account from the resource group.
|
|
2284
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2285
|
-
* @param accountName The name of Cognitive Services account.
|
|
2286
|
-
* @param [options] The optional parameters
|
|
2287
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2288
|
-
*/
|
|
2289
|
-
Accounts.prototype.beginDeleteMethod = function (resourceGroupName, accountName, options) {
|
|
2290
|
-
return this.client.sendLRORequest({
|
|
2291
|
-
resourceGroupName: resourceGroupName,
|
|
2292
|
-
accountName: accountName,
|
|
2293
|
-
options: options
|
|
2294
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
2295
|
-
};
|
|
2296
|
-
Accounts.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
2297
|
-
return this.client.sendOperationRequest({
|
|
2298
|
-
nextPageLink: nextPageLink,
|
|
2299
|
-
options: options
|
|
2300
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
2301
|
-
};
|
|
2302
|
-
Accounts.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2303
|
-
return this.client.sendOperationRequest({
|
|
2304
|
-
nextPageLink: nextPageLink,
|
|
2305
|
-
options: options
|
|
2306
|
-
}, listNextOperationSpec, callback);
|
|
2307
|
-
};
|
|
2308
|
-
return Accounts;
|
|
2309
|
-
}());
|
|
2310
|
-
// Operation Specifications
|
|
2311
|
-
var serializer = new msRest.Serializer(Mappers$1);
|
|
2312
|
-
var getOperationSpec = {
|
|
2313
|
-
httpMethod: "GET",
|
|
2314
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}",
|
|
2315
|
-
urlParameters: [resourceGroupName, accountName, subscriptionId],
|
|
2316
|
-
queryParameters: [apiVersion],
|
|
2317
|
-
headerParameters: [acceptLanguage],
|
|
2318
|
-
responses: {
|
|
2319
|
-
200: {
|
|
2320
|
-
bodyMapper: Account
|
|
2321
|
-
},
|
|
2322
|
-
default: {
|
|
2323
|
-
bodyMapper: ErrorResponse
|
|
2324
|
-
}
|
|
2325
|
-
},
|
|
2326
|
-
serializer: serializer
|
|
2327
|
-
};
|
|
2328
|
-
var listByResourceGroupOperationSpec = {
|
|
2329
|
-
httpMethod: "GET",
|
|
2330
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts",
|
|
2331
|
-
urlParameters: [resourceGroupName, subscriptionId],
|
|
2332
|
-
queryParameters: [apiVersion],
|
|
2333
|
-
headerParameters: [acceptLanguage],
|
|
2334
|
-
responses: {
|
|
2335
|
-
200: {
|
|
2336
|
-
bodyMapper: AccountListResult
|
|
2337
|
-
},
|
|
2338
|
-
default: {
|
|
2339
|
-
bodyMapper: ErrorResponse
|
|
2340
|
-
}
|
|
2341
|
-
},
|
|
2342
|
-
serializer: serializer
|
|
2343
|
-
};
|
|
2344
|
-
var listOperationSpec = {
|
|
2345
|
-
httpMethod: "GET",
|
|
2346
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/accounts",
|
|
2347
|
-
urlParameters: [subscriptionId],
|
|
2348
|
-
queryParameters: [apiVersion],
|
|
2349
|
-
headerParameters: [acceptLanguage],
|
|
2350
|
-
responses: {
|
|
2351
|
-
200: {
|
|
2352
|
-
bodyMapper: AccountListResult
|
|
2353
|
-
},
|
|
2354
|
-
default: {
|
|
2355
|
-
bodyMapper: ErrorResponse
|
|
2356
|
-
}
|
|
2357
|
-
},
|
|
2358
|
-
serializer: serializer
|
|
2359
|
-
};
|
|
2360
|
-
var listKeysOperationSpec = {
|
|
2361
|
-
httpMethod: "POST",
|
|
2362
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/listKeys",
|
|
2363
|
-
urlParameters: [resourceGroupName, accountName, subscriptionId],
|
|
2364
|
-
queryParameters: [apiVersion],
|
|
2365
|
-
headerParameters: [acceptLanguage],
|
|
2366
|
-
responses: {
|
|
2367
|
-
200: {
|
|
2368
|
-
bodyMapper: ApiKeys
|
|
2369
|
-
},
|
|
2370
|
-
default: {
|
|
2371
|
-
bodyMapper: ErrorResponse
|
|
2372
|
-
}
|
|
2373
|
-
},
|
|
2374
|
-
serializer: serializer
|
|
2375
|
-
};
|
|
2376
|
-
var regenerateKeyOperationSpec = {
|
|
2377
|
-
httpMethod: "POST",
|
|
2378
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/regenerateKey",
|
|
2379
|
-
urlParameters: [resourceGroupName, accountName, subscriptionId],
|
|
2380
|
-
queryParameters: [apiVersion],
|
|
2381
|
-
headerParameters: [acceptLanguage],
|
|
2382
|
-
requestBody: {
|
|
2383
|
-
parameterPath: {
|
|
2384
|
-
keyName: "keyName"
|
|
2385
|
-
},
|
|
2386
|
-
mapper: __assign(__assign({}, RegenerateKeyParameters), { required: true })
|
|
2387
|
-
},
|
|
2388
|
-
responses: {
|
|
2389
|
-
200: {
|
|
2390
|
-
bodyMapper: ApiKeys
|
|
2391
|
-
},
|
|
2392
|
-
default: {
|
|
2393
|
-
bodyMapper: ErrorResponse
|
|
2394
|
-
}
|
|
2395
|
-
},
|
|
2396
|
-
serializer: serializer
|
|
2397
|
-
};
|
|
2398
|
-
var listSkusOperationSpec = {
|
|
2399
|
-
httpMethod: "GET",
|
|
2400
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/skus",
|
|
2401
|
-
urlParameters: [resourceGroupName, accountName, subscriptionId],
|
|
2402
|
-
queryParameters: [apiVersion],
|
|
2403
|
-
headerParameters: [acceptLanguage],
|
|
2404
|
-
responses: {
|
|
2405
|
-
200: {
|
|
2406
|
-
bodyMapper: AccountSkuListResult
|
|
2407
|
-
},
|
|
2408
|
-
default: {
|
|
2409
|
-
bodyMapper: ErrorResponse
|
|
2410
|
-
}
|
|
2411
|
-
},
|
|
2412
|
-
serializer: serializer
|
|
2413
|
-
};
|
|
2414
|
-
var listUsagesOperationSpec = {
|
|
2415
|
-
httpMethod: "GET",
|
|
2416
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/usages",
|
|
2417
|
-
urlParameters: [resourceGroupName, accountName, subscriptionId],
|
|
2418
|
-
queryParameters: [apiVersion, filter],
|
|
2419
|
-
headerParameters: [acceptLanguage],
|
|
2420
|
-
responses: {
|
|
2421
|
-
200: {
|
|
2422
|
-
bodyMapper: UsageListResult
|
|
2423
|
-
},
|
|
2424
|
-
default: {
|
|
2425
|
-
bodyMapper: ErrorResponse
|
|
2426
|
-
}
|
|
2427
|
-
},
|
|
2428
|
-
serializer: serializer
|
|
2429
|
-
};
|
|
2430
|
-
var beginCreateOperationSpec = {
|
|
2431
|
-
httpMethod: "PUT",
|
|
2432
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}",
|
|
2433
|
-
urlParameters: [resourceGroupName, accountName, subscriptionId],
|
|
2434
|
-
queryParameters: [apiVersion],
|
|
2435
|
-
headerParameters: [acceptLanguage],
|
|
2436
|
-
requestBody: {
|
|
2437
|
-
parameterPath: "account",
|
|
2438
|
-
mapper: __assign(__assign({}, Account), { required: true })
|
|
2439
|
-
},
|
|
2440
|
-
responses: {
|
|
2441
|
-
200: {
|
|
2442
|
-
bodyMapper: Account
|
|
2443
|
-
},
|
|
2444
|
-
201: {
|
|
2445
|
-
bodyMapper: Account
|
|
2446
|
-
},
|
|
2447
|
-
202: {
|
|
2448
|
-
bodyMapper: Account
|
|
2449
|
-
},
|
|
2450
|
-
default: {
|
|
2451
|
-
bodyMapper: ErrorResponse
|
|
2452
|
-
}
|
|
2453
|
-
},
|
|
2454
|
-
serializer: serializer
|
|
2455
|
-
};
|
|
2456
|
-
var beginUpdateOperationSpec = {
|
|
2457
|
-
httpMethod: "PATCH",
|
|
2458
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}",
|
|
2459
|
-
urlParameters: [resourceGroupName, accountName, subscriptionId],
|
|
2460
|
-
queryParameters: [apiVersion],
|
|
2461
|
-
headerParameters: [acceptLanguage],
|
|
2462
|
-
requestBody: {
|
|
2463
|
-
parameterPath: "account",
|
|
2464
|
-
mapper: __assign(__assign({}, Account), { required: true })
|
|
2465
|
-
},
|
|
2466
|
-
responses: {
|
|
2467
|
-
200: {
|
|
2468
|
-
bodyMapper: Account
|
|
2469
|
-
},
|
|
2470
|
-
202: {
|
|
2471
|
-
bodyMapper: Account
|
|
2472
|
-
},
|
|
2473
|
-
default: {
|
|
2474
|
-
bodyMapper: ErrorResponse
|
|
2475
|
-
}
|
|
2476
|
-
},
|
|
2477
|
-
serializer: serializer
|
|
2478
|
-
};
|
|
2479
|
-
var beginDeleteMethodOperationSpec = {
|
|
2480
|
-
httpMethod: "DELETE",
|
|
2481
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}",
|
|
2482
|
-
urlParameters: [resourceGroupName, accountName, subscriptionId],
|
|
2483
|
-
queryParameters: [apiVersion],
|
|
2484
|
-
headerParameters: [acceptLanguage],
|
|
2485
|
-
responses: {
|
|
2486
|
-
200: {},
|
|
2487
|
-
202: {},
|
|
2488
|
-
204: {},
|
|
2489
|
-
default: {
|
|
2490
|
-
bodyMapper: ErrorResponse
|
|
2491
|
-
}
|
|
2492
|
-
},
|
|
2493
|
-
serializer: serializer
|
|
2494
|
-
};
|
|
2495
|
-
var listByResourceGroupNextOperationSpec = {
|
|
2496
|
-
httpMethod: "GET",
|
|
2497
|
-
baseUrl: "https://management.azure.com",
|
|
2498
|
-
path: "{nextLink}",
|
|
2499
|
-
urlParameters: [nextPageLink],
|
|
2500
|
-
queryParameters: [apiVersion],
|
|
2501
|
-
headerParameters: [acceptLanguage],
|
|
2502
|
-
responses: {
|
|
2503
|
-
200: {
|
|
2504
|
-
bodyMapper: AccountListResult
|
|
2505
|
-
},
|
|
2506
|
-
default: {
|
|
2507
|
-
bodyMapper: ErrorResponse
|
|
2508
|
-
}
|
|
2509
|
-
},
|
|
2510
|
-
serializer: serializer
|
|
2511
|
-
};
|
|
2512
|
-
var listNextOperationSpec = {
|
|
2513
|
-
httpMethod: "GET",
|
|
2514
|
-
baseUrl: "https://management.azure.com",
|
|
2515
|
-
path: "{nextLink}",
|
|
2516
|
-
urlParameters: [nextPageLink],
|
|
2517
|
-
queryParameters: [apiVersion],
|
|
2518
|
-
headerParameters: [acceptLanguage],
|
|
2519
|
-
responses: {
|
|
2520
|
-
200: {
|
|
2521
|
-
bodyMapper: AccountListResult
|
|
2522
|
-
},
|
|
2523
|
-
default: {
|
|
2524
|
-
bodyMapper: ErrorResponse
|
|
2525
|
-
}
|
|
2526
|
-
},
|
|
2527
|
-
serializer: serializer
|
|
2528
|
-
};
|
|
2529
|
-
|
|
2530
|
-
/*
|
|
2531
|
-
* Copyright (c) Microsoft Corporation.
|
|
2532
|
-
* Licensed under the MIT License.
|
|
2533
|
-
*
|
|
2534
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2535
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2536
|
-
*/
|
|
2537
|
-
|
|
2538
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
2539
|
-
__proto__: null,
|
|
2540
|
-
Account: Account,
|
|
2541
|
-
AccountListResult: AccountListResult,
|
|
2542
|
-
AccountProperties: AccountProperties,
|
|
2543
|
-
ApiProperties: ApiProperties,
|
|
2544
|
-
AzureEntityResource: AzureEntityResource,
|
|
2545
|
-
BaseResource: BaseResource,
|
|
2546
|
-
CallRateLimit: CallRateLimit,
|
|
2547
|
-
Encryption: Encryption,
|
|
2548
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2549
|
-
ErrorDetail: ErrorDetail,
|
|
2550
|
-
ErrorResponse: ErrorResponse,
|
|
2551
|
-
Identity: Identity,
|
|
2552
|
-
IpRule: IpRule,
|
|
2553
|
-
KeyVaultProperties: KeyVaultProperties,
|
|
2554
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
2555
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
2556
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2557
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
2558
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
2559
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
2560
|
-
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
2561
|
-
ProxyResource: ProxyResource,
|
|
2562
|
-
QuotaLimit: QuotaLimit,
|
|
2563
|
-
RequestMatchPattern: RequestMatchPattern,
|
|
2564
|
-
Resource: Resource,
|
|
2565
|
-
Sku: Sku,
|
|
2566
|
-
SkuCapability: SkuCapability,
|
|
2567
|
-
SkuChangeInfo: SkuChangeInfo,
|
|
2568
|
-
SystemData: SystemData,
|
|
2569
|
-
ThrottlingRule: ThrottlingRule,
|
|
2570
|
-
TrackedResource: TrackedResource,
|
|
2571
|
-
UserAssignedIdentity: UserAssignedIdentity,
|
|
2572
|
-
UserOwnedStorage: UserOwnedStorage,
|
|
2573
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
2574
|
-
});
|
|
2575
|
-
|
|
2576
|
-
/*
|
|
2577
|
-
* Copyright (c) Microsoft Corporation.
|
|
2578
|
-
* Licensed under the MIT License.
|
|
2579
|
-
*
|
|
2580
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2581
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2582
|
-
* regenerated.
|
|
2583
|
-
*/
|
|
2584
|
-
/** Class representing a DeletedAccounts. */
|
|
2585
|
-
var DeletedAccounts = /** @class */ (function () {
|
|
2586
|
-
/**
|
|
2587
|
-
* Create a DeletedAccounts.
|
|
2588
|
-
* @param {CognitiveServicesManagementClientContext} client Reference to the service client.
|
|
2589
|
-
*/
|
|
2590
|
-
function DeletedAccounts(client) {
|
|
2591
|
-
this.client = client;
|
|
2592
|
-
}
|
|
2593
|
-
DeletedAccounts.prototype.get = function (location, resourceGroupName, accountName, options, callback) {
|
|
2594
|
-
return this.client.sendOperationRequest({
|
|
2595
|
-
location: location,
|
|
2596
|
-
resourceGroupName: resourceGroupName,
|
|
2597
|
-
accountName: accountName,
|
|
2598
|
-
options: options
|
|
2599
|
-
}, getOperationSpec$1, callback);
|
|
2600
|
-
};
|
|
2601
|
-
/**
|
|
2602
|
-
* Deletes a Cognitive Services account from the resource group.
|
|
2603
|
-
* @param location Resource location.
|
|
2604
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2605
|
-
* @param accountName The name of Cognitive Services account.
|
|
2606
|
-
* @param [options] The optional parameters
|
|
2607
|
-
* @returns Promise<msRest.RestResponse>
|
|
2608
|
-
*/
|
|
2609
|
-
DeletedAccounts.prototype.purge = function (location, resourceGroupName, accountName, options) {
|
|
2610
|
-
return this.beginPurge(location, resourceGroupName, accountName, options).then(function (lroPoller) {
|
|
2611
|
-
return lroPoller.pollUntilFinished();
|
|
2612
|
-
});
|
|
2613
|
-
};
|
|
2614
|
-
DeletedAccounts.prototype.list = function (options, callback) {
|
|
2615
|
-
return this.client.sendOperationRequest({
|
|
2616
|
-
options: options
|
|
2617
|
-
}, listOperationSpec$1, callback);
|
|
2618
|
-
};
|
|
2619
|
-
/**
|
|
2620
|
-
* Deletes a Cognitive Services account from the resource group.
|
|
2621
|
-
* @param location Resource location.
|
|
2622
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2623
|
-
* @param accountName The name of Cognitive Services account.
|
|
2624
|
-
* @param [options] The optional parameters
|
|
2625
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2626
|
-
*/
|
|
2627
|
-
DeletedAccounts.prototype.beginPurge = function (location, resourceGroupName, accountName, options) {
|
|
2628
|
-
return this.client.sendLRORequest({
|
|
2629
|
-
location: location,
|
|
2630
|
-
resourceGroupName: resourceGroupName,
|
|
2631
|
-
accountName: accountName,
|
|
2632
|
-
options: options
|
|
2633
|
-
}, beginPurgeOperationSpec, options);
|
|
2634
|
-
};
|
|
2635
|
-
DeletedAccounts.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2636
|
-
return this.client.sendOperationRequest({
|
|
2637
|
-
nextPageLink: nextPageLink,
|
|
2638
|
-
options: options
|
|
2639
|
-
}, listNextOperationSpec$1, callback);
|
|
2640
|
-
};
|
|
2641
|
-
return DeletedAccounts;
|
|
2642
|
-
}());
|
|
2643
|
-
// Operation Specifications
|
|
2644
|
-
var serializer$1 = new msRest.Serializer(Mappers$2);
|
|
2645
|
-
var getOperationSpec$1 = {
|
|
2646
|
-
httpMethod: "GET",
|
|
2647
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}",
|
|
2648
|
-
urlParameters: [
|
|
2649
|
-
location,
|
|
2650
|
-
resourceGroupName,
|
|
2651
|
-
accountName,
|
|
2652
|
-
subscriptionId
|
|
2653
|
-
],
|
|
2654
|
-
queryParameters: [apiVersion],
|
|
2655
|
-
headerParameters: [acceptLanguage],
|
|
2656
|
-
responses: {
|
|
2657
|
-
200: {
|
|
2658
|
-
bodyMapper: Account
|
|
2659
|
-
},
|
|
2660
|
-
default: {
|
|
2661
|
-
bodyMapper: ErrorResponse
|
|
2662
|
-
}
|
|
2663
|
-
},
|
|
2664
|
-
serializer: serializer$1
|
|
2665
|
-
};
|
|
2666
|
-
var listOperationSpec$1 = {
|
|
2667
|
-
httpMethod: "GET",
|
|
2668
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts",
|
|
2669
|
-
urlParameters: [subscriptionId],
|
|
2670
|
-
queryParameters: [apiVersion],
|
|
2671
|
-
headerParameters: [acceptLanguage],
|
|
2672
|
-
responses: {
|
|
2673
|
-
200: {
|
|
2674
|
-
bodyMapper: AccountListResult
|
|
2675
|
-
},
|
|
2676
|
-
default: {
|
|
2677
|
-
bodyMapper: ErrorResponse
|
|
2678
|
-
}
|
|
2679
|
-
},
|
|
2680
|
-
serializer: serializer$1
|
|
2681
|
-
};
|
|
2682
|
-
var beginPurgeOperationSpec = {
|
|
2683
|
-
httpMethod: "DELETE",
|
|
2684
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}",
|
|
2685
|
-
urlParameters: [
|
|
2686
|
-
location,
|
|
2687
|
-
resourceGroupName,
|
|
2688
|
-
accountName,
|
|
2689
|
-
subscriptionId
|
|
2690
|
-
],
|
|
2691
|
-
queryParameters: [apiVersion],
|
|
2692
|
-
headerParameters: [acceptLanguage],
|
|
2693
|
-
responses: {
|
|
2694
|
-
200: {},
|
|
2695
|
-
202: {},
|
|
2696
|
-
204: {},
|
|
2697
|
-
default: {
|
|
2698
|
-
bodyMapper: ErrorResponse
|
|
2699
|
-
}
|
|
2700
|
-
},
|
|
2701
|
-
serializer: serializer$1
|
|
2702
|
-
};
|
|
2703
|
-
var listNextOperationSpec$1 = {
|
|
2704
|
-
httpMethod: "GET",
|
|
2705
|
-
baseUrl: "https://management.azure.com",
|
|
2706
|
-
path: "{nextLink}",
|
|
2707
|
-
urlParameters: [nextPageLink],
|
|
2708
|
-
queryParameters: [apiVersion],
|
|
2709
|
-
headerParameters: [acceptLanguage],
|
|
2710
|
-
responses: {
|
|
2711
|
-
200: {
|
|
2712
|
-
bodyMapper: AccountListResult
|
|
2713
|
-
},
|
|
2714
|
-
default: {
|
|
2715
|
-
bodyMapper: ErrorResponse
|
|
2716
|
-
}
|
|
2717
|
-
},
|
|
2718
|
-
serializer: serializer$1
|
|
2719
|
-
};
|
|
2720
|
-
|
|
2721
|
-
/*
|
|
2722
|
-
* Copyright (c) Microsoft Corporation.
|
|
2723
|
-
* Licensed under the MIT License.
|
|
2724
|
-
*
|
|
2725
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2726
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2727
|
-
*/
|
|
2728
|
-
|
|
2729
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
2730
|
-
__proto__: null,
|
|
2731
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2732
|
-
ErrorDetail: ErrorDetail,
|
|
2733
|
-
ErrorResponse: ErrorResponse,
|
|
2734
|
-
ResourceSku: ResourceSku,
|
|
2735
|
-
ResourceSkuListResult: ResourceSkuListResult,
|
|
2736
|
-
ResourceSkuRestrictionInfo: ResourceSkuRestrictionInfo,
|
|
2737
|
-
ResourceSkuRestrictions: ResourceSkuRestrictions
|
|
2738
|
-
});
|
|
2739
|
-
|
|
2740
|
-
/*
|
|
2741
|
-
* Copyright (c) Microsoft Corporation.
|
|
2742
|
-
* Licensed under the MIT License.
|
|
2743
|
-
*
|
|
2744
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2745
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2746
|
-
* regenerated.
|
|
2747
|
-
*/
|
|
2748
|
-
/** Class representing a ResourceSkus. */
|
|
2749
|
-
var ResourceSkus = /** @class */ (function () {
|
|
2750
|
-
/**
|
|
2751
|
-
* Create a ResourceSkus.
|
|
2752
|
-
* @param {CognitiveServicesManagementClientContext} client Reference to the service client.
|
|
2753
|
-
*/
|
|
2754
|
-
function ResourceSkus(client) {
|
|
2755
|
-
this.client = client;
|
|
2756
|
-
}
|
|
2757
|
-
ResourceSkus.prototype.list = function (options, callback) {
|
|
2758
|
-
return this.client.sendOperationRequest({
|
|
2759
|
-
options: options
|
|
2760
|
-
}, listOperationSpec$2, callback);
|
|
2761
|
-
};
|
|
2762
|
-
ResourceSkus.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2763
|
-
return this.client.sendOperationRequest({
|
|
2764
|
-
nextPageLink: nextPageLink,
|
|
2765
|
-
options: options
|
|
2766
|
-
}, listNextOperationSpec$2, callback);
|
|
2767
|
-
};
|
|
2768
|
-
return ResourceSkus;
|
|
2769
|
-
}());
|
|
2770
|
-
// Operation Specifications
|
|
2771
|
-
var serializer$2 = new msRest.Serializer(Mappers$3);
|
|
2772
|
-
var listOperationSpec$2 = {
|
|
2773
|
-
httpMethod: "GET",
|
|
2774
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/skus",
|
|
2775
|
-
urlParameters: [subscriptionId],
|
|
2776
|
-
queryParameters: [apiVersion],
|
|
2777
|
-
headerParameters: [acceptLanguage],
|
|
2778
|
-
responses: {
|
|
2779
|
-
200: {
|
|
2780
|
-
bodyMapper: ResourceSkuListResult
|
|
2781
|
-
},
|
|
2782
|
-
default: {
|
|
2783
|
-
bodyMapper: ErrorResponse
|
|
2784
|
-
}
|
|
2785
|
-
},
|
|
2786
|
-
serializer: serializer$2
|
|
2787
|
-
};
|
|
2788
|
-
var listNextOperationSpec$2 = {
|
|
2789
|
-
httpMethod: "GET",
|
|
2790
|
-
baseUrl: "https://management.azure.com",
|
|
2791
|
-
path: "{nextLink}",
|
|
2792
|
-
urlParameters: [nextPageLink],
|
|
2793
|
-
queryParameters: [apiVersion],
|
|
2794
|
-
headerParameters: [acceptLanguage],
|
|
2795
|
-
responses: {
|
|
2796
|
-
200: {
|
|
2797
|
-
bodyMapper: ResourceSkuListResult
|
|
2798
|
-
},
|
|
2799
|
-
default: {
|
|
2800
|
-
bodyMapper: ErrorResponse
|
|
2801
|
-
}
|
|
2802
|
-
},
|
|
2803
|
-
serializer: serializer$2
|
|
2804
|
-
};
|
|
2805
|
-
|
|
2806
|
-
/*
|
|
2807
|
-
* Copyright (c) Microsoft Corporation.
|
|
2808
|
-
* Licensed under the MIT License.
|
|
2809
|
-
*
|
|
2810
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2811
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2812
|
-
*/
|
|
2813
|
-
|
|
2814
|
-
var Mappers$4 = /*#__PURE__*/Object.freeze({
|
|
2815
|
-
__proto__: null,
|
|
2816
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2817
|
-
ErrorDetail: ErrorDetail,
|
|
2818
|
-
ErrorResponse: ErrorResponse,
|
|
2819
|
-
Operation: Operation,
|
|
2820
|
-
OperationDisplay: OperationDisplay,
|
|
2821
|
-
OperationListResult: OperationListResult
|
|
2822
|
-
});
|
|
2823
|
-
|
|
2824
|
-
/*
|
|
2825
|
-
* Copyright (c) Microsoft Corporation.
|
|
2826
|
-
* Licensed under the MIT License.
|
|
2827
|
-
*
|
|
2828
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2829
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2830
|
-
* regenerated.
|
|
2831
|
-
*/
|
|
2832
|
-
/** Class representing a Operations. */
|
|
2833
|
-
var Operations = /** @class */ (function () {
|
|
2834
|
-
/**
|
|
2835
|
-
* Create a Operations.
|
|
2836
|
-
* @param {CognitiveServicesManagementClientContext} client Reference to the service client.
|
|
2837
|
-
*/
|
|
2838
|
-
function Operations(client) {
|
|
2839
|
-
this.client = client;
|
|
2840
|
-
}
|
|
2841
|
-
Operations.prototype.list = function (options, callback) {
|
|
2842
|
-
return this.client.sendOperationRequest({
|
|
2843
|
-
options: options
|
|
2844
|
-
}, listOperationSpec$3, callback);
|
|
2845
|
-
};
|
|
2846
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2847
|
-
return this.client.sendOperationRequest({
|
|
2848
|
-
nextPageLink: nextPageLink,
|
|
2849
|
-
options: options
|
|
2850
|
-
}, listNextOperationSpec$3, callback);
|
|
2851
|
-
};
|
|
2852
|
-
return Operations;
|
|
2853
|
-
}());
|
|
2854
|
-
// Operation Specifications
|
|
2855
|
-
var serializer$3 = new msRest.Serializer(Mappers$4);
|
|
2856
|
-
var listOperationSpec$3 = {
|
|
2857
|
-
httpMethod: "GET",
|
|
2858
|
-
path: "providers/Microsoft.CognitiveServices/operations",
|
|
2859
|
-
queryParameters: [apiVersion],
|
|
2860
|
-
headerParameters: [acceptLanguage],
|
|
2861
|
-
responses: {
|
|
2862
|
-
200: {
|
|
2863
|
-
bodyMapper: OperationListResult
|
|
2864
|
-
},
|
|
2865
|
-
default: {
|
|
2866
|
-
bodyMapper: ErrorResponse
|
|
2867
|
-
}
|
|
2868
|
-
},
|
|
2869
|
-
serializer: serializer$3
|
|
2870
|
-
};
|
|
2871
|
-
var listNextOperationSpec$3 = {
|
|
2872
|
-
httpMethod: "GET",
|
|
2873
|
-
baseUrl: "https://management.azure.com",
|
|
2874
|
-
path: "{nextLink}",
|
|
2875
|
-
urlParameters: [nextPageLink],
|
|
2876
|
-
queryParameters: [apiVersion],
|
|
2877
|
-
headerParameters: [acceptLanguage],
|
|
2878
|
-
responses: {
|
|
2879
|
-
200: {
|
|
2880
|
-
bodyMapper: OperationListResult
|
|
2881
|
-
},
|
|
2882
|
-
default: {
|
|
2883
|
-
bodyMapper: ErrorResponse
|
|
2884
|
-
}
|
|
2885
|
-
},
|
|
2886
|
-
serializer: serializer$3
|
|
2887
|
-
};
|
|
2888
|
-
|
|
2889
|
-
/*
|
|
2890
|
-
* Copyright (c) Microsoft Corporation.
|
|
2891
|
-
* Licensed under the MIT License.
|
|
2892
|
-
*
|
|
2893
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2894
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2895
|
-
*/
|
|
2896
|
-
|
|
2897
|
-
var Mappers$5 = /*#__PURE__*/Object.freeze({
|
|
2898
|
-
__proto__: null,
|
|
2899
|
-
Account: Account,
|
|
2900
|
-
AccountProperties: AccountProperties,
|
|
2901
|
-
ApiProperties: ApiProperties,
|
|
2902
|
-
AzureEntityResource: AzureEntityResource,
|
|
2903
|
-
BaseResource: BaseResource,
|
|
2904
|
-
CallRateLimit: CallRateLimit,
|
|
2905
|
-
Encryption: Encryption,
|
|
2906
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2907
|
-
ErrorDetail: ErrorDetail,
|
|
2908
|
-
ErrorResponse: ErrorResponse,
|
|
2909
|
-
Identity: Identity,
|
|
2910
|
-
IpRule: IpRule,
|
|
2911
|
-
KeyVaultProperties: KeyVaultProperties,
|
|
2912
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
2913
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
2914
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2915
|
-
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
2916
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
2917
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
2918
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
2919
|
-
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
2920
|
-
ProxyResource: ProxyResource,
|
|
2921
|
-
QuotaLimit: QuotaLimit,
|
|
2922
|
-
RequestMatchPattern: RequestMatchPattern,
|
|
2923
|
-
Resource: Resource,
|
|
2924
|
-
Sku: Sku,
|
|
2925
|
-
SkuCapability: SkuCapability,
|
|
2926
|
-
SkuChangeInfo: SkuChangeInfo,
|
|
2927
|
-
SystemData: SystemData,
|
|
2928
|
-
ThrottlingRule: ThrottlingRule,
|
|
2929
|
-
TrackedResource: TrackedResource,
|
|
2930
|
-
UserAssignedIdentity: UserAssignedIdentity,
|
|
2931
|
-
UserOwnedStorage: UserOwnedStorage,
|
|
2932
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
2933
|
-
});
|
|
2934
|
-
|
|
2935
|
-
/*
|
|
2936
|
-
* Copyright (c) Microsoft Corporation.
|
|
2937
|
-
* Licensed under the MIT License.
|
|
2938
|
-
*
|
|
2939
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2940
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2941
|
-
* regenerated.
|
|
2942
|
-
*/
|
|
2943
|
-
/** Class representing a PrivateEndpointConnections. */
|
|
2944
|
-
var PrivateEndpointConnections = /** @class */ (function () {
|
|
2945
|
-
/**
|
|
2946
|
-
* Create a PrivateEndpointConnections.
|
|
2947
|
-
* @param {CognitiveServicesManagementClientContext} client Reference to the service client.
|
|
2948
|
-
*/
|
|
2949
|
-
function PrivateEndpointConnections(client) {
|
|
2950
|
-
this.client = client;
|
|
2951
|
-
}
|
|
2952
|
-
PrivateEndpointConnections.prototype.list = function (resourceGroupName, accountName, options, callback) {
|
|
2953
|
-
return this.client.sendOperationRequest({
|
|
2954
|
-
resourceGroupName: resourceGroupName,
|
|
2955
|
-
accountName: accountName,
|
|
2956
|
-
options: options
|
|
2957
|
-
}, listOperationSpec$4, callback);
|
|
2958
|
-
};
|
|
2959
|
-
PrivateEndpointConnections.prototype.get = function (resourceGroupName, accountName, privateEndpointConnectionName, options, callback) {
|
|
2960
|
-
return this.client.sendOperationRequest({
|
|
2961
|
-
resourceGroupName: resourceGroupName,
|
|
2962
|
-
accountName: accountName,
|
|
2963
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
2964
|
-
options: options
|
|
2965
|
-
}, getOperationSpec$2, callback);
|
|
2966
|
-
};
|
|
2967
|
-
/**
|
|
2968
|
-
* Update the state of specified private endpoint connection associated with the Cognitive Services
|
|
2969
|
-
* account.
|
|
2970
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2971
|
-
* @param accountName The name of Cognitive Services account.
|
|
2972
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
2973
|
-
* the Cognitive Services Account
|
|
2974
|
-
* @param properties The private endpoint connection properties.
|
|
2975
|
-
* @param [options] The optional parameters
|
|
2976
|
-
* @returns Promise<Models.PrivateEndpointConnectionsCreateOrUpdateResponse>
|
|
2977
|
-
*/
|
|
2978
|
-
PrivateEndpointConnections.prototype.createOrUpdate = function (resourceGroupName, accountName, privateEndpointConnectionName, properties, options) {
|
|
2979
|
-
return this.beginCreateOrUpdate(resourceGroupName, accountName, privateEndpointConnectionName, properties, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2980
|
-
};
|
|
2981
|
-
/**
|
|
2982
|
-
* Deletes the specified private endpoint connection associated with the Cognitive Services
|
|
2983
|
-
* account.
|
|
2984
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2985
|
-
* @param accountName The name of Cognitive Services account.
|
|
2986
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
2987
|
-
* the Cognitive Services Account
|
|
2988
|
-
* @param [options] The optional parameters
|
|
2989
|
-
* @returns Promise<msRest.RestResponse>
|
|
2990
|
-
*/
|
|
2991
|
-
PrivateEndpointConnections.prototype.deleteMethod = function (resourceGroupName, accountName, privateEndpointConnectionName, options) {
|
|
2992
|
-
return this.beginDeleteMethod(resourceGroupName, accountName, privateEndpointConnectionName, options).then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2993
|
-
};
|
|
2994
|
-
/**
|
|
2995
|
-
* Update the state of specified private endpoint connection associated with the Cognitive Services
|
|
2996
|
-
* account.
|
|
2997
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2998
|
-
* @param accountName The name of Cognitive Services account.
|
|
2999
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
3000
|
-
* the Cognitive Services Account
|
|
3001
|
-
* @param properties The private endpoint connection properties.
|
|
3002
|
-
* @param [options] The optional parameters
|
|
3003
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3004
|
-
*/
|
|
3005
|
-
PrivateEndpointConnections.prototype.beginCreateOrUpdate = function (resourceGroupName, accountName, privateEndpointConnectionName, properties, options) {
|
|
3006
|
-
return this.client.sendLRORequest({
|
|
3007
|
-
resourceGroupName: resourceGroupName,
|
|
3008
|
-
accountName: accountName,
|
|
3009
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
3010
|
-
properties: properties,
|
|
3011
|
-
options: options
|
|
3012
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
3013
|
-
};
|
|
3014
|
-
/**
|
|
3015
|
-
* Deletes the specified private endpoint connection associated with the Cognitive Services
|
|
3016
|
-
* account.
|
|
3017
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3018
|
-
* @param accountName The name of Cognitive Services account.
|
|
3019
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
3020
|
-
* the Cognitive Services Account
|
|
3021
|
-
* @param [options] The optional parameters
|
|
3022
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3023
|
-
*/
|
|
3024
|
-
PrivateEndpointConnections.prototype.beginDeleteMethod = function (resourceGroupName, accountName, privateEndpointConnectionName, options) {
|
|
3025
|
-
return this.client.sendLRORequest({
|
|
3026
|
-
resourceGroupName: resourceGroupName,
|
|
3027
|
-
accountName: accountName,
|
|
3028
|
-
privateEndpointConnectionName: privateEndpointConnectionName,
|
|
3029
|
-
options: options
|
|
3030
|
-
}, beginDeleteMethodOperationSpec$1, options);
|
|
3031
|
-
};
|
|
3032
|
-
return PrivateEndpointConnections;
|
|
3033
|
-
}());
|
|
3034
|
-
// Operation Specifications
|
|
3035
|
-
var serializer$4 = new msRest.Serializer(Mappers$5);
|
|
3036
|
-
var listOperationSpec$4 = {
|
|
3037
|
-
httpMethod: "GET",
|
|
3038
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections",
|
|
3039
|
-
urlParameters: [resourceGroupName, accountName, subscriptionId],
|
|
3040
|
-
queryParameters: [apiVersion],
|
|
3041
|
-
headerParameters: [acceptLanguage],
|
|
3042
|
-
responses: {
|
|
3043
|
-
200: {
|
|
3044
|
-
bodyMapper: PrivateEndpointConnectionListResult
|
|
3045
|
-
},
|
|
3046
|
-
default: {
|
|
3047
|
-
bodyMapper: ErrorResponse
|
|
3048
|
-
}
|
|
3049
|
-
},
|
|
3050
|
-
serializer: serializer$4
|
|
3051
|
-
};
|
|
3052
|
-
var getOperationSpec$2 = {
|
|
3053
|
-
httpMethod: "GET",
|
|
3054
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3055
|
-
urlParameters: [
|
|
3056
|
-
resourceGroupName,
|
|
3057
|
-
accountName,
|
|
3058
|
-
subscriptionId,
|
|
3059
|
-
privateEndpointConnectionName
|
|
3060
|
-
],
|
|
3061
|
-
queryParameters: [apiVersion],
|
|
3062
|
-
headerParameters: [acceptLanguage],
|
|
3063
|
-
responses: {
|
|
3064
|
-
200: {
|
|
3065
|
-
bodyMapper: PrivateEndpointConnection
|
|
3066
|
-
},
|
|
3067
|
-
default: {
|
|
3068
|
-
bodyMapper: ErrorResponse
|
|
3069
|
-
}
|
|
3070
|
-
},
|
|
3071
|
-
serializer: serializer$4
|
|
3072
|
-
};
|
|
3073
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
3074
|
-
httpMethod: "PUT",
|
|
3075
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3076
|
-
urlParameters: [
|
|
3077
|
-
resourceGroupName,
|
|
3078
|
-
accountName,
|
|
3079
|
-
subscriptionId,
|
|
3080
|
-
privateEndpointConnectionName
|
|
3081
|
-
],
|
|
3082
|
-
queryParameters: [apiVersion],
|
|
3083
|
-
headerParameters: [acceptLanguage],
|
|
3084
|
-
requestBody: {
|
|
3085
|
-
parameterPath: "properties",
|
|
3086
|
-
mapper: __assign(__assign({}, PrivateEndpointConnection), { required: true })
|
|
3087
|
-
},
|
|
3088
|
-
responses: {
|
|
3089
|
-
200: {
|
|
3090
|
-
bodyMapper: PrivateEndpointConnection
|
|
3091
|
-
},
|
|
3092
|
-
202: {
|
|
3093
|
-
bodyMapper: PrivateEndpointConnection
|
|
3094
|
-
},
|
|
3095
|
-
default: {
|
|
3096
|
-
bodyMapper: ErrorResponse
|
|
3097
|
-
}
|
|
3098
|
-
},
|
|
3099
|
-
serializer: serializer$4
|
|
3100
|
-
};
|
|
3101
|
-
var beginDeleteMethodOperationSpec$1 = {
|
|
3102
|
-
httpMethod: "DELETE",
|
|
3103
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3104
|
-
urlParameters: [
|
|
3105
|
-
resourceGroupName,
|
|
3106
|
-
accountName,
|
|
3107
|
-
subscriptionId,
|
|
3108
|
-
privateEndpointConnectionName
|
|
3109
|
-
],
|
|
3110
|
-
queryParameters: [apiVersion],
|
|
3111
|
-
headerParameters: [acceptLanguage],
|
|
3112
|
-
responses: {
|
|
3113
|
-
200: {},
|
|
3114
|
-
202: {},
|
|
3115
|
-
204: {},
|
|
3116
|
-
default: {
|
|
3117
|
-
bodyMapper: ErrorResponse
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
|
-
serializer: serializer$4
|
|
3121
|
-
};
|
|
3122
|
-
|
|
3123
|
-
/*
|
|
3124
|
-
* Copyright (c) Microsoft Corporation.
|
|
3125
|
-
* Licensed under the MIT License.
|
|
3126
|
-
*
|
|
3127
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3128
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3129
|
-
*/
|
|
3130
|
-
|
|
3131
|
-
var Mappers$6 = /*#__PURE__*/Object.freeze({
|
|
3132
|
-
__proto__: null,
|
|
3133
|
-
Account: Account,
|
|
3134
|
-
AccountProperties: AccountProperties,
|
|
3135
|
-
ApiProperties: ApiProperties,
|
|
3136
|
-
AzureEntityResource: AzureEntityResource,
|
|
3137
|
-
BaseResource: BaseResource,
|
|
3138
|
-
CallRateLimit: CallRateLimit,
|
|
3139
|
-
Encryption: Encryption,
|
|
3140
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
3141
|
-
ErrorDetail: ErrorDetail,
|
|
3142
|
-
ErrorResponse: ErrorResponse,
|
|
3143
|
-
Identity: Identity,
|
|
3144
|
-
IpRule: IpRule,
|
|
3145
|
-
KeyVaultProperties: KeyVaultProperties,
|
|
3146
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
3147
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
3148
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
3149
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
3150
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
3151
|
-
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
3152
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
3153
|
-
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
3154
|
-
ProxyResource: ProxyResource,
|
|
3155
|
-
QuotaLimit: QuotaLimit,
|
|
3156
|
-
RequestMatchPattern: RequestMatchPattern,
|
|
3157
|
-
Resource: Resource,
|
|
3158
|
-
Sku: Sku,
|
|
3159
|
-
SkuCapability: SkuCapability,
|
|
3160
|
-
SkuChangeInfo: SkuChangeInfo,
|
|
3161
|
-
SystemData: SystemData,
|
|
3162
|
-
ThrottlingRule: ThrottlingRule,
|
|
3163
|
-
TrackedResource: TrackedResource,
|
|
3164
|
-
UserAssignedIdentity: UserAssignedIdentity,
|
|
3165
|
-
UserOwnedStorage: UserOwnedStorage,
|
|
3166
|
-
VirtualNetworkRule: VirtualNetworkRule
|
|
3167
|
-
});
|
|
3168
|
-
|
|
3169
|
-
/*
|
|
3170
|
-
* Copyright (c) Microsoft Corporation.
|
|
3171
|
-
* Licensed under the MIT License.
|
|
3172
|
-
*
|
|
3173
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3174
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3175
|
-
* regenerated.
|
|
3176
|
-
*/
|
|
3177
|
-
/** Class representing a PrivateLinkResources. */
|
|
3178
|
-
var PrivateLinkResources = /** @class */ (function () {
|
|
3179
|
-
/**
|
|
3180
|
-
* Create a PrivateLinkResources.
|
|
3181
|
-
* @param {CognitiveServicesManagementClientContext} client Reference to the service client.
|
|
3182
|
-
*/
|
|
3183
|
-
function PrivateLinkResources(client) {
|
|
3184
|
-
this.client = client;
|
|
3185
|
-
}
|
|
3186
|
-
PrivateLinkResources.prototype.list = function (resourceGroupName, accountName, options, callback) {
|
|
3187
|
-
return this.client.sendOperationRequest({
|
|
3188
|
-
resourceGroupName: resourceGroupName,
|
|
3189
|
-
accountName: accountName,
|
|
3190
|
-
options: options
|
|
3191
|
-
}, listOperationSpec$5, callback);
|
|
3192
|
-
};
|
|
3193
|
-
return PrivateLinkResources;
|
|
3194
|
-
}());
|
|
3195
|
-
// Operation Specifications
|
|
3196
|
-
var serializer$5 = new msRest.Serializer(Mappers$6);
|
|
3197
|
-
var listOperationSpec$5 = {
|
|
3198
|
-
httpMethod: "GET",
|
|
3199
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateLinkResources",
|
|
3200
|
-
urlParameters: [resourceGroupName, accountName, subscriptionId],
|
|
3201
|
-
queryParameters: [apiVersion],
|
|
3202
|
-
headerParameters: [acceptLanguage],
|
|
3203
|
-
responses: {
|
|
3204
|
-
200: {
|
|
3205
|
-
bodyMapper: PrivateLinkResourceListResult
|
|
3206
|
-
},
|
|
3207
|
-
default: {
|
|
3208
|
-
bodyMapper: ErrorResponse
|
|
3209
|
-
}
|
|
3210
|
-
},
|
|
3211
|
-
serializer: serializer$5
|
|
3212
|
-
};
|
|
3213
|
-
|
|
3214
|
-
/*
|
|
3215
|
-
* Copyright (c) Microsoft Corporation.
|
|
3216
|
-
* Licensed under the MIT License.
|
|
3217
|
-
*
|
|
3218
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3219
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3220
|
-
* regenerated.
|
|
3221
|
-
*/
|
|
3222
|
-
var packageName = "@azure/arm-cognitiveservices";
|
|
3223
|
-
var packageVersion = "6.0.0";
|
|
3224
|
-
var CognitiveServicesManagementClientContext = /** @class */ (function (_super) {
|
|
3225
|
-
__extends(CognitiveServicesManagementClientContext, _super);
|
|
3226
|
-
/**
|
|
3227
|
-
* Initializes a new instance of the CognitiveServicesManagementClient class.
|
|
3228
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
3229
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
3230
|
-
* more information about these credentials, see
|
|
3231
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
3232
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
3233
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
3234
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3235
|
-
* @param [options] The parameter options
|
|
3236
|
-
*/
|
|
3237
|
-
function CognitiveServicesManagementClientContext(credentials, subscriptionId, options) {
|
|
3238
|
-
var _this = this;
|
|
3239
|
-
if (credentials == undefined) {
|
|
3240
|
-
throw new Error("'credentials' cannot be null.");
|
|
3241
|
-
}
|
|
3242
|
-
if (subscriptionId == undefined) {
|
|
3243
|
-
throw new Error("'subscriptionId' cannot be null.");
|
|
3244
|
-
}
|
|
3245
|
-
if (!options) {
|
|
3246
|
-
options = {};
|
|
3247
|
-
}
|
|
3248
|
-
if (!options.userAgent) {
|
|
3249
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
3250
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
3251
|
-
}
|
|
3252
|
-
_this = _super.call(this, credentials, options) || this;
|
|
3253
|
-
_this.apiVersion = "2021-04-30";
|
|
3254
|
-
_this.acceptLanguage = "en-US";
|
|
3255
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
3256
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
3257
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
3258
|
-
_this.credentials = credentials;
|
|
3259
|
-
_this.subscriptionId = subscriptionId;
|
|
3260
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
3261
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
3262
|
-
}
|
|
3263
|
-
if (options.longRunningOperationRetryTimeout !== null &&
|
|
3264
|
-
options.longRunningOperationRetryTimeout !== undefined) {
|
|
3265
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
3266
|
-
}
|
|
3267
|
-
return _this;
|
|
3268
|
-
}
|
|
3269
|
-
return CognitiveServicesManagementClientContext;
|
|
3270
|
-
}(msRestAzure.AzureServiceClient));
|
|
3271
|
-
|
|
3272
|
-
/*
|
|
3273
|
-
* Copyright (c) Microsoft Corporation.
|
|
3274
|
-
* Licensed under the MIT License.
|
|
3275
|
-
*
|
|
3276
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3277
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3278
|
-
* regenerated.
|
|
3279
|
-
*/
|
|
3280
|
-
var CognitiveServicesManagementClient = /** @class */ (function (_super) {
|
|
3281
|
-
__extends(CognitiveServicesManagementClient, _super);
|
|
3282
|
-
/**
|
|
3283
|
-
* Initializes a new instance of the CognitiveServicesManagementClient class.
|
|
3284
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
3285
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
3286
|
-
* more information about these credentials, see
|
|
3287
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
3288
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
3289
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
3290
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3291
|
-
* @param [options] The parameter options
|
|
3292
|
-
*/
|
|
3293
|
-
function CognitiveServicesManagementClient(credentials, subscriptionId, options) {
|
|
3294
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
3295
|
-
_this.accounts = new Accounts(_this);
|
|
3296
|
-
_this.deletedAccounts = new DeletedAccounts(_this);
|
|
3297
|
-
_this.resourceSkus = new ResourceSkus(_this);
|
|
3298
|
-
_this.operations = new Operations(_this);
|
|
3299
|
-
_this.privateEndpointConnections = new PrivateEndpointConnections(_this);
|
|
3300
|
-
_this.privateLinkResources = new PrivateLinkResources(_this);
|
|
3301
|
-
return _this;
|
|
3302
|
-
}
|
|
3303
|
-
CognitiveServicesManagementClient.prototype.checkSkuAvailability = function (location, skus, kind, type, options, callback) {
|
|
3304
|
-
return this.sendOperationRequest({
|
|
3305
|
-
location: location,
|
|
3306
|
-
skus: skus,
|
|
3307
|
-
kind: kind,
|
|
3308
|
-
type: type,
|
|
3309
|
-
options: options
|
|
3310
|
-
}, checkSkuAvailabilityOperationSpec, callback);
|
|
3311
|
-
};
|
|
3312
|
-
CognitiveServicesManagementClient.prototype.checkDomainAvailability = function (subdomainName, type, options, callback) {
|
|
3313
|
-
return this.sendOperationRequest({
|
|
3314
|
-
subdomainName: subdomainName,
|
|
3315
|
-
type: type,
|
|
3316
|
-
options: options
|
|
3317
|
-
}, checkDomainAvailabilityOperationSpec, callback);
|
|
3318
|
-
};
|
|
3319
|
-
return CognitiveServicesManagementClient;
|
|
3320
|
-
}(CognitiveServicesManagementClientContext));
|
|
3321
|
-
// Operation Specifications
|
|
3322
|
-
var serializer$6 = new msRest.Serializer(Mappers);
|
|
3323
|
-
var checkSkuAvailabilityOperationSpec = {
|
|
3324
|
-
httpMethod: "POST",
|
|
3325
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability",
|
|
3326
|
-
urlParameters: [subscriptionId, location],
|
|
3327
|
-
queryParameters: [apiVersion],
|
|
3328
|
-
headerParameters: [acceptLanguage],
|
|
3329
|
-
requestBody: {
|
|
3330
|
-
parameterPath: {
|
|
3331
|
-
skus: "skus",
|
|
3332
|
-
kind: "kind",
|
|
3333
|
-
type: "type"
|
|
3334
|
-
},
|
|
3335
|
-
mapper: __assign(__assign({}, CheckSkuAvailabilityParameter), { required: true })
|
|
3336
|
-
},
|
|
3337
|
-
responses: {
|
|
3338
|
-
200: {
|
|
3339
|
-
bodyMapper: SkuAvailabilityListResult
|
|
3340
|
-
},
|
|
3341
|
-
default: {
|
|
3342
|
-
bodyMapper: ErrorResponse
|
|
3343
|
-
}
|
|
3344
|
-
},
|
|
3345
|
-
serializer: serializer$6
|
|
3346
|
-
};
|
|
3347
|
-
var checkDomainAvailabilityOperationSpec = {
|
|
3348
|
-
httpMethod: "POST",
|
|
3349
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability",
|
|
3350
|
-
urlParameters: [subscriptionId],
|
|
3351
|
-
queryParameters: [apiVersion],
|
|
3352
|
-
headerParameters: [acceptLanguage],
|
|
3353
|
-
requestBody: {
|
|
3354
|
-
parameterPath: {
|
|
3355
|
-
subdomainName: "subdomainName",
|
|
3356
|
-
type: "type"
|
|
3357
|
-
},
|
|
3358
|
-
mapper: __assign(__assign({}, CheckDomainAvailabilityParameter), { required: true })
|
|
3359
|
-
},
|
|
3360
|
-
responses: {
|
|
3361
|
-
200: {
|
|
3362
|
-
bodyMapper: DomainAvailability
|
|
3363
|
-
},
|
|
3364
|
-
default: {
|
|
3365
|
-
bodyMapper: ErrorResponse
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
3368
|
-
serializer: serializer$6
|
|
3369
|
-
};
|
|
3370
|
-
|
|
3371
|
-
exports.Accounts = Accounts;
|
|
3372
|
-
exports.CognitiveServicesManagementClient = CognitiveServicesManagementClient;
|
|
3373
|
-
exports.CognitiveServicesManagementClientContext = CognitiveServicesManagementClientContext;
|
|
3374
|
-
exports.CognitiveServicesManagementMappers = Mappers;
|
|
3375
|
-
exports.CognitiveServicesManagementModels = index;
|
|
3376
|
-
exports.DeletedAccounts = DeletedAccounts;
|
|
3377
|
-
exports.Operations = Operations;
|
|
3378
|
-
exports.PrivateEndpointConnections = PrivateEndpointConnections;
|
|
3379
|
-
exports.PrivateLinkResources = PrivateLinkResources;
|
|
3380
|
-
exports.ResourceSkus = ResourceSkus;
|
|
3381
|
-
|
|
3382
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3383
|
-
|
|
3384
|
-
})));
|
|
3385
|
-
//# sourceMappingURL=arm-cognitiveservices.js.map
|