Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}
Expand All @@ -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;
}
}
Expand Down
12 changes: 8 additions & 4 deletions sdk/confluent/arm-confluent/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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.**
Expand Down Expand Up @@ -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.**
Expand Down Expand Up @@ -373,8 +376,9 @@ export interface ConfluentAgreementResourceListResponse extends Array<ConfluentA
export interface OperationListResult extends Array<OperationResult> {
/**
* 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;
}

/**
Expand Down
4 changes: 4 additions & 0 deletions sdk/confluent/arm-confluent/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ export const OfferDetail: msRest.CompositeMapper = {
}
},
status: {
readOnly: true,
serializedName: "status",
type: {
name: "String"
Expand Down Expand Up @@ -350,6 +351,7 @@ export const OrganizationResourceProperties: msRest.CompositeMapper = {
}
},
provisioningState: {
readOnly: true,
serializedName: "provisioningState",
type: {
name: "String"
Expand Down Expand Up @@ -422,6 +424,7 @@ export const OrganizationResource: msRest.CompositeMapper = {
}
},
provisioningState: {
readOnly: true,
serializedName: "properties.provisioningState",
type: {
name: "String"
Expand Down Expand Up @@ -544,6 +547,7 @@ export const OperationListResult: msRest.CompositeMapper = {
}
},
nextLink: {
readOnly: true,
serializedName: "nextLink",
type: {
name: "String"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ const listOperationSpec: msRest.OperationSpec = {
urlParameters: [
Parameters.subscriptionId
],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [
Parameters.acceptLanguage
],
Expand All @@ -130,6 +133,9 @@ const createOperationSpec: msRest.OperationSpec = {
urlParameters: [
Parameters.subscriptionId
],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [
Parameters.acceptLanguage
],
Expand Down Expand Up @@ -158,6 +164,9 @@ const listNextOperationSpec: msRest.OperationSpec = {
urlParameters: [
Parameters.nextPageLink
],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [
Parameters.acceptLanguage
],
Expand Down