diff --git a/sdk/synapse/arm-synapse/README.md b/sdk/synapse/arm-synapse/README.md
index 1bda5ed3936c..9acf4f8ecb8c 100644
--- a/sdk/synapse/arm-synapse/README.md
+++ b/sdk/synapse/arm-synapse/README.md
@@ -1,95 +1,103 @@
## Azure SynapseManagementClient SDK for JavaScript
-This package contains an isomorphic SDK for SynapseManagementClient.
+This package contains an isomorphic SDK (runs both in node.js and in browsers) for SynapseManagementClient.
### Currently supported environments
-- Node.js version 6.x.x or higher
-- Browser JavaScript
+- [LTS versions of Node.js](https://nodejs.org/about/releases/)
+- Latest versions of Safari, Chrome, Edge and Firefox.
-### How to Install
+### Prerequisites
+You must have an [Azure subscription](https://azure.microsoft.com/free/).
+
+### How to install
+
+To use this SDK in your project, you will need to install two packages.
+- `@azure/arm-synapse` that contains the client.
+- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory.
+
+Install both packages using the below command:
```bash
-npm install @azure/arm-synapse
+npm install --save @azure/arm-synapse @azure/identity
```
+> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features.
+If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options.
### How to use
-#### nodejs - client creation and get bigDataPools as an example written in TypeScript.
+- If you are writing a client side browser application,
+ - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions.
+ - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below.
+- If you are writing a server side application,
+ - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples)
+ - Complete the set up steps required by the credential if any.
+ - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below.
-##### Install @azure/ms-rest-nodeauth
-
-- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
-```bash
-npm install @azure/ms-rest-nodeauth@"^3.0.0"
-```
+In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
+Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.
+#### nodejs - Authentication, client creation, and get bigDataPools as an example written in JavaScript.
##### Sample code
-While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
-```typescript
-const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
+```javascript
+const { DefaultAzureCredential } = require("@azure/identity");
const { SynapseManagementClient } = require("@azure/arm-synapse");
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
-msRestNodeAuth.interactiveLogin().then((creds) => {
- const client = new SynapseManagementClient(creds, subscriptionId);
- const resourceGroupName = "testresourceGroupName";
- const workspaceName = "testworkspaceName";
- const bigDataPoolName = "testbigDataPoolName";
- client.bigDataPools.get(resourceGroupName, workspaceName, bigDataPoolName).then((result) => {
- console.log("The result is:");
- console.log(result);
- });
+// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples
+// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead.
+const creds = new DefaultAzureCredential();
+const client = new SynapseManagementClient(creds, subscriptionId);
+const resourceGroupName = "testresourceGroupName";
+const workspaceName = "testworkspaceName";
+const bigDataPoolName = "testbigDataPoolName";
+client.bigDataPools.get(resourceGroupName, workspaceName, bigDataPoolName).then((result) => {
+ console.log("The result is:");
+ console.log(result);
}).catch((err) => {
+ console.log("An error occurred:");
console.error(err);
});
```
-#### browser - Authentication, client creation and get bigDataPools as an example written in JavaScript.
+#### browser - Authentication, client creation, and get bigDataPools as an example written in JavaScript.
-##### Install @azure/ms-rest-browserauth
-
-```bash
-npm install @azure/ms-rest-browserauth
-```
+In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser.
+ - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser.
+ - Note down the client Id from the previous step and use it in the browser sample below.
##### Sample code
-See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser.
-
- index.html
+
```html
@azure/arm-synapse sample
-
-
+
diff --git a/sdk/synapse/arm-synapse/package.json b/sdk/synapse/arm-synapse/package.json
index c01cf1d6f7d6..db64bd609cd9 100644
--- a/sdk/synapse/arm-synapse/package.json
+++ b/sdk/synapse/arm-synapse/package.json
@@ -4,8 +4,9 @@
"description": "SynapseManagementClient Library with typescript type definitions for node.js and browser.",
"version": "5.1.0",
"dependencies": {
- "@azure/ms-rest-azure-js": "^2.0.1",
- "@azure/ms-rest-js": "^2.0.4",
+ "@azure/ms-rest-azure-js": "^2.1.0",
+ "@azure/ms-rest-js": "^2.2.0",
+ "@azure/core-auth": "^1.1.4",
"tslib": "^1.10.0"
},
"keywords": [
@@ -20,13 +21,13 @@
"module": "./esm/synapseManagementClient.js",
"types": "./esm/synapseManagementClient.d.ts",
"devDependencies": {
- "typescript": "^3.5.3",
+ "typescript": "^3.6.0",
"rollup": "^1.18.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/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"
diff --git a/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts
index d4138198acad..cd0ef7ac2278 100644
--- a/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts
@@ -17,6 +17,7 @@ export {
BigDataPoolResourceInfoListResult,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -44,6 +45,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts
index fa7be042dcd4..4f144f7499e9 100644
--- a/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts b/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts
index b5e9b734020a..ee1ea3bb45ec 100644
--- a/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -43,6 +44,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts
index 09b013d385f5..ca52f8945b2c 100644
--- a/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -41,6 +42,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/index.ts b/sdk/synapse/arm-synapse/src/models/index.ts
index dd515f83cf7b..10ba161c9001 100644
--- a/sdk/synapse/arm-synapse/src/models/index.ts
+++ b/sdk/synapse/arm-synapse/src/models/index.ts
@@ -225,7 +225,7 @@ export interface BigDataPoolResourceInfo extends TrackedResource {
nodeSize?: NodeSize;
/**
* The kind of nodes that the Big Data pool provides. Possible values include: 'None',
- * 'MemoryOptimized'
+ * 'MemoryOptimized', 'HardwareAcceleratedFPGA', 'HardwareAcceleratedGPU'
*/
nodeSizeFamily?: NodeSizeFamily;
/**
@@ -387,7 +387,7 @@ export interface IpFirewallRuleProperties {
/**
* IP firewall rule
*/
-export interface IpFirewallRuleInfo extends BaseResource {
+export interface IpFirewallRuleInfo extends ProxyResource {
/**
* The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to
* startIpAddress
@@ -2264,7 +2264,7 @@ export interface SqlPoolPatchInfo {
* Configuration for metadata sync
* @summary Metadata sync configuration
*/
-export interface MetadataSyncConfig extends BaseResource {
+export interface MetadataSyncConfig extends ProxyResource {
/**
* Indicates whether the metadata sync is enabled or disabled
*/
@@ -4049,6 +4049,20 @@ export interface WorkspaceKeyDetails {
keyVaultUrl?: string;
}
+/**
+ * Key encryption key properties
+ */
+export interface KekIdentityProperties {
+ /**
+ * User assigned identity resource Id
+ */
+ userAssignedIdentity?: string;
+ /**
+ * Boolean specifying whether to use system assigned identity or not
+ */
+ useSystemAssignedIdentity?: any;
+}
+
/**
* Details of the customer managed key associated with the workspace
*/
@@ -4062,6 +4076,10 @@ export interface CustomerManagedKeyDetails {
* The key object of the workspace
*/
key?: WorkspaceKeyDetails;
+ /**
+ * Key encryption key
+ */
+ kekIdentity?: KekIdentityProperties;
}
/**
@@ -4150,6 +4168,16 @@ export interface PurviewConfiguration {
purviewResourceId?: string;
}
+/**
+ * Initial workspace AAD admin properties for a CSP subscription
+ */
+export interface CspWorkspaceAdminProperties {
+ /**
+ * AAD object ID of initial workspace admin
+ */
+ initialWorkspaceAdminObjectId?: string;
+}
+
/**
* The workspace managed identity
*/
@@ -4248,10 +4276,14 @@ export interface Workspace extends TrackedResource {
*/
readonly adlaResourceId?: string;
/**
- * Enable or Disable pubic network access to workspace. Possible values include: 'Enabled',
+ * Enable or Disable public network access to workspace. Possible values include: 'Enabled',
* 'Disabled'
*/
publicNetworkAccess?: WorkspacePublicNetworkAccess;
+ /**
+ * Initial workspace AAD admin properties for a CSP subscription
+ */
+ cspWorkspaceAdminProperties?: CspWorkspaceAdminProperties;
/**
* Identity of the workspace
*/
@@ -4261,7 +4293,7 @@ export interface Workspace extends TrackedResource {
/**
* Workspace active directory administrator
*/
-export interface WorkspaceAadAdminInfo extends BaseResource {
+export interface WorkspaceAadAdminInfo extends ProxyResource {
/**
* Tenant ID of the workspace active directory administrator
*/
@@ -4318,7 +4350,7 @@ export interface WorkspacePatchInfo {
*/
encryption?: EncryptionDetails;
/**
- * Enable or Disable pubic network access to workspace. Possible values include: 'Enabled',
+ * Enable or Disable public network access to workspace. Possible values include: 'Enabled',
* 'Disabled'
*/
publicNetworkAccess?: WorkspacePublicNetworkAccess;
@@ -5055,11 +5087,12 @@ export type NodeSize = 'None' | 'Small' | 'Medium' | 'Large' | 'XLarge' | 'XXLar
/**
* Defines values for NodeSizeFamily.
- * Possible values include: 'None', 'MemoryOptimized'
+ * Possible values include: 'None', 'MemoryOptimized', 'HardwareAcceleratedFPGA',
+ * 'HardwareAcceleratedGPU'
* @readonly
* @enum {string}
*/
-export type NodeSizeFamily = 'None' | 'MemoryOptimized';
+export type NodeSizeFamily = 'None' | 'MemoryOptimized' | 'HardwareAcceleratedFPGA' | 'HardwareAcceleratedGPU';
/**
* Defines values for ProvisioningState.
@@ -6817,6 +6850,26 @@ export type PrivateEndpointConnectionsPrivateLinkHubListResponse = PrivateEndpoi
};
};
+/**
+ * Contains response data for the get operation.
+ */
+export type PrivateEndpointConnectionsPrivateLinkHubGetResponse = PrivateEndpointConnectionForPrivateLinkHub & {
+ /**
+ * 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: PrivateEndpointConnectionForPrivateLinkHub;
+ };
+};
+
/**
* Contains response data for the listNext operation.
*/
diff --git a/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts b/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts
index 85e13516226c..62f4802bba78 100644
--- a/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -45,6 +46,7 @@ export {
IntegrationRuntimeStatusResponse,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts b/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts
index 6451c7c198fa..86dc4325667b 100644
--- a/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -44,6 +45,7 @@ export {
IpFirewallRuleInfo,
IpFirewallRuleInfoListResult,
IpFirewallRuleProperties,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/keysMappers.ts b/sdk/synapse/arm-synapse/src/models/keysMappers.ts
index f6f1d834711a..6547d3e42ddf 100644
--- a/sdk/synapse/arm-synapse/src/models/keysMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/keysMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
KeyInfoListResult,
LibraryInfo,
diff --git a/sdk/synapse/arm-synapse/src/models/librariesMappers.ts b/sdk/synapse/arm-synapse/src/models/librariesMappers.ts
index eef5ae83fab3..1c52e6adf9f1 100644
--- a/sdk/synapse/arm-synapse/src/models/librariesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/librariesMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryListResponse,
diff --git a/sdk/synapse/arm-synapse/src/models/libraryMappers.ts b/sdk/synapse/arm-synapse/src/models/libraryMappers.ts
index fa7be042dcd4..4f144f7499e9 100644
--- a/sdk/synapse/arm-synapse/src/models/libraryMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/libraryMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/mappers.ts b/sdk/synapse/arm-synapse/src/models/mappers.ts
index 13bf88187ac0..3f6bbe855c06 100644
--- a/sdk/synapse/arm-synapse/src/models/mappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/mappers.ts
@@ -592,6 +592,7 @@ export const IpFirewallRuleInfo: msRest.CompositeMapper = {
name: "Composite",
className: "IpFirewallRuleInfo",
modelProperties: {
+ ...ProxyResource.type.modelProperties,
endIpAddress: {
serializedName: "properties.endIpAddress",
type: {
@@ -3497,6 +3498,7 @@ export const MetadataSyncConfig: msRest.CompositeMapper = {
name: "Composite",
className: "MetadataSyncConfig",
modelProperties: {
+ ...ProxyResource.type.modelProperties,
enabled: {
serializedName: "properties.enabled",
type: {
@@ -5849,6 +5851,28 @@ export const WorkspaceKeyDetails: msRest.CompositeMapper = {
}
};
+export const KekIdentityProperties: msRest.CompositeMapper = {
+ serializedName: "KekIdentityProperties",
+ type: {
+ name: "Composite",
+ className: "KekIdentityProperties",
+ modelProperties: {
+ userAssignedIdentity: {
+ serializedName: "userAssignedIdentity",
+ type: {
+ name: "String"
+ }
+ },
+ useSystemAssignedIdentity: {
+ serializedName: "useSystemAssignedIdentity",
+ type: {
+ name: "Object"
+ }
+ }
+ }
+ }
+};
+
export const CustomerManagedKeyDetails: msRest.CompositeMapper = {
serializedName: "CustomerManagedKeyDetails",
type: {
@@ -5868,6 +5892,13 @@ export const CustomerManagedKeyDetails: msRest.CompositeMapper = {
name: "Composite",
className: "WorkspaceKeyDetails"
}
+ },
+ kekIdentity: {
+ serializedName: "kekIdentity",
+ type: {
+ name: "Composite",
+ className: "KekIdentityProperties"
+ }
}
}
}
@@ -6010,6 +6041,22 @@ export const PurviewConfiguration: msRest.CompositeMapper = {
}
};
+export const CspWorkspaceAdminProperties: msRest.CompositeMapper = {
+ serializedName: "CspWorkspaceAdminProperties",
+ type: {
+ name: "Composite",
+ className: "CspWorkspaceAdminProperties",
+ modelProperties: {
+ initialWorkspaceAdminObjectId: {
+ serializedName: "initialWorkspaceAdminObjectId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const ManagedIdentity: msRest.CompositeMapper = {
serializedName: "ManagedIdentity",
type: {
@@ -6179,6 +6226,13 @@ export const Workspace: msRest.CompositeMapper = {
name: "String"
}
},
+ cspWorkspaceAdminProperties: {
+ serializedName: "properties.cspWorkspaceAdminProperties",
+ type: {
+ name: "Composite",
+ className: "CspWorkspaceAdminProperties"
+ }
+ },
identity: {
serializedName: "identity",
type: {
@@ -6196,6 +6250,7 @@ export const WorkspaceAadAdminInfo: msRest.CompositeMapper = {
name: "Composite",
className: "WorkspaceAadAdminInfo",
modelProperties: {
+ ...ProxyResource.type.modelProperties,
tenantId: {
serializedName: "properties.tenantId",
type: {
diff --git a/sdk/synapse/arm-synapse/src/models/parameters.ts b/sdk/synapse/arm-synapse/src/models/parameters.ts
index 94ee34b3d1d6..de6e23c06f53 100644
--- a/sdk/synapse/arm-synapse/src/models/parameters.ts
+++ b/sdk/synapse/arm-synapse/src/models/parameters.ts
@@ -337,8 +337,7 @@ export const resourceGroupName: msRest.OperationURLParameter = {
serializedName: "resourceGroupName",
constraints: {
MaxLength: 90,
- MinLength: 1,
- Pattern: /^[-\w\._\(\)]+$/
+ MinLength: 1
},
type: {
name: "String"
diff --git a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts
index 262b1c64c8e6..4773f35d0814 100644
--- a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts
index 90adbe73e0c3..da2504beb9ab 100644
--- a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/privateLinkHubPrivateLinkResourcesMappers.ts b/sdk/synapse/arm-synapse/src/models/privateLinkHubPrivateLinkResourcesMappers.ts
index 18146d45608a..1ac159271054 100644
--- a/sdk/synapse/arm-synapse/src/models/privateLinkHubPrivateLinkResourcesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/privateLinkHubPrivateLinkResourcesMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts b/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts
index baafec14a504..59f0d863b1c8 100644
--- a/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts b/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts
index 18146d45608a..1ac159271054 100644
--- a/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts
index c734cf673056..84975171466c 100644
--- a/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts
index 64560aa6a40a..be4615adccd0 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts
index 3e64b791ca44..7e372571f077 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts
index fa7be042dcd4..4f144f7499e9 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts
index 3e64b791ca44..7e372571f077 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts
index a946fc3c7409..e6079aaea316 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -43,6 +44,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowOptionsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowOptionsMappers.ts
index 3e64b791ca44..7e372571f077 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowOptionsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowOptionsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowsMappers.ts
index e7ebca702aa0..9f515a851541 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -43,6 +44,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts
index fa7be042dcd4..4f144f7499e9 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts
index d53a8a4c3932..08ceb5f44120 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolRecommendedSensitivityLabelsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolRecommendedSensitivityLabelsMappers.ts
index 38373379fa79..ff258b7bf260 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolRecommendedSensitivityLabelsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolRecommendedSensitivityLabelsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts
index d0edb64937f9..f0ea173320e7 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts
index 825eb21ca4bf..b327f3577641 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts
@@ -17,6 +17,7 @@ export {
CmdkeySetup,
ComponentSetup,
CreateSqlPoolRestorePointDefinition,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -44,6 +45,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts
index e3d29eeac3ea..baf0f8773a20 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts
index 03429f3b91fd..438efdd3f24e 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts
index 54caac1bd7a9..d52f240f17cc 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -43,6 +44,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts
index 1da4c0ca097f..753665ad9556 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts
index 98d97b28060d..14232a37bee8 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts
index 5ac7ae17fe03..a964619235a4 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -43,6 +44,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts
index 3e64b791ca44..7e372571f077 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts
index 6c5dc56eb373..51e2d0d94c5f 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts
index f2669c7d24a9..7e6d4c97303f 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts
index c3251ea93117..0c2808de1601 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts
index ac30482fc357..6c3b53020f45 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts
index 7076b6266de9..c8cc2775ac45 100644
--- a/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -43,6 +44,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts
index fa7be042dcd4..4f144f7499e9 100644
--- a/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts
index fa7be042dcd4..4f144f7499e9 100644
--- a/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts
index bd3a487c73df..2547b8082f65 100644
--- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts
index 0ea4973709e3..9c17614b7082 100644
--- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -44,6 +45,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts
index 0547a43568fc..b1ae73f3dbad 100644
--- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -41,6 +42,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlPoolsMappers.ts
index e3a4f6a282e3..be667d2d7a05 100644
--- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlPoolsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlPoolsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts
index e2cc9a20ccfc..169b27f7789a 100644
--- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts
index 1aacf48368cd..c6bf2ca2e568 100644
--- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts
@@ -16,6 +16,7 @@ export {
CloudError,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -40,6 +41,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts
index fa7be042dcd4..4f144f7499e9 100644
--- a/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts
index 9dde78134f15..2ec50905121e 100644
--- a/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts
+++ b/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts
@@ -15,6 +15,7 @@ export {
BigDataPoolResourceInfo,
CmdkeySetup,
ComponentSetup,
+ CspWorkspaceAdminProperties,
CustomerManagedKeyDetails,
CustomSetupBase,
DataLakeStorageAccountDetails,
@@ -42,6 +43,7 @@ export {
IntegrationRuntimeSsisProperties,
IntegrationRuntimeVNetProperties,
IpFirewallRuleInfo,
+ KekIdentityProperties,
Key,
LibraryInfo,
LibraryRequirements,
diff --git a/sdk/synapse/arm-synapse/src/operations/privateEndpointConnectionsPrivateLinkHub.ts b/sdk/synapse/arm-synapse/src/operations/privateEndpointConnectionsPrivateLinkHub.ts
index c4b1ebfe2946..264bb96c6361 100644
--- a/sdk/synapse/arm-synapse/src/operations/privateEndpointConnectionsPrivateLinkHub.ts
+++ b/sdk/synapse/arm-synapse/src/operations/privateEndpointConnectionsPrivateLinkHub.ts
@@ -57,6 +57,42 @@ export class PrivateEndpointConnectionsPrivateLinkHub {
callback) as Promise;
}
+ /**
+ * Get all PrivateEndpointConnection in the PrivateLinkHub by name
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateLinkHubName Name of the privateLinkHub
+ * @param privateEndpointConnectionName Name of the privateEndpointConnection
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(resourceGroupName: string, privateLinkHubName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateLinkHubName Name of the privateLinkHub
+ * @param privateEndpointConnectionName Name of the privateEndpointConnection
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, privateLinkHubName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateLinkHubName Name of the privateLinkHub
+ * @param privateEndpointConnectionName Name of the privateEndpointConnection
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(resourceGroupName: string, privateLinkHubName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, privateLinkHubName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ privateLinkHubName,
+ privateEndpointConnectionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
/**
* Get all PrivateEndpointConnections in the PrivateLinkHub
* @param nextPageLink The NextLink from the previous successful call to List operation.
@@ -113,6 +149,32 @@ const listOperationSpec: msRest.OperationSpec = {
serializer
};
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.privateLinkHubName,
+ Parameters.privateEndpointConnectionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionForPrivateLinkHub
+ },
+ default: {
+ bodyMapper: Mappers.ErrorResponse
+ }
+ },
+ serializer
+};
+
const listNextOperationSpec: msRest.OperationSpec = {
httpMethod: "GET",
baseUrl: "https://management.azure.com",
diff --git a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts
index b2adedb6fd50..1c289b9a605d 100644
--- a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts
+++ b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts
@@ -8,6 +8,7 @@
*/
import * as msRest from "@azure/ms-rest-js";
+import { TokenCredential } from "@azure/core-auth";
import * as Models from "./models";
import * as Mappers from "./models/mappers";
import * as operations from "./operations";
@@ -80,11 +81,16 @@ class SynapseManagementClient extends SynapseManagementClientContext {
/**
* Initializes a new instance of the SynapseManagementClient class.
- * @param credentials Credentials needed for the client to connect to Azure.
+ * @param credentials Credentials needed for the client to connect to Azure. Credentials
+ * implementing the TokenCredential interface from the @azure/identity package are recommended. For
+ * more information about these credentials, see
+ * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
+ * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
+ * @azure/ms-rest-browserauth are also supported.
* @param subscriptionId The ID of the target subscription.
* @param [options] The parameter options
*/
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SynapseManagementClientOptions) {
+ constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SynapseManagementClientOptions) {
super(credentials, subscriptionId, options);
this.bigDataPools = new operations.BigDataPools(this);
this.operations = new operations.Operations(this);
diff --git a/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts b/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts
index 5e44f5084cde..35eed98605b4 100644
--- a/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts
+++ b/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts
@@ -10,22 +10,28 @@
import * as Models from "./models";
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
+import { TokenCredential } from "@azure/core-auth";
const packageName = "@azure/arm-synapse";
const packageVersion = "5.1.0";
export class SynapseManagementClientContext extends msRestAzure.AzureServiceClient {
- credentials: msRest.ServiceClientCredentials;
+ credentials: msRest.ServiceClientCredentials | TokenCredential;
subscriptionId: string;
apiVersion?: string;
/**
* Initializes a new instance of the SynapseManagementClient class.
- * @param credentials Credentials needed for the client to connect to Azure.
+ * @param credentials Credentials needed for the client to connect to Azure. Credentials
+ * implementing the TokenCredential interface from the @azure/identity package are recommended. For
+ * more information about these credentials, see
+ * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
+ * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
+ * @azure/ms-rest-browserauth are also supported.
* @param subscriptionId The ID of the target subscription.
* @param [options] The parameter options
*/
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SynapseManagementClientOptions) {
+ constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SynapseManagementClientOptions) {
if (credentials == undefined) {
throw new Error('\'credentials\' cannot be null.');
}
@@ -43,7 +49,7 @@ export class SynapseManagementClientContext extends msRestAzure.AzureServiceClie
super(credentials, options);
- this.apiVersion = '2021-03-01';
+ this.apiVersion = '2021-05-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";