Skip to content

Commit 67137f1

Browse files
author
SDKAuto
committed
CodeGen from PR 28572 in Azure/azure-rest-api-specs
Merge e1b1cf60565955f8e8ec1afb3ba0faa94625f818 into b38632bbd56247985cb0493b128ba048e5fee16b
1 parent 19bcdb9 commit 67137f1

File tree

13 files changed

+236
-131
lines changed

13 files changed

+236
-131
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 11 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/datafactory/arm-datafactory/CHANGELOG.md

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,37 @@
11
# Release History
2+
3+
## 15.0.0 (2024-04-16)
4+
5+
**Features**
26

3-
## 14.1.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- Added Interface ServicePrincipalCredentialResource
8+
- Interface AzureDatabricksLinkedService has a new optional parameter clusterOption
9+
- Interface AzureDatabricksLinkedService has a new optional parameter dataSecurityMode
10+
- Interface AzureDatabricksLinkedService has a new optional parameter newClusterAttributes
1011

11-
### Other Changes
12+
**Breaking Changes**
1213

14+
- Operation CredentialOperations.createOrUpdate has a new signature
15+
- Interface ManagedIdentityCredential no longer has parameter resourceId
16+
- Type of parameter headers of interface AzureFunctionActivity is changed from {
17+
[propertyName: string]: string;
18+
} to {
19+
[propertyName: string]: any;
20+
}
21+
- Type of parameter value of interface CredentialListResponse is changed from ManagedIdentityCredentialResource[] to CredentialResource[]
22+
- Type of parameter type of interface ScriptActivityScriptBlock is changed from ScriptType to any
23+
- Type of parameter headers of interface WebActivity is changed from {
24+
[propertyName: string]: string;
25+
} to {
26+
[propertyName: string]: any;
27+
}
28+
- Type of parameter headers of interface WebHookActivity is changed from {
29+
[propertyName: string]: string;
30+
} to {
31+
[propertyName: string]: any;
32+
}
33+
34+
1335
## 14.1.0 (2024-03-11)
1436

1537
**Features**
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "1a011ff0d72315ef3c530fe545c4fe82d0450201",
2+
"commit": "6cbe5f8313fb716ec59abe9408c62bf10de6dcc8",
33
"readme": "specification/datafactory/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\datafactory\\resource-manager\\readme.md --use=@autorest/[email protected].17 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].4",
7-
"use": "@autorest/[email protected].17"
6+
"release_tool": "@azure-tools/[email protected].5",
7+
"use": "@autorest/typescript@^6.0.12"
88
}

sdk/datafactory/arm-datafactory/package.json

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for DataFactoryManagementClient.",
6-
"version": "14.1.1",
6+
"version": "15.0.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
@@ -29,8 +29,8 @@
2929
"types": "./types/arm-datafactory.d.ts",
3030
"devDependencies": {
3131
"@microsoft/api-extractor": "^7.31.1",
32-
"mkdirp": "^3.0.1",
33-
"typescript": "~5.4.5",
32+
"mkdirp": "^2.1.2",
33+
"typescript": "~5.3.3",
3434
"uglify-js": "^3.4.9",
3535
"rimraf": "^5.0.0",
3636
"dotenv": "^16.0.0",
@@ -106,13 +106,5 @@
106106
]
107107
},
108108
"autoPublish": true,
109-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory",
110-
"//sampleConfiguration": {
111-
"productName": "",
112-
"productSlugs": [
113-
"azure"
114-
],
115-
"disableDocsMs": true,
116-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview"
117-
}
118-
}
109+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory"
110+
}

sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -558,11 +558,16 @@ export interface AzureDatabricksDeltaLakeSource extends CopySource {
558558
export interface AzureDatabricksLinkedService extends LinkedService {
559559
accessToken?: SecretBaseUnion;
560560
authentication?: any;
561+
clusterOption?: any;
561562
credential?: CredentialReference;
563+
dataSecurityMode?: any;
562564
domain: any;
563565
encryptedCredential?: string;
564566
existingClusterId?: any;
565567
instancePoolId?: any;
568+
newClusterAttributes?: {
569+
[propertyName: string]: any;
570+
};
566571
newClusterCustomTags?: {
567572
[propertyName: string]: any;
568573
};
@@ -747,7 +752,7 @@ export interface AzureFunctionActivity extends ExecutionActivity {
747752
body?: any;
748753
functionName: any;
749754
headers?: {
750-
[propertyName: string]: string;
755+
[propertyName: string]: any;
751756
};
752757
method: AzureFunctionActivityMethod;
753758
type: "AzureFunctionActivity";
@@ -1621,15 +1626,15 @@ export { Credential_2 as Credential }
16211626
// @public
16221627
export interface CredentialListResponse {
16231628
nextLink?: string;
1624-
value: ManagedIdentityCredentialResource[];
1629+
value: CredentialResource[];
16251630
}
16261631

16271632
// @public
16281633
export interface CredentialOperations {
1629-
createOrUpdate(resourceGroupName: string, factoryName: string, credentialName: string, credential: ManagedIdentityCredentialResource, options?: CredentialOperationsCreateOrUpdateOptionalParams): Promise<CredentialOperationsCreateOrUpdateResponse>;
1634+
createOrUpdate(resourceGroupName: string, factoryName: string, credentialName: string, credential: CredentialResource, options?: CredentialOperationsCreateOrUpdateOptionalParams): Promise<CredentialOperationsCreateOrUpdateResponse>;
16301635
delete(resourceGroupName: string, factoryName: string, credentialName: string, options?: CredentialOperationsDeleteOptionalParams): Promise<void>;
16311636
get(resourceGroupName: string, factoryName: string, credentialName: string, options?: CredentialOperationsGetOptionalParams): Promise<CredentialOperationsGetResponse>;
1632-
listByFactory(resourceGroupName: string, factoryName: string, options?: CredentialOperationsListByFactoryOptionalParams): PagedAsyncIterableIterator<ManagedIdentityCredentialResource>;
1637+
listByFactory(resourceGroupName: string, factoryName: string, options?: CredentialOperationsListByFactoryOptionalParams): PagedAsyncIterableIterator<CredentialResource>;
16331638
}
16341639

16351640
// @public
@@ -1638,7 +1643,7 @@ export interface CredentialOperationsCreateOrUpdateOptionalParams extends coreCl
16381643
}
16391644

16401645
// @public
1641-
export type CredentialOperationsCreateOrUpdateResponse = ManagedIdentityCredentialResource;
1646+
export type CredentialOperationsCreateOrUpdateResponse = CredentialResource;
16421647

16431648
// @public
16441649
export interface CredentialOperationsDeleteOptionalParams extends coreClient.OperationOptions {
@@ -1650,7 +1655,7 @@ export interface CredentialOperationsGetOptionalParams extends coreClient.Operat
16501655
}
16511656

16521657
// @public
1653-
export type CredentialOperationsGetResponse = ManagedIdentityCredentialResource;
1658+
export type CredentialOperationsGetResponse = CredentialResource;
16541659

16551660
// @public
16561661
export interface CredentialOperationsListByFactoryNextOptionalParams extends coreClient.OperationOptions {
@@ -5363,12 +5368,11 @@ export interface MagentoSource extends TabularSource {
53635368

53645369
// @public
53655370
export interface ManagedIdentityCredential extends Credential_2 {
5366-
resourceId?: string;
53675371
type: "ManagedIdentity";
53685372
}
53695373

53705374
// @public
5371-
export interface ManagedIdentityCredentialResource extends SubResource {
5375+
export interface ManagedIdentityCredentialResource extends CredentialResource {
53725376
properties: ManagedIdentityCredential;
53735377
}
53745378

@@ -7456,7 +7460,7 @@ export type ScriptActivityParameterType = string;
74567460
export interface ScriptActivityScriptBlock {
74577461
parameters?: ScriptActivityParameter[];
74587462
text: any;
7459-
type: ScriptType;
7463+
type: any;
74607464
}
74617465

74627466
// @public
@@ -7620,6 +7624,11 @@ export interface ServicePrincipalCredential extends Credential_2 {
76207624
type: "ServicePrincipal";
76217625
}
76227626

7627+
// @public
7628+
export interface ServicePrincipalCredentialResource extends CredentialResource {
7629+
properties: ServicePrincipalCredential;
7630+
}
7631+
76237632
// @public
76247633
export type ServicePrincipalCredentialType = string;
76257634

@@ -8885,7 +8894,7 @@ export interface WebActivity extends ExecutionActivity {
88858894
datasets?: DatasetReference[];
88868895
disableCertValidation?: boolean;
88878896
headers?: {
8888-
[propertyName: string]: string;
8897+
[propertyName: string]: any;
88898898
};
88908899
httpRequestTimeout?: any;
88918900
linkedServices?: LinkedServiceReference[];
@@ -8936,7 +8945,7 @@ export interface WebHookActivity extends ControlActivity {
89368945
authentication?: WebActivityAuthentication;
89378946
body?: any;
89388947
headers?: {
8939-
[propertyName: string]: string;
8948+
[propertyName: string]: any;
89408949
};
89418950
method: WebHookActivityMethod;
89428951
policy?: SecureInputOutputPolicy;

sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
9898
credential: credentials,
9999
};
100100

101-
const packageDetails = `azsdk-js-arm-datafactory/14.1.1`;
101+
const packageDetails = `azsdk-js-arm-datafactory/15.0.0`;
102102
const userAgentPrefix =
103103
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
104104
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`

0 commit comments

Comments
 (0)