diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index eb55ec186817..86491acc53f9 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-datafactory", "author": "Microsoft Corporation", "description": "DataFactoryManagementClient Library with typescript type definitions for node.js and browser.", - "version": "8.0.0", + "version": "8.1.0", "dependencies": { "@azure/ms-rest-azure-js": "^2.1.0", "@azure/ms-rest-js": "^2.2.0", diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts index 9cfac189f60c..572c978f1bee 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-datafactory"; -const packageVersion = "8.0.0"; +const packageVersion = "8.1.0"; export class DataFactoryManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials | TokenCredential; diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 2389fc94e971..70da08444e07 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -8365,7 +8365,8 @@ export interface AzureBatchLinkedService { export interface SqlAlwaysEncryptedProperties { /** * Sql always encrypted AKV authentication type. Type: string (or Expression with resultType - * string). Possible values include: 'ServicePrincipal', 'ManagedIdentity' + * string). Possible values include: 'ServicePrincipal', 'ManagedIdentity', + * 'UserAssignedManagedIdentity' */ alwaysEncryptedAkvAuthType: SqlAlwaysEncryptedAkvAuthType; /** @@ -8377,6 +8378,10 @@ export interface SqlAlwaysEncryptedProperties { * The key of the service principal used to authenticate against Azure Key Vault. */ servicePrincipalKey?: SecretBaseUnion; + /** + * The credential reference containing authentication information. + */ + credential?: CredentialReference; } /** @@ -27560,11 +27565,11 @@ export type CosmosDbConnectionMode = 'Gateway' | 'Direct'; /** * Defines values for SqlAlwaysEncryptedAkvAuthType. - * Possible values include: 'ServicePrincipal', 'ManagedIdentity' + * Possible values include: 'ServicePrincipal', 'ManagedIdentity', 'UserAssignedManagedIdentity' * @readonly * @enum {string} */ -export type SqlAlwaysEncryptedAkvAuthType = 'ServicePrincipal' | 'ManagedIdentity'; +export type SqlAlwaysEncryptedAkvAuthType = 'ServicePrincipal' | 'ManagedIdentity' | 'UserAssignedManagedIdentity'; /** * Defines values for TumblingWindowFrequency. diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index b9cb04311b1a..54f9dd7fcdc5 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -10222,6 +10222,18 @@ export const SqlAlwaysEncryptedProperties: msRest.CompositeMapper = { name: "Composite", className: "SecretBase" } + }, + credential: { + serializedName: "credential", + type: { + name: "Composite", + className: "CredentialReference", + additionalProperties: { + type: { + name: "Object" + } + } + } } } }