Skip to content

Commit b878750

Browse files
author
SDKAuto
committed
CodeGen from PR 23013 in Azure/azure-rest-api-specs
Merge bc8a96c26b820c0d50a16076703e31fdf0bdf5e8 into 2d701c73fb5ee44f95b97b6c3eaf8c4aeb051e73
1 parent 7cb16fd commit b878750

File tree

12 files changed

+274
-183
lines changed

12 files changed

+274
-183
lines changed

sdk/datafactory/arm-datafactory/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Release History
22

3+
## 15.0.0 (2024-03-25)
4+
5+
**Features**
6+
7+
- Added Interface Reference
8+
- Added Interface ServicePrincipalCredentialResource
9+
- Added Type Alias ReferenceUnion
10+
11+
**Breaking Changes**
12+
13+
- Operation CredentialOperations.createOrUpdate has a new signature
14+
- Interface ManagedIdentityCredential no longer has parameter resourceId
15+
- Type of parameter headers of interface AzureFunctionActivity is changed from {
16+
[propertyName: string]: string;
17+
} to {
18+
[propertyName: string]: any;
19+
}
20+
- Type of parameter value of interface CredentialListResponse is changed from ManagedIdentityCredentialResource[] to CredentialResource[]
21+
- Type of parameter type of interface LinkedServiceReference is changed from Type to "LinkedServiceReference"
22+
- Type of parameter headers of interface WebActivity is changed from {
23+
[propertyName: string]: string;
24+
} to {
25+
[propertyName: string]: any;
26+
}
27+
- Type of parameter headers of interface WebHookActivity is changed from {
28+
[propertyName: string]: string;
29+
} to {
30+
[propertyName: string]: any;
31+
}
32+
- Removed Enum KnownType
33+
34+
335
## 14.1.0 (2024-03-11)
436

537
**Features**
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "1a011ff0d72315ef3c530fe545c4fe82d0450201",
2+
"commit": "d6375712eddcb02fe6e10cc7971a3e13f6fcbbc8",
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",
66
"release_tool": "@azure-tools/[email protected]",
7-
"use": "@autorest/[email protected].17"
7+
"use": "@autorest/typescript@^6.0.12"
88
}

sdk/datafactory/arm-datafactory/package.json

Lines changed: 2 additions & 10 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.0",
6+
"version": "15.0.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
@@ -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-
}
109+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory"
118110
}

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

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ export interface AzureFunctionActivity extends ExecutionActivity {
747747
body?: any;
748748
functionName: any;
749749
headers?: {
750-
[propertyName: string]: string;
750+
[propertyName: string]: any;
751751
};
752752
method: AzureFunctionActivityMethod;
753753
type: "AzureFunctionActivity";
@@ -1621,15 +1621,15 @@ export { Credential_2 as Credential }
16211621
// @public
16221622
export interface CredentialListResponse {
16231623
nextLink?: string;
1624-
value: ManagedIdentityCredentialResource[];
1624+
value: CredentialResource[];
16251625
}
16261626

16271627
// @public
16281628
export interface CredentialOperations {
1629-
createOrUpdate(resourceGroupName: string, factoryName: string, credentialName: string, credential: ManagedIdentityCredentialResource, options?: CredentialOperationsCreateOrUpdateOptionalParams): Promise<CredentialOperationsCreateOrUpdateResponse>;
1629+
createOrUpdate(resourceGroupName: string, factoryName: string, credentialName: string, credential: CredentialResource, options?: CredentialOperationsCreateOrUpdateOptionalParams): Promise<CredentialOperationsCreateOrUpdateResponse>;
16301630
delete(resourceGroupName: string, factoryName: string, credentialName: string, options?: CredentialOperationsDeleteOptionalParams): Promise<void>;
16311631
get(resourceGroupName: string, factoryName: string, credentialName: string, options?: CredentialOperationsGetOptionalParams): Promise<CredentialOperationsGetResponse>;
1632-
listByFactory(resourceGroupName: string, factoryName: string, options?: CredentialOperationsListByFactoryOptionalParams): PagedAsyncIterableIterator<ManagedIdentityCredentialResource>;
1632+
listByFactory(resourceGroupName: string, factoryName: string, options?: CredentialOperationsListByFactoryOptionalParams): PagedAsyncIterableIterator<CredentialResource>;
16331633
}
16341634

16351635
// @public
@@ -1638,7 +1638,7 @@ export interface CredentialOperationsCreateOrUpdateOptionalParams extends coreCl
16381638
}
16391639

16401640
// @public
1641-
export type CredentialOperationsCreateOrUpdateResponse = ManagedIdentityCredentialResource;
1641+
export type CredentialOperationsCreateOrUpdateResponse = CredentialResource;
16421642

16431643
// @public
16441644
export interface CredentialOperationsDeleteOptionalParams extends coreClient.OperationOptions {
@@ -1650,7 +1650,7 @@ export interface CredentialOperationsGetOptionalParams extends coreClient.Operat
16501650
}
16511651

16521652
// @public
1653-
export type CredentialOperationsGetResponse = ManagedIdentityCredentialResource;
1653+
export type CredentialOperationsGetResponse = CredentialResource;
16541654

16551655
// @public
16561656
export interface CredentialOperationsListByFactoryNextOptionalParams extends coreClient.OperationOptions {
@@ -3961,7 +3961,7 @@ export interface IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse
39613961
}
39623962

39633963
// @public
3964-
export interface IntegrationRuntimeReference {
3964+
export interface IntegrationRuntimeReference extends Reference {
39653965
parameters?: {
39663966
[propertyName: string]: any;
39673967
};
@@ -5094,11 +5094,6 @@ export enum KnownTumblingWindowFrequency {
50945094
Month = "Month"
50955095
}
50965096

5097-
// @public
5098-
export enum KnownType {
5099-
LinkedServiceReference = "LinkedServiceReference"
5100-
}
5101-
51025097
// @public
51035098
export enum KnownVariableType {
51045099
Array = "Array",
@@ -5250,12 +5245,12 @@ export interface LinkedServiceListResponse {
52505245
}
52515246

52525247
// @public
5253-
export interface LinkedServiceReference {
5248+
export interface LinkedServiceReference extends Reference {
52545249
parameters?: {
52555250
[propertyName: string]: any;
52565251
};
52575252
referenceName: string;
5258-
type: Type;
5253+
type: "LinkedServiceReference";
52595254
}
52605255

52615256
// @public
@@ -5363,12 +5358,11 @@ export interface MagentoSource extends TabularSource {
53635358

53645359
// @public
53655360
export interface ManagedIdentityCredential extends Credential_2 {
5366-
resourceId?: string;
53675361
type: "ManagedIdentity";
53685362
}
53695363

53705364
// @public
5371-
export interface ManagedIdentityCredentialResource extends SubResource {
5365+
export interface ManagedIdentityCredentialResource extends CredentialResource {
53725366
properties: ManagedIdentityCredential;
53735367
}
53745368

@@ -6830,6 +6824,14 @@ export interface RedshiftUnloadSettings {
68306824
s3LinkedServiceName: LinkedServiceReference;
68316825
}
68326826

6827+
// @public
6828+
export interface Reference {
6829+
type: "IntegrationRuntimeReference" | "LinkedServiceReference";
6830+
}
6831+
6832+
// @public (undocumented)
6833+
export type ReferenceUnion = Reference | IntegrationRuntimeReference | LinkedServiceReference;
6834+
68336835
// @public
68346836
export interface RelationalSource extends CopySource {
68356837
additionalColumns?: any;
@@ -7620,6 +7622,11 @@ export interface ServicePrincipalCredential extends Credential_2 {
76207622
type: "ServicePrincipal";
76217623
}
76227624

7625+
// @public
7626+
export interface ServicePrincipalCredentialResource extends CredentialResource {
7627+
properties: ServicePrincipalCredential;
7628+
}
7629+
76237630
// @public
76247631
export type ServicePrincipalCredentialType = string;
76257632

@@ -8741,9 +8748,6 @@ export interface TwilioLinkedService extends LinkedService {
87418748
userName: any;
87428749
}
87438750

8744-
// @public
8745-
export type Type = string;
8746-
87478751
// @public
87488752
export interface TypeConversionSettings {
87498753
allowDataTruncation?: any;
@@ -8885,7 +8889,7 @@ export interface WebActivity extends ExecutionActivity {
88858889
datasets?: DatasetReference[];
88868890
disableCertValidation?: boolean;
88878891
headers?: {
8888-
[propertyName: string]: string;
8892+
[propertyName: string]: any;
88898893
};
88908894
httpRequestTimeout?: any;
88918895
linkedServices?: LinkedServiceReference[];
@@ -8936,7 +8940,7 @@ export interface WebHookActivity extends ControlActivity {
89368940
authentication?: WebActivityAuthentication;
89378941
body?: any;
89388942
headers?: {
8939-
[propertyName: string]: string;
8943+
[propertyName: string]: any;
89408944
};
89418945
method: WebHookActivityMethod;
89428946
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.0`;
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)