@azure/arm-managementpartner 1.2.1 → 2.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.
Files changed (147) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -81
  4. package/dist/index.js +634 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/deletePartnerDetails.d.ts +2 -0
  9. package/dist-esm/samples-dev/deletePartnerDetails.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/deletePartnerDetails.js +29 -0
  11. package/dist-esm/samples-dev/deletePartnerDetails.js.map +1 -0
  12. package/dist-esm/samples-dev/getOperations.d.ts +2 -0
  13. package/dist-esm/samples-dev/getOperations.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/getOperations.js +42 -0
  15. package/dist-esm/samples-dev/getOperations.js.map +1 -0
  16. package/dist-esm/samples-dev/getPartnerDetails.d.ts +2 -0
  17. package/dist-esm/samples-dev/getPartnerDetails.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/getPartnerDetails.js +28 -0
  19. package/dist-esm/samples-dev/getPartnerDetails.js.map +1 -0
  20. package/dist-esm/samples-dev/patchPartnerDetails.d.ts +2 -0
  21. package/dist-esm/samples-dev/patchPartnerDetails.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/patchPartnerDetails.js +29 -0
  23. package/dist-esm/samples-dev/patchPartnerDetails.js.map +1 -0
  24. package/dist-esm/samples-dev/putPartnerDetails.d.ts +2 -0
  25. package/dist-esm/samples-dev/putPartnerDetails.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/putPartnerDetails.js +29 -0
  27. package/dist-esm/samples-dev/putPartnerDetails.js.map +1 -0
  28. package/dist-esm/src/aCEProvisioningManagementPartnerAPI.d.ts +18 -0
  29. package/dist-esm/src/aCEProvisioningManagementPartnerAPI.d.ts.map +1 -0
  30. package/dist-esm/src/aCEProvisioningManagementPartnerAPI.js +47 -0
  31. package/dist-esm/src/aCEProvisioningManagementPartnerAPI.js.map +1 -0
  32. package/dist-esm/src/index.d.ts +5 -0
  33. package/dist-esm/src/index.d.ts.map +1 -0
  34. package/dist-esm/src/index.js +12 -0
  35. package/dist-esm/src/index.js.map +1 -0
  36. package/dist-esm/src/models/index.d.ts +137 -0
  37. package/dist-esm/src/models/index.d.ts.map +1 -0
  38. package/dist-esm/src/models/index.js +14 -0
  39. package/dist-esm/src/models/index.js.map +1 -0
  40. package/dist-esm/src/models/mappers.d.ts +8 -0
  41. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  42. package/{esm → dist-esm/src}/models/mappers.js +67 -66
  43. package/dist-esm/src/models/mappers.js.map +1 -0
  44. package/dist-esm/src/models/parameters.d.ts +7 -0
  45. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  46. package/{esm → dist-esm/src}/models/parameters.js +33 -22
  47. package/dist-esm/src/models/parameters.js.map +1 -0
  48. package/dist-esm/src/operations/index.d.ts +4 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +11 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/operation.d.ts +32 -0
  53. package/dist-esm/src/operations/operation.d.ts.map +1 -0
  54. package/dist-esm/src/operations/operation.js +120 -0
  55. package/dist-esm/src/operations/operation.js.map +1 -0
  56. package/dist-esm/src/operations/partner.d.ts +37 -0
  57. package/dist-esm/src/operations/partner.d.ts.map +1 -0
  58. package/dist-esm/src/operations/partner.js +117 -0
  59. package/dist-esm/src/operations/partner.js.map +1 -0
  60. package/dist-esm/src/operations/partners.d.ts +18 -0
  61. package/dist-esm/src/operations/partners.d.ts.map +1 -0
  62. package/dist-esm/src/operations/partners.js +46 -0
  63. package/dist-esm/src/operations/partners.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  67. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operation.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operation.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/operation.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/operation.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/partner.d.ts +29 -0
  73. package/dist-esm/src/operationsInterfaces/partner.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/partner.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/partner.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/partners.d.ts +10 -0
  77. package/dist-esm/src/operationsInterfaces/partners.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/partners.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/partners.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +81 -34
  85. package/review/arm-managementpartner.api.md +160 -0
  86. package/rollup.config.js +184 -27
  87. package/src/aCEProvisioningManagementPartnerAPI.ts +59 -37
  88. package/src/index.ts +12 -0
  89. package/src/models/index.ts +117 -250
  90. package/src/models/mappers.ts +68 -68
  91. package/src/models/parameters.ts +42 -23
  92. package/src/operations/index.ts +4 -5
  93. package/src/operations/operation.ts +87 -75
  94. package/src/operations/partner.ts +76 -152
  95. package/src/operations/partners.ts +54 -0
  96. package/src/operationsInterfaces/index.ts +11 -0
  97. package/src/operationsInterfaces/operation.ts +22 -0
  98. package/src/operationsInterfaces/partner.ts +57 -0
  99. package/src/operationsInterfaces/partners.ts +18 -0
  100. package/tsconfig.json +6 -5
  101. package/types/arm-managementpartner.d.ts +222 -0
  102. package/types/tsdoc-metadata.json +11 -0
  103. package/dist/arm-managementpartner.js +0 -686
  104. package/dist/arm-managementpartner.js.map +0 -1
  105. package/dist/arm-managementpartner.min.js +0 -1
  106. package/dist/arm-managementpartner.min.js.map +0 -1
  107. package/esm/aCEProvisioningManagementPartnerAPI.d.ts +0 -24
  108. package/esm/aCEProvisioningManagementPartnerAPI.d.ts.map +0 -1
  109. package/esm/aCEProvisioningManagementPartnerAPI.js +0 -38
  110. package/esm/aCEProvisioningManagementPartnerAPI.js.map +0 -1
  111. package/esm/aCEProvisioningManagementPartnerAPIContext.d.ts +0 -20
  112. package/esm/aCEProvisioningManagementPartnerAPIContext.d.ts.map +0 -1
  113. package/esm/aCEProvisioningManagementPartnerAPIContext.js +0 -56
  114. package/esm/aCEProvisioningManagementPartnerAPIContext.js.map +0 -1
  115. package/esm/models/index.d.ts +0 -273
  116. package/esm/models/index.d.ts.map +0 -1
  117. package/esm/models/index.js +0 -10
  118. package/esm/models/index.js.map +0 -1
  119. package/esm/models/mappers.d.ts +0 -10
  120. package/esm/models/mappers.d.ts.map +0 -1
  121. package/esm/models/mappers.js.map +0 -1
  122. package/esm/models/operationMappers.d.ts +0 -2
  123. package/esm/models/operationMappers.d.ts.map +0 -1
  124. package/esm/models/operationMappers.js +0 -11
  125. package/esm/models/operationMappers.js.map +0 -1
  126. package/esm/models/parameters.d.ts +0 -6
  127. package/esm/models/parameters.d.ts.map +0 -1
  128. package/esm/models/parameters.js.map +0 -1
  129. package/esm/models/partnerMappers.d.ts +0 -2
  130. package/esm/models/partnerMappers.d.ts.map +0 -1
  131. package/esm/models/partnerMappers.js +0 -11
  132. package/esm/models/partnerMappers.js.map +0 -1
  133. package/esm/operations/index.d.ts +0 -3
  134. package/esm/operations/index.d.ts.map +0 -1
  135. package/esm/operations/index.js +0 -12
  136. package/esm/operations/index.js.map +0 -1
  137. package/esm/operations/operation.d.ts +0 -48
  138. package/esm/operations/operation.d.ts.map +0 -1
  139. package/esm/operations/operation.js +0 -77
  140. package/esm/operations/operation.js.map +0 -1
  141. package/esm/operations/partner.d.ts +0 -89
  142. package/esm/operations/partner.d.ts.map +0 -1
  143. package/esm/operations/partner.js +0 -137
  144. package/esm/operations/partner.js.map +0 -1
  145. package/src/aCEProvisioningManagementPartnerAPIContext.ts +0 -62
  146. package/src/models/operationMappers.ts +0 -18
  147. package/src/models/partnerMappers.ts +0 -17
@@ -0,0 +1,54 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { Partners } from "../operationsInterfaces";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ import { ACEProvisioningManagementPartnerAPI } from "../aCEProvisioningManagementPartnerAPI";
14
+ import { PartnersGetOptionalParams, PartnersGetResponse } from "../models";
15
+
16
+ /** Class containing Partners operations. */
17
+ export class PartnersImpl implements Partners {
18
+ private readonly client: ACEProvisioningManagementPartnerAPI;
19
+
20
+ /**
21
+ * Initialize a new instance of the class Partners class.
22
+ * @param client Reference to the service client
23
+ */
24
+ constructor(client: ACEProvisioningManagementPartnerAPI) {
25
+ this.client = client;
26
+ }
27
+
28
+ /**
29
+ * Get the management partner using the objectId and tenantId.
30
+ * @param options The options parameters.
31
+ */
32
+ get(options?: PartnersGetOptionalParams): Promise<PartnersGetResponse> {
33
+ return this.client.sendOperationRequest({ options }, getOperationSpec);
34
+ }
35
+ }
36
+ // Operation Specifications
37
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
38
+
39
+ const getOperationSpec: coreClient.OperationSpec = {
40
+ path: "/providers/Microsoft.ManagementPartner/partners",
41
+ httpMethod: "GET",
42
+ responses: {
43
+ 200: {
44
+ bodyMapper: Mappers.PartnerResponse
45
+ },
46
+ default: {
47
+ bodyMapper: Mappers.ErrorModel
48
+ }
49
+ },
50
+ queryParameters: [Parameters.apiVersion],
51
+ urlParameters: [Parameters.$host],
52
+ headerParameters: [Parameters.accept],
53
+ serializer
54
+ };
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export * from "./partner";
10
+ export * from "./operation";
11
+ export * from "./partners";
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { OperationResponse, OperationListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operation. */
14
+ export interface Operation {
15
+ /**
16
+ * List all the operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationListOptionalParams
21
+ ): PagedAsyncIterableIterator<OperationResponse>;
22
+ }
@@ -0,0 +1,57 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ PartnerGetOptionalParams,
11
+ PartnerGetResponse,
12
+ PartnerCreateOptionalParams,
13
+ PartnerCreateResponse,
14
+ PartnerUpdateOptionalParams,
15
+ PartnerUpdateResponse,
16
+ PartnerDeleteOptionalParams
17
+ } from "../models";
18
+
19
+ /** Interface representing a Partner. */
20
+ export interface Partner {
21
+ /**
22
+ * Get the management partner using the partnerId, objectId and tenantId.
23
+ * @param partnerId Id of the Partner
24
+ * @param options The options parameters.
25
+ */
26
+ get(
27
+ partnerId: string,
28
+ options?: PartnerGetOptionalParams
29
+ ): Promise<PartnerGetResponse>;
30
+ /**
31
+ * Create a management partner for the objectId and tenantId.
32
+ * @param partnerId Id of the Partner
33
+ * @param options The options parameters.
34
+ */
35
+ create(
36
+ partnerId: string,
37
+ options?: PartnerCreateOptionalParams
38
+ ): Promise<PartnerCreateResponse>;
39
+ /**
40
+ * Update the management partner for the objectId and tenantId.
41
+ * @param partnerId Id of the Partner
42
+ * @param options The options parameters.
43
+ */
44
+ update(
45
+ partnerId: string,
46
+ options?: PartnerUpdateOptionalParams
47
+ ): Promise<PartnerUpdateResponse>;
48
+ /**
49
+ * Delete the management partner for the objectId and tenantId.
50
+ * @param partnerId Id of the Partner
51
+ * @param options The options parameters.
52
+ */
53
+ delete(
54
+ partnerId: string,
55
+ options?: PartnerDeleteOptionalParams
56
+ ): Promise<void>;
57
+ }
@@ -0,0 +1,18 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PartnersGetOptionalParams, PartnersGetResponse } from "../models";
10
+
11
+ /** Interface representing a Partners. */
12
+ export interface Partners {
13
+ /**
14
+ * Get the management partner using the objectId and tenantId.
15
+ * @param options The options parameters.
16
+ */
17
+ get(options?: PartnersGetOptionalParams): Promise<PartnersGetResponse>;
18
+ }
package/tsconfig.json CHANGED
@@ -3,17 +3,18 @@
3
3
  "module": "es6",
4
4
  "moduleResolution": "node",
5
5
  "strict": true,
6
- "target": "es5",
6
+ "target": "es6",
7
7
  "sourceMap": true,
8
8
  "declarationMap": true,
9
9
  "esModuleInterop": true,
10
10
  "allowSyntheticDefaultImports": true,
11
11
  "forceConsistentCasingInFileNames": true,
12
- "lib": ["es6"],
12
+ "lib": ["es6", "dom"],
13
13
  "declaration": true,
14
- "outDir": "./esm",
15
- "importHelpers": true
14
+ "outDir": "./dist-esm",
15
+ "importHelpers": true,
16
+ "paths": { "@azure/arm-managementpartner": ["./src/index"] }
16
17
  },
17
- "include": ["./src/**/*.ts"],
18
+ "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"],
18
19
  "exclude": ["node_modules"]
19
20
  }
@@ -0,0 +1,222 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+
5
+ export declare class ACEProvisioningManagementPartnerAPI extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ /**
9
+ * Initializes a new instance of the ACEProvisioningManagementPartnerAPI class.
10
+ * @param credentials Subscription credentials which uniquely identify client subscription.
11
+ * @param options The parameter options
12
+ */
13
+ constructor(credentials: coreAuth.TokenCredential, options?: ACEProvisioningManagementPartnerAPIOptionalParams);
14
+ partner: Partner;
15
+ operation: Operation;
16
+ partners: Partners;
17
+ }
18
+
19
+ /** Optional parameters. */
20
+ export declare interface ACEProvisioningManagementPartnerAPIOptionalParams extends coreClient.ServiceClientOptions {
21
+ /** server parameter */
22
+ $host?: string;
23
+ /** Api Version */
24
+ apiVersion?: string;
25
+ /** Overrides client endpoint. */
26
+ endpoint?: string;
27
+ }
28
+
29
+ /** this is the management partner operations error */
30
+ export declare interface ErrorModel {
31
+ /** this is the ExtendedErrorInfo property */
32
+ error?: ExtendedErrorInfo;
33
+ /** this is the error response code */
34
+ code?: string;
35
+ /** this is the extended error info message */
36
+ message?: string;
37
+ }
38
+
39
+ /** this is the extended error info */
40
+ export declare interface ExtendedErrorInfo {
41
+ /** this is the error response code */
42
+ code?: string;
43
+ /** this is the extended error info message */
44
+ message?: string;
45
+ }
46
+
47
+ /** Known values of {@link ManagementPartnerState} that the service accepts. */
48
+ export declare enum KnownManagementPartnerState {
49
+ Active = "Active",
50
+ Deleted = "Deleted"
51
+ }
52
+
53
+ /**
54
+ * Defines values for ManagementPartnerState. \
55
+ * {@link KnownManagementPartnerState} can be used interchangeably with ManagementPartnerState,
56
+ * this enum contains the known values that the service supports.
57
+ * ### Known values supported by the service
58
+ * **Active** \
59
+ * **Deleted**
60
+ */
61
+ export declare type ManagementPartnerState = string;
62
+
63
+ /** Interface representing a Operation. */
64
+ export declare interface Operation {
65
+ /**
66
+ * List all the operations.
67
+ * @param options The options parameters.
68
+ */
69
+ list(options?: OperationListOptionalParams): PagedAsyncIterableIterator<OperationResponse>;
70
+ }
71
+
72
+ /** this is the management partner operation */
73
+ export declare interface OperationDisplay {
74
+ /** the is management partner provider */
75
+ provider?: string;
76
+ /** the is management partner resource */
77
+ resource?: string;
78
+ /** the is management partner operation */
79
+ operation?: string;
80
+ /** the is management partner operation description */
81
+ description?: string;
82
+ }
83
+
84
+ /** this is the management partner operations list */
85
+ export declare interface OperationList {
86
+ /** this is the operation response list */
87
+ value?: OperationResponse[];
88
+ /** Url to get the next page of items. */
89
+ nextLink?: string;
90
+ }
91
+
92
+ /** Optional parameters. */
93
+ export declare interface OperationListNextOptionalParams extends coreClient.OperationOptions {
94
+ }
95
+
96
+ /** Contains response data for the listNext operation. */
97
+ export declare type OperationListNextResponse = OperationList;
98
+
99
+ /** Optional parameters. */
100
+ export declare interface OperationListOptionalParams extends coreClient.OperationOptions {
101
+ }
102
+
103
+ /** Contains response data for the list operation. */
104
+ export declare type OperationListResponse = OperationList;
105
+
106
+ /** this is the management partner operations response */
107
+ export declare interface OperationResponse {
108
+ /** this is the operation response name */
109
+ name?: string;
110
+ /** this is the operation display */
111
+ display?: OperationDisplay;
112
+ /** the is operation response origin information */
113
+ origin?: string;
114
+ }
115
+
116
+ /** Interface representing a Partner. */
117
+ export declare interface Partner {
118
+ /**
119
+ * Get the management partner using the partnerId, objectId and tenantId.
120
+ * @param partnerId Id of the Partner
121
+ * @param options The options parameters.
122
+ */
123
+ get(partnerId: string, options?: PartnerGetOptionalParams): Promise<PartnerGetResponse>;
124
+ /**
125
+ * Create a management partner for the objectId and tenantId.
126
+ * @param partnerId Id of the Partner
127
+ * @param options The options parameters.
128
+ */
129
+ create(partnerId: string, options?: PartnerCreateOptionalParams): Promise<PartnerCreateResponse>;
130
+ /**
131
+ * Update the management partner for the objectId and tenantId.
132
+ * @param partnerId Id of the Partner
133
+ * @param options The options parameters.
134
+ */
135
+ update(partnerId: string, options?: PartnerUpdateOptionalParams): Promise<PartnerUpdateResponse>;
136
+ /**
137
+ * Delete the management partner for the objectId and tenantId.
138
+ * @param partnerId Id of the Partner
139
+ * @param options The options parameters.
140
+ */
141
+ delete(partnerId: string, options?: PartnerDeleteOptionalParams): Promise<void>;
142
+ }
143
+
144
+ /** Optional parameters. */
145
+ export declare interface PartnerCreateOptionalParams extends coreClient.OperationOptions {
146
+ }
147
+
148
+ /** Contains response data for the create operation. */
149
+ export declare type PartnerCreateResponse = PartnerResponse;
150
+
151
+ /** Optional parameters. */
152
+ export declare interface PartnerDeleteOptionalParams extends coreClient.OperationOptions {
153
+ }
154
+
155
+ /** Optional parameters. */
156
+ export declare interface PartnerGetOptionalParams extends coreClient.OperationOptions {
157
+ }
158
+
159
+ /** Contains response data for the get operation. */
160
+ export declare type PartnerGetResponse = PartnerResponse;
161
+
162
+ /** this is the management partner operations response */
163
+ export declare interface PartnerResponse {
164
+ /** Type of the partner */
165
+ etag?: number;
166
+ /**
167
+ * Identifier of the partner
168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
169
+ */
170
+ readonly id?: string;
171
+ /**
172
+ * Name of the partner
173
+ * NOTE: This property will not be serialized. It can only be populated by the server.
174
+ */
175
+ readonly name?: string;
176
+ /**
177
+ * Type of resource. "Microsoft.ManagementPartner/partners"
178
+ * NOTE: This property will not be serialized. It can only be populated by the server.
179
+ */
180
+ readonly type?: string;
181
+ /** This is the partner id */
182
+ partnerId?: string;
183
+ /** This is the partner name */
184
+ partnerName?: string;
185
+ /** This is the tenant id. */
186
+ tenantId?: string;
187
+ /** This is the object id. */
188
+ objectId?: string;
189
+ /** This is the version. */
190
+ version?: number;
191
+ /** This is the DateTime when the partner was updated. */
192
+ updatedTime?: Date;
193
+ /** This is the DateTime when the partner was created. */
194
+ createdTime?: Date;
195
+ /** This is the partner state */
196
+ state?: ManagementPartnerState;
197
+ }
198
+
199
+ /** Interface representing a Partners. */
200
+ export declare interface Partners {
201
+ /**
202
+ * Get the management partner using the objectId and tenantId.
203
+ * @param options The options parameters.
204
+ */
205
+ get(options?: PartnersGetOptionalParams): Promise<PartnersGetResponse>;
206
+ }
207
+
208
+ /** Optional parameters. */
209
+ export declare interface PartnersGetOptionalParams extends coreClient.OperationOptions {
210
+ }
211
+
212
+ /** Contains response data for the get operation. */
213
+ export declare type PartnersGetResponse = PartnerResponse;
214
+
215
+ /** Optional parameters. */
216
+ export declare interface PartnerUpdateOptionalParams extends coreClient.OperationOptions {
217
+ }
218
+
219
+ /** Contains response data for the update operation. */
220
+ export declare type PartnerUpdateResponse = PartnerResponse;
221
+
222
+ export { }
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.19.4"
9
+ }
10
+ ]
11
+ }