diff --git a/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts b/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts index 0625c926f555..a282b8bf5253 100644 --- a/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts +++ b/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts @@ -36,7 +36,7 @@ export class ConfluentManagementClientContext extends msRestAzure.AzureServiceCl if (!options) { options = {}; } - if (!options.userAgent) { + if(!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } @@ -51,10 +51,10 @@ export class ConfluentManagementClientContext extends msRestAzure.AzureServiceCl this.credentials = credentials; this.subscriptionId = subscriptionId; - if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } diff --git a/sdk/confluent/arm-confluent/src/models/index.ts b/sdk/confluent/arm-confluent/src/models/index.ts index 5398bfa493fe..9b53892a4e0b 100644 --- a/sdk/confluent/arm-confluent/src/models/index.ts +++ b/sdk/confluent/arm-confluent/src/models/index.ts @@ -171,8 +171,9 @@ export interface OfferDetail { * SaaS Offer Status. Possible values include: 'Started', 'PendingFulfillmentStart', * 'InProgress', 'Subscribed', 'Suspended', 'Reinstated', 'Succeeded', 'Failed', 'Unsubscribed', * 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - status?: SaaSOfferStatus; + readonly status?: SaaSOfferStatus; } /** @@ -217,8 +218,9 @@ export interface OrganizationResourceProperties { /** * Provision states for confluent RP. Possible values include: 'Accepted', 'Creating', * 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled', 'Deleted', 'NotSpecified' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - provisioningState?: ProvisionState; + readonly provisioningState?: ProvisionState; /** * Id of the Confluent organization. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -266,8 +268,9 @@ export interface OrganizationResource extends BaseResource { /** * Provision states for confluent RP. Possible values include: 'Accepted', 'Creating', * 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled', 'Deleted', 'NotSpecified' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - provisioningState?: ProvisionState; + readonly provisioningState?: ProvisionState; /** * Id of the Confluent organization. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -373,8 +376,9 @@ export interface ConfluentAgreementResourceListResponse extends Array { /** * URL to get the next set of operation list results if there are any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; + readonly nextLink?: string; } /** diff --git a/sdk/confluent/arm-confluent/src/models/mappers.ts b/sdk/confluent/arm-confluent/src/models/mappers.ts index 0f3eb00a6f6a..d41c357bdee8 100644 --- a/sdk/confluent/arm-confluent/src/models/mappers.ts +++ b/sdk/confluent/arm-confluent/src/models/mappers.ts @@ -268,6 +268,7 @@ export const OfferDetail: msRest.CompositeMapper = { } }, status: { + readOnly: true, serializedName: "status", type: { name: "String" @@ -350,6 +351,7 @@ export const OrganizationResourceProperties: msRest.CompositeMapper = { } }, provisioningState: { + readOnly: true, serializedName: "provisioningState", type: { name: "String" @@ -422,6 +424,7 @@ export const OrganizationResource: msRest.CompositeMapper = { } }, provisioningState: { + readOnly: true, serializedName: "properties.provisioningState", type: { name: "String" @@ -544,6 +547,7 @@ export const OperationListResult: msRest.CompositeMapper = { } }, nextLink: { + readOnly: true, serializedName: "nextLink", type: { name: "String" diff --git a/sdk/confluent/arm-confluent/src/operations/marketplaceAgreements.ts b/sdk/confluent/arm-confluent/src/operations/marketplaceAgreements.ts index 3731942dac97..e6bcf0f4d6a9 100644 --- a/sdk/confluent/arm-confluent/src/operations/marketplaceAgreements.ts +++ b/sdk/confluent/arm-confluent/src/operations/marketplaceAgreements.ts @@ -110,6 +110,9 @@ const listOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.subscriptionId ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -130,6 +133,9 @@ const createOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.subscriptionId ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -158,6 +164,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ],