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
2 changes: 1 addition & 1 deletion sdk/kusto/arm-kusto/src/kustoManagementClientContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class KustoManagementClientContext extends msRestAzure.AzureServiceClient

super(credentials, options);

this.apiVersion = '2020-02-15';
this.apiVersion = '2020-06-14';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
76 changes: 62 additions & 14 deletions sdk/kusto/arm-kusto/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,13 @@ export interface Cluster extends TrackedResource {
enablePurge?: boolean;
/**
* List of the cluster's language extensions.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly languageExtensions?: LanguageExtensionsList;
/**
* A boolean value that indicates if double encryption is enabled. Default value: false.
*/
languageExtensions?: LanguageExtensionsList;
enableDoubleEncryption?: boolean;
}

/**
Expand Down Expand Up @@ -445,8 +450,13 @@ export interface ClusterUpdate extends Resource {
enablePurge?: boolean;
/**
* List of the cluster's language extensions.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
languageExtensions?: LanguageExtensionsList;
readonly languageExtensions?: LanguageExtensionsList;
/**
* A boolean value that indicates if double encryption is enabled. Default value: false.
*/
enableDoubleEncryption?: boolean;
}

/**
Expand Down Expand Up @@ -577,7 +587,7 @@ export interface ReadWriteDatabase {
* Indicates whether the database is followed.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly isFollowed?: string;
readonly isFollowed?: boolean;
}

/**
Expand Down Expand Up @@ -910,7 +920,7 @@ export interface EventHubDataConnection {
/**
* The data format of the message. Optionally the data format can be added to each message.
* Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC'
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
*/
dataFormat?: EventHubDataFormat;
/**
Expand Down Expand Up @@ -973,7 +983,7 @@ export interface IotHubDataConnection {
/**
* The data format of the message. Optionally the data format can be added to each message.
* Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC'
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
*/
dataFormat?: IotHubDataFormat;
/**
Expand Down Expand Up @@ -1031,7 +1041,7 @@ export interface EventGridDataConnection {
* The table where the data should be ingested. Optionally the table information can be added to
* each message.
*/
tableName: string;
tableName?: string;
/**
* The mapping rule to be used to ingest the data. Optionally the mapping information can be
* added to each message.
Expand All @@ -1040,9 +1050,19 @@ export interface EventGridDataConnection {
/**
* The data format of the message. Optionally the data format can be added to each message.
* Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC'
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
*/
dataFormat?: EventGridDataFormat;
/**
* A Boolean value that, if set to true, indicates that ingestion should ignore the first record
* of every file
*/
dataFormat: EventGridDataFormat;
ignoreFirstRecord?: boolean;
/**
* The name of blob storage event type to process. Possible values include:
* 'Microsoft.Storage.BlobCreated', 'Microsoft.Storage.BlobRenamed'
*/
blobStorageEventType?: BlobStorageEventType;
}

/**
Expand Down Expand Up @@ -1371,11 +1391,11 @@ export type PrincipalsModificationKind = 'Union' | 'Replace' | 'None';
/**
* Defines values for EventHubDataFormat.
* Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC'
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
* @readonly
* @enum {string}
*/
export type EventHubDataFormat = 'MULTIJSON' | 'JSON' | 'CSV' | 'TSV' | 'SCSV' | 'SOHSV' | 'PSV' | 'TXT' | 'RAW' | 'SINGLEJSON' | 'AVRO' | 'TSVE' | 'PARQUET' | 'ORC';
export type EventHubDataFormat = 'MULTIJSON' | 'JSON' | 'CSV' | 'TSV' | 'SCSV' | 'SOHSV' | 'PSV' | 'TXT' | 'RAW' | 'SINGLEJSON' | 'AVRO' | 'TSVE' | 'PARQUET' | 'ORC' | 'APACHEAVRO' | 'W3CLOGFILE';

/**
* Defines values for Compression.
Expand All @@ -1388,20 +1408,28 @@ export type Compression = 'None' | 'GZip';
/**
* Defines values for IotHubDataFormat.
* Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC'
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
* @readonly
* @enum {string}
*/
export type IotHubDataFormat = 'MULTIJSON' | 'JSON' | 'CSV' | 'TSV' | 'SCSV' | 'SOHSV' | 'PSV' | 'TXT' | 'RAW' | 'SINGLEJSON' | 'AVRO' | 'TSVE' | 'PARQUET' | 'ORC';
export type IotHubDataFormat = 'MULTIJSON' | 'JSON' | 'CSV' | 'TSV' | 'SCSV' | 'SOHSV' | 'PSV' | 'TXT' | 'RAW' | 'SINGLEJSON' | 'AVRO' | 'TSVE' | 'PARQUET' | 'ORC' | 'APACHEAVRO' | 'W3CLOGFILE';

/**
* Defines values for EventGridDataFormat.
* Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC'
* 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'
* @readonly
* @enum {string}
*/
export type EventGridDataFormat = 'MULTIJSON' | 'JSON' | 'CSV' | 'TSV' | 'SCSV' | 'SOHSV' | 'PSV' | 'TXT' | 'RAW' | 'SINGLEJSON' | 'AVRO' | 'TSVE' | 'PARQUET' | 'ORC' | 'APACHEAVRO' | 'W3CLOGFILE';

/**
* Defines values for BlobStorageEventType.
* Possible values include: 'Microsoft.Storage.BlobCreated', 'Microsoft.Storage.BlobRenamed'
* @readonly
* @enum {string}
*/
export type EventGridDataFormat = 'MULTIJSON' | 'JSON' | 'CSV' | 'TSV' | 'SCSV' | 'SOHSV' | 'PSV' | 'TXT' | 'RAW' | 'SINGLEJSON' | 'AVRO' | 'TSVE' | 'PARQUET' | 'ORC';
export type BlobStorageEventType = 'Microsoft.Storage.BlobCreated' | 'Microsoft.Storage.BlobRenamed';

/**
* Defines values for IdentityType.
Expand Down Expand Up @@ -2340,6 +2368,26 @@ export type DataConnectionsUpdateResponse = DataConnectionUnion & {
};
};

/**
* Contains response data for the beginDataConnectionValidationMethod operation.
*/
export type DataConnectionsBeginDataConnectionValidationMethodResponse = DataConnectionValidationListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: DataConnectionValidationListResult;
};
};

/**
* Contains response data for the beginCreateOrUpdate operation.
*/
Expand Down
60 changes: 48 additions & 12 deletions sdk/kusto/arm-kusto/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,11 +607,19 @@ export const Cluster: msRest.CompositeMapper = {
}
},
languageExtensions: {
readOnly: true,
serializedName: "properties.languageExtensions",
type: {
name: "Composite",
className: "LanguageExtensionsList"
}
},
enableDoubleEncryption: {
serializedName: "properties.enableDoubleEncryption",
defaultValue: false,
type: {
name: "Boolean"
}
}
}
}
Expand Down Expand Up @@ -744,11 +752,19 @@ export const ClusterUpdate: msRest.CompositeMapper = {
}
},
languageExtensions: {
readOnly: true,
serializedName: "properties.languageExtensions",
type: {
name: "Composite",
className: "LanguageExtensionsList"
}
},
enableDoubleEncryption: {
serializedName: "properties.enableDoubleEncryption",
defaultValue: false,
type: {
name: "Boolean"
}
}
}
}
Expand Down Expand Up @@ -830,7 +846,7 @@ export const Database: msRest.CompositeMapper = {
serializedName: "kind",
clientName: "kind"
},
uberParent: "BaseResource",
uberParent: "Database",
className: "Database",
modelProperties: {
...ProxyResource.type.modelProperties,
Expand All @@ -855,6 +871,8 @@ export const ReadWriteDatabase: msRest.CompositeMapper = {
serializedName: "ReadWrite",
type: {
name: "Composite",
polymorphicDiscriminator: Database.type.polymorphicDiscriminator,
uberParent: "Database",
className: "ReadWriteDatabase",
modelProperties: {
...Database.type.modelProperties,
Expand Down Expand Up @@ -888,7 +906,7 @@ export const ReadWriteDatabase: msRest.CompositeMapper = {
readOnly: true,
serializedName: "properties.isFollowed",
type: {
name: "String"
name: "Boolean"
}
}
}
Expand All @@ -899,6 +917,8 @@ export const ReadOnlyFollowingDatabase: msRest.CompositeMapper = {
serializedName: "ReadOnlyFollowing",
type: {
name: "Composite",
polymorphicDiscriminator: Database.type.polymorphicDiscriminator,
uberParent: "Database",
className: "ReadOnlyFollowingDatabase",
modelProperties: {
...Database.type.modelProperties,
Expand Down Expand Up @@ -1167,7 +1187,7 @@ export const DataConnection: msRest.CompositeMapper = {
serializedName: "kind",
clientName: "kind"
},
uberParent: "BaseResource",
uberParent: "DataConnection",
className: "DataConnection",
modelProperties: {
...ProxyResource.type.modelProperties,
Expand Down Expand Up @@ -1274,6 +1294,8 @@ export const EventHubDataConnection: msRest.CompositeMapper = {
serializedName: "EventHub",
type: {
name: "Composite",
polymorphicDiscriminator: DataConnection.type.polymorphicDiscriminator,
uberParent: "DataConnection",
className: "EventHubDataConnection",
modelProperties: {
...DataConnection.type.modelProperties,
Expand Down Expand Up @@ -1334,6 +1356,8 @@ export const IotHubDataConnection: msRest.CompositeMapper = {
serializedName: "IotHub",
type: {
name: "Composite",
polymorphicDiscriminator: DataConnection.type.polymorphicDiscriminator,
uberParent: "DataConnection",
className: "IotHubDataConnection",
modelProperties: {
...DataConnection.type.modelProperties,
Expand Down Expand Up @@ -1395,6 +1419,8 @@ export const EventGridDataConnection: msRest.CompositeMapper = {
serializedName: "EventGrid",
type: {
name: "Composite",
polymorphicDiscriminator: DataConnection.type.polymorphicDiscriminator,
uberParent: "DataConnection",
className: "EventGridDataConnection",
modelProperties: {
...DataConnection.type.modelProperties,
Expand All @@ -1420,7 +1446,6 @@ export const EventGridDataConnection: msRest.CompositeMapper = {
}
},
tableName: {
required: true,
serializedName: "properties.tableName",
type: {
name: "String"
Expand All @@ -1433,11 +1458,22 @@ export const EventGridDataConnection: msRest.CompositeMapper = {
}
},
dataFormat: {
required: true,
serializedName: "properties.dataFormat",
type: {
name: "String"
}
},
ignoreFirstRecord: {
serializedName: "properties.ignoreFirstRecord",
type: {
name: "Boolean"
}
},
blobStorageEventType: {
serializedName: "properties.blobStorageEventType",
type: {
name: "String"
}
}
}
}
Expand Down Expand Up @@ -1990,12 +2026,12 @@ export const OperationListResult: msRest.CompositeMapper = {
};

export const discriminators = {
'BaseResource.Database' : Database,
'BaseResource.ReadWrite' : ReadWriteDatabase,
'BaseResource.ReadOnlyFollowing' : ReadOnlyFollowingDatabase,
'BaseResource.DataConnection' : DataConnection,
'BaseResource.EventHub' : EventHubDataConnection,
'BaseResource.IotHub' : IotHubDataConnection,
'BaseResource.EventGrid' : EventGridDataConnection
'Database' : Database,
'Database.ReadWrite' : ReadWriteDatabase,
'Database.ReadOnlyFollowing' : ReadOnlyFollowingDatabase,
'DataConnection' : DataConnection,
'DataConnection.EventHub' : EventHubDataConnection,
'DataConnection.IotHub' : IotHubDataConnection,
'DataConnection.EventGrid' : EventGridDataConnection

};
12 changes: 6 additions & 6 deletions sdk/kusto/arm-kusto/src/models/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ export const clusterName: msRest.OperationURLParameter = {
}
}
};
export const dataConnectionName: msRest.OperationURLParameter = {
parameterPath: "dataConnectionName",
export const databaseName: msRest.OperationURLParameter = {
parameterPath: "databaseName",
mapper: {
required: true,
serializedName: "dataConnectionName",
serializedName: "databaseName",
type: {
name: "String"
}
}
};
export const databaseName: msRest.OperationURLParameter = {
parameterPath: "databaseName",
export const dataConnectionName: msRest.OperationURLParameter = {
parameterPath: "dataConnectionName",
mapper: {
required: true,
serializedName: "databaseName",
serializedName: "dataConnectionName",
type: {
name: "String"
}
Expand Down
Loading