@azure/arm-cognitiveservices 5.2.0 → 7.0.0-alpha.20211202.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 +16 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +72 -77
- 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 +1474 -738
- 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 +4 -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/dist-esm/src/operationsInterfaces/accounts.js +9 -0
- 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/dist-esm/src/operationsInterfaces/commitmentPlans.js +9 -0
- 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/dist-esm/src/operationsInterfaces/commitmentTiers.js +9 -0
- 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/dist-esm/src/operationsInterfaces/deletedAccounts.js +9 -0
- 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 -21
- package/review/arm-cognitiveservices.api.md +1150 -0
- package/rollup.config.js +181 -30
- package/src/cognitiveServicesManagementClient.ts +163 -142
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1223 -1103
- package/src/models/mappers.ts +1513 -736
- package/src/models/parameters.ts +162 -47
- package/src/operations/accounts.ts +610 -495
- package/src/operations/commitmentPlans.ts +394 -0
- package/src/operations/commitmentTiers.ts +158 -0
- package/src/operations/deletedAccounts.ts +298 -0
- package/src/operations/deployments.ts +464 -0
- package/src/operations/index.ts +7 -5
- package/src/operations/operations.ts +91 -77
- package/src/operations/privateEndpointConnections.ts +281 -134
- package/src/operations/privateLinkResources.ts +40 -55
- package/src/operations/resourceSkus.ts +96 -80
- 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} +8 -6
- 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 -2719
- 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 -70
- package/esm/cognitiveServicesManagementClient.d.ts.map +0 -1
- package/esm/cognitiveServicesManagementClient.js +0 -116
- package/esm/cognitiveServicesManagementClient.js.map +0 -1
- package/esm/cognitiveServicesManagementClientContext.d.ts +0 -16
- package/esm/cognitiveServicesManagementClientContext.d.ts.map +0 -1
- package/esm/cognitiveServicesManagementClientContext.js +0 -56
- 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/index.d.ts +0 -1277
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -50
- 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 +0 -9
- 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 -119
- 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 -260
- package/esm/operations/accounts.d.ts.map +0 -1
- package/esm/operations/accounts.js +0 -411
- package/esm/operations/accounts.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 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -99
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -131
- 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 -58
- 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 -80
- package/esm/operations/resourceSkus.js.map +0 -1
- package/src/cognitiveServicesManagementClientContext.ts +0 -62
- package/src/models/accountsMappers.ts +0 -44
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/privateEndpointConnectionsMappers.ts +0 -35
- package/src/models/privateLinkResourcesMappers.ts +0 -36
- package/src/models/resourceSkusMappers.ts +0 -15
|
@@ -0,0 +1,1860 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
import { PollerLike } from '@azure/core-lro';
|
|
5
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/** Cognitive Services account is an Azure resource representing the provisioned account, it's type, location and SKU. */
|
|
8
|
+
export declare type Account = AzureEntityResource & {
|
|
9
|
+
/** The Kind of the resource. */
|
|
10
|
+
kind?: string;
|
|
11
|
+
/** The resource model definition representing SKU */
|
|
12
|
+
sku?: Sku;
|
|
13
|
+
/** Identity for the resource. */
|
|
14
|
+
identity?: Identity;
|
|
15
|
+
/**
|
|
16
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
17
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
18
|
+
*/
|
|
19
|
+
readonly systemData?: SystemData;
|
|
20
|
+
/** Resource tags. */
|
|
21
|
+
tags?: {
|
|
22
|
+
[propertyName: string]: string;
|
|
23
|
+
};
|
|
24
|
+
/** The geo-location where the resource lives */
|
|
25
|
+
location?: string;
|
|
26
|
+
/** Properties of Cognitive Services account. */
|
|
27
|
+
properties?: AccountProperties;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** The list of cognitive services accounts operation response. */
|
|
31
|
+
export declare interface AccountListResult {
|
|
32
|
+
/** The link used to get the next page of accounts. */
|
|
33
|
+
nextLink?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the list of Cognitive Services accounts and their properties.
|
|
36
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
37
|
+
*/
|
|
38
|
+
readonly value?: Account[];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/** Properties of Cognitive Services account. */
|
|
42
|
+
export declare interface AccountProperties {
|
|
43
|
+
/**
|
|
44
|
+
* Gets the status of the cognitive services account at the time the operation was called.
|
|
45
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
46
|
+
*/
|
|
47
|
+
readonly provisioningState?: ProvisioningState;
|
|
48
|
+
/**
|
|
49
|
+
* Endpoint of the created account.
|
|
50
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
51
|
+
*/
|
|
52
|
+
readonly endpoint?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The internal identifier (deprecated, do not use this property).
|
|
55
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
56
|
+
*/
|
|
57
|
+
readonly internalId?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.
|
|
60
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
61
|
+
*/
|
|
62
|
+
readonly capabilities?: SkuCapability[];
|
|
63
|
+
/**
|
|
64
|
+
* If the resource is migrated from an existing key.
|
|
65
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
66
|
+
*/
|
|
67
|
+
readonly isMigrated?: boolean;
|
|
68
|
+
/** Resource migration token. */
|
|
69
|
+
migrationToken?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Sku change info of account.
|
|
72
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
73
|
+
*/
|
|
74
|
+
readonly skuChangeInfo?: SkuChangeInfo;
|
|
75
|
+
/** Optional subdomain name used for token-based authentication. */
|
|
76
|
+
customSubDomainName?: string;
|
|
77
|
+
/** A collection of rules governing the accessibility from specific network locations. */
|
|
78
|
+
networkAcls?: NetworkRuleSet;
|
|
79
|
+
/** The encryption properties for this resource. */
|
|
80
|
+
encryption?: Encryption;
|
|
81
|
+
/** The storage accounts for this resource. */
|
|
82
|
+
userOwnedStorage?: UserOwnedStorage[];
|
|
83
|
+
/**
|
|
84
|
+
* The private endpoint connection associated with the Cognitive Services account.
|
|
85
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
86
|
+
*/
|
|
87
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
88
|
+
/** Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */
|
|
89
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
90
|
+
/** The api properties for special APIs. */
|
|
91
|
+
apiProperties?: ApiProperties;
|
|
92
|
+
/**
|
|
93
|
+
* Gets the date of cognitive services account creation.
|
|
94
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
95
|
+
*/
|
|
96
|
+
readonly dateCreated?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The call rate limit Cognitive Services account.
|
|
99
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
100
|
+
*/
|
|
101
|
+
readonly callRateLimit?: CallRateLimit;
|
|
102
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
103
|
+
readonly quotaLimit?: QuotaLimit;
|
|
104
|
+
restrictOutboundNetworkAccess?: boolean;
|
|
105
|
+
allowedFqdnList?: string[];
|
|
106
|
+
disableLocalAuth?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Dictionary of <string>
|
|
109
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
110
|
+
*/
|
|
111
|
+
readonly endpoints?: {
|
|
112
|
+
[propertyName: string]: string;
|
|
113
|
+
};
|
|
114
|
+
restore?: boolean;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/** Interface representing a Accounts. */
|
|
118
|
+
export declare interface Accounts {
|
|
119
|
+
/**
|
|
120
|
+
* Returns all the resources of a particular type belonging to a resource group
|
|
121
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
122
|
+
* @param options The options parameters.
|
|
123
|
+
*/
|
|
124
|
+
listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Account>;
|
|
125
|
+
/**
|
|
126
|
+
* Returns all the resources of a particular type belonging to a subscription.
|
|
127
|
+
* @param options The options parameters.
|
|
128
|
+
*/
|
|
129
|
+
list(options?: AccountsListOptionalParams): PagedAsyncIterableIterator<Account>;
|
|
130
|
+
/**
|
|
131
|
+
* Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the
|
|
132
|
+
* keys for developer to access intelligent APIs. It's also the resource type for billing.
|
|
133
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
134
|
+
* @param accountName The name of Cognitive Services account.
|
|
135
|
+
* @param account The parameters to provide for the created account.
|
|
136
|
+
* @param options The options parameters.
|
|
137
|
+
*/
|
|
138
|
+
beginCreate(resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOptionalParams): Promise<PollerLike<PollOperationState<AccountsCreateResponse>, AccountsCreateResponse>>;
|
|
139
|
+
/**
|
|
140
|
+
* Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the
|
|
141
|
+
* keys for developer to access intelligent APIs. It's also the resource type for billing.
|
|
142
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
143
|
+
* @param accountName The name of Cognitive Services account.
|
|
144
|
+
* @param account The parameters to provide for the created account.
|
|
145
|
+
* @param options The options parameters.
|
|
146
|
+
*/
|
|
147
|
+
beginCreateAndWait(resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOptionalParams): Promise<AccountsCreateResponse>;
|
|
148
|
+
/**
|
|
149
|
+
* Updates a Cognitive Services account
|
|
150
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
151
|
+
* @param accountName The name of Cognitive Services account.
|
|
152
|
+
* @param account The parameters to provide for the created account.
|
|
153
|
+
* @param options The options parameters.
|
|
154
|
+
*/
|
|
155
|
+
beginUpdate(resourceGroupName: string, accountName: string, account: Account, options?: AccountsUpdateOptionalParams): Promise<PollerLike<PollOperationState<AccountsUpdateResponse>, AccountsUpdateResponse>>;
|
|
156
|
+
/**
|
|
157
|
+
* Updates a Cognitive Services account
|
|
158
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
159
|
+
* @param accountName The name of Cognitive Services account.
|
|
160
|
+
* @param account The parameters to provide for the created account.
|
|
161
|
+
* @param options The options parameters.
|
|
162
|
+
*/
|
|
163
|
+
beginUpdateAndWait(resourceGroupName: string, accountName: string, account: Account, options?: AccountsUpdateOptionalParams): Promise<AccountsUpdateResponse>;
|
|
164
|
+
/**
|
|
165
|
+
* Deletes a Cognitive Services account from the resource group.
|
|
166
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
167
|
+
* @param accountName The name of Cognitive Services account.
|
|
168
|
+
* @param options The options parameters.
|
|
169
|
+
*/
|
|
170
|
+
beginDelete(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
171
|
+
/**
|
|
172
|
+
* Deletes a Cognitive Services account from the resource group.
|
|
173
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
174
|
+
* @param accountName The name of Cognitive Services account.
|
|
175
|
+
* @param options The options parameters.
|
|
176
|
+
*/
|
|
177
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<void>;
|
|
178
|
+
/**
|
|
179
|
+
* Returns a Cognitive Services account specified by the parameters.
|
|
180
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
181
|
+
* @param accountName The name of Cognitive Services account.
|
|
182
|
+
* @param options The options parameters.
|
|
183
|
+
*/
|
|
184
|
+
get(resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): Promise<AccountsGetResponse>;
|
|
185
|
+
/**
|
|
186
|
+
* Lists the account keys for the specified Cognitive Services account.
|
|
187
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
188
|
+
* @param accountName The name of Cognitive Services account.
|
|
189
|
+
* @param options The options parameters.
|
|
190
|
+
*/
|
|
191
|
+
listKeys(resourceGroupName: string, accountName: string, options?: AccountsListKeysOptionalParams): Promise<AccountsListKeysResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* Regenerates the specified account key for the specified Cognitive Services account.
|
|
194
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
195
|
+
* @param accountName The name of Cognitive Services account.
|
|
196
|
+
* @param keyName key name to generate (Key1|Key2)
|
|
197
|
+
* @param options The options parameters.
|
|
198
|
+
*/
|
|
199
|
+
regenerateKey(resourceGroupName: string, accountName: string, keyName: KeyName, options?: AccountsRegenerateKeyOptionalParams): Promise<AccountsRegenerateKeyResponse>;
|
|
200
|
+
/**
|
|
201
|
+
* List available SKUs for the requested Cognitive Services account
|
|
202
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
203
|
+
* @param accountName The name of Cognitive Services account.
|
|
204
|
+
* @param options The options parameters.
|
|
205
|
+
*/
|
|
206
|
+
listSkus(resourceGroupName: string, accountName: string, options?: AccountsListSkusOptionalParams): Promise<AccountsListSkusResponse>;
|
|
207
|
+
/**
|
|
208
|
+
* Get usages for the requested Cognitive Services account
|
|
209
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
210
|
+
* @param accountName The name of Cognitive Services account.
|
|
211
|
+
* @param options The options parameters.
|
|
212
|
+
*/
|
|
213
|
+
listUsages(resourceGroupName: string, accountName: string, options?: AccountsListUsagesOptionalParams): Promise<AccountsListUsagesResponse>;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/** Optional parameters. */
|
|
217
|
+
export declare interface AccountsCreateOptionalParams extends coreClient.OperationOptions {
|
|
218
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
219
|
+
updateIntervalInMs?: number;
|
|
220
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
221
|
+
resumeFrom?: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/** Contains response data for the create operation. */
|
|
225
|
+
export declare type AccountsCreateResponse = Account;
|
|
226
|
+
|
|
227
|
+
/** Optional parameters. */
|
|
228
|
+
export declare interface AccountsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
229
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
230
|
+
updateIntervalInMs?: number;
|
|
231
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
232
|
+
resumeFrom?: string;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/** Optional parameters. */
|
|
236
|
+
export declare interface AccountsGetOptionalParams extends coreClient.OperationOptions {
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/** Contains response data for the get operation. */
|
|
240
|
+
export declare type AccountsGetResponse = Account;
|
|
241
|
+
|
|
242
|
+
/** Cognitive Services resource type and SKU. */
|
|
243
|
+
export declare interface AccountSku {
|
|
244
|
+
/** Resource Namespace and Type */
|
|
245
|
+
resourceType?: string;
|
|
246
|
+
/** The SKU of Cognitive Services account. */
|
|
247
|
+
sku?: Sku;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/** The list of cognitive services accounts operation response. */
|
|
251
|
+
export declare interface AccountSkuListResult {
|
|
252
|
+
/** Gets the list of Cognitive Services accounts and their properties. */
|
|
253
|
+
value?: AccountSku[];
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/** Optional parameters. */
|
|
257
|
+
export declare interface AccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
261
|
+
export declare type AccountsListByResourceGroupNextResponse = AccountListResult;
|
|
262
|
+
|
|
263
|
+
/** Optional parameters. */
|
|
264
|
+
export declare interface AccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
268
|
+
export declare type AccountsListByResourceGroupResponse = AccountListResult;
|
|
269
|
+
|
|
270
|
+
/** Optional parameters. */
|
|
271
|
+
export declare interface AccountsListKeysOptionalParams extends coreClient.OperationOptions {
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/** Contains response data for the listKeys operation. */
|
|
275
|
+
export declare type AccountsListKeysResponse = ApiKeys;
|
|
276
|
+
|
|
277
|
+
/** Optional parameters. */
|
|
278
|
+
export declare interface AccountsListNextOptionalParams extends coreClient.OperationOptions {
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** Contains response data for the listNext operation. */
|
|
282
|
+
export declare type AccountsListNextResponse = AccountListResult;
|
|
283
|
+
|
|
284
|
+
/** Optional parameters. */
|
|
285
|
+
export declare interface AccountsListOptionalParams extends coreClient.OperationOptions {
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/** Contains response data for the list operation. */
|
|
289
|
+
export declare type AccountsListResponse = AccountListResult;
|
|
290
|
+
|
|
291
|
+
/** Optional parameters. */
|
|
292
|
+
export declare interface AccountsListSkusOptionalParams extends coreClient.OperationOptions {
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/** Contains response data for the listSkus operation. */
|
|
296
|
+
export declare type AccountsListSkusResponse = AccountSkuListResult;
|
|
297
|
+
|
|
298
|
+
/** Optional parameters. */
|
|
299
|
+
export declare interface AccountsListUsagesOptionalParams extends coreClient.OperationOptions {
|
|
300
|
+
/** An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). */
|
|
301
|
+
filter?: string;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/** Contains response data for the listUsages operation. */
|
|
305
|
+
export declare type AccountsListUsagesResponse = UsageListResult;
|
|
306
|
+
|
|
307
|
+
/** Optional parameters. */
|
|
308
|
+
export declare interface AccountsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/** Contains response data for the regenerateKey operation. */
|
|
312
|
+
export declare type AccountsRegenerateKeyResponse = ApiKeys;
|
|
313
|
+
|
|
314
|
+
/** Optional parameters. */
|
|
315
|
+
export declare interface AccountsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
316
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
317
|
+
updateIntervalInMs?: number;
|
|
318
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
319
|
+
resumeFrom?: string;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/** Contains response data for the update operation. */
|
|
323
|
+
export declare type AccountsUpdateResponse = Account;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Defines values for ActionType. \
|
|
327
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
328
|
+
* this enum contains the known values that the service supports.
|
|
329
|
+
* ### Known values supported by the service
|
|
330
|
+
* **Internal**
|
|
331
|
+
*/
|
|
332
|
+
export declare type ActionType = string;
|
|
333
|
+
|
|
334
|
+
/** The access keys for the cognitive services account. */
|
|
335
|
+
export declare interface ApiKeys {
|
|
336
|
+
/** Gets the value of key 1. */
|
|
337
|
+
key1?: string;
|
|
338
|
+
/** Gets the value of key 2. */
|
|
339
|
+
key2?: string;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/** The api properties for special APIs. */
|
|
343
|
+
export declare interface ApiProperties {
|
|
344
|
+
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
345
|
+
[property: string]: any;
|
|
346
|
+
/** (QnAMaker Only) The runtime endpoint of QnAMaker. */
|
|
347
|
+
qnaRuntimeEndpoint?: string;
|
|
348
|
+
/** (QnAMaker Only) The Azure Search endpoint key of QnAMaker. */
|
|
349
|
+
qnaAzureSearchEndpointKey?: string;
|
|
350
|
+
/** (QnAMaker Only) The Azure Search endpoint id of QnAMaker. */
|
|
351
|
+
qnaAzureSearchEndpointId?: string;
|
|
352
|
+
/** (Bing Search Only) The flag to enable statistics of Bing Search. */
|
|
353
|
+
statisticsEnabled?: boolean;
|
|
354
|
+
/** (Personalization Only) The flag to enable statistics of Bing Search. */
|
|
355
|
+
eventHubConnectionString?: string;
|
|
356
|
+
/** (Personalization Only) The storage account connection string. */
|
|
357
|
+
storageAccountConnectionString?: string;
|
|
358
|
+
/** (Metrics Advisor Only) The Azure AD Client Id (Application Id). */
|
|
359
|
+
aadClientId?: string;
|
|
360
|
+
/** (Metrics Advisor Only) The Azure AD Tenant Id. */
|
|
361
|
+
aadTenantId?: string;
|
|
362
|
+
/** (Metrics Advisor Only) The super user of Metrics Advisor. */
|
|
363
|
+
superUser?: string;
|
|
364
|
+
/** (Metrics Advisor Only) The website name of Metrics Advisor. */
|
|
365
|
+
websiteName?: string;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/** The resource model definition for an Azure Resource Manager resource with an etag. */
|
|
369
|
+
export declare type AzureEntityResource = Resource & {
|
|
370
|
+
/**
|
|
371
|
+
* Resource Etag.
|
|
372
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
373
|
+
*/
|
|
374
|
+
readonly etag?: string;
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
/** The call rate limit Cognitive Services account. */
|
|
378
|
+
export declare interface CallRateLimit {
|
|
379
|
+
/** The count value of Call Rate Limit. */
|
|
380
|
+
count?: number;
|
|
381
|
+
/** The renewal period in seconds of Call Rate Limit. */
|
|
382
|
+
renewalPeriod?: number;
|
|
383
|
+
rules?: ThrottlingRule[];
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/** Optional parameters. */
|
|
387
|
+
export declare interface CheckDomainAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
388
|
+
/** The Kind of the resource. */
|
|
389
|
+
kind?: string;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/** Check Domain availability parameter. */
|
|
393
|
+
export declare interface CheckDomainAvailabilityParameter {
|
|
394
|
+
/** The subdomain name to use. */
|
|
395
|
+
subdomainName: string;
|
|
396
|
+
/** The Type of the resource. */
|
|
397
|
+
type: string;
|
|
398
|
+
/** The Kind of the resource. */
|
|
399
|
+
kind?: string;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/** Contains response data for the checkDomainAvailability operation. */
|
|
403
|
+
export declare type CheckDomainAvailabilityResponse = DomainAvailability;
|
|
404
|
+
|
|
405
|
+
/** Optional parameters. */
|
|
406
|
+
export declare interface CheckSkuAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/** Check SKU availability parameter. */
|
|
410
|
+
export declare interface CheckSkuAvailabilityParameter {
|
|
411
|
+
/** The SKU of the resource. */
|
|
412
|
+
skus: string[];
|
|
413
|
+
/** The Kind of the resource. */
|
|
414
|
+
kind: string;
|
|
415
|
+
/** The Type of the resource. */
|
|
416
|
+
type: string;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/** Contains response data for the checkSkuAvailability operation. */
|
|
420
|
+
export declare type CheckSkuAvailabilityResponse = SkuAvailabilityListResult;
|
|
421
|
+
|
|
422
|
+
export declare class CognitiveServicesManagementClient extends coreClient.ServiceClient {
|
|
423
|
+
$host: string;
|
|
424
|
+
apiVersion: string;
|
|
425
|
+
subscriptionId: string;
|
|
426
|
+
/**
|
|
427
|
+
* Initializes a new instance of the CognitiveServicesManagementClient class.
|
|
428
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
429
|
+
* @param subscriptionId The ID of the target subscription.
|
|
430
|
+
* @param options The parameter options
|
|
431
|
+
*/
|
|
432
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: CognitiveServicesManagementClientOptionalParams);
|
|
433
|
+
/**
|
|
434
|
+
* Check available SKUs.
|
|
435
|
+
* @param location Resource location.
|
|
436
|
+
* @param skus The SKU of the resource.
|
|
437
|
+
* @param kind The Kind of the resource.
|
|
438
|
+
* @param typeParam The Type of the resource.
|
|
439
|
+
* @param options The options parameters.
|
|
440
|
+
*/
|
|
441
|
+
checkSkuAvailability(location: string, skus: string[], kind: string, typeParam: string, options?: CheckSkuAvailabilityOptionalParams): Promise<CheckSkuAvailabilityResponse>;
|
|
442
|
+
/**
|
|
443
|
+
* Check whether a domain is available.
|
|
444
|
+
* @param subdomainName The subdomain name to use.
|
|
445
|
+
* @param typeParam The Type of the resource.
|
|
446
|
+
* @param options The options parameters.
|
|
447
|
+
*/
|
|
448
|
+
checkDomainAvailability(subdomainName: string, typeParam: string, options?: CheckDomainAvailabilityOptionalParams): Promise<CheckDomainAvailabilityResponse>;
|
|
449
|
+
accounts: Accounts;
|
|
450
|
+
deletedAccounts: DeletedAccounts;
|
|
451
|
+
resourceSkus: ResourceSkus;
|
|
452
|
+
operations: Operations;
|
|
453
|
+
commitmentTiers: CommitmentTiers;
|
|
454
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
455
|
+
privateLinkResources: PrivateLinkResources;
|
|
456
|
+
deployments: Deployments;
|
|
457
|
+
commitmentPlans: CommitmentPlans;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/** Optional parameters. */
|
|
461
|
+
export declare interface CognitiveServicesManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
462
|
+
/** server parameter */
|
|
463
|
+
$host?: string;
|
|
464
|
+
/** Api Version */
|
|
465
|
+
apiVersion?: string;
|
|
466
|
+
/** Overrides client endpoint. */
|
|
467
|
+
endpoint?: string;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/** Cognitive Services account commitment cost. */
|
|
471
|
+
export declare interface CommitmentCost {
|
|
472
|
+
/** Commitment meter Id. */
|
|
473
|
+
commitmentMeterId?: string;
|
|
474
|
+
/** Overage meter Id. */
|
|
475
|
+
overageMeterId?: string;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
/** Cognitive Services account commitment period. */
|
|
479
|
+
export declare interface CommitmentPeriod {
|
|
480
|
+
/** Commitment period commitment tier. */
|
|
481
|
+
tier?: string;
|
|
482
|
+
/** Commitment period commitment count. */
|
|
483
|
+
count?: number;
|
|
484
|
+
/**
|
|
485
|
+
* Cognitive Services account commitment quota.
|
|
486
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
487
|
+
*/
|
|
488
|
+
readonly quota?: CommitmentQuota;
|
|
489
|
+
/**
|
|
490
|
+
* Commitment period start date.
|
|
491
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
492
|
+
*/
|
|
493
|
+
readonly startDate?: string;
|
|
494
|
+
/**
|
|
495
|
+
* Commitment period end date.
|
|
496
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
497
|
+
*/
|
|
498
|
+
readonly endDate?: string;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/** Cognitive Services account commitment plan. */
|
|
502
|
+
export declare type CommitmentPlan = ProxyResource & {
|
|
503
|
+
/**
|
|
504
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
505
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
506
|
+
*/
|
|
507
|
+
readonly systemData?: SystemData;
|
|
508
|
+
/**
|
|
509
|
+
* Resource Etag.
|
|
510
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
511
|
+
*/
|
|
512
|
+
readonly etag?: string;
|
|
513
|
+
/** Properties of Cognitive Services account commitment plan. */
|
|
514
|
+
properties?: CommitmentPlanProperties;
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
/** The list of cognitive services accounts operation response. */
|
|
518
|
+
export declare interface CommitmentPlanListResult {
|
|
519
|
+
/** The link used to get the next page of CommitmentPlan. */
|
|
520
|
+
nextLink?: string;
|
|
521
|
+
/**
|
|
522
|
+
* Gets the list of Cognitive Services accounts CommitmentPlan and their properties.
|
|
523
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
524
|
+
*/
|
|
525
|
+
readonly value?: CommitmentPlan[];
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/** Properties of Cognitive Services account commitment plan. */
|
|
529
|
+
export declare interface CommitmentPlanProperties {
|
|
530
|
+
/** Account hosting model. */
|
|
531
|
+
hostingModel?: HostingModel;
|
|
532
|
+
/** Commitment plan type. */
|
|
533
|
+
planType?: string;
|
|
534
|
+
/** Cognitive Services account commitment period. */
|
|
535
|
+
current?: CommitmentPeriod;
|
|
536
|
+
/** AutoRenew commitment plan. */
|
|
537
|
+
autoRenew?: boolean;
|
|
538
|
+
/** Cognitive Services account commitment period. */
|
|
539
|
+
next?: CommitmentPeriod;
|
|
540
|
+
/**
|
|
541
|
+
* Cognitive Services account commitment period.
|
|
542
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
543
|
+
*/
|
|
544
|
+
readonly last?: CommitmentPeriod;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
/** Interface representing a CommitmentPlans. */
|
|
548
|
+
export declare interface CommitmentPlans {
|
|
549
|
+
/**
|
|
550
|
+
* Gets the commitmentPlans associated with the Cognitive Services account.
|
|
551
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
552
|
+
* @param accountName The name of Cognitive Services account.
|
|
553
|
+
* @param options The options parameters.
|
|
554
|
+
*/
|
|
555
|
+
list(resourceGroupName: string, accountName: string, options?: CommitmentPlansListOptionalParams): PagedAsyncIterableIterator<CommitmentPlan>;
|
|
556
|
+
/**
|
|
557
|
+
* Gets the specified commitmentPlans associated with the Cognitive Services account.
|
|
558
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
559
|
+
* @param accountName The name of Cognitive Services account.
|
|
560
|
+
* @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
|
|
561
|
+
* Account
|
|
562
|
+
* @param options The options parameters.
|
|
563
|
+
*/
|
|
564
|
+
get(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansGetOptionalParams): Promise<CommitmentPlansGetResponse>;
|
|
565
|
+
/**
|
|
566
|
+
* Update the state of specified commitmentPlans associated with the Cognitive Services account.
|
|
567
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
568
|
+
* @param accountName The name of Cognitive Services account.
|
|
569
|
+
* @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
|
|
570
|
+
* Account
|
|
571
|
+
* @param commitmentPlan The commitmentPlan properties.
|
|
572
|
+
* @param options The options parameters.
|
|
573
|
+
*/
|
|
574
|
+
createOrUpdate(resourceGroupName: string, accountName: string, commitmentPlanName: string, commitmentPlan: CommitmentPlan, options?: CommitmentPlansCreateOrUpdateOptionalParams): Promise<CommitmentPlansCreateOrUpdateResponse>;
|
|
575
|
+
/**
|
|
576
|
+
* Deletes the specified commitmentPlan associated with the Cognitive Services account.
|
|
577
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
578
|
+
* @param accountName The name of Cognitive Services account.
|
|
579
|
+
* @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
|
|
580
|
+
* Account
|
|
581
|
+
* @param options The options parameters.
|
|
582
|
+
*/
|
|
583
|
+
beginDelete(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
584
|
+
/**
|
|
585
|
+
* Deletes the specified commitmentPlan associated with the Cognitive Services account.
|
|
586
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
587
|
+
* @param accountName The name of Cognitive Services account.
|
|
588
|
+
* @param commitmentPlanName The name of the commitmentPlan associated with the Cognitive Services
|
|
589
|
+
* Account
|
|
590
|
+
* @param options The options parameters.
|
|
591
|
+
*/
|
|
592
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, commitmentPlanName: string, options?: CommitmentPlansDeleteOptionalParams): Promise<void>;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/** Optional parameters. */
|
|
596
|
+
export declare interface CommitmentPlansCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
600
|
+
export declare type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan;
|
|
601
|
+
|
|
602
|
+
/** Optional parameters. */
|
|
603
|
+
export declare interface CommitmentPlansDeleteOptionalParams extends coreClient.OperationOptions {
|
|
604
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
605
|
+
updateIntervalInMs?: number;
|
|
606
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
607
|
+
resumeFrom?: string;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/** Optional parameters. */
|
|
611
|
+
export declare interface CommitmentPlansGetOptionalParams extends coreClient.OperationOptions {
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/** Contains response data for the get operation. */
|
|
615
|
+
export declare type CommitmentPlansGetResponse = CommitmentPlan;
|
|
616
|
+
|
|
617
|
+
/** Optional parameters. */
|
|
618
|
+
export declare interface CommitmentPlansListNextOptionalParams extends coreClient.OperationOptions {
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/** Contains response data for the listNext operation. */
|
|
622
|
+
export declare type CommitmentPlansListNextResponse = CommitmentPlanListResult;
|
|
623
|
+
|
|
624
|
+
/** Optional parameters. */
|
|
625
|
+
export declare interface CommitmentPlansListOptionalParams extends coreClient.OperationOptions {
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/** Contains response data for the list operation. */
|
|
629
|
+
export declare type CommitmentPlansListResponse = CommitmentPlanListResult;
|
|
630
|
+
|
|
631
|
+
/** Cognitive Services account commitment quota. */
|
|
632
|
+
export declare interface CommitmentQuota {
|
|
633
|
+
/** Commitment quota quantity. */
|
|
634
|
+
quantity?: number;
|
|
635
|
+
/** Commitment quota unit. */
|
|
636
|
+
unit?: string;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/** Cognitive Services account commitment tier. */
|
|
640
|
+
export declare interface CommitmentTier {
|
|
641
|
+
/** The Kind of the resource. */
|
|
642
|
+
kind?: string;
|
|
643
|
+
/** The name of the SKU. Ex - P3. It is typically a letter+number code */
|
|
644
|
+
skuName?: string;
|
|
645
|
+
/** Account hosting model. */
|
|
646
|
+
hostingModel?: HostingModel;
|
|
647
|
+
/** Commitment plan type. */
|
|
648
|
+
planType?: string;
|
|
649
|
+
/** Commitment period commitment tier. */
|
|
650
|
+
tier?: string;
|
|
651
|
+
/** Commitment period commitment max count. */
|
|
652
|
+
maxCount?: number;
|
|
653
|
+
/** Cognitive Services account commitment quota. */
|
|
654
|
+
quota?: CommitmentQuota;
|
|
655
|
+
/** Cognitive Services account commitment cost. */
|
|
656
|
+
cost?: CommitmentCost;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/** The list of cognitive services accounts operation response. */
|
|
660
|
+
export declare interface CommitmentTierListResult {
|
|
661
|
+
/** The link used to get the next page of CommitmentTier. */
|
|
662
|
+
nextLink?: string;
|
|
663
|
+
/**
|
|
664
|
+
* Gets the list of Cognitive Services accounts CommitmentTier and their properties.
|
|
665
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
666
|
+
*/
|
|
667
|
+
readonly value?: CommitmentTier[];
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/** Interface representing a CommitmentTiers. */
|
|
671
|
+
export declare interface CommitmentTiers {
|
|
672
|
+
/**
|
|
673
|
+
* List Commitment Tiers.
|
|
674
|
+
* @param location Resource location.
|
|
675
|
+
* @param options The options parameters.
|
|
676
|
+
*/
|
|
677
|
+
list(location: string, options?: CommitmentTiersListOptionalParams): PagedAsyncIterableIterator<CommitmentTier>;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/** Optional parameters. */
|
|
681
|
+
export declare interface CommitmentTiersListNextOptionalParams extends coreClient.OperationOptions {
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/** Contains response data for the listNext operation. */
|
|
685
|
+
export declare type CommitmentTiersListNextResponse = CommitmentTierListResult;
|
|
686
|
+
|
|
687
|
+
/** Optional parameters. */
|
|
688
|
+
export declare interface CommitmentTiersListOptionalParams extends coreClient.OperationOptions {
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/** Contains response data for the list operation. */
|
|
692
|
+
export declare type CommitmentTiersListResponse = CommitmentTierListResult;
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Defines values for CreatedByType. \
|
|
696
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
697
|
+
* this enum contains the known values that the service supports.
|
|
698
|
+
* ### Known values supported by the service
|
|
699
|
+
* **User** \
|
|
700
|
+
* **Application** \
|
|
701
|
+
* **ManagedIdentity** \
|
|
702
|
+
* **Key**
|
|
703
|
+
*/
|
|
704
|
+
export declare type CreatedByType = string;
|
|
705
|
+
|
|
706
|
+
/** Interface representing a DeletedAccounts. */
|
|
707
|
+
export declare interface DeletedAccounts {
|
|
708
|
+
/**
|
|
709
|
+
* Returns all the resources of a particular type belonging to a subscription.
|
|
710
|
+
* @param options The options parameters.
|
|
711
|
+
*/
|
|
712
|
+
list(options?: DeletedAccountsListOptionalParams): PagedAsyncIterableIterator<Account>;
|
|
713
|
+
/**
|
|
714
|
+
* Returns a Cognitive Services account specified by the parameters.
|
|
715
|
+
* @param location Resource location.
|
|
716
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
717
|
+
* @param accountName The name of Cognitive Services account.
|
|
718
|
+
* @param options The options parameters.
|
|
719
|
+
*/
|
|
720
|
+
get(location: string, resourceGroupName: string, accountName: string, options?: DeletedAccountsGetOptionalParams): Promise<DeletedAccountsGetResponse>;
|
|
721
|
+
/**
|
|
722
|
+
* Deletes a Cognitive Services account from the resource group.
|
|
723
|
+
* @param location Resource location.
|
|
724
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
725
|
+
* @param accountName The name of Cognitive Services account.
|
|
726
|
+
* @param options The options parameters.
|
|
727
|
+
*/
|
|
728
|
+
beginPurge(location: string, resourceGroupName: string, accountName: string, options?: DeletedAccountsPurgeOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
729
|
+
/**
|
|
730
|
+
* Deletes a Cognitive Services account from the resource group.
|
|
731
|
+
* @param location Resource location.
|
|
732
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
733
|
+
* @param accountName The name of Cognitive Services account.
|
|
734
|
+
* @param options The options parameters.
|
|
735
|
+
*/
|
|
736
|
+
beginPurgeAndWait(location: string, resourceGroupName: string, accountName: string, options?: DeletedAccountsPurgeOptionalParams): Promise<void>;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
/** Optional parameters. */
|
|
740
|
+
export declare interface DeletedAccountsGetOptionalParams extends coreClient.OperationOptions {
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
/** Contains response data for the get operation. */
|
|
744
|
+
export declare type DeletedAccountsGetResponse = Account;
|
|
745
|
+
|
|
746
|
+
/** Optional parameters. */
|
|
747
|
+
export declare interface DeletedAccountsListNextOptionalParams extends coreClient.OperationOptions {
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
/** Contains response data for the listNext operation. */
|
|
751
|
+
export declare type DeletedAccountsListNextResponse = AccountListResult;
|
|
752
|
+
|
|
753
|
+
/** Optional parameters. */
|
|
754
|
+
export declare interface DeletedAccountsListOptionalParams extends coreClient.OperationOptions {
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/** Contains response data for the list operation. */
|
|
758
|
+
export declare type DeletedAccountsListResponse = AccountListResult;
|
|
759
|
+
|
|
760
|
+
/** Optional parameters. */
|
|
761
|
+
export declare interface DeletedAccountsPurgeOptionalParams extends coreClient.OperationOptions {
|
|
762
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
763
|
+
updateIntervalInMs?: number;
|
|
764
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
765
|
+
resumeFrom?: string;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/** Cognitive Services account deployment. */
|
|
769
|
+
export declare type Deployment = ProxyResource & {
|
|
770
|
+
/**
|
|
771
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
772
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
773
|
+
*/
|
|
774
|
+
readonly systemData?: SystemData;
|
|
775
|
+
/**
|
|
776
|
+
* Resource Etag.
|
|
777
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
778
|
+
*/
|
|
779
|
+
readonly etag?: string;
|
|
780
|
+
/** Properties of Cognitive Services account deployment. */
|
|
781
|
+
properties?: DeploymentProperties;
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
/** The list of cognitive services accounts operation response. */
|
|
785
|
+
export declare interface DeploymentListResult {
|
|
786
|
+
/** The link used to get the next page of Deployment. */
|
|
787
|
+
nextLink?: string;
|
|
788
|
+
/**
|
|
789
|
+
* Gets the list of Cognitive Services accounts Deployment and their properties.
|
|
790
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
791
|
+
*/
|
|
792
|
+
readonly value?: Deployment[];
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/** Properties of Cognitive Services account deployment model. */
|
|
796
|
+
export declare interface DeploymentModel {
|
|
797
|
+
/** Deployment model format. */
|
|
798
|
+
format?: string;
|
|
799
|
+
/** Deployment model name. */
|
|
800
|
+
name?: string;
|
|
801
|
+
/** Deployment model version. */
|
|
802
|
+
version?: string;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
/** Properties of Cognitive Services account deployment. */
|
|
806
|
+
export declare interface DeploymentProperties {
|
|
807
|
+
/**
|
|
808
|
+
* Gets the status of the resource at the time the operation was called.
|
|
809
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
810
|
+
*/
|
|
811
|
+
readonly provisioningState?: DeploymentProvisioningState;
|
|
812
|
+
/** Properties of Cognitive Services account deployment model. */
|
|
813
|
+
model?: DeploymentModel;
|
|
814
|
+
/** Properties of Cognitive Services account deployment model. */
|
|
815
|
+
scaleSettings?: DeploymentScaleSettings;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* Defines values for DeploymentProvisioningState. \
|
|
820
|
+
* {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState,
|
|
821
|
+
* this enum contains the known values that the service supports.
|
|
822
|
+
* ### Known values supported by the service
|
|
823
|
+
* **Accepted** \
|
|
824
|
+
* **Creating** \
|
|
825
|
+
* **Deleting** \
|
|
826
|
+
* **Moving** \
|
|
827
|
+
* **Failed** \
|
|
828
|
+
* **Succeeded**
|
|
829
|
+
*/
|
|
830
|
+
export declare type DeploymentProvisioningState = string;
|
|
831
|
+
|
|
832
|
+
/** Interface representing a Deployments. */
|
|
833
|
+
export declare interface Deployments {
|
|
834
|
+
/**
|
|
835
|
+
* Gets the deployments associated with the Cognitive Services account.
|
|
836
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
837
|
+
* @param accountName The name of Cognitive Services account.
|
|
838
|
+
* @param options The options parameters.
|
|
839
|
+
*/
|
|
840
|
+
list(resourceGroupName: string, accountName: string, options?: DeploymentsListOptionalParams): PagedAsyncIterableIterator<Deployment>;
|
|
841
|
+
/**
|
|
842
|
+
* Gets the specified deployments associated with the Cognitive Services account.
|
|
843
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
844
|
+
* @param accountName The name of Cognitive Services account.
|
|
845
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
846
|
+
* @param options The options parameters.
|
|
847
|
+
*/
|
|
848
|
+
get(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsGetOptionalParams): Promise<DeploymentsGetResponse>;
|
|
849
|
+
/**
|
|
850
|
+
* Update the state of specified deployments associated with the Cognitive Services account.
|
|
851
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
852
|
+
* @param accountName The name of Cognitive Services account.
|
|
853
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
854
|
+
* @param deployment The deployment properties.
|
|
855
|
+
* @param options The options parameters.
|
|
856
|
+
*/
|
|
857
|
+
beginCreateOrUpdate(resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DeploymentsCreateOrUpdateResponse>, DeploymentsCreateOrUpdateResponse>>;
|
|
858
|
+
/**
|
|
859
|
+
* Update the state of specified deployments associated with the Cognitive Services account.
|
|
860
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
861
|
+
* @param accountName The name of Cognitive Services account.
|
|
862
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
863
|
+
* @param deployment The deployment properties.
|
|
864
|
+
* @param options The options parameters.
|
|
865
|
+
*/
|
|
866
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams): Promise<DeploymentsCreateOrUpdateResponse>;
|
|
867
|
+
/**
|
|
868
|
+
* Deletes the specified deployment associated with the Cognitive Services account.
|
|
869
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
870
|
+
* @param accountName The name of Cognitive Services account.
|
|
871
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
872
|
+
* @param options The options parameters.
|
|
873
|
+
*/
|
|
874
|
+
beginDelete(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
875
|
+
/**
|
|
876
|
+
* Deletes the specified deployment associated with the Cognitive Services account.
|
|
877
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
878
|
+
* @param accountName The name of Cognitive Services account.
|
|
879
|
+
* @param deploymentName The name of the deployment associated with the Cognitive Services Account
|
|
880
|
+
* @param options The options parameters.
|
|
881
|
+
*/
|
|
882
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams): Promise<void>;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
/** Properties of Cognitive Services account deployment model. */
|
|
886
|
+
export declare interface DeploymentScaleSettings {
|
|
887
|
+
/** Deployment scale type. */
|
|
888
|
+
scaleType?: DeploymentScaleType;
|
|
889
|
+
/** Deployment capacity. */
|
|
890
|
+
capacity?: number;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Defines values for DeploymentScaleType. \
|
|
895
|
+
* {@link KnownDeploymentScaleType} can be used interchangeably with DeploymentScaleType,
|
|
896
|
+
* this enum contains the known values that the service supports.
|
|
897
|
+
* ### Known values supported by the service
|
|
898
|
+
* **Manual**
|
|
899
|
+
*/
|
|
900
|
+
export declare type DeploymentScaleType = string;
|
|
901
|
+
|
|
902
|
+
/** Optional parameters. */
|
|
903
|
+
export declare interface DeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
904
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
905
|
+
updateIntervalInMs?: number;
|
|
906
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
907
|
+
resumeFrom?: string;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
911
|
+
export declare type DeploymentsCreateOrUpdateResponse = Deployment;
|
|
912
|
+
|
|
913
|
+
/** Optional parameters. */
|
|
914
|
+
export declare interface DeploymentsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
915
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
916
|
+
updateIntervalInMs?: number;
|
|
917
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
918
|
+
resumeFrom?: string;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/** Optional parameters. */
|
|
922
|
+
export declare interface DeploymentsGetOptionalParams extends coreClient.OperationOptions {
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/** Contains response data for the get operation. */
|
|
926
|
+
export declare type DeploymentsGetResponse = Deployment;
|
|
927
|
+
|
|
928
|
+
/** Optional parameters. */
|
|
929
|
+
export declare interface DeploymentsListNextOptionalParams extends coreClient.OperationOptions {
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/** Contains response data for the listNext operation. */
|
|
933
|
+
export declare type DeploymentsListNextResponse = DeploymentListResult;
|
|
934
|
+
|
|
935
|
+
/** Optional parameters. */
|
|
936
|
+
export declare interface DeploymentsListOptionalParams extends coreClient.OperationOptions {
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
/** Contains response data for the list operation. */
|
|
940
|
+
export declare type DeploymentsListResponse = DeploymentListResult;
|
|
941
|
+
|
|
942
|
+
/** Domain availability. */
|
|
943
|
+
export declare interface DomainAvailability {
|
|
944
|
+
/** Indicates the given SKU is available or not. */
|
|
945
|
+
isSubdomainAvailable?: boolean;
|
|
946
|
+
/** Reason why the SKU is not available. */
|
|
947
|
+
reason?: string;
|
|
948
|
+
/** The subdomain name to use. */
|
|
949
|
+
subdomainName?: string;
|
|
950
|
+
/** The Type of the resource. */
|
|
951
|
+
type?: string;
|
|
952
|
+
/** The Kind of the resource. */
|
|
953
|
+
kind?: string;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/** Properties to configure Encryption */
|
|
957
|
+
export declare interface Encryption {
|
|
958
|
+
/** Properties of KeyVault */
|
|
959
|
+
keyVaultProperties?: KeyVaultProperties;
|
|
960
|
+
/** Enumerates the possible value of keySource for Encryption */
|
|
961
|
+
keySource?: KeySource;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
/** The resource management error additional info. */
|
|
965
|
+
export declare interface ErrorAdditionalInfo {
|
|
966
|
+
/**
|
|
967
|
+
* The additional info type.
|
|
968
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
969
|
+
*/
|
|
970
|
+
readonly type?: string;
|
|
971
|
+
/**
|
|
972
|
+
* The additional info.
|
|
973
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
974
|
+
*/
|
|
975
|
+
readonly info?: Record<string, unknown>;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/** The error detail. */
|
|
979
|
+
export declare interface ErrorDetail {
|
|
980
|
+
/**
|
|
981
|
+
* The error code.
|
|
982
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
983
|
+
*/
|
|
984
|
+
readonly code?: string;
|
|
985
|
+
/**
|
|
986
|
+
* The error message.
|
|
987
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
988
|
+
*/
|
|
989
|
+
readonly message?: string;
|
|
990
|
+
/**
|
|
991
|
+
* The error target.
|
|
992
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
993
|
+
*/
|
|
994
|
+
readonly target?: string;
|
|
995
|
+
/**
|
|
996
|
+
* The error details.
|
|
997
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
998
|
+
*/
|
|
999
|
+
readonly details?: ErrorDetail[];
|
|
1000
|
+
/**
|
|
1001
|
+
* The error additional info.
|
|
1002
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1003
|
+
*/
|
|
1004
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
1008
|
+
export declare interface ErrorResponse {
|
|
1009
|
+
/** The error object. */
|
|
1010
|
+
error?: ErrorDetail;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* Defines values for HostingModel. \
|
|
1015
|
+
* {@link KnownHostingModel} can be used interchangeably with HostingModel,
|
|
1016
|
+
* this enum contains the known values that the service supports.
|
|
1017
|
+
* ### Known values supported by the service
|
|
1018
|
+
* **Web** \
|
|
1019
|
+
* **ConnectedContainer** \
|
|
1020
|
+
* **DisconnectedContainer**
|
|
1021
|
+
*/
|
|
1022
|
+
export declare type HostingModel = string;
|
|
1023
|
+
|
|
1024
|
+
/** Identity for the resource. */
|
|
1025
|
+
export declare interface Identity {
|
|
1026
|
+
/** The identity type. */
|
|
1027
|
+
type?: ResourceIdentityType;
|
|
1028
|
+
/**
|
|
1029
|
+
* The tenant ID of resource.
|
|
1030
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1031
|
+
*/
|
|
1032
|
+
readonly tenantId?: string;
|
|
1033
|
+
/**
|
|
1034
|
+
* The principal ID of resource identity.
|
|
1035
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1036
|
+
*/
|
|
1037
|
+
readonly principalId?: string;
|
|
1038
|
+
/** The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} */
|
|
1039
|
+
userAssignedIdentities?: {
|
|
1040
|
+
[propertyName: string]: UserAssignedIdentity;
|
|
1041
|
+
};
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/** A rule governing the accessibility from a specific ip address or ip range. */
|
|
1045
|
+
export declare interface IpRule {
|
|
1046
|
+
/** An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). */
|
|
1047
|
+
value: string;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
/** Defines values for KeyName. */
|
|
1051
|
+
export declare type KeyName = "Key1" | "Key2";
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Defines values for KeySource. \
|
|
1055
|
+
* {@link KnownKeySource} can be used interchangeably with KeySource,
|
|
1056
|
+
* this enum contains the known values that the service supports.
|
|
1057
|
+
* ### Known values supported by the service
|
|
1058
|
+
* **Microsoft.CognitiveServices** \
|
|
1059
|
+
* **Microsoft.KeyVault**
|
|
1060
|
+
*/
|
|
1061
|
+
export declare type KeySource = string;
|
|
1062
|
+
|
|
1063
|
+
/** Properties to configure keyVault Properties */
|
|
1064
|
+
export declare interface KeyVaultProperties {
|
|
1065
|
+
/** Name of the Key from KeyVault */
|
|
1066
|
+
keyName?: string;
|
|
1067
|
+
/** Version of the Key from KeyVault */
|
|
1068
|
+
keyVersion?: string;
|
|
1069
|
+
/** Uri of KeyVault */
|
|
1070
|
+
keyVaultUri?: string;
|
|
1071
|
+
identityClientId?: string;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
1075
|
+
export declare enum KnownActionType {
|
|
1076
|
+
Internal = "Internal"
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
1080
|
+
export declare enum KnownCreatedByType {
|
|
1081
|
+
User = "User",
|
|
1082
|
+
Application = "Application",
|
|
1083
|
+
ManagedIdentity = "ManagedIdentity",
|
|
1084
|
+
Key = "Key"
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/** Known values of {@link DeploymentProvisioningState} that the service accepts. */
|
|
1088
|
+
export declare enum KnownDeploymentProvisioningState {
|
|
1089
|
+
Accepted = "Accepted",
|
|
1090
|
+
Creating = "Creating",
|
|
1091
|
+
Deleting = "Deleting",
|
|
1092
|
+
Moving = "Moving",
|
|
1093
|
+
Failed = "Failed",
|
|
1094
|
+
Succeeded = "Succeeded"
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/** Known values of {@link DeploymentScaleType} that the service accepts. */
|
|
1098
|
+
export declare enum KnownDeploymentScaleType {
|
|
1099
|
+
Manual = "Manual"
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
/** Known values of {@link HostingModel} that the service accepts. */
|
|
1103
|
+
export declare enum KnownHostingModel {
|
|
1104
|
+
Web = "Web",
|
|
1105
|
+
ConnectedContainer = "ConnectedContainer",
|
|
1106
|
+
DisconnectedContainer = "DisconnectedContainer"
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/** Known values of {@link KeySource} that the service accepts. */
|
|
1110
|
+
export declare enum KnownKeySource {
|
|
1111
|
+
MicrosoftCognitiveServices = "Microsoft.CognitiveServices",
|
|
1112
|
+
MicrosoftKeyVault = "Microsoft.KeyVault"
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/** Known values of {@link NetworkRuleAction} that the service accepts. */
|
|
1116
|
+
export declare enum KnownNetworkRuleAction {
|
|
1117
|
+
Allow = "Allow",
|
|
1118
|
+
Deny = "Deny"
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
1122
|
+
export declare enum KnownOrigin {
|
|
1123
|
+
User = "user",
|
|
1124
|
+
System = "system",
|
|
1125
|
+
UserSystem = "user,system"
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
1129
|
+
export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
|
1130
|
+
Succeeded = "Succeeded",
|
|
1131
|
+
Creating = "Creating",
|
|
1132
|
+
Deleting = "Deleting",
|
|
1133
|
+
Failed = "Failed"
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
1137
|
+
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
1138
|
+
Pending = "Pending",
|
|
1139
|
+
Approved = "Approved",
|
|
1140
|
+
Rejected = "Rejected"
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
1144
|
+
export declare enum KnownProvisioningState {
|
|
1145
|
+
Accepted = "Accepted",
|
|
1146
|
+
Creating = "Creating",
|
|
1147
|
+
Deleting = "Deleting",
|
|
1148
|
+
Moving = "Moving",
|
|
1149
|
+
Failed = "Failed",
|
|
1150
|
+
Succeeded = "Succeeded",
|
|
1151
|
+
ResolvingDNS = "ResolvingDNS"
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
1155
|
+
export declare enum KnownPublicNetworkAccess {
|
|
1156
|
+
Enabled = "Enabled",
|
|
1157
|
+
Disabled = "Disabled"
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/** Known values of {@link QuotaUsageStatus} that the service accepts. */
|
|
1161
|
+
export declare enum KnownQuotaUsageStatus {
|
|
1162
|
+
Included = "Included",
|
|
1163
|
+
Blocked = "Blocked",
|
|
1164
|
+
InOverage = "InOverage",
|
|
1165
|
+
Unknown = "Unknown"
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
/** Known values of {@link ResourceSkuRestrictionsReasonCode} that the service accepts. */
|
|
1169
|
+
export declare enum KnownResourceSkuRestrictionsReasonCode {
|
|
1170
|
+
QuotaId = "QuotaId",
|
|
1171
|
+
NotAvailableForSubscription = "NotAvailableForSubscription"
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
/** Known values of {@link SkuTier} that the service accepts. */
|
|
1175
|
+
export declare enum KnownSkuTier {
|
|
1176
|
+
Free = "Free",
|
|
1177
|
+
Basic = "Basic",
|
|
1178
|
+
Standard = "Standard",
|
|
1179
|
+
Premium = "Premium",
|
|
1180
|
+
Enterprise = "Enterprise"
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
/** Known values of {@link UnitType} that the service accepts. */
|
|
1184
|
+
export declare enum KnownUnitType {
|
|
1185
|
+
Count = "Count",
|
|
1186
|
+
Bytes = "Bytes",
|
|
1187
|
+
Seconds = "Seconds",
|
|
1188
|
+
Percent = "Percent",
|
|
1189
|
+
CountPerSecond = "CountPerSecond",
|
|
1190
|
+
BytesPerSecond = "BytesPerSecond",
|
|
1191
|
+
Milliseconds = "Milliseconds"
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
/** A metric name. */
|
|
1195
|
+
export declare interface MetricName {
|
|
1196
|
+
/** The name of the metric. */
|
|
1197
|
+
value?: string;
|
|
1198
|
+
/** The friendly name of the metric. */
|
|
1199
|
+
localizedValue?: string;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* Defines values for NetworkRuleAction. \
|
|
1204
|
+
* {@link KnownNetworkRuleAction} can be used interchangeably with NetworkRuleAction,
|
|
1205
|
+
* this enum contains the known values that the service supports.
|
|
1206
|
+
* ### Known values supported by the service
|
|
1207
|
+
* **Allow** \
|
|
1208
|
+
* **Deny**
|
|
1209
|
+
*/
|
|
1210
|
+
export declare type NetworkRuleAction = string;
|
|
1211
|
+
|
|
1212
|
+
/** A set of rules governing the network accessibility. */
|
|
1213
|
+
export declare interface NetworkRuleSet {
|
|
1214
|
+
/** The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */
|
|
1215
|
+
defaultAction?: NetworkRuleAction;
|
|
1216
|
+
/** The list of IP address rules. */
|
|
1217
|
+
ipRules?: IpRule[];
|
|
1218
|
+
/** The list of virtual network rules. */
|
|
1219
|
+
virtualNetworkRules?: VirtualNetworkRule[];
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
1223
|
+
export declare interface Operation {
|
|
1224
|
+
/**
|
|
1225
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
1226
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1227
|
+
*/
|
|
1228
|
+
readonly name?: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
1231
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1232
|
+
*/
|
|
1233
|
+
readonly isDataAction?: boolean;
|
|
1234
|
+
/** Localized display information for this particular operation. */
|
|
1235
|
+
display?: OperationDisplay;
|
|
1236
|
+
/**
|
|
1237
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
1238
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1239
|
+
*/
|
|
1240
|
+
readonly origin?: Origin;
|
|
1241
|
+
/**
|
|
1242
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
1243
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1244
|
+
*/
|
|
1245
|
+
readonly actionType?: ActionType;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/** Localized display information for this particular operation. */
|
|
1249
|
+
export declare interface OperationDisplay {
|
|
1250
|
+
/**
|
|
1251
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
1252
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1253
|
+
*/
|
|
1254
|
+
readonly provider?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
1257
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1258
|
+
*/
|
|
1259
|
+
readonly resource?: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
1262
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1263
|
+
*/
|
|
1264
|
+
readonly operation?: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
1267
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1268
|
+
*/
|
|
1269
|
+
readonly description?: string;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
1273
|
+
export declare interface OperationListResult {
|
|
1274
|
+
/**
|
|
1275
|
+
* List of operations supported by the resource provider
|
|
1276
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1277
|
+
*/
|
|
1278
|
+
readonly value?: Operation[];
|
|
1279
|
+
/**
|
|
1280
|
+
* URL to get the next set of operation list results (if there are any).
|
|
1281
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1282
|
+
*/
|
|
1283
|
+
readonly nextLink?: string;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
/** Interface representing a Operations. */
|
|
1287
|
+
export declare interface Operations {
|
|
1288
|
+
/**
|
|
1289
|
+
* Lists all the available Cognitive Services account operations.
|
|
1290
|
+
* @param options The options parameters.
|
|
1291
|
+
*/
|
|
1292
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
/** Optional parameters. */
|
|
1296
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
/** Contains response data for the listNext operation. */
|
|
1300
|
+
export declare type OperationsListNextResponse = OperationListResult;
|
|
1301
|
+
|
|
1302
|
+
/** Optional parameters. */
|
|
1303
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
/** Contains response data for the list operation. */
|
|
1307
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Defines values for Origin. \
|
|
1311
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
1312
|
+
* this enum contains the known values that the service supports.
|
|
1313
|
+
* ### Known values supported by the service
|
|
1314
|
+
* **user** \
|
|
1315
|
+
* **system** \
|
|
1316
|
+
* **user,system**
|
|
1317
|
+
*/
|
|
1318
|
+
export declare type Origin = string;
|
|
1319
|
+
|
|
1320
|
+
/** The Private Endpoint resource. */
|
|
1321
|
+
export declare interface PrivateEndpoint {
|
|
1322
|
+
/**
|
|
1323
|
+
* The ARM identifier for Private Endpoint
|
|
1324
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1325
|
+
*/
|
|
1326
|
+
readonly id?: string;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/** The Private Endpoint Connection resource. */
|
|
1330
|
+
export declare type PrivateEndpointConnection = AzureEntityResource & {
|
|
1331
|
+
/** Resource properties. */
|
|
1332
|
+
properties?: PrivateEndpointConnectionProperties;
|
|
1333
|
+
/**
|
|
1334
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
1335
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1336
|
+
*/
|
|
1337
|
+
readonly systemData?: SystemData;
|
|
1338
|
+
/** The location of the private endpoint connection */
|
|
1339
|
+
location?: string;
|
|
1340
|
+
};
|
|
1341
|
+
|
|
1342
|
+
/** A list of private endpoint connections */
|
|
1343
|
+
export declare interface PrivateEndpointConnectionListResult {
|
|
1344
|
+
/** Array of private endpoint connections */
|
|
1345
|
+
value?: PrivateEndpointConnection[];
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
/** Properties of the PrivateEndpointConnectProperties. */
|
|
1349
|
+
export declare interface PrivateEndpointConnectionProperties {
|
|
1350
|
+
/** The resource of private end point. */
|
|
1351
|
+
privateEndpoint?: PrivateEndpoint;
|
|
1352
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
1353
|
+
privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
|
|
1354
|
+
/**
|
|
1355
|
+
* The provisioning state of the private endpoint connection resource.
|
|
1356
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1357
|
+
*/
|
|
1358
|
+
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
1359
|
+
/** The private link resource group ids. */
|
|
1360
|
+
groupIds?: string[];
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
|
1365
|
+
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
|
1366
|
+
* this enum contains the known values that the service supports.
|
|
1367
|
+
* ### Known values supported by the service
|
|
1368
|
+
* **Succeeded** \
|
|
1369
|
+
* **Creating** \
|
|
1370
|
+
* **Deleting** \
|
|
1371
|
+
* **Failed**
|
|
1372
|
+
*/
|
|
1373
|
+
export declare type PrivateEndpointConnectionProvisioningState = string;
|
|
1374
|
+
|
|
1375
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
1376
|
+
export declare interface PrivateEndpointConnections {
|
|
1377
|
+
/**
|
|
1378
|
+
* Gets the private endpoint connections associated with the Cognitive Services account.
|
|
1379
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1380
|
+
* @param accountName The name of Cognitive Services account.
|
|
1381
|
+
* @param options The options parameters.
|
|
1382
|
+
*/
|
|
1383
|
+
list(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListOptionalParams): Promise<PrivateEndpointConnectionsListResponse>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Gets the specified private endpoint connection associated with the Cognitive Services account.
|
|
1386
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1387
|
+
* @param accountName The name of Cognitive Services account.
|
|
1388
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
1389
|
+
* Cognitive Services Account
|
|
1390
|
+
* @param options The options parameters.
|
|
1391
|
+
*/
|
|
1392
|
+
get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Update the state of specified private endpoint connection associated with the Cognitive Services
|
|
1395
|
+
* account.
|
|
1396
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1397
|
+
* @param accountName The name of Cognitive Services account.
|
|
1398
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
1399
|
+
* Cognitive Services Account
|
|
1400
|
+
* @param properties The private endpoint connection properties.
|
|
1401
|
+
* @param options The options parameters.
|
|
1402
|
+
*/
|
|
1403
|
+
beginCreateOrUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Update the state of specified private endpoint connection associated with the Cognitive Services
|
|
1406
|
+
* account.
|
|
1407
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1408
|
+
* @param accountName The name of Cognitive Services account.
|
|
1409
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
1410
|
+
* Cognitive Services Account
|
|
1411
|
+
* @param properties The private endpoint connection properties.
|
|
1412
|
+
* @param options The options parameters.
|
|
1413
|
+
*/
|
|
1414
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Deletes the specified private endpoint connection associated with the Cognitive Services account.
|
|
1417
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1418
|
+
* @param accountName The name of Cognitive Services account.
|
|
1419
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
1420
|
+
* Cognitive Services Account
|
|
1421
|
+
* @param options The options parameters.
|
|
1422
|
+
*/
|
|
1423
|
+
beginDelete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
1424
|
+
/**
|
|
1425
|
+
* Deletes the specified private endpoint connection associated with the Cognitive Services account.
|
|
1426
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1427
|
+
* @param accountName The name of Cognitive Services account.
|
|
1428
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
1429
|
+
* Cognitive Services Account
|
|
1430
|
+
* @param options The options parameters.
|
|
1431
|
+
*/
|
|
1432
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/** Optional parameters. */
|
|
1436
|
+
export declare interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1437
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1438
|
+
updateIntervalInMs?: number;
|
|
1439
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1440
|
+
resumeFrom?: string;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1444
|
+
export declare type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
|
|
1445
|
+
|
|
1446
|
+
/** Optional parameters. */
|
|
1447
|
+
export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1448
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1449
|
+
updateIntervalInMs?: number;
|
|
1450
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1451
|
+
resumeFrom?: string;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
/** Optional parameters. */
|
|
1455
|
+
export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
/** Contains response data for the get operation. */
|
|
1459
|
+
export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
|
1460
|
+
|
|
1461
|
+
/** Optional parameters. */
|
|
1462
|
+
export declare interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
/** Contains response data for the list operation. */
|
|
1466
|
+
export declare type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
|
|
1467
|
+
|
|
1468
|
+
/**
|
|
1469
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
|
1470
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
|
1471
|
+
* this enum contains the known values that the service supports.
|
|
1472
|
+
* ### Known values supported by the service
|
|
1473
|
+
* **Pending** \
|
|
1474
|
+
* **Approved** \
|
|
1475
|
+
* **Rejected**
|
|
1476
|
+
*/
|
|
1477
|
+
export declare type PrivateEndpointServiceConnectionStatus = string;
|
|
1478
|
+
|
|
1479
|
+
/** A private link resource */
|
|
1480
|
+
export declare type PrivateLinkResource = Resource & {
|
|
1481
|
+
/** Resource properties. */
|
|
1482
|
+
properties?: PrivateLinkResourceProperties;
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
/** A list of private link resources */
|
|
1486
|
+
export declare interface PrivateLinkResourceListResult {
|
|
1487
|
+
/** Array of private link resources */
|
|
1488
|
+
value?: PrivateLinkResource[];
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/** Properties of a private link resource. */
|
|
1492
|
+
export declare interface PrivateLinkResourceProperties {
|
|
1493
|
+
/**
|
|
1494
|
+
* The private link resource group id.
|
|
1495
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1496
|
+
*/
|
|
1497
|
+
readonly groupId?: string;
|
|
1498
|
+
/**
|
|
1499
|
+
* The private link resource required member names.
|
|
1500
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1501
|
+
*/
|
|
1502
|
+
readonly requiredMembers?: string[];
|
|
1503
|
+
/** The private link resource Private link DNS zone name. */
|
|
1504
|
+
requiredZoneNames?: string[];
|
|
1505
|
+
/**
|
|
1506
|
+
* The private link resource display name.
|
|
1507
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1508
|
+
*/
|
|
1509
|
+
readonly displayName?: string;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/** Interface representing a PrivateLinkResources. */
|
|
1513
|
+
export declare interface PrivateLinkResources {
|
|
1514
|
+
/**
|
|
1515
|
+
* Gets the private link resources that need to be created for a Cognitive Services account.
|
|
1516
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1517
|
+
* @param accountName The name of Cognitive Services account.
|
|
1518
|
+
* @param options The options parameters.
|
|
1519
|
+
*/
|
|
1520
|
+
list(resourceGroupName: string, accountName: string, options?: PrivateLinkResourcesListOptionalParams): Promise<PrivateLinkResourcesListResponse>;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
/** Optional parameters. */
|
|
1524
|
+
export declare interface PrivateLinkResourcesListOptionalParams extends coreClient.OperationOptions {
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
/** Contains response data for the list operation. */
|
|
1528
|
+
export declare type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult;
|
|
1529
|
+
|
|
1530
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
1531
|
+
export declare interface PrivateLinkServiceConnectionState {
|
|
1532
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
1533
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
|
1534
|
+
/** The reason for approval/rejection of the connection. */
|
|
1535
|
+
description?: string;
|
|
1536
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
1537
|
+
actionsRequired?: string;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* Defines values for ProvisioningState. \
|
|
1542
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
1543
|
+
* this enum contains the known values that the service supports.
|
|
1544
|
+
* ### Known values supported by the service
|
|
1545
|
+
* **Accepted** \
|
|
1546
|
+
* **Creating** \
|
|
1547
|
+
* **Deleting** \
|
|
1548
|
+
* **Moving** \
|
|
1549
|
+
* **Failed** \
|
|
1550
|
+
* **Succeeded** \
|
|
1551
|
+
* **ResolvingDNS**
|
|
1552
|
+
*/
|
|
1553
|
+
export declare type ProvisioningState = string;
|
|
1554
|
+
|
|
1555
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
1556
|
+
export declare type ProxyResource = Resource & {};
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* Defines values for PublicNetworkAccess. \
|
|
1560
|
+
* {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
|
|
1561
|
+
* this enum contains the known values that the service supports.
|
|
1562
|
+
* ### Known values supported by the service
|
|
1563
|
+
* **Enabled** \
|
|
1564
|
+
* **Disabled**
|
|
1565
|
+
*/
|
|
1566
|
+
export declare type PublicNetworkAccess = string;
|
|
1567
|
+
|
|
1568
|
+
export declare interface QuotaLimit {
|
|
1569
|
+
count?: number;
|
|
1570
|
+
renewalPeriod?: number;
|
|
1571
|
+
rules?: ThrottlingRule[];
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* Defines values for QuotaUsageStatus. \
|
|
1576
|
+
* {@link KnownQuotaUsageStatus} can be used interchangeably with QuotaUsageStatus,
|
|
1577
|
+
* this enum contains the known values that the service supports.
|
|
1578
|
+
* ### Known values supported by the service
|
|
1579
|
+
* **Included** \
|
|
1580
|
+
* **Blocked** \
|
|
1581
|
+
* **InOverage** \
|
|
1582
|
+
* **Unknown**
|
|
1583
|
+
*/
|
|
1584
|
+
export declare type QuotaUsageStatus = string;
|
|
1585
|
+
|
|
1586
|
+
/** Regenerate key parameters. */
|
|
1587
|
+
export declare interface RegenerateKeyParameters {
|
|
1588
|
+
/** key name to generate (Key1|Key2) */
|
|
1589
|
+
keyName: KeyName;
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
export declare interface RequestMatchPattern {
|
|
1593
|
+
path?: string;
|
|
1594
|
+
method?: string;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
1598
|
+
export declare interface Resource {
|
|
1599
|
+
/**
|
|
1600
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
1601
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1602
|
+
*/
|
|
1603
|
+
readonly id?: string;
|
|
1604
|
+
/**
|
|
1605
|
+
* The name of the resource
|
|
1606
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1607
|
+
*/
|
|
1608
|
+
readonly name?: string;
|
|
1609
|
+
/**
|
|
1610
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
1611
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1612
|
+
*/
|
|
1613
|
+
readonly type?: string;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
/** Defines values for ResourceIdentityType. */
|
|
1617
|
+
export declare type ResourceIdentityType = "None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned";
|
|
1618
|
+
|
|
1619
|
+
/** Describes an available Cognitive Services SKU. */
|
|
1620
|
+
export declare interface ResourceSku {
|
|
1621
|
+
/** The type of resource the SKU applies to. */
|
|
1622
|
+
resourceType?: string;
|
|
1623
|
+
/** The name of SKU. */
|
|
1624
|
+
name?: string;
|
|
1625
|
+
/** Specifies the tier of Cognitive Services account. */
|
|
1626
|
+
tier?: string;
|
|
1627
|
+
/** The Kind of resources that are supported in this SKU. */
|
|
1628
|
+
kind?: string;
|
|
1629
|
+
/** The set of locations that the SKU is available. */
|
|
1630
|
+
locations?: string[];
|
|
1631
|
+
/** The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. */
|
|
1632
|
+
restrictions?: ResourceSkuRestrictions[];
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
/** The Get Skus operation response. */
|
|
1636
|
+
export declare interface ResourceSkuListResult {
|
|
1637
|
+
/** The list of skus available for the subscription. */
|
|
1638
|
+
value: ResourceSku[];
|
|
1639
|
+
/** The uri to fetch the next page of Skus. */
|
|
1640
|
+
nextLink?: string;
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
export declare interface ResourceSkuRestrictionInfo {
|
|
1644
|
+
/** Locations where the SKU is restricted */
|
|
1645
|
+
locations?: string[];
|
|
1646
|
+
/** List of availability zones where the SKU is restricted. */
|
|
1647
|
+
zones?: string[];
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
/** Describes restrictions of a SKU. */
|
|
1651
|
+
export declare interface ResourceSkuRestrictions {
|
|
1652
|
+
/** The type of restrictions. */
|
|
1653
|
+
type?: ResourceSkuRestrictionsType;
|
|
1654
|
+
/** The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. */
|
|
1655
|
+
values?: string[];
|
|
1656
|
+
/** The information about the restriction where the SKU cannot be used. */
|
|
1657
|
+
restrictionInfo?: ResourceSkuRestrictionInfo;
|
|
1658
|
+
/** The reason for restriction. */
|
|
1659
|
+
reasonCode?: ResourceSkuRestrictionsReasonCode;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
/**
|
|
1663
|
+
* Defines values for ResourceSkuRestrictionsReasonCode. \
|
|
1664
|
+
* {@link KnownResourceSkuRestrictionsReasonCode} can be used interchangeably with ResourceSkuRestrictionsReasonCode,
|
|
1665
|
+
* this enum contains the known values that the service supports.
|
|
1666
|
+
* ### Known values supported by the service
|
|
1667
|
+
* **QuotaId** \
|
|
1668
|
+
* **NotAvailableForSubscription**
|
|
1669
|
+
*/
|
|
1670
|
+
export declare type ResourceSkuRestrictionsReasonCode = string;
|
|
1671
|
+
|
|
1672
|
+
/** Defines values for ResourceSkuRestrictionsType. */
|
|
1673
|
+
export declare type ResourceSkuRestrictionsType = "Location" | "Zone";
|
|
1674
|
+
|
|
1675
|
+
/** Interface representing a ResourceSkus. */
|
|
1676
|
+
export declare interface ResourceSkus {
|
|
1677
|
+
/**
|
|
1678
|
+
* Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription.
|
|
1679
|
+
* @param options The options parameters.
|
|
1680
|
+
*/
|
|
1681
|
+
list(options?: ResourceSkusListOptionalParams): PagedAsyncIterableIterator<ResourceSku>;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
/** Optional parameters. */
|
|
1685
|
+
export declare interface ResourceSkusListNextOptionalParams extends coreClient.OperationOptions {
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
/** Contains response data for the listNext operation. */
|
|
1689
|
+
export declare type ResourceSkusListNextResponse = ResourceSkuListResult;
|
|
1690
|
+
|
|
1691
|
+
/** Optional parameters. */
|
|
1692
|
+
export declare interface ResourceSkusListOptionalParams extends coreClient.OperationOptions {
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
/** Contains response data for the list operation. */
|
|
1696
|
+
export declare type ResourceSkusListResponse = ResourceSkuListResult;
|
|
1697
|
+
|
|
1698
|
+
/** The resource model definition representing SKU */
|
|
1699
|
+
export declare interface Sku {
|
|
1700
|
+
/** The name of the SKU. Ex - P3. It is typically a letter+number code */
|
|
1701
|
+
name: string;
|
|
1702
|
+
/** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */
|
|
1703
|
+
tier?: SkuTier;
|
|
1704
|
+
/** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */
|
|
1705
|
+
size?: string;
|
|
1706
|
+
/** If the service has different generations of hardware, for the same SKU, then that can be captured here. */
|
|
1707
|
+
family?: string;
|
|
1708
|
+
/** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */
|
|
1709
|
+
capacity?: number;
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
/** SKU availability. */
|
|
1713
|
+
export declare interface SkuAvailability {
|
|
1714
|
+
/** The Kind of the resource. */
|
|
1715
|
+
kind?: string;
|
|
1716
|
+
/** The Type of the resource. */
|
|
1717
|
+
type?: string;
|
|
1718
|
+
/** The SKU of Cognitive Services account. */
|
|
1719
|
+
skuName?: string;
|
|
1720
|
+
/** Indicates the given SKU is available or not. */
|
|
1721
|
+
skuAvailable?: boolean;
|
|
1722
|
+
/** Reason why the SKU is not available. */
|
|
1723
|
+
reason?: string;
|
|
1724
|
+
/** Additional error message. */
|
|
1725
|
+
message?: string;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
/** Check SKU availability result list. */
|
|
1729
|
+
export declare interface SkuAvailabilityListResult {
|
|
1730
|
+
/** Check SKU availability result list. */
|
|
1731
|
+
value?: SkuAvailability[];
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
/** SkuCapability indicates the capability of a certain feature. */
|
|
1735
|
+
export declare interface SkuCapability {
|
|
1736
|
+
/** The name of the SkuCapability. */
|
|
1737
|
+
name?: string;
|
|
1738
|
+
/** The value of the SkuCapability. */
|
|
1739
|
+
value?: string;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
/** Sku change info of account. */
|
|
1743
|
+
export declare interface SkuChangeInfo {
|
|
1744
|
+
/** Gets the count of downgrades. */
|
|
1745
|
+
countOfDowngrades?: number;
|
|
1746
|
+
/** Gets the count of upgrades after downgrades. */
|
|
1747
|
+
countOfUpgradesAfterDowngrades?: number;
|
|
1748
|
+
/** Gets the last change date. */
|
|
1749
|
+
lastChangeDate?: string;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* Defines values for SkuTier. \
|
|
1754
|
+
* {@link KnownSkuTier} can be used interchangeably with SkuTier,
|
|
1755
|
+
* this enum contains the known values that the service supports.
|
|
1756
|
+
* ### Known values supported by the service
|
|
1757
|
+
* **Free** \
|
|
1758
|
+
* **Basic** \
|
|
1759
|
+
* **Standard** \
|
|
1760
|
+
* **Premium** \
|
|
1761
|
+
* **Enterprise**
|
|
1762
|
+
*/
|
|
1763
|
+
export declare type SkuTier = string;
|
|
1764
|
+
|
|
1765
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
1766
|
+
export declare interface SystemData {
|
|
1767
|
+
/** The identity that created the resource. */
|
|
1768
|
+
createdBy?: string;
|
|
1769
|
+
/** The type of identity that created the resource. */
|
|
1770
|
+
createdByType?: CreatedByType;
|
|
1771
|
+
/** The timestamp of resource creation (UTC). */
|
|
1772
|
+
createdAt?: Date;
|
|
1773
|
+
/** The identity that last modified the resource. */
|
|
1774
|
+
lastModifiedBy?: string;
|
|
1775
|
+
/** The type of identity that last modified the resource. */
|
|
1776
|
+
lastModifiedByType?: CreatedByType;
|
|
1777
|
+
/** The timestamp of resource last modification (UTC) */
|
|
1778
|
+
lastModifiedAt?: Date;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
export declare interface ThrottlingRule {
|
|
1782
|
+
key?: string;
|
|
1783
|
+
renewalPeriod?: number;
|
|
1784
|
+
count?: number;
|
|
1785
|
+
minCount?: number;
|
|
1786
|
+
dynamicThrottlingEnabled?: boolean;
|
|
1787
|
+
matchPatterns?: RequestMatchPattern[];
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* Defines values for UnitType. \
|
|
1792
|
+
* {@link KnownUnitType} can be used interchangeably with UnitType,
|
|
1793
|
+
* this enum contains the known values that the service supports.
|
|
1794
|
+
* ### Known values supported by the service
|
|
1795
|
+
* **Count** \
|
|
1796
|
+
* **Bytes** \
|
|
1797
|
+
* **Seconds** \
|
|
1798
|
+
* **Percent** \
|
|
1799
|
+
* **CountPerSecond** \
|
|
1800
|
+
* **BytesPerSecond** \
|
|
1801
|
+
* **Milliseconds**
|
|
1802
|
+
*/
|
|
1803
|
+
export declare type UnitType = string;
|
|
1804
|
+
|
|
1805
|
+
/** The usage data for a usage request. */
|
|
1806
|
+
export declare interface Usage {
|
|
1807
|
+
/** The unit of the metric. */
|
|
1808
|
+
unit?: UnitType;
|
|
1809
|
+
/** The name information for the metric. */
|
|
1810
|
+
name?: MetricName;
|
|
1811
|
+
/** The quota period used to summarize the usage values. */
|
|
1812
|
+
quotaPeriod?: string;
|
|
1813
|
+
/** Maximum value for this metric. */
|
|
1814
|
+
limit?: number;
|
|
1815
|
+
/** Current value for this metric. */
|
|
1816
|
+
currentValue?: number;
|
|
1817
|
+
/** Next reset time for current quota. */
|
|
1818
|
+
nextResetTime?: string;
|
|
1819
|
+
/** Cognitive Services account quota usage status. */
|
|
1820
|
+
status?: QuotaUsageStatus;
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
/** The response to a list usage request. */
|
|
1824
|
+
export declare interface UsageListResult {
|
|
1825
|
+
/** The list of usages for Cognitive Service account. */
|
|
1826
|
+
value?: Usage[];
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
/** User-assigned managed identity. */
|
|
1830
|
+
export declare interface UserAssignedIdentity {
|
|
1831
|
+
/**
|
|
1832
|
+
* Azure Active Directory principal ID associated with this Identity.
|
|
1833
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1834
|
+
*/
|
|
1835
|
+
readonly principalId?: string;
|
|
1836
|
+
/**
|
|
1837
|
+
* Client App Id associated with this identity.
|
|
1838
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1839
|
+
*/
|
|
1840
|
+
readonly clientId?: string;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/** The user owned storage for Cognitive Services account. */
|
|
1844
|
+
export declare interface UserOwnedStorage {
|
|
1845
|
+
/** Full resource id of a Microsoft.Storage resource. */
|
|
1846
|
+
resourceId?: string;
|
|
1847
|
+
identityClientId?: string;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
/** A rule governing the accessibility from a specific virtual network. */
|
|
1851
|
+
export declare interface VirtualNetworkRule {
|
|
1852
|
+
/** Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. */
|
|
1853
|
+
id: string;
|
|
1854
|
+
/** Gets the state of virtual network rule. */
|
|
1855
|
+
state?: string;
|
|
1856
|
+
/** Ignore missing vnet service endpoint or not. */
|
|
1857
|
+
ignoreMissingVnetServiceEndpoint?: boolean;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
export { }
|