@azure/arm-maps 1.1.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +75 -77
- package/dist/index.js +1892 -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/azureMapsManagementClient.d.ts +20 -0
- package/dist-esm/src/azureMapsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureMapsManagementClient.js +53 -0
- package/dist-esm/src/azureMapsManagementClient.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/models/index.d.ts +480 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +35 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +25 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +732 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +16 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +131 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/accounts.d.ts +103 -0
- package/dist-esm/src/operations/accounts.d.ts.map +1 -0
- package/dist-esm/src/operations/accounts.js +427 -0
- package/dist-esm/src/operations/accounts.js.map +1 -0
- package/dist-esm/src/operations/creators.d.ts +74 -0
- package/dist-esm/src/operations/creators.d.ts.map +1 -0
- package/dist-esm/src/operations/creators.js +281 -0
- package/dist-esm/src/operations/creators.js.map +1 -0
- package/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 +11 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/maps.d.ts +51 -0
- package/dist-esm/src/operations/maps.d.ts.map +1 -0
- package/dist-esm/src/operations/maps.js +220 -0
- package/dist-esm/src/operations/maps.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts +67 -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/creators.d.ts +49 -0
- package/dist-esm/src/operationsInterfaces/creators.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/creators.js +9 -0
- package/dist-esm/src/operationsInterfaces/creators.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/maps.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/maps.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/maps.js +9 -0
- package/dist-esm/src/operationsInterfaces/maps.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +73 -34
- package/review/arm-maps.api.md +423 -0
- package/rollup.config.js +184 -27
- package/src/azureMapsManagementClient.ts +79 -0
- package/src/index.ts +12 -0
- package/src/models/index.ts +552 -0
- package/src/models/mappers.ts +769 -0
- package/src/models/parameters.ts +156 -0
- package/src/operations/accounts.ts +541 -0
- package/src/operations/creators.ts +383 -0
- package/src/operations/index.ts +11 -0
- package/src/operations/maps.ts +256 -0
- package/src/operationsInterfaces/accounts.ts +125 -0
- package/src/operationsInterfaces/creators.ts +95 -0
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/maps.ts +33 -0
- package/tsconfig.json +4 -4
- package/types/arm-maps.d.ts +696 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-maps.js +0 -1035
- package/dist/arm-maps.js.map +0 -1
- package/dist/arm-maps.min.js +0 -1
- package/dist/arm-maps.min.js.map +0 -1
- package/esm/mapsManagementClient.d.ts +0 -19
- package/esm/mapsManagementClient.d.ts.map +0 -1
- package/esm/mapsManagementClient.js +0 -34
- package/esm/mapsManagementClient.js.map +0 -1
- package/esm/mapsManagementClientContext.d.ts +0 -17
- package/esm/mapsManagementClientContext.d.ts.map +0 -1
- package/esm/mapsManagementClientContext.js +0 -57
- package/esm/mapsManagementClientContext.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 -11
- package/esm/models/accountsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -491
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -18
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -419
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -7
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -60
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/accounts.d.ts +0 -222
- package/esm/operations/accounts.d.ts.map +0 -1
- package/esm/operations/accounts.js +0 -347
- package/esm/operations/accounts.js.map +0 -1
- package/esm/operations/index.d.ts +0 -2
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -11
- package/esm/operations/index.js.map +0 -1
- package/lib/mapsManagementClient.ts +0 -43
- package/lib/mapsManagementClientContext.ts +0 -63
- package/lib/models/accountsMappers.ts +0 -28
- package/lib/models/index.ts +0 -521
- package/lib/models/mappers.ts +0 -439
- package/lib/models/parameters.ts +0 -62
- package/lib/operations/accounts.ts +0 -620
- package/lib/operations/index.ts +0 -11
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as Models from "./models";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
14
|
-
|
|
15
|
-
const packageName = "@azure/arm-maps";
|
|
16
|
-
const packageVersion = "0.1.0";
|
|
17
|
-
|
|
18
|
-
export class MapsManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
19
|
-
credentials: msRest.ServiceClientCredentials;
|
|
20
|
-
subscriptionId: string;
|
|
21
|
-
apiVersion?: string;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Initializes a new instance of the MapsManagementClient class.
|
|
25
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
26
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
|
|
27
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
28
|
-
* @param [options] The parameter options
|
|
29
|
-
*/
|
|
30
|
-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MapsManagementClientOptions) {
|
|
31
|
-
if (credentials == undefined) {
|
|
32
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
33
|
-
}
|
|
34
|
-
if (subscriptionId == undefined) {
|
|
35
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
if (!options) {
|
|
39
|
-
options = {};
|
|
40
|
-
}
|
|
41
|
-
if(!options.userAgent) {
|
|
42
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
43
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
super(credentials, options);
|
|
47
|
-
|
|
48
|
-
this.apiVersion = '2018-05-01';
|
|
49
|
-
this.acceptLanguage = 'en-US';
|
|
50
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
51
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
52
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
53
|
-
this.credentials = credentials;
|
|
54
|
-
this.subscriptionId = subscriptionId;
|
|
55
|
-
|
|
56
|
-
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
57
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
58
|
-
}
|
|
59
|
-
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
60
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
MapsAccountCreateParameters,
|
|
13
|
-
Sku,
|
|
14
|
-
MapsAccount,
|
|
15
|
-
Resource,
|
|
16
|
-
BaseResource,
|
|
17
|
-
ErrorModel,
|
|
18
|
-
ErrorDetailsItem,
|
|
19
|
-
MapsAccountUpdateParameters,
|
|
20
|
-
MapsAccounts,
|
|
21
|
-
MapsAccountsMoveRequest,
|
|
22
|
-
MapsAccountKeys,
|
|
23
|
-
MapsKeySpecification,
|
|
24
|
-
MapsOperations,
|
|
25
|
-
MapsOperationsValueItem,
|
|
26
|
-
MapsOperationsValueItemDisplay
|
|
27
|
-
} from "../models/mappers";
|
|
28
|
-
|
package/lib/models/index.ts
DELETED
|
@@ -1,521 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
|
|
14
|
-
export { BaseResource, CloudError };
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @interface
|
|
19
|
-
* An interface representing ErrorDetailsItem.
|
|
20
|
-
*/
|
|
21
|
-
export interface ErrorDetailsItem {
|
|
22
|
-
/**
|
|
23
|
-
* @member {string} [code] Error code.
|
|
24
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
25
|
-
* the server.**
|
|
26
|
-
*/
|
|
27
|
-
readonly code?: string;
|
|
28
|
-
/**
|
|
29
|
-
* @member {string} [message] If available, a human readable description of
|
|
30
|
-
* the error.
|
|
31
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
32
|
-
* the server.**
|
|
33
|
-
*/
|
|
34
|
-
readonly message?: string;
|
|
35
|
-
/**
|
|
36
|
-
* @member {string} [target] If available, the component generating the
|
|
37
|
-
* error.
|
|
38
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
39
|
-
* the server.**
|
|
40
|
-
*/
|
|
41
|
-
readonly target?: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @interface
|
|
46
|
-
* An interface representing ErrorModel.
|
|
47
|
-
* This object is returned when an error occurs in the Maps API
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export interface ErrorModel {
|
|
51
|
-
/**
|
|
52
|
-
* @member {string} [code] Error code.
|
|
53
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
54
|
-
* the server.**
|
|
55
|
-
*/
|
|
56
|
-
readonly code?: string;
|
|
57
|
-
/**
|
|
58
|
-
* @member {string} [message] If available, a human readable description of
|
|
59
|
-
* the error.
|
|
60
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
61
|
-
* the server.**
|
|
62
|
-
*/
|
|
63
|
-
readonly message?: string;
|
|
64
|
-
/**
|
|
65
|
-
* @member {string} [target] If available, the component generating the
|
|
66
|
-
* error.
|
|
67
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
68
|
-
* the server.**
|
|
69
|
-
*/
|
|
70
|
-
readonly target?: string;
|
|
71
|
-
/**
|
|
72
|
-
* @member {ErrorDetailsItem[]} [details] If available, a list of additional
|
|
73
|
-
* details about the error.
|
|
74
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
75
|
-
* the server.**
|
|
76
|
-
*/
|
|
77
|
-
readonly details?: ErrorDetailsItem[];
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @interface
|
|
82
|
-
* An interface representing Resource.
|
|
83
|
-
* An Azure resource
|
|
84
|
-
*
|
|
85
|
-
* @extends BaseResource
|
|
86
|
-
*/
|
|
87
|
-
export interface Resource extends BaseResource {
|
|
88
|
-
/**
|
|
89
|
-
* @member {string} [id] The fully qualified Maps Account resource
|
|
90
|
-
* identifier.
|
|
91
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
92
|
-
* the server.**
|
|
93
|
-
*/
|
|
94
|
-
readonly id?: string;
|
|
95
|
-
/**
|
|
96
|
-
* @member {string} [name] The name of the Maps Account, which is unique
|
|
97
|
-
* within a Resource Group.
|
|
98
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
99
|
-
* the server.**
|
|
100
|
-
*/
|
|
101
|
-
readonly name?: string;
|
|
102
|
-
/**
|
|
103
|
-
* @member {string} [type] Azure resource type.
|
|
104
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
105
|
-
* the server.**
|
|
106
|
-
*/
|
|
107
|
-
readonly type?: string;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @interface
|
|
112
|
-
* An interface representing Sku.
|
|
113
|
-
* The SKU of the Maps Account.
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
|
-
export interface Sku {
|
|
117
|
-
/**
|
|
118
|
-
* @member {string} name The name of the SKU, in standard format (such as
|
|
119
|
-
* S0).
|
|
120
|
-
*/
|
|
121
|
-
name: string;
|
|
122
|
-
/**
|
|
123
|
-
* @member {string} [tier] Gets the sku tier. This is based on the SKU name.
|
|
124
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
125
|
-
* the server.**
|
|
126
|
-
*/
|
|
127
|
-
readonly tier?: string;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* @interface
|
|
132
|
-
* An interface representing MapsAccount.
|
|
133
|
-
* An Azure resource which represents access to a suite of Maps REST APIs.
|
|
134
|
-
*
|
|
135
|
-
* @extends Resource
|
|
136
|
-
*/
|
|
137
|
-
export interface MapsAccount extends Resource {
|
|
138
|
-
/**
|
|
139
|
-
* @member {string} [location] The location of the resource.
|
|
140
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
141
|
-
* the server.**
|
|
142
|
-
*/
|
|
143
|
-
readonly location?: string;
|
|
144
|
-
/**
|
|
145
|
-
* @member {{ [propertyName: string]: string }} [tags] Gets a list of key
|
|
146
|
-
* value pairs that describe the resource. These tags can be used in viewing
|
|
147
|
-
* and grouping this resource (across resource groups). A maximum of 15 tags
|
|
148
|
-
* can be provided for a resource. Each tag must have a key no greater than
|
|
149
|
-
* 128 characters and value no greater than 256 characters.
|
|
150
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
151
|
-
* the server.**
|
|
152
|
-
*/
|
|
153
|
-
readonly tags?: { [propertyName: string]: string };
|
|
154
|
-
/**
|
|
155
|
-
* @member {Sku} [sku] The SKU of this account.
|
|
156
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
157
|
-
* the server.**
|
|
158
|
-
*/
|
|
159
|
-
readonly sku?: Sku;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @interface
|
|
164
|
-
* An interface representing MapsAccountCreateParameters.
|
|
165
|
-
* Parameters used to create a new Maps Account.
|
|
166
|
-
*
|
|
167
|
-
*/
|
|
168
|
-
export interface MapsAccountCreateParameters {
|
|
169
|
-
/**
|
|
170
|
-
* @member {string} location The location of the resource.
|
|
171
|
-
*/
|
|
172
|
-
location: string;
|
|
173
|
-
/**
|
|
174
|
-
* @member {{ [propertyName: string]: string }} [tags] Gets or sets a list of
|
|
175
|
-
* key value pairs that describe the resource. These tags can be used in
|
|
176
|
-
* viewing and grouping this resource (across resource groups). A maximum of
|
|
177
|
-
* 15 tags can be provided for a resource. Each tag must have a key no
|
|
178
|
-
* greater than 128 characters and value no greater than 256 characters.
|
|
179
|
-
*/
|
|
180
|
-
tags?: { [propertyName: string]: string };
|
|
181
|
-
/**
|
|
182
|
-
* @member {Sku} sku The SKU of this account.
|
|
183
|
-
*/
|
|
184
|
-
sku: Sku;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* @interface
|
|
189
|
-
* An interface representing MapsAccountUpdateParameters.
|
|
190
|
-
* Parameters used to update an existing Maps Account.
|
|
191
|
-
*
|
|
192
|
-
*/
|
|
193
|
-
export interface MapsAccountUpdateParameters {
|
|
194
|
-
/**
|
|
195
|
-
* @member {{ [propertyName: string]: string }} [tags] Gets or sets a list of
|
|
196
|
-
* key value pairs that describe the resource. These tags can be used in
|
|
197
|
-
* viewing and grouping this resource (across resource groups). A maximum of
|
|
198
|
-
* 15 tags can be provided for a resource. Each tag must have a key no
|
|
199
|
-
* greater than 128 characters and value no greater than 256 characters.
|
|
200
|
-
*/
|
|
201
|
-
tags?: { [propertyName: string]: string };
|
|
202
|
-
/**
|
|
203
|
-
* @member {Sku} [sku] The SKU of this account.
|
|
204
|
-
*/
|
|
205
|
-
sku?: Sku;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* @interface
|
|
210
|
-
* An interface representing MapsAccountsMoveRequest.
|
|
211
|
-
* The description of what resources to move between resource groups.
|
|
212
|
-
*
|
|
213
|
-
*/
|
|
214
|
-
export interface MapsAccountsMoveRequest {
|
|
215
|
-
/**
|
|
216
|
-
* @member {string} targetResourceGroup The name of the destination resource
|
|
217
|
-
* group.
|
|
218
|
-
*/
|
|
219
|
-
targetResourceGroup: string;
|
|
220
|
-
/**
|
|
221
|
-
* @member {string[]} resourceIds A list of resource names to move from the
|
|
222
|
-
* source resource group.
|
|
223
|
-
*/
|
|
224
|
-
resourceIds: string[];
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* @interface
|
|
229
|
-
* An interface representing MapsKeySpecification.
|
|
230
|
-
* Whether the operation refers to the primary or secondary key.
|
|
231
|
-
*
|
|
232
|
-
*/
|
|
233
|
-
export interface MapsKeySpecification {
|
|
234
|
-
/**
|
|
235
|
-
* @member {KeyType} keyType Whether the operation refers to the primary or
|
|
236
|
-
* secondary key. Possible values include: 'primary', 'secondary'
|
|
237
|
-
*/
|
|
238
|
-
keyType: KeyType;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @interface
|
|
243
|
-
* An interface representing MapsAccountKeys.
|
|
244
|
-
* The set of keys which can be used to access the Maps REST APIs. Two keys are
|
|
245
|
-
* provided for key rotation without interruption.
|
|
246
|
-
*
|
|
247
|
-
*/
|
|
248
|
-
export interface MapsAccountKeys {
|
|
249
|
-
/**
|
|
250
|
-
* @member {string} [id] The full Azure resource identifier of the Maps
|
|
251
|
-
* Account.
|
|
252
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
253
|
-
* the server.**
|
|
254
|
-
*/
|
|
255
|
-
readonly id?: string;
|
|
256
|
-
/**
|
|
257
|
-
* @member {string} [primaryKey] The primary key for accessing the Maps REST
|
|
258
|
-
* APIs.
|
|
259
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
260
|
-
* the server.**
|
|
261
|
-
*/
|
|
262
|
-
readonly primaryKey?: string;
|
|
263
|
-
/**
|
|
264
|
-
* @member {string} [secondaryKey] The secondary key for accessing the Maps
|
|
265
|
-
* REST APIs.
|
|
266
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
267
|
-
* the server.**
|
|
268
|
-
*/
|
|
269
|
-
readonly secondaryKey?: string;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* @interface
|
|
274
|
-
* An interface representing MapsOperationsValueItemDisplay.
|
|
275
|
-
* The human-readable description of the operation.
|
|
276
|
-
*
|
|
277
|
-
*/
|
|
278
|
-
export interface MapsOperationsValueItemDisplay {
|
|
279
|
-
/**
|
|
280
|
-
* @member {string} [provider] Service provider: Microsoft Maps.
|
|
281
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
282
|
-
* the server.**
|
|
283
|
-
*/
|
|
284
|
-
readonly provider?: string;
|
|
285
|
-
/**
|
|
286
|
-
* @member {string} [resource] Resource on which the operation is performed.
|
|
287
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
288
|
-
* the server.**
|
|
289
|
-
*/
|
|
290
|
-
readonly resource?: string;
|
|
291
|
-
/**
|
|
292
|
-
* @member {string} [operation] The action that users can perform, based on
|
|
293
|
-
* their permission level.
|
|
294
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
295
|
-
* the server.**
|
|
296
|
-
*/
|
|
297
|
-
readonly operation?: string;
|
|
298
|
-
/**
|
|
299
|
-
* @member {string} [description] The description of the operation.
|
|
300
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
301
|
-
* the server.**
|
|
302
|
-
*/
|
|
303
|
-
readonly description?: string;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* @interface
|
|
308
|
-
* An interface representing MapsOperationsValueItem.
|
|
309
|
-
*/
|
|
310
|
-
export interface MapsOperationsValueItem {
|
|
311
|
-
/**
|
|
312
|
-
* @member {string} [name] Operation name: {provider}/{resource}/{operation}.
|
|
313
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
314
|
-
* the server.**
|
|
315
|
-
*/
|
|
316
|
-
readonly name?: string;
|
|
317
|
-
/**
|
|
318
|
-
* @member {MapsOperationsValueItemDisplay} [display] The human-readable
|
|
319
|
-
* description of the operation.
|
|
320
|
-
*/
|
|
321
|
-
display?: MapsOperationsValueItemDisplay;
|
|
322
|
-
/**
|
|
323
|
-
* @member {string} [origin] The origin of the operation.
|
|
324
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
325
|
-
* the server.**
|
|
326
|
-
*/
|
|
327
|
-
readonly origin?: string;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* @interface
|
|
332
|
-
* An interface representing MapsManagementClientOptions.
|
|
333
|
-
* @extends AzureServiceClientOptions
|
|
334
|
-
*/
|
|
335
|
-
export interface MapsManagementClientOptions extends AzureServiceClientOptions {
|
|
336
|
-
/**
|
|
337
|
-
* @member {string} [baseUri]
|
|
338
|
-
*/
|
|
339
|
-
baseUri?: string;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* @interface
|
|
345
|
-
* An interface representing the MapsAccounts.
|
|
346
|
-
* A list of Maps Accounts.
|
|
347
|
-
*
|
|
348
|
-
* @extends Array<MapsAccount>
|
|
349
|
-
*/
|
|
350
|
-
export interface MapsAccounts extends Array<MapsAccount> {
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* @interface
|
|
355
|
-
* An interface representing the MapsOperations.
|
|
356
|
-
* The set of operations available for Maps.
|
|
357
|
-
*
|
|
358
|
-
* @extends Array<MapsOperationsValueItem>
|
|
359
|
-
*/
|
|
360
|
-
export interface MapsOperations extends Array<MapsOperationsValueItem> {
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* Defines values for KeyType.
|
|
365
|
-
* Possible values include: 'primary', 'secondary'
|
|
366
|
-
* @readonly
|
|
367
|
-
* @enum {string}
|
|
368
|
-
*/
|
|
369
|
-
export type KeyType = 'primary' | 'secondary';
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Contains response data for the createOrUpdate operation.
|
|
373
|
-
*/
|
|
374
|
-
export type AccountsCreateOrUpdateResponse = MapsAccount & {
|
|
375
|
-
/**
|
|
376
|
-
* The underlying HTTP response.
|
|
377
|
-
*/
|
|
378
|
-
_response: msRest.HttpResponse & {
|
|
379
|
-
/**
|
|
380
|
-
* The response body as text (string format)
|
|
381
|
-
*/
|
|
382
|
-
bodyAsText: string;
|
|
383
|
-
/**
|
|
384
|
-
* The response body as parsed JSON or XML
|
|
385
|
-
*/
|
|
386
|
-
parsedBody: MapsAccount;
|
|
387
|
-
};
|
|
388
|
-
};
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* Contains response data for the update operation.
|
|
392
|
-
*/
|
|
393
|
-
export type AccountsUpdateResponse = MapsAccount & {
|
|
394
|
-
/**
|
|
395
|
-
* The underlying HTTP response.
|
|
396
|
-
*/
|
|
397
|
-
_response: msRest.HttpResponse & {
|
|
398
|
-
/**
|
|
399
|
-
* The response body as text (string format)
|
|
400
|
-
*/
|
|
401
|
-
bodyAsText: string;
|
|
402
|
-
/**
|
|
403
|
-
* The response body as parsed JSON or XML
|
|
404
|
-
*/
|
|
405
|
-
parsedBody: MapsAccount;
|
|
406
|
-
};
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* Contains response data for the get operation.
|
|
411
|
-
*/
|
|
412
|
-
export type AccountsGetResponse = MapsAccount & {
|
|
413
|
-
/**
|
|
414
|
-
* The underlying HTTP response.
|
|
415
|
-
*/
|
|
416
|
-
_response: msRest.HttpResponse & {
|
|
417
|
-
/**
|
|
418
|
-
* The response body as text (string format)
|
|
419
|
-
*/
|
|
420
|
-
bodyAsText: string;
|
|
421
|
-
/**
|
|
422
|
-
* The response body as parsed JSON or XML
|
|
423
|
-
*/
|
|
424
|
-
parsedBody: MapsAccount;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* Contains response data for the listByResourceGroup operation.
|
|
430
|
-
*/
|
|
431
|
-
export type AccountsListByResourceGroupResponse = MapsAccounts & {
|
|
432
|
-
/**
|
|
433
|
-
* The underlying HTTP response.
|
|
434
|
-
*/
|
|
435
|
-
_response: msRest.HttpResponse & {
|
|
436
|
-
/**
|
|
437
|
-
* The response body as text (string format)
|
|
438
|
-
*/
|
|
439
|
-
bodyAsText: string;
|
|
440
|
-
/**
|
|
441
|
-
* The response body as parsed JSON or XML
|
|
442
|
-
*/
|
|
443
|
-
parsedBody: MapsAccounts;
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
* Contains response data for the listBySubscription operation.
|
|
449
|
-
*/
|
|
450
|
-
export type AccountsListBySubscriptionResponse = MapsAccounts & {
|
|
451
|
-
/**
|
|
452
|
-
* The underlying HTTP response.
|
|
453
|
-
*/
|
|
454
|
-
_response: msRest.HttpResponse & {
|
|
455
|
-
/**
|
|
456
|
-
* The response body as text (string format)
|
|
457
|
-
*/
|
|
458
|
-
bodyAsText: string;
|
|
459
|
-
/**
|
|
460
|
-
* The response body as parsed JSON or XML
|
|
461
|
-
*/
|
|
462
|
-
parsedBody: MapsAccounts;
|
|
463
|
-
};
|
|
464
|
-
};
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* Contains response data for the listKeys operation.
|
|
468
|
-
*/
|
|
469
|
-
export type AccountsListKeysResponse = MapsAccountKeys & {
|
|
470
|
-
/**
|
|
471
|
-
* The underlying HTTP response.
|
|
472
|
-
*/
|
|
473
|
-
_response: msRest.HttpResponse & {
|
|
474
|
-
/**
|
|
475
|
-
* The response body as text (string format)
|
|
476
|
-
*/
|
|
477
|
-
bodyAsText: string;
|
|
478
|
-
/**
|
|
479
|
-
* The response body as parsed JSON or XML
|
|
480
|
-
*/
|
|
481
|
-
parsedBody: MapsAccountKeys;
|
|
482
|
-
};
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* Contains response data for the regenerateKeys operation.
|
|
487
|
-
*/
|
|
488
|
-
export type AccountsRegenerateKeysResponse = MapsAccountKeys & {
|
|
489
|
-
/**
|
|
490
|
-
* The underlying HTTP response.
|
|
491
|
-
*/
|
|
492
|
-
_response: msRest.HttpResponse & {
|
|
493
|
-
/**
|
|
494
|
-
* The response body as text (string format)
|
|
495
|
-
*/
|
|
496
|
-
bodyAsText: string;
|
|
497
|
-
/**
|
|
498
|
-
* The response body as parsed JSON or XML
|
|
499
|
-
*/
|
|
500
|
-
parsedBody: MapsAccountKeys;
|
|
501
|
-
};
|
|
502
|
-
};
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* Contains response data for the listOperations operation.
|
|
506
|
-
*/
|
|
507
|
-
export type AccountsListOperationsResponse = MapsOperations & {
|
|
508
|
-
/**
|
|
509
|
-
* The underlying HTTP response.
|
|
510
|
-
*/
|
|
511
|
-
_response: msRest.HttpResponse & {
|
|
512
|
-
/**
|
|
513
|
-
* The response body as text (string format)
|
|
514
|
-
*/
|
|
515
|
-
bodyAsText: string;
|
|
516
|
-
/**
|
|
517
|
-
* The response body as parsed JSON or XML
|
|
518
|
-
*/
|
|
519
|
-
parsedBody: MapsOperations;
|
|
520
|
-
};
|
|
521
|
-
};
|