@azure/arm-marketplaceordering 3.1.2-alpha.20250619.1 → 3.1.2-alpha.20250718.1

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for MarketplaceOrderingAgreements.",
6
- "version": "3.1.2-alpha.20250619.1",
6
+ "version": "3.1.2-alpha.20250718.1",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -1,190 +1,190 @@
1
- ## API Report File for "@azure/arm-marketplaceordering"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
-
11
- // @public
12
- export interface AgreementTerms extends Resource {
13
- accepted?: boolean;
14
- licenseTextLink?: string;
15
- marketplaceTermsLink?: string;
16
- plan?: string;
17
- privacyPolicyLink?: string;
18
- product?: string;
19
- publisher?: string;
20
- retrieveDatetime?: string;
21
- signature?: string;
22
- readonly systemData?: SystemData;
23
- }
24
-
25
- // @public
26
- export type CreatedByType = string;
27
-
28
- // @public
29
- export interface ErrorResponse {
30
- error?: ErrorResponseError;
31
- }
32
-
33
- // @public
34
- export interface ErrorResponseError {
35
- readonly code?: string;
36
- readonly message?: string;
37
- }
38
-
39
- // @public
40
- export function getContinuationToken(page: unknown): string | undefined;
41
-
42
- // @public
43
- export enum KnownCreatedByType {
44
- Application = "Application",
45
- Key = "Key",
46
- ManagedIdentity = "ManagedIdentity",
47
- User = "User"
48
- }
49
-
50
- // @public
51
- export enum KnownOfferType {
52
- Virtualmachine = "virtualmachine"
53
- }
54
-
55
- // @public
56
- export interface MarketplaceAgreements {
57
- cancel(publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsCancelOptionalParams): Promise<MarketplaceAgreementsCancelResponse>;
58
- create(offerType: OfferType, publisherId: string, offerId: string, planId: string, parameters: AgreementTerms, options?: MarketplaceAgreementsCreateOptionalParams): Promise<MarketplaceAgreementsCreateResponse>;
59
- get(offerType: OfferType, publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsGetOptionalParams): Promise<MarketplaceAgreementsGetResponse>;
60
- getAgreement(publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsGetAgreementOptionalParams): Promise<MarketplaceAgreementsGetAgreementResponse>;
61
- list(options?: MarketplaceAgreementsListOptionalParams): Promise<MarketplaceAgreementsListResponse>;
62
- sign(publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsSignOptionalParams): Promise<MarketplaceAgreementsSignResponse>;
63
- }
64
-
65
- // @public
66
- export interface MarketplaceAgreementsCancelOptionalParams extends coreClient.OperationOptions {
67
- }
68
-
69
- // @public
70
- export type MarketplaceAgreementsCancelResponse = AgreementTerms;
71
-
72
- // @public
73
- export interface MarketplaceAgreementsCreateOptionalParams extends coreClient.OperationOptions {
74
- }
75
-
76
- // @public
77
- export type MarketplaceAgreementsCreateResponse = AgreementTerms;
78
-
79
- // @public
80
- export interface MarketplaceAgreementsGetAgreementOptionalParams extends coreClient.OperationOptions {
81
- }
82
-
83
- // @public
84
- export type MarketplaceAgreementsGetAgreementResponse = AgreementTerms;
85
-
86
- // @public
87
- export interface MarketplaceAgreementsGetOptionalParams extends coreClient.OperationOptions {
88
- }
89
-
90
- // @public
91
- export type MarketplaceAgreementsGetResponse = AgreementTerms;
92
-
93
- // @public
94
- export interface MarketplaceAgreementsListOptionalParams extends coreClient.OperationOptions {
95
- }
96
-
97
- // @public
98
- export type MarketplaceAgreementsListResponse = AgreementTerms[];
99
-
100
- // @public
101
- export interface MarketplaceAgreementsSignOptionalParams extends coreClient.OperationOptions {
102
- }
103
-
104
- // @public
105
- export type MarketplaceAgreementsSignResponse = AgreementTerms;
106
-
107
- // @public (undocumented)
108
- export class MarketplaceOrderingAgreements extends coreClient.ServiceClient {
109
- // (undocumented)
110
- $host: string;
111
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MarketplaceOrderingAgreementsOptionalParams);
112
- // (undocumented)
113
- apiVersion: string;
114
- // (undocumented)
115
- marketplaceAgreements: MarketplaceAgreements;
116
- // (undocumented)
117
- operations: Operations;
118
- // (undocumented)
119
- subscriptionId: string;
120
- }
121
-
122
- // @public
123
- export interface MarketplaceOrderingAgreementsOptionalParams extends coreClient.ServiceClientOptions {
124
- $host?: string;
125
- apiVersion?: string;
126
- endpoint?: string;
127
- }
128
-
129
- // @public
130
- export type OfferType = string;
131
-
132
- // @public
133
- export interface Operation {
134
- display?: OperationDisplay;
135
- name?: string;
136
- }
137
-
138
- // @public
139
- export interface OperationDisplay {
140
- description?: string;
141
- operation?: string;
142
- provider?: string;
143
- resource?: string;
144
- }
145
-
146
- // @public
147
- export interface OperationListResult {
148
- readonly nextLink?: string;
149
- value?: Operation[];
150
- }
151
-
152
- // @public
153
- export interface Operations {
154
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
155
- }
156
-
157
- // @public
158
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
159
- }
160
-
161
- // @public
162
- export type OperationsListNextResponse = OperationListResult;
163
-
164
- // @public
165
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
166
- }
167
-
168
- // @public
169
- export type OperationsListResponse = OperationListResult;
170
-
171
- // @public
172
- export interface Resource {
173
- readonly id?: string;
174
- readonly name?: string;
175
- readonly type?: string;
176
- }
177
-
178
- // @public
179
- export interface SystemData {
180
- createdAt?: Date;
181
- createdBy?: string;
182
- createdByType?: CreatedByType;
183
- lastModifiedAt?: Date;
184
- lastModifiedBy?: string;
185
- lastModifiedByType?: CreatedByType;
186
- }
187
-
188
- // (No @packageDocumentation comment for this package)
189
-
190
- ```
1
+ ## API Report File for "@azure/arm-marketplaceordering"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+
11
+ // @public
12
+ export interface AgreementTerms extends Resource {
13
+ accepted?: boolean;
14
+ licenseTextLink?: string;
15
+ marketplaceTermsLink?: string;
16
+ plan?: string;
17
+ privacyPolicyLink?: string;
18
+ product?: string;
19
+ publisher?: string;
20
+ retrieveDatetime?: string;
21
+ signature?: string;
22
+ readonly systemData?: SystemData;
23
+ }
24
+
25
+ // @public
26
+ export type CreatedByType = string;
27
+
28
+ // @public
29
+ export interface ErrorResponse {
30
+ error?: ErrorResponseError;
31
+ }
32
+
33
+ // @public
34
+ export interface ErrorResponseError {
35
+ readonly code?: string;
36
+ readonly message?: string;
37
+ }
38
+
39
+ // @public
40
+ export function getContinuationToken(page: unknown): string | undefined;
41
+
42
+ // @public
43
+ export enum KnownCreatedByType {
44
+ Application = "Application",
45
+ Key = "Key",
46
+ ManagedIdentity = "ManagedIdentity",
47
+ User = "User"
48
+ }
49
+
50
+ // @public
51
+ export enum KnownOfferType {
52
+ Virtualmachine = "virtualmachine"
53
+ }
54
+
55
+ // @public
56
+ export interface MarketplaceAgreements {
57
+ cancel(publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsCancelOptionalParams): Promise<MarketplaceAgreementsCancelResponse>;
58
+ create(offerType: OfferType, publisherId: string, offerId: string, planId: string, parameters: AgreementTerms, options?: MarketplaceAgreementsCreateOptionalParams): Promise<MarketplaceAgreementsCreateResponse>;
59
+ get(offerType: OfferType, publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsGetOptionalParams): Promise<MarketplaceAgreementsGetResponse>;
60
+ getAgreement(publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsGetAgreementOptionalParams): Promise<MarketplaceAgreementsGetAgreementResponse>;
61
+ list(options?: MarketplaceAgreementsListOptionalParams): Promise<MarketplaceAgreementsListResponse>;
62
+ sign(publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsSignOptionalParams): Promise<MarketplaceAgreementsSignResponse>;
63
+ }
64
+
65
+ // @public
66
+ export interface MarketplaceAgreementsCancelOptionalParams extends coreClient.OperationOptions {
67
+ }
68
+
69
+ // @public
70
+ export type MarketplaceAgreementsCancelResponse = AgreementTerms;
71
+
72
+ // @public
73
+ export interface MarketplaceAgreementsCreateOptionalParams extends coreClient.OperationOptions {
74
+ }
75
+
76
+ // @public
77
+ export type MarketplaceAgreementsCreateResponse = AgreementTerms;
78
+
79
+ // @public
80
+ export interface MarketplaceAgreementsGetAgreementOptionalParams extends coreClient.OperationOptions {
81
+ }
82
+
83
+ // @public
84
+ export type MarketplaceAgreementsGetAgreementResponse = AgreementTerms;
85
+
86
+ // @public
87
+ export interface MarketplaceAgreementsGetOptionalParams extends coreClient.OperationOptions {
88
+ }
89
+
90
+ // @public
91
+ export type MarketplaceAgreementsGetResponse = AgreementTerms;
92
+
93
+ // @public
94
+ export interface MarketplaceAgreementsListOptionalParams extends coreClient.OperationOptions {
95
+ }
96
+
97
+ // @public
98
+ export type MarketplaceAgreementsListResponse = AgreementTerms[];
99
+
100
+ // @public
101
+ export interface MarketplaceAgreementsSignOptionalParams extends coreClient.OperationOptions {
102
+ }
103
+
104
+ // @public
105
+ export type MarketplaceAgreementsSignResponse = AgreementTerms;
106
+
107
+ // @public (undocumented)
108
+ export class MarketplaceOrderingAgreements extends coreClient.ServiceClient {
109
+ // (undocumented)
110
+ $host: string;
111
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MarketplaceOrderingAgreementsOptionalParams);
112
+ // (undocumented)
113
+ apiVersion: string;
114
+ // (undocumented)
115
+ marketplaceAgreements: MarketplaceAgreements;
116
+ // (undocumented)
117
+ operations: Operations;
118
+ // (undocumented)
119
+ subscriptionId: string;
120
+ }
121
+
122
+ // @public
123
+ export interface MarketplaceOrderingAgreementsOptionalParams extends coreClient.ServiceClientOptions {
124
+ $host?: string;
125
+ apiVersion?: string;
126
+ endpoint?: string;
127
+ }
128
+
129
+ // @public
130
+ export type OfferType = string;
131
+
132
+ // @public
133
+ export interface Operation {
134
+ display?: OperationDisplay;
135
+ name?: string;
136
+ }
137
+
138
+ // @public
139
+ export interface OperationDisplay {
140
+ description?: string;
141
+ operation?: string;
142
+ provider?: string;
143
+ resource?: string;
144
+ }
145
+
146
+ // @public
147
+ export interface OperationListResult {
148
+ readonly nextLink?: string;
149
+ value?: Operation[];
150
+ }
151
+
152
+ // @public
153
+ export interface Operations {
154
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
155
+ }
156
+
157
+ // @public
158
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
159
+ }
160
+
161
+ // @public
162
+ export type OperationsListNextResponse = OperationListResult;
163
+
164
+ // @public
165
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
166
+ }
167
+
168
+ // @public
169
+ export type OperationsListResponse = OperationListResult;
170
+
171
+ // @public
172
+ export interface Resource {
173
+ readonly id?: string;
174
+ readonly name?: string;
175
+ readonly type?: string;
176
+ }
177
+
178
+ // @public
179
+ export interface SystemData {
180
+ createdAt?: Date;
181
+ createdBy?: string;
182
+ createdByType?: CreatedByType;
183
+ lastModifiedAt?: Date;
184
+ lastModifiedBy?: string;
185
+ lastModifiedByType?: CreatedByType;
186
+ }
187
+
188
+ // (No @packageDocumentation comment for this package)
189
+
190
+ ```