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/synapse/arm-synapse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/synapse/arm-synapse",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/synapse/arm-synapse",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
7 changes: 6 additions & 1 deletion sdk/synapse/arm-synapse/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5321,6 +5321,11 @@ export interface EventHubDataConnection {
* 'Deleting', 'Succeeded', 'Failed', 'Moving', 'Canceled'
*/
provisioningState?: ResourceProvisioningState;
/**
* The resource ID of a managed identity (system or user assigned) to be used to authenticate
* with event hub.
*/
managedIdentityResourceId?: string;
}

/**
Expand Down Expand Up @@ -11544,7 +11549,7 @@ export type KustoOperationsListNextResponse = OperationListResult & {
/**
* Contains response data for the listSkus operation.
*/
export type KustoPoolListSkusResponse = SkuDescriptionList & {
export type KustoPoolsListSkusResponse = SkuDescriptionList & {
/**
* The underlying HTTP response.
*/
Expand Down

This file was deleted.

3 changes: 3 additions & 0 deletions sdk/synapse/arm-synapse/src/models/kustoPoolsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ export {
ServerSecurityAlertPolicy,
ServerVulnerabilityAssessment,
Sku,
SkuDescription,
SkuDescriptionList,
SkuLocationInfoItem,
SparkConfigProperties,
SparkConfigurationResource,
SqlPool,
Expand Down
6 changes: 6 additions & 0 deletions sdk/synapse/arm-synapse/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7771,6 +7771,12 @@ export const EventHubDataConnection: msRest.CompositeMapper = {
type: {
name: "String"
}
},
managedIdentityResourceId: {
serializedName: "properties.managedIdentityResourceId",
type: {
name: "String"
}
}
}
}
Expand Down
1 change: 0 additions & 1 deletion sdk/synapse/arm-synapse/src/operations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export * from "./integrationRuntimeStatusOperations";
export * from "./sparkConfiguration";
export * from "./sparkConfigurations";
export * from "./kustoOperations";
export * from "./kustoPoolOperations";
export * from "./kustoPools";
export * from "./kustoPoolChildResource";
export * from "./kustoPoolAttachedDatabaseConfigurations";
Expand Down
76 changes: 0 additions & 76 deletions sdk/synapse/arm-synapse/src/operations/kustoPoolOperations.ts

This file was deleted.

47 changes: 47 additions & 0 deletions sdk/synapse/arm-synapse/src/operations/kustoPools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,30 @@ export class KustoPools {
this.client = client;
}

/**
* Lists eligible SKUs for Kusto Pool resource.
* @param [options] The optional parameters
* @returns Promise<Models.KustoPoolsListSkusResponse>
*/
listSkus(options?: msRest.RequestOptionsBase): Promise<Models.KustoPoolsListSkusResponse>;
/**
* @param callback The callback
*/
listSkus(callback: msRest.ServiceCallback<Models.SkuDescriptionList>): void;
/**
* @param options The optional parameters
* @param callback The callback
*/
listSkus(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SkuDescriptionList>): void;
listSkus(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.SkuDescriptionList>, callback?: msRest.ServiceCallback<Models.SkuDescriptionList>): Promise<Models.KustoPoolsListSkusResponse> {
return this.client.sendOperationRequest(
{
options
},
listSkusOperationSpec,
callback) as Promise<Models.KustoPoolsListSkusResponse>;
}

/**
* Checks that the kusto pool name is valid and is not already in use.
* @param location The name of Azure region.
Expand Down Expand Up @@ -518,6 +542,29 @@ export class KustoPools {

// Operation Specifications
const serializer = new msRest.Serializer(Mappers);
const listSkusOperationSpec: msRest.OperationSpec = {
httpMethod: "GET",
path: "subscriptions/{subscriptionId}/providers/Microsoft.Synapse/skus",
urlParameters: [
Parameters.subscriptionId
],
queryParameters: [
Parameters.apiVersion1
],
headerParameters: [
Parameters.acceptLanguage
],
responses: {
200: {
bodyMapper: Mappers.SkuDescriptionList
},
default: {
bodyMapper: Mappers.ErrorResponse
}
},
serializer
};

const checkNameAvailabilityOperationSpec: msRest.OperationSpec = {
httpMethod: "POST",
path: "subscriptions/{subscriptionId}/providers/Microsoft.Synapse/locations/{location}/kustoPoolCheckNameAvailability",
Expand Down
2 changes: 0 additions & 2 deletions sdk/synapse/arm-synapse/src/synapseManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ class SynapseManagementClient extends SynapseManagementClientContext {
sparkConfiguration: operations.SparkConfiguration;
sparkConfigurations: operations.SparkConfigurations;
kustoOperations: operations.KustoOperations;
kustoPool: operations.KustoPoolOperations;
kustoPools: operations.KustoPools;
kustoPoolChildResource: operations.KustoPoolChildResource;
kustoPoolAttachedDatabaseConfigurations: operations.KustoPoolAttachedDatabaseConfigurations;
Expand Down Expand Up @@ -169,7 +168,6 @@ class SynapseManagementClient extends SynapseManagementClientContext {
this.sparkConfiguration = new operations.SparkConfiguration(this);
this.sparkConfigurations = new operations.SparkConfigurations(this);
this.kustoOperations = new operations.KustoOperations(this);
this.kustoPool = new operations.KustoPoolOperations(this);
this.kustoPools = new operations.KustoPools(this);
this.kustoPoolChildResource = new operations.KustoPoolChildResource(this);
this.kustoPoolAttachedDatabaseConfigurations = new operations.KustoPoolAttachedDatabaseConfigurations(this);
Expand Down