Skip to content

Commit 8db1d9d

Browse files
author
SDKAuto
committed
CodeGen from PR 13985 in Azure/azure-rest-api-specs
Merge 73dfd0770e656d0d7d35bb2845408ed5c13f31de into 1e2c9f3ec93078da8078389941531359e274f32a
1 parent 4027106 commit 8db1d9d

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class ConfluentManagementClientContext extends msRestAzure.AzureServiceCl
3636
if (!options) {
3737
options = {};
3838
}
39-
if (!options.userAgent) {
39+
if(!options.userAgent) {
4040
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
4141
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
4242
}
@@ -51,10 +51,10 @@ export class ConfluentManagementClientContext extends msRestAzure.AzureServiceCl
5151
this.credentials = credentials;
5252
this.subscriptionId = subscriptionId;
5353

54-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
54+
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
5555
this.acceptLanguage = options.acceptLanguage;
5656
}
57-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
57+
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
5858
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
5959
}
6060
}

sdk/confluent/arm-confluent/src/models/index.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,9 @@ export interface OfferDetail {
171171
* SaaS Offer Status. Possible values include: 'Started', 'PendingFulfillmentStart',
172172
* 'InProgress', 'Subscribed', 'Suspended', 'Reinstated', 'Succeeded', 'Failed', 'Unsubscribed',
173173
* 'Updating'
174+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
174175
*/
175-
status?: SaaSOfferStatus;
176+
readonly status?: SaaSOfferStatus;
176177
}
177178

178179
/**
@@ -217,8 +218,9 @@ export interface OrganizationResourceProperties {
217218
/**
218219
* Provision states for confluent RP. Possible values include: 'Accepted', 'Creating',
219220
* 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled', 'Deleted', 'NotSpecified'
221+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
220222
*/
221-
provisioningState?: ProvisionState;
223+
readonly provisioningState?: ProvisionState;
222224
/**
223225
* Id of the Confluent organization.
224226
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -266,8 +268,9 @@ export interface OrganizationResource extends BaseResource {
266268
/**
267269
* Provision states for confluent RP. Possible values include: 'Accepted', 'Creating',
268270
* 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled', 'Deleted', 'NotSpecified'
271+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
269272
*/
270-
provisioningState?: ProvisionState;
273+
readonly provisioningState?: ProvisionState;
271274
/**
272275
* Id of the Confluent organization.
273276
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -373,8 +376,9 @@ export interface ConfluentAgreementResourceListResponse extends Array<ConfluentA
373376
export interface OperationListResult extends Array<OperationResult> {
374377
/**
375378
* URL to get the next set of operation list results if there are any.
379+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
376380
*/
377-
nextLink?: string;
381+
readonly nextLink?: string;
378382
}
379383

380384
/**

sdk/confluent/arm-confluent/src/models/mappers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ export const OfferDetail: msRest.CompositeMapper = {
268268
}
269269
},
270270
status: {
271+
readOnly: true,
271272
serializedName: "status",
272273
type: {
273274
name: "String"
@@ -350,6 +351,7 @@ export const OrganizationResourceProperties: msRest.CompositeMapper = {
350351
}
351352
},
352353
provisioningState: {
354+
readOnly: true,
353355
serializedName: "provisioningState",
354356
type: {
355357
name: "String"
@@ -422,6 +424,7 @@ export const OrganizationResource: msRest.CompositeMapper = {
422424
}
423425
},
424426
provisioningState: {
427+
readOnly: true,
425428
serializedName: "properties.provisioningState",
426429
type: {
427430
name: "String"
@@ -544,6 +547,7 @@ export const OperationListResult: msRest.CompositeMapper = {
544547
}
545548
},
546549
nextLink: {
550+
readOnly: true,
547551
serializedName: "nextLink",
548552
type: {
549553
name: "String"

sdk/confluent/arm-confluent/src/operations/marketplaceAgreements.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ const listOperationSpec: msRest.OperationSpec = {
110110
urlParameters: [
111111
Parameters.subscriptionId
112112
],
113+
queryParameters: [
114+
Parameters.apiVersion
115+
],
113116
headerParameters: [
114117
Parameters.acceptLanguage
115118
],
@@ -130,6 +133,9 @@ const createOperationSpec: msRest.OperationSpec = {
130133
urlParameters: [
131134
Parameters.subscriptionId
132135
],
136+
queryParameters: [
137+
Parameters.apiVersion
138+
],
133139
headerParameters: [
134140
Parameters.acceptLanguage
135141
],
@@ -158,6 +164,9 @@ const listNextOperationSpec: msRest.OperationSpec = {
158164
urlParameters: [
159165
Parameters.nextPageLink
160166
],
167+
queryParameters: [
168+
Parameters.apiVersion
169+
],
161170
headerParameters: [
162171
Parameters.acceptLanguage
163172
],

0 commit comments

Comments
 (0)