@azure/arm-datafactory 14.1.1-alpha.20240422.1 → 15.0.0

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +26 -8
  2. package/dist/index.js +39 -30
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/src/dataFactoryManagementClient.js +1 -1
  7. package/dist-esm/src/models/index.d.ts +19 -16
  8. package/dist-esm/src/models/index.d.ts.map +1 -1
  9. package/dist-esm/src/models/index.js.map +1 -1
  10. package/dist-esm/src/models/mappers.d.ts +3 -2
  11. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  12. package/dist-esm/src/models/mappers.js +34 -26
  13. package/dist-esm/src/models/mappers.js.map +1 -1
  14. package/dist-esm/src/models/parameters.js +2 -2
  15. package/dist-esm/src/models/parameters.js.map +1 -1
  16. package/dist-esm/src/operations/credentialOperations.d.ts +3 -3
  17. package/dist-esm/src/operations/credentialOperations.d.ts.map +1 -1
  18. package/dist-esm/src/operations/credentialOperations.js +2 -2
  19. package/dist-esm/src/operations/credentialOperations.js.map +1 -1
  20. package/dist-esm/src/operationsInterfaces/credentialOperations.d.ts +3 -3
  21. package/dist-esm/src/operationsInterfaces/credentialOperations.d.ts.map +1 -1
  22. package/dist-esm/test/datafactory_examples.spec.js +1 -1
  23. package/dist-esm/test/datafactory_examples.spec.js.map +1 -1
  24. package/package.json +2 -2
  25. package/review/arm-datafactory.api.md +14 -10
  26. package/src/dataFactoryManagementClient.ts +1 -1
  27. package/src/models/index.ts +21 -18
  28. package/src/models/mappers.ts +41 -30
  29. package/src/models/parameters.ts +2 -2
  30. package/src/operations/credentialOperations.ts +7 -7
  31. package/src/operationsInterfaces/credentialOperations.ts +3 -3
  32. package/types/arm-datafactory.d.ts +15 -11
@@ -32,7 +32,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials,
34
34
  };
35
- const packageDetails = `azsdk-js-arm-datafactory/14.1.1`;
35
+ const packageDetails = `azsdk-js-arm-datafactory/15.0.0`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -1399,7 +1399,7 @@ export interface ConnectionStateProperties {
1399
1399
  /** A list of credential resources. */
1400
1400
  export interface CredentialListResponse {
1401
1401
  /** List of credentials. */
1402
- value: ManagedIdentityCredentialResource[];
1402
+ value: CredentialResource[];
1403
1403
  /** The link to the next page of results, if any remaining results exist. */
1404
1404
  nextLink?: string;
1405
1405
  }
@@ -2906,9 +2906,9 @@ export interface ManagedPrivateEndpointResource extends SubResource {
2906
2906
  properties: ManagedPrivateEndpoint;
2907
2907
  }
2908
2908
  /** Credential resource type. */
2909
- export interface ManagedIdentityCredentialResource extends SubResource {
2910
- /** Managed Identity Credential properties. */
2911
- properties: ManagedIdentityCredential;
2909
+ export interface CredentialResource extends SubResource {
2910
+ /** Properties of credentials. */
2911
+ properties: CredentialUnion;
2912
2912
  }
2913
2913
  /** Private Endpoint Connection ARM resource. */
2914
2914
  export interface PrivateEndpointConnectionResource extends SubResource {
@@ -2951,11 +2951,6 @@ export interface ChangeDataCaptureResource extends SubResource {
2951
2951
  /** Status of the CDC as to if it is running or stopped. */
2952
2952
  status?: string;
2953
2953
  }
2954
- /** Credential resource type. */
2955
- export interface CredentialResource extends SubResource {
2956
- /** Properties of credentials. */
2957
- properties: CredentialUnion;
2958
- }
2959
2954
  /** Managed integration runtime status. */
2960
2955
  export interface ManagedIntegrationRuntimeStatus extends IntegrationRuntimeStatus {
2961
2956
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -6666,8 +6661,6 @@ export interface LinkedServiceDebugResource extends SubResourceDebugResource {
6666
6661
  export interface ManagedIdentityCredential extends Credential {
6667
6662
  /** Polymorphic discriminator, which specifies the different types this object can be */
6668
6663
  type: "ManagedIdentity";
6669
- /** The resource id of user assigned managed identity */
6670
- resourceId?: string;
6671
6664
  }
6672
6665
  /** Service principal credential. */
6673
6666
  export interface ServicePrincipalCredential extends Credential {
@@ -8428,6 +8421,16 @@ export interface SelfDependencyTumblingWindowTriggerReference extends Dependency
8428
8421
  /** The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. */
8429
8422
  size?: string;
8430
8423
  }
8424
+ /** Credential resource type. */
8425
+ export interface ManagedIdentityCredentialResource extends CredentialResource {
8426
+ /** Managed Identity Credential properties. */
8427
+ properties: ManagedIdentityCredential;
8428
+ }
8429
+ /** Credential resource type. */
8430
+ export interface ServicePrincipalCredentialResource extends CredentialResource {
8431
+ /** Service Principal Credential properties. */
8432
+ properties: ServicePrincipalCredential;
8433
+ }
8431
8434
  /** Execute pipeline activity. */
8432
8435
  export interface ExecutePipelineActivity extends ControlActivity {
8433
8436
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -8565,7 +8568,7 @@ export interface WebHookActivity extends ControlActivity {
8565
8568
  timeout?: string;
8566
8569
  /** 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). */
8567
8570
  headers?: {
8568
- [propertyName: string]: string;
8571
+ [propertyName: string]: any;
8569
8572
  };
8570
8573
  /** 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). */
8571
8574
  body?: any;
@@ -8854,7 +8857,7 @@ export interface WebActivity extends ExecutionActivity {
8854
8857
  url: any;
8855
8858
  /** 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). */
8856
8859
  headers?: {
8857
- [propertyName: string]: string;
8860
+ [propertyName: string]: any;
8858
8861
  };
8859
8862
  /** 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). */
8860
8863
  body?: any;
@@ -9007,7 +9010,7 @@ export interface AzureFunctionActivity extends ExecutionActivity {
9007
9010
  functionName: any;
9008
9011
  /** 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). */
9009
9012
  headers?: {
9010
- [propertyName: string]: string;
9013
+ [propertyName: string]: any;
9011
9014
  };
9012
9015
  /** 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). */
9013
9016
  body?: any;
@@ -12667,14 +12670,14 @@ export interface CredentialOperationsCreateOrUpdateOptionalParams extends coreCl
12667
12670
  ifMatch?: string;
12668
12671
  }
12669
12672
  /** Contains response data for the createOrUpdate operation. */
12670
- export type CredentialOperationsCreateOrUpdateResponse = ManagedIdentityCredentialResource;
12673
+ export type CredentialOperationsCreateOrUpdateResponse = CredentialResource;
12671
12674
  /** Optional parameters. */
12672
12675
  export interface CredentialOperationsGetOptionalParams extends coreClient.OperationOptions {
12673
12676
  /** ETag of the credential entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */
12674
12677
  ifNoneMatch?: string;
12675
12678
  }
12676
12679
  /** Contains response data for the get operation. */
12677
- export type CredentialOperationsGetResponse = ManagedIdentityCredentialResource;
12680
+ export type CredentialOperationsGetResponse = CredentialResource;
12678
12681
  /** Optional parameters. */
12679
12682
  export interface CredentialOperationsDeleteOptionalParams extends coreClient.OperationOptions {
12680
12683
  }