@azure/arm-datafactory 14.1.1-alpha.20240422.1 → 15.0.1-alpha.20240426.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -1
- package/dist/index.js +39 -30
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/dataFactoryManagementClient.js +1 -1
- package/dist-esm/src/models/index.d.ts +19 -16
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +34 -26
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +2 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/credentialOperations.d.ts +3 -3
- package/dist-esm/src/operations/credentialOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/credentialOperations.js +2 -2
- package/dist-esm/src/operations/credentialOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/credentialOperations.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/credentialOperations.d.ts.map +1 -1
- package/dist-esm/test/datafactory_examples.spec.js +1 -1
- package/dist-esm/test/datafactory_examples.spec.js.map +1 -1
- package/package.json +1 -1
- package/review/arm-datafactory.api.md +14 -10
- package/src/dataFactoryManagementClient.ts +1 -1
- package/src/models/index.ts +21 -18
- package/src/models/mappers.ts +41 -30
- package/src/models/parameters.ts +2 -2
- package/src/operations/credentialOperations.ts +7 -7
- package/src/operationsInterfaces/credentialOperations.ts +3 -3
- package/types/arm-datafactory.d.ts +15 -11
|
@@ -14,7 +14,7 @@ import * as Mappers from "../models/mappers";
|
|
|
14
14
|
import * as Parameters from "../models/parameters";
|
|
15
15
|
import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
CredentialResource,
|
|
18
18
|
CredentialOperationsListByFactoryNextOptionalParams,
|
|
19
19
|
CredentialOperationsListByFactoryOptionalParams,
|
|
20
20
|
CredentialOperationsListByFactoryResponse,
|
|
@@ -49,7 +49,7 @@ export class CredentialOperationsImpl implements CredentialOperations {
|
|
|
49
49
|
resourceGroupName: string,
|
|
50
50
|
factoryName: string,
|
|
51
51
|
options?: CredentialOperationsListByFactoryOptionalParams,
|
|
52
|
-
): PagedAsyncIterableIterator<
|
|
52
|
+
): PagedAsyncIterableIterator<CredentialResource> {
|
|
53
53
|
const iter = this.listByFactoryPagingAll(
|
|
54
54
|
resourceGroupName,
|
|
55
55
|
factoryName,
|
|
@@ -81,7 +81,7 @@ export class CredentialOperationsImpl implements CredentialOperations {
|
|
|
81
81
|
factoryName: string,
|
|
82
82
|
options?: CredentialOperationsListByFactoryOptionalParams,
|
|
83
83
|
settings?: PageSettings,
|
|
84
|
-
): AsyncIterableIterator<
|
|
84
|
+
): AsyncIterableIterator<CredentialResource[]> {
|
|
85
85
|
let result: CredentialOperationsListByFactoryResponse;
|
|
86
86
|
let continuationToken = settings?.continuationToken;
|
|
87
87
|
if (!continuationToken) {
|
|
@@ -113,7 +113,7 @@ export class CredentialOperationsImpl implements CredentialOperations {
|
|
|
113
113
|
resourceGroupName: string,
|
|
114
114
|
factoryName: string,
|
|
115
115
|
options?: CredentialOperationsListByFactoryOptionalParams,
|
|
116
|
-
): AsyncIterableIterator<
|
|
116
|
+
): AsyncIterableIterator<CredentialResource> {
|
|
117
117
|
for await (const page of this.listByFactoryPagingPage(
|
|
118
118
|
resourceGroupName,
|
|
119
119
|
factoryName,
|
|
@@ -152,7 +152,7 @@ export class CredentialOperationsImpl implements CredentialOperations {
|
|
|
152
152
|
resourceGroupName: string,
|
|
153
153
|
factoryName: string,
|
|
154
154
|
credentialName: string,
|
|
155
|
-
credential:
|
|
155
|
+
credential: CredentialResource,
|
|
156
156
|
options?: CredentialOperationsCreateOrUpdateOptionalParams,
|
|
157
157
|
): Promise<CredentialOperationsCreateOrUpdateResponse> {
|
|
158
158
|
return this.client.sendOperationRequest(
|
|
@@ -247,7 +247,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
247
247
|
httpMethod: "PUT",
|
|
248
248
|
responses: {
|
|
249
249
|
200: {
|
|
250
|
-
bodyMapper: Mappers.
|
|
250
|
+
bodyMapper: Mappers.CredentialResource,
|
|
251
251
|
},
|
|
252
252
|
default: {
|
|
253
253
|
bodyMapper: Mappers.CloudError,
|
|
@@ -275,7 +275,7 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
275
275
|
httpMethod: "GET",
|
|
276
276
|
responses: {
|
|
277
277
|
200: {
|
|
278
|
-
bodyMapper: Mappers.
|
|
278
|
+
bodyMapper: Mappers.CredentialResource,
|
|
279
279
|
},
|
|
280
280
|
304: {},
|
|
281
281
|
default: {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
CredentialResource,
|
|
12
12
|
CredentialOperationsListByFactoryOptionalParams,
|
|
13
13
|
CredentialOperationsCreateOrUpdateOptionalParams,
|
|
14
14
|
CredentialOperationsCreateOrUpdateResponse,
|
|
@@ -30,7 +30,7 @@ export interface CredentialOperations {
|
|
|
30
30
|
resourceGroupName: string,
|
|
31
31
|
factoryName: string,
|
|
32
32
|
options?: CredentialOperationsListByFactoryOptionalParams,
|
|
33
|
-
): PagedAsyncIterableIterator<
|
|
33
|
+
): PagedAsyncIterableIterator<CredentialResource>;
|
|
34
34
|
/**
|
|
35
35
|
* Creates or updates a credential.
|
|
36
36
|
* @param resourceGroupName The resource group name.
|
|
@@ -43,7 +43,7 @@ export interface CredentialOperations {
|
|
|
43
43
|
resourceGroupName: string,
|
|
44
44
|
factoryName: string,
|
|
45
45
|
credentialName: string,
|
|
46
|
-
credential:
|
|
46
|
+
credential: CredentialResource,
|
|
47
47
|
options?: CredentialOperationsCreateOrUpdateOptionalParams,
|
|
48
48
|
): Promise<CredentialOperationsCreateOrUpdateResponse>;
|
|
49
49
|
/**
|
|
@@ -1221,7 +1221,7 @@ export declare interface AzureFunctionActivity extends ExecutionActivity {
|
|
|
1221
1221
|
functionName: any;
|
|
1222
1222
|
/** Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). */
|
|
1223
1223
|
headers?: {
|
|
1224
|
-
[propertyName: string]:
|
|
1224
|
+
[propertyName: string]: any;
|
|
1225
1225
|
};
|
|
1226
1226
|
/** Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). */
|
|
1227
1227
|
body?: any;
|
|
@@ -2640,7 +2640,7 @@ export { Credential_2 as Credential }
|
|
|
2640
2640
|
/** A list of credential resources. */
|
|
2641
2641
|
export declare interface CredentialListResponse {
|
|
2642
2642
|
/** List of credentials. */
|
|
2643
|
-
value:
|
|
2643
|
+
value: CredentialResource[];
|
|
2644
2644
|
/** The link to the next page of results, if any remaining results exist. */
|
|
2645
2645
|
nextLink?: string;
|
|
2646
2646
|
}
|
|
@@ -2653,7 +2653,7 @@ export declare interface CredentialOperations {
|
|
|
2653
2653
|
* @param factoryName The factory name.
|
|
2654
2654
|
* @param options The options parameters.
|
|
2655
2655
|
*/
|
|
2656
|
-
listByFactory(resourceGroupName: string, factoryName: string, options?: CredentialOperationsListByFactoryOptionalParams): PagedAsyncIterableIterator<
|
|
2656
|
+
listByFactory(resourceGroupName: string, factoryName: string, options?: CredentialOperationsListByFactoryOptionalParams): PagedAsyncIterableIterator<CredentialResource>;
|
|
2657
2657
|
/**
|
|
2658
2658
|
* Creates or updates a credential.
|
|
2659
2659
|
* @param resourceGroupName The resource group name.
|
|
@@ -2662,7 +2662,7 @@ export declare interface CredentialOperations {
|
|
|
2662
2662
|
* @param credential Credential resource definition.
|
|
2663
2663
|
* @param options The options parameters.
|
|
2664
2664
|
*/
|
|
2665
|
-
createOrUpdate(resourceGroupName: string, factoryName: string, credentialName: string, credential:
|
|
2665
|
+
createOrUpdate(resourceGroupName: string, factoryName: string, credentialName: string, credential: CredentialResource, options?: CredentialOperationsCreateOrUpdateOptionalParams): Promise<CredentialOperationsCreateOrUpdateResponse>;
|
|
2666
2666
|
/**
|
|
2667
2667
|
* Gets a credential.
|
|
2668
2668
|
* @param resourceGroupName The resource group name.
|
|
@@ -2688,7 +2688,7 @@ export declare interface CredentialOperationsCreateOrUpdateOptionalParams extend
|
|
|
2688
2688
|
}
|
|
2689
2689
|
|
|
2690
2690
|
/** Contains response data for the createOrUpdate operation. */
|
|
2691
|
-
export declare type CredentialOperationsCreateOrUpdateResponse =
|
|
2691
|
+
export declare type CredentialOperationsCreateOrUpdateResponse = CredentialResource;
|
|
2692
2692
|
|
|
2693
2693
|
/** Optional parameters. */
|
|
2694
2694
|
export declare interface CredentialOperationsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
@@ -2701,7 +2701,7 @@ export declare interface CredentialOperationsGetOptionalParams extends coreClien
|
|
|
2701
2701
|
}
|
|
2702
2702
|
|
|
2703
2703
|
/** Contains response data for the get operation. */
|
|
2704
|
-
export declare type CredentialOperationsGetResponse =
|
|
2704
|
+
export declare type CredentialOperationsGetResponse = CredentialResource;
|
|
2705
2705
|
|
|
2706
2706
|
/** Optional parameters. */
|
|
2707
2707
|
export declare interface CredentialOperationsListByFactoryNextOptionalParams extends coreClient.OperationOptions {
|
|
@@ -8652,12 +8652,10 @@ export declare interface MagentoSource extends TabularSource {
|
|
|
8652
8652
|
export declare interface ManagedIdentityCredential extends Credential_2 {
|
|
8653
8653
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
8654
8654
|
type: "ManagedIdentity";
|
|
8655
|
-
/** The resource id of user assigned managed identity */
|
|
8656
|
-
resourceId?: string;
|
|
8657
8655
|
}
|
|
8658
8656
|
|
|
8659
8657
|
/** Credential resource type. */
|
|
8660
|
-
export declare interface ManagedIdentityCredentialResource extends
|
|
8658
|
+
export declare interface ManagedIdentityCredentialResource extends CredentialResource {
|
|
8661
8659
|
/** Managed Identity Credential properties. */
|
|
8662
8660
|
properties: ManagedIdentityCredential;
|
|
8663
8661
|
}
|
|
@@ -12582,6 +12580,12 @@ export declare interface ServicePrincipalCredential extends Credential_2 {
|
|
|
12582
12580
|
tenant?: any;
|
|
12583
12581
|
}
|
|
12584
12582
|
|
|
12583
|
+
/** Credential resource type. */
|
|
12584
|
+
export declare interface ServicePrincipalCredentialResource extends CredentialResource {
|
|
12585
|
+
/** Service Principal Credential properties. */
|
|
12586
|
+
properties: ServicePrincipalCredential;
|
|
12587
|
+
}
|
|
12588
|
+
|
|
12585
12589
|
/**
|
|
12586
12590
|
* Defines values for ServicePrincipalCredentialType. \
|
|
12587
12591
|
* {@link KnownServicePrincipalCredentialType} can be used interchangeably with ServicePrincipalCredentialType,
|
|
@@ -14772,7 +14776,7 @@ export declare interface WebActivity extends ExecutionActivity {
|
|
|
14772
14776
|
url: any;
|
|
14773
14777
|
/** Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). */
|
|
14774
14778
|
headers?: {
|
|
14775
|
-
[propertyName: string]:
|
|
14779
|
+
[propertyName: string]: any;
|
|
14776
14780
|
};
|
|
14777
14781
|
/** Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). */
|
|
14778
14782
|
body?: any;
|
|
@@ -14873,7 +14877,7 @@ export declare interface WebHookActivity extends ControlActivity {
|
|
|
14873
14877
|
timeout?: string;
|
|
14874
14878
|
/** Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). */
|
|
14875
14879
|
headers?: {
|
|
14876
|
-
[propertyName: string]:
|
|
14880
|
+
[propertyName: string]: any;
|
|
14877
14881
|
};
|
|
14878
14882
|
/** Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). */
|
|
14879
14883
|
body?: any;
|