diff --git a/sdk/datafactory/arm-datafactory/README.md b/sdk/datafactory/arm-datafactory/README.md index 64fb8ecf64ec..26634d3520ef 100644 --- a/sdk/datafactory/arm-datafactory/README.md +++ b/sdk/datafactory/arm-datafactory/README.md @@ -6,7 +6,7 @@ The Azure Data Factory V2 management API provides a RESTful set of web services [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-datafactory) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-datafactory) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started diff --git a/sdk/datafactory/arm-datafactory/_meta.json b/sdk/datafactory/arm-datafactory/_meta.json index 6b58eda8f25d..e42602789214 100644 --- a/sdk/datafactory/arm-datafactory/_meta.json +++ b/sdk/datafactory/arm-datafactory/_meta.json @@ -1,8 +1,8 @@ { - "commit": "f45a76fc39f033947ed12faf4b6416e1e19724cd", + "commit": "988d78cda7f7f3af632cdb4ca1c46ec25d4da018", "readme": "specification/datafactory/resource-manager/readme.md", - "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/typescript@6.0.23 --generate-sample=true", - "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.7.9", - "use": "@autorest/typescript@6.0.23" + "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", + "repository_url": "https://github.com/test-repo-billy/azure-rest-api-specs.git", + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.14", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index c18c2070b4d2..30ef1b305ddc 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -3,13 +3,13 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for DataFactoryManagementClient.", - "version": "16.0.1", + "version": "1.0.0-beta.1", "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", - "@azure/abort-controller": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", "@azure/core-auth": "^1.6.0", @@ -35,7 +35,7 @@ "rimraf": "^5.0.0", "dotenv": "^16.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.0.1", + "@azure/identity": "^4.2.1", "@azure-tools/test-recorder": "^3.0.0", "@azure-tools/test-credential": "^1.1.0", "mocha": "^10.0.0", @@ -106,13 +106,5 @@ ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory" +} \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md index d9954114eafb..e32c7a660985 100644 --- a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md +++ b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md @@ -739,12 +739,14 @@ export interface AzureDataLakeStoreWriteSettings extends StoreWriteSettings { export interface AzureFileStorageLinkedService extends LinkedService { accountKey?: AzureKeyVaultSecretReference; connectionString?: any; + credential?: CredentialReference; encryptedCredential?: string; fileShare?: any; host?: any; password?: SecretBaseUnion; sasToken?: AzureKeyVaultSecretReference; sasUri?: any; + serviceEndpoint?: any; snapshot?: any; type: "AzureFileStorage"; userId?: any; @@ -1217,6 +1219,15 @@ export interface AzureStorageLinkedService extends LinkedService { type: "AzureStorage"; } +// @public +export interface AzureStorageLinkedServiceTypeProperties { + accountKey?: AzureKeyVaultSecretReference; + connectionString?: any; + encryptedCredential?: string; + sasToken?: AzureKeyVaultSecretReference; + sasUri?: any; +} + // @public export interface AzureSynapseArtifactsLinkedService extends LinkedService { authentication?: any; @@ -1251,12 +1262,20 @@ export interface AzureTableSource extends TabularSource { export interface AzureTableStorageLinkedService extends LinkedService { accountKey?: AzureKeyVaultSecretReference; connectionString?: any; + credential?: CredentialReference; encryptedCredential?: string; sasToken?: AzureKeyVaultSecretReference; sasUri?: any; + serviceEndpoint?: any; type: "AzureTableStorage"; } +// @public +export interface AzureTableStorageLinkedServiceTypeProperties extends AzureStorageLinkedServiceTypeProperties { + credential?: CredentialReference; + serviceEndpoint?: any; +} + // @public export interface BigDataPoolParametrizationReference { referenceName: any; @@ -1483,6 +1502,7 @@ export interface CommonDataServiceForAppsEntityDataset extends Dataset { export interface CommonDataServiceForAppsLinkedService extends LinkedService { authenticationType: any; deploymentType: any; + domain?: any; encryptedCredential?: string; hostName?: any; organizationName?: any; @@ -1568,6 +1588,13 @@ export interface ConnectionStateProperties { // @public export type ConnectionType = string; +// @public +export interface ContinuationSettingsReference { + continuationTtlInMinutes?: any; + customizedCheckpointKey?: any; + idleCondition?: any; +} + // @public export interface ControlActivity extends Activity { type: "Container" | "ExecutePipeline" | "IfCondition" | "Switch" | "ForEach" | "Wait" | "Fail" | "Until" | "Validation" | "Filter" | "SetVariable" | "AppendVariable" | "WebHook"; @@ -1621,13 +1648,13 @@ export interface CopySink { maxConcurrentConnections?: any; sinkRetryCount?: any; sinkRetryWait?: any; - type: "DelimitedTextSink" | "JsonSink" | "OrcSink" | "RestSink" | "AzurePostgreSqlSink" | "AzureMySqlSink" | "AzureDatabricksDeltaLakeSink" | "WarehouseSink" | "SapCloudForCustomerSink" | "AzureQueueSink" | "AzureTableSink" | "AvroSink" | "ParquetSink" | "BinarySink" | "BlobSink" | "FileSystemSink" | "DocumentDbCollectionSink" | "CosmosDbSqlApiSink" | "SqlSink" | "SqlServerSink" | "AzureSqlSink" | "SqlMISink" | "SqlDWSink" | "SnowflakeSink" | "SnowflakeV2Sink" | "OracleSink" | "AzureDataLakeStoreSink" | "AzureBlobFSSink" | "AzureSearchIndexSink" | "OdbcSink" | "InformixSink" | "MicrosoftAccessSink" | "DynamicsSink" | "DynamicsCrmSink" | "CommonDataServiceForAppsSink" | "AzureDataExplorerSink" | "SalesforceSink" | "SalesforceServiceCloudSink" | "MongoDbAtlasSink" | "MongoDbV2Sink" | "CosmosDbMongoDbApiSink" | "LakeHouseTableSink" | "SalesforceV2Sink" | "SalesforceServiceCloudV2Sink"; + type: "DelimitedTextSink" | "JsonSink" | "OrcSink" | "RestSink" | "AzurePostgreSqlSink" | "AzureMySqlSink" | "AzureDatabricksDeltaLakeSink" | "WarehouseSink" | "SapCloudForCustomerSink" | "AzureQueueSink" | "AzureTableSink" | "AvroSink" | "ParquetSink" | "BinarySink" | "IcebergSink" | "BlobSink" | "FileSystemSink" | "DocumentDbCollectionSink" | "CosmosDbSqlApiSink" | "SqlSink" | "SqlServerSink" | "AzureSqlSink" | "SqlMISink" | "SqlDWSink" | "SnowflakeSink" | "SnowflakeV2Sink" | "OracleSink" | "AzureDataLakeStoreSink" | "AzureBlobFSSink" | "AzureSearchIndexSink" | "OdbcSink" | "InformixSink" | "MicrosoftAccessSink" | "DynamicsSink" | "DynamicsCrmSink" | "CommonDataServiceForAppsSink" | "AzureDataExplorerSink" | "SalesforceSink" | "SalesforceServiceCloudSink" | "MongoDbAtlasSink" | "MongoDbV2Sink" | "CosmosDbMongoDbApiSink" | "LakeHouseTableSink" | "SalesforceV2Sink" | "SalesforceServiceCloudV2Sink"; writeBatchSize?: any; writeBatchTimeout?: any; } // @public (undocumented) -export type CopySinkUnion = CopySink | DelimitedTextSink | JsonSink | OrcSink | RestSink | AzurePostgreSqlSink | AzureMySqlSink | AzureDatabricksDeltaLakeSink | WarehouseSink | SapCloudForCustomerSink | AzureQueueSink | AzureTableSink | AvroSink | ParquetSink | BinarySink | BlobSink | FileSystemSink | DocumentDbCollectionSink | CosmosDbSqlApiSink | SqlSink | SqlServerSink | AzureSqlSink | SqlMISink | SqlDWSink | SnowflakeSink | SnowflakeV2Sink | OracleSink | AzureDataLakeStoreSink | AzureBlobFSSink | AzureSearchIndexSink | OdbcSink | InformixSink | MicrosoftAccessSink | DynamicsSink | DynamicsCrmSink | CommonDataServiceForAppsSink | AzureDataExplorerSink | SalesforceSink | SalesforceServiceCloudSink | MongoDbAtlasSink | MongoDbV2Sink | CosmosDbMongoDbApiSink | LakeHouseTableSink | SalesforceV2Sink | SalesforceServiceCloudV2Sink; +export type CopySinkUnion = CopySink | DelimitedTextSink | JsonSink | OrcSink | RestSink | AzurePostgreSqlSink | AzureMySqlSink | AzureDatabricksDeltaLakeSink | WarehouseSink | SapCloudForCustomerSink | AzureQueueSink | AzureTableSink | AvroSink | ParquetSink | BinarySink | IcebergSink | BlobSink | FileSystemSink | DocumentDbCollectionSink | CosmosDbSqlApiSink | SqlSink | SqlServerSink | AzureSqlSink | SqlMISink | SqlDWSink | SnowflakeSink | SnowflakeV2Sink | OracleSink | AzureDataLakeStoreSink | AzureBlobFSSink | AzureSearchIndexSink | OdbcSink | InformixSink | MicrosoftAccessSink | DynamicsSink | DynamicsCrmSink | CommonDataServiceForAppsSink | AzureDataExplorerSink | SalesforceSink | SalesforceServiceCloudSink | MongoDbAtlasSink | MongoDbV2Sink | CosmosDbMongoDbApiSink | LakeHouseTableSink | SalesforceV2Sink | SalesforceServiceCloudV2Sink; // @public export interface CopySource { @@ -1964,8 +1991,6 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { // (undocumented) managedVirtualNetworks: ManagedVirtualNetworks; // (undocumented) - operations: Operations; - // (undocumented) pipelineRuns: PipelineRuns; // (undocumented) pipelines: Pipelines; @@ -2263,7 +2288,7 @@ export interface Dataset { }; schema?: any; structure?: any; - type: "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "AzureBlob" | "AzureTable" | "AzureSqlTable" | "AzureSqlMITable" | "AzureSqlDWTable" | "CassandraTable" | "CustomDataset" | "CosmosDbSqlApiCollection" | "DocumentDbCollection" | "DynamicsEntity" | "DynamicsCrmEntity" | "CommonDataServiceForAppsEntity" | "AzureDataLakeStoreFile" | "AzureBlobFSFile" | "Office365Table" | "FileShare" | "MongoDbCollection" | "MongoDbAtlasCollection" | "MongoDbV2Collection" | "CosmosDbMongoDbApiCollection" | "ODataResource" | "OracleTable" | "AmazonRdsForOracleTable" | "TeradataTable" | "AzureMySqlTable" | "AmazonRedshiftTable" | "Db2Table" | "RelationalTable" | "InformixTable" | "OdbcTable" | "MySqlTable" | "PostgreSqlTable" | "PostgreSqlV2Table" | "MicrosoftAccessTable" | "SalesforceObject" | "SalesforceServiceCloudObject" | "SybaseTable" | "SapBwCube" | "SapCloudForCustomerResource" | "SapEccResource" | "SapHanaTable" | "SapOpenHubTable" | "SqlServerTable" | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" | "SapOdpResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" | "AmazonMWSObject" | "AzurePostgreSqlTable" | "ConcurObject" | "CouchbaseTable" | "DrillTable" | "EloquaObject" | "GoogleBigQueryObject" | "GoogleBigQueryV2Object" | "GreenplumTable" | "HBaseObject" | "HiveObject" | "HubspotObject" | "ImpalaObject" | "JiraObject" | "MagentoObject" | "MariaDBTable" | "AzureMariaDBTable" | "MarketoObject" | "PaypalObject" | "PhoenixObject" | "PrestoObject" | "QuickBooksObject" | "ServiceNowObject" | "ShopifyObject" | "SparkObject" | "SquareObject" | "XeroObject" | "ZohoObject" | "NetezzaTable" | "VerticaTable" | "SalesforceMarketingCloudObject" | "ResponsysObject" | "DynamicsAXResource" | "OracleServiceCloudObject" | "AzureDataExplorerTable" | "GoogleAdWordsObject" | "SnowflakeTable" | "SnowflakeV2Table" | "SharePointOnlineListResource" | "AzureDatabricksDeltaLakeDataset" | "LakeHouseTable" | "SalesforceV2Object" | "SalesforceServiceCloudV2Object" | "WarehouseTable" | "ServiceNowV2Object"; + type: "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "Iceberg" | "AzureBlob" | "AzureTable" | "AzureSqlTable" | "AzureSqlMITable" | "AzureSqlDWTable" | "CassandraTable" | "CustomDataset" | "CosmosDbSqlApiCollection" | "DocumentDbCollection" | "DynamicsEntity" | "DynamicsCrmEntity" | "CommonDataServiceForAppsEntity" | "AzureDataLakeStoreFile" | "AzureBlobFSFile" | "Office365Table" | "FileShare" | "MongoDbCollection" | "MongoDbAtlasCollection" | "MongoDbV2Collection" | "CosmosDbMongoDbApiCollection" | "ODataResource" | "OracleTable" | "AmazonRdsForOracleTable" | "TeradataTable" | "AzureMySqlTable" | "AmazonRedshiftTable" | "Db2Table" | "RelationalTable" | "InformixTable" | "OdbcTable" | "MySqlTable" | "PostgreSqlTable" | "PostgreSqlV2Table" | "MicrosoftAccessTable" | "SalesforceObject" | "SalesforceServiceCloudObject" | "SybaseTable" | "SapBwCube" | "SapCloudForCustomerResource" | "SapEccResource" | "SapHanaTable" | "SapOpenHubTable" | "SqlServerTable" | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" | "SapOdpResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" | "AmazonMWSObject" | "AzurePostgreSqlTable" | "ConcurObject" | "CouchbaseTable" | "DrillTable" | "EloquaObject" | "GoogleBigQueryObject" | "GoogleBigQueryV2Object" | "GreenplumTable" | "HBaseObject" | "HiveObject" | "HubspotObject" | "ImpalaObject" | "JiraObject" | "MagentoObject" | "MariaDBTable" | "AzureMariaDBTable" | "MarketoObject" | "PaypalObject" | "PhoenixObject" | "PrestoObject" | "QuickBooksObject" | "ServiceNowObject" | "ShopifyObject" | "SparkObject" | "SquareObject" | "XeroObject" | "ZohoObject" | "NetezzaTable" | "VerticaTable" | "SalesforceMarketingCloudObject" | "ResponsysObject" | "DynamicsAXResource" | "OracleServiceCloudObject" | "AzureDataExplorerTable" | "GoogleAdWordsObject" | "SnowflakeTable" | "SnowflakeV2Table" | "SharePointOnlineListResource" | "AzureDatabricksDeltaLakeDataset" | "LakeHouseTable" | "SalesforceV2Object" | "SalesforceServiceCloudV2Object" | "WarehouseTable" | "ServiceNowV2Object"; } // @public @@ -2384,7 +2409,7 @@ export interface DatasetStorageFormat { export type DatasetStorageFormatUnion = DatasetStorageFormat | TextFormat | JsonFormat | AvroFormat | OrcFormat | ParquetFormat; // @public (undocumented) -export type DatasetUnion = Dataset | AmazonS3Dataset | AvroDataset | ExcelDataset | ParquetDataset | DelimitedTextDataset | JsonDataset | XmlDataset | OrcDataset | BinaryDataset | AzureBlobDataset | AzureTableDataset | AzureSqlTableDataset | AzureSqlMITableDataset | AzureSqlDWTableDataset | CassandraTableDataset | CustomDataset | CosmosDbSqlApiCollectionDataset | DocumentDbCollectionDataset | DynamicsEntityDataset | DynamicsCrmEntityDataset | CommonDataServiceForAppsEntityDataset | AzureDataLakeStoreDataset | AzureBlobFSDataset | Office365Dataset | FileShareDataset | MongoDbCollectionDataset | MongoDbAtlasCollectionDataset | MongoDbV2CollectionDataset | CosmosDbMongoDbApiCollectionDataset | ODataResourceDataset | OracleTableDataset | AmazonRdsForOracleTableDataset | TeradataTableDataset | AzureMySqlTableDataset | AmazonRedshiftTableDataset | Db2TableDataset | RelationalTableDataset | InformixTableDataset | OdbcTableDataset | MySqlTableDataset | PostgreSqlTableDataset | PostgreSqlV2TableDataset | MicrosoftAccessTableDataset | SalesforceObjectDataset | SalesforceServiceCloudObjectDataset | SybaseTableDataset | SapBwCubeDataset | SapCloudForCustomerResourceDataset | SapEccResourceDataset | SapHanaTableDataset | SapOpenHubTableDataset | SqlServerTableDataset | AmazonRdsForSqlServerTableDataset | RestResourceDataset | SapTableResourceDataset | SapOdpResourceDataset | WebTableDataset | AzureSearchIndexDataset | HttpDataset | AmazonMWSObjectDataset | AzurePostgreSqlTableDataset | ConcurObjectDataset | CouchbaseTableDataset | DrillTableDataset | EloquaObjectDataset | GoogleBigQueryObjectDataset | GoogleBigQueryV2ObjectDataset | GreenplumTableDataset | HBaseObjectDataset | HiveObjectDataset | HubspotObjectDataset | ImpalaObjectDataset | JiraObjectDataset | MagentoObjectDataset | MariaDBTableDataset | AzureMariaDBTableDataset | MarketoObjectDataset | PaypalObjectDataset | PhoenixObjectDataset | PrestoObjectDataset | QuickBooksObjectDataset | ServiceNowObjectDataset | ShopifyObjectDataset | SparkObjectDataset | SquareObjectDataset | XeroObjectDataset | ZohoObjectDataset | NetezzaTableDataset | VerticaTableDataset | SalesforceMarketingCloudObjectDataset | ResponsysObjectDataset | DynamicsAXResourceDataset | OracleServiceCloudObjectDataset | AzureDataExplorerTableDataset | GoogleAdWordsObjectDataset | SnowflakeDataset | SnowflakeV2Dataset | SharePointOnlineListResourceDataset | AzureDatabricksDeltaLakeDataset | LakeHouseTableDataset | SalesforceV2ObjectDataset | SalesforceServiceCloudV2ObjectDataset | WarehouseTableDataset | ServiceNowV2ObjectDataset; +export type DatasetUnion = Dataset | AmazonS3Dataset | AvroDataset | ExcelDataset | ParquetDataset | DelimitedTextDataset | JsonDataset | XmlDataset | OrcDataset | BinaryDataset | IcebergDataset | AzureBlobDataset | AzureTableDataset | AzureSqlTableDataset | AzureSqlMITableDataset | AzureSqlDWTableDataset | CassandraTableDataset | CustomDataset | CosmosDbSqlApiCollectionDataset | DocumentDbCollectionDataset | DynamicsEntityDataset | DynamicsCrmEntityDataset | CommonDataServiceForAppsEntityDataset | AzureDataLakeStoreDataset | AzureBlobFSDataset | Office365Dataset | FileShareDataset | MongoDbCollectionDataset | MongoDbAtlasCollectionDataset | MongoDbV2CollectionDataset | CosmosDbMongoDbApiCollectionDataset | ODataResourceDataset | OracleTableDataset | AmazonRdsForOracleTableDataset | TeradataTableDataset | AzureMySqlTableDataset | AmazonRedshiftTableDataset | Db2TableDataset | RelationalTableDataset | InformixTableDataset | OdbcTableDataset | MySqlTableDataset | PostgreSqlTableDataset | PostgreSqlV2TableDataset | MicrosoftAccessTableDataset | SalesforceObjectDataset | SalesforceServiceCloudObjectDataset | SybaseTableDataset | SapBwCubeDataset | SapCloudForCustomerResourceDataset | SapEccResourceDataset | SapHanaTableDataset | SapOpenHubTableDataset | SqlServerTableDataset | AmazonRdsForSqlServerTableDataset | RestResourceDataset | SapTableResourceDataset | SapOdpResourceDataset | WebTableDataset | AzureSearchIndexDataset | HttpDataset | AmazonMWSObjectDataset | AzurePostgreSqlTableDataset | ConcurObjectDataset | CouchbaseTableDataset | DrillTableDataset | EloquaObjectDataset | GoogleBigQueryObjectDataset | GoogleBigQueryV2ObjectDataset | GreenplumTableDataset | HBaseObjectDataset | HiveObjectDataset | HubspotObjectDataset | ImpalaObjectDataset | JiraObjectDataset | MagentoObjectDataset | MariaDBTableDataset | AzureMariaDBTableDataset | MarketoObjectDataset | PaypalObjectDataset | PhoenixObjectDataset | PrestoObjectDataset | QuickBooksObjectDataset | ServiceNowObjectDataset | ShopifyObjectDataset | SparkObjectDataset | SquareObjectDataset | XeroObjectDataset | ZohoObjectDataset | NetezzaTableDataset | VerticaTableDataset | SalesforceMarketingCloudObjectDataset | ResponsysObjectDataset | DynamicsAXResourceDataset | OracleServiceCloudObjectDataset | AzureDataExplorerTableDataset | GoogleAdWordsObjectDataset | SnowflakeDataset | SnowflakeV2Dataset | SharePointOnlineListResourceDataset | AzureDatabricksDeltaLakeDataset | LakeHouseTableDataset | SalesforceV2ObjectDataset | SalesforceServiceCloudV2ObjectDataset | WarehouseTableDataset | ServiceNowV2ObjectDataset; // @public export interface DataworldLinkedService extends LinkedService { @@ -2606,6 +2631,7 @@ export interface DynamicsCrmLinkedService extends LinkedService { authenticationType: any; credential?: CredentialReference; deploymentType: any; + domain?: any; encryptedCredential?: string; hostName?: any; organizationName?: any; @@ -2648,6 +2674,7 @@ export interface DynamicsLinkedService extends LinkedService { authenticationType: any; credential?: CredentialReference; deploymentType: any; + domain?: any; encryptedCredential?: string; hostName?: any; organizationName?: any; @@ -2749,6 +2776,7 @@ export interface ExcelSource extends CopySource { // @public export interface ExecuteDataFlowActivity extends ExecutionActivity { compute?: ExecuteDataFlowActivityTypePropertiesCompute; + continuationSettings?: ContinuationSettingsReference; continueOnError?: any; dataFlow: DataFlowReference; integrationRuntime?: IntegrationRuntimeReference; @@ -2762,6 +2790,7 @@ export interface ExecuteDataFlowActivity extends ExecutionActivity { // @public export interface ExecuteDataFlowActivityTypeProperties { compute?: ExecuteDataFlowActivityTypePropertiesCompute; + continuationSettings?: ContinuationSettingsReference; continueOnError?: any; dataFlow: DataFlowReference; integrationRuntime?: IntegrationRuntimeReference; @@ -2836,6 +2865,7 @@ export interface ExecuteSsisPackageActivity extends ExecutionActivity { // @public export interface ExecuteWranglingDataflowActivity extends Activity { compute?: ExecuteDataFlowActivityTypePropertiesCompute; + continuationSettings?: ContinuationSettingsReference; continueOnError?: any; dataFlow: DataFlowReference; integrationRuntime?: IntegrationRuntimeReference; @@ -2945,7 +2975,6 @@ export interface Factories { get(resourceGroupName: string, factoryName: string, options?: FactoriesGetOptionalParams): Promise; getDataPlaneAccess(resourceGroupName: string, factoryName: string, policy: UserAccessPolicy, options?: FactoriesGetDataPlaneAccessOptionalParams): Promise; getGitHubAccessToken(resourceGroupName: string, factoryName: string, gitHubAccessTokenRequest: GitHubAccessTokenRequest, options?: FactoriesGetGitHubAccessTokenOptionalParams): Promise; - list(options?: FactoriesListOptionalParams): PagedAsyncIterableIterator; listByResourceGroup(resourceGroupName: string, options?: FactoriesListByResourceGroupOptionalParams): PagedAsyncIterableIterator; update(resourceGroupName: string, factoryName: string, factoryUpdateParameters: FactoryUpdateParameters, options?: FactoriesUpdateOptionalParams): Promise; } @@ -3005,20 +3034,6 @@ export interface FactoriesListByResourceGroupOptionalParams extends coreClient.O // @public export type FactoriesListByResourceGroupResponse = FactoryListResponse; -// @public -export interface FactoriesListNextOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type FactoriesListNextResponse = FactoryListResponse; - -// @public -export interface FactoriesListOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type FactoriesListResponse = FactoryListResponse; - // @public export interface FactoriesUpdateOptionalParams extends coreClient.OperationOptions { } @@ -3209,11 +3224,11 @@ export type FormatReadSettingsUnion = FormatReadSettings | ParquetReadSettings | // @public export interface FormatWriteSettings { [property: string]: any; - type: "AvroWriteSettings" | "OrcWriteSettings" | "ParquetWriteSettings" | "DelimitedTextWriteSettings" | "JsonWriteSettings"; + type: "AvroWriteSettings" | "OrcWriteSettings" | "ParquetWriteSettings" | "DelimitedTextWriteSettings" | "JsonWriteSettings" | "IcebergWriteSettings"; } // @public (undocumented) -export type FormatWriteSettingsUnion = FormatWriteSettings | AvroWriteSettings | OrcWriteSettings | ParquetWriteSettings | DelimitedTextWriteSettings | JsonWriteSettings; +export type FormatWriteSettingsUnion = FormatWriteSettings | AvroWriteSettings | OrcWriteSettings | ParquetWriteSettings | DelimitedTextWriteSettings | JsonWriteSettings | IcebergWriteSettings; // @public export type FrequencyType = string; @@ -3667,7 +3682,7 @@ export interface HDInsightOnDemandLinkedService extends LinkedService { tenant: any; timeToLive: any; type: "HDInsightOnDemand"; - version: any; + versionTypePropertiesVersion: any; virtualNetworkId?: any; yarnConfiguration?: any; zookeeperNodeSize?: any; @@ -3840,6 +3855,24 @@ export interface HubspotSource extends TabularSource { type: "HubspotSource"; } +// @public +export interface IcebergDataset extends Dataset { + location?: DatasetLocationUnion; + type: "Iceberg"; +} + +// @public +export interface IcebergSink extends CopySink { + formatSettings?: IcebergWriteSettings; + storeSettings?: StoreWriteSettingsUnion; + type: "IcebergSink"; +} + +// @public +export interface IcebergWriteSettings extends FormatWriteSettings { + type: "IcebergWriteSettings"; +} + // @public export interface IfConditionActivity extends ControlActivity { expression: Expression; @@ -4622,6 +4655,7 @@ export enum KnownDependencyCondition { // @public export enum KnownDynamicsAuthenticationType { AADServicePrincipal = "AADServicePrincipal", + ActiveDirectory = "Active Directory", Ifd = "Ifd", Office365 = "Office365" } @@ -5200,6 +5234,7 @@ export enum KnownSqlPartitionOption { // @public export enum KnownSqlServerAuthenticationType { SQL = "SQL", + UserAssignedManagedIdentity = "UserAssignedManagedIdentity", Windows = "Windows" } @@ -5436,6 +5471,7 @@ export interface LinkedService { [propertyName: string]: ParameterSpecification; }; type: "AzureStorage" | "AzureBlobStorage" | "AzureTableStorage" | "AzureSqlDW" | "SqlServer" | "AmazonRdsForSqlServer" | "AzureSqlDatabase" | "AzureSqlMI" | "AzureBatch" | "AzureKeyVault" | "CosmosDb" | "Dynamics" | "DynamicsCrm" | "CommonDataServiceForApps" | "HDInsight" | "FileServer" | "AzureFileStorage" | "AmazonS3Compatible" | "OracleCloudStorage" | "GoogleCloudStorage" | "Oracle" | "AmazonRdsForOracle" | "AzureMySql" | "MySql" | "PostgreSql" | "PostgreSqlV2" | "Sybase" | "Db2" | "Teradata" | "AzureML" | "AzureMLService" | "Odbc" | "Informix" | "MicrosoftAccess" | "Hdfs" | "OData" | "Web" | "Cassandra" | "MongoDb" | "MongoDbAtlas" | "MongoDbV2" | "CosmosDbMongoDbApi" | "AzureDataLakeStore" | "AzureBlobFS" | "Office365" | "Salesforce" | "SalesforceServiceCloud" | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" | "SapOdp" | "RestService" | "TeamDesk" | "Quickbase" | "Smartsheet" | "Zendesk" | "Dataworld" | "AppFigures" | "Asana" | "Twilio" | "GoogleSheets" | "AmazonS3" | "AmazonRedshift" | "CustomDataSource" | "AzureSearch" | "HttpServer" | "FtpServer" | "Sftp" | "SapBW" | "SapHana" | "AmazonMWS" | "AzurePostgreSql" | "Concur" | "Couchbase" | "Drill" | "Eloqua" | "GoogleBigQuery" | "GoogleBigQueryV2" | "Greenplum" | "HBase" | "Hive" | "Hubspot" | "Impala" | "Jira" | "Magento" | "MariaDB" | "AzureMariaDB" | "Marketo" | "Paypal" | "Phoenix" | "Presto" | "QuickBooks" | "ServiceNow" | "Shopify" | "Spark" | "Square" | "Xero" | "Zoho" | "Vertica" | "Netezza" | "SalesforceMarketingCloud" | "HDInsightOnDemand" | "AzureDataLakeAnalytics" | "AzureDatabricks" | "AzureDatabricksDeltaLake" | "Responsys" | "DynamicsAX" | "OracleServiceCloud" | "GoogleAdWords" | "SapTable" | "AzureDataExplorer" | "AzureFunction" | "Snowflake" | "SnowflakeV2" | "SharePointOnlineList" | "AzureSynapseArtifacts" | "LakeHouse" | "SalesforceV2" | "SalesforceServiceCloudV2" | "Warehouse" | "ServiceNowV2"; + version?: string; } // @public @@ -5849,8 +5885,10 @@ export interface MariaDBLinkedService extends LinkedService { password?: AzureKeyVaultSecretReference; port?: any; server?: any; + sslMode?: any; type: "MariaDB"; username?: any; + useSystemTrustStore?: any; } // @public @@ -6258,31 +6296,12 @@ export interface OperationMetricSpecification { unit?: string; } -// @public -export interface Operations { - list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; -} - // @public export interface OperationServiceSpecification { logSpecifications?: OperationLogSpecification[]; metricSpecifications?: OperationMetricSpecification[]; } -// @public -export interface OperationsListNextOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type OperationsListNextResponse = OperationListResponse; - -// @public -export interface OperationsListOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type OperationsListResponse = OperationListResponse; - // @public export interface OracleCloudStorageLinkedService extends LinkedService { accessKeyId?: any; @@ -6747,6 +6766,7 @@ export interface PostgreSqlTableDataset extends Dataset { // @public export interface PostgreSqlV2LinkedService extends LinkedService { + authenticationType: any; commandTimeout?: any; connectionTimeout?: any; database: any; @@ -7121,6 +7141,9 @@ export interface RestServiceLinkedService extends LinkedService { password?: SecretBaseUnion; resource?: any; scope?: any; + servicePrincipalCredentialType?: any; + servicePrincipalEmbeddedCert?: SecretBaseUnion; + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; servicePrincipalId?: any; servicePrincipalKey?: SecretBaseUnion; tenant?: any; @@ -7355,6 +7378,7 @@ export type SalesforceV2SinkWriteBehavior = string; // @public export interface SalesforceV2Source extends TabularSource { includeDeletedObjects?: any; + pageSize?: any; query?: any; soqlQuery?: any; type: "SalesforceV2Source"; @@ -7806,6 +7830,7 @@ export interface ServiceNowV2ObjectDataset extends Dataset { // @public export interface ServiceNowV2Source extends TabularSource { expression?: ExpressionV2; + pageSize?: any; type: "ServiceNowV2Source"; } @@ -7878,8 +7903,11 @@ export interface SftpWriteSettings extends StoreWriteSettings { // @public export interface SharePointOnlineListLinkedService extends LinkedService { encryptedCredential?: string; + servicePrincipalCredentialType?: any; + servicePrincipalEmbeddedCert?: SecretBaseUnion; + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; servicePrincipalId: any; - servicePrincipalKey: SecretBaseUnion; + servicePrincipalKey?: SecretBaseUnion; siteUrl: any; tenantId: any; type: "SharePointOnlineList"; @@ -7952,6 +7980,7 @@ export interface SnowflakeExportCopyCommand extends ExportSettings { additionalFormatOptions?: { [propertyName: string]: any; }; + storageIntegration?: any; type: "SnowflakeExportCopyCommand"; } @@ -7963,6 +7992,7 @@ export interface SnowflakeImportCopyCommand extends ImportSettings { additionalFormatOptions?: { [propertyName: string]: any; }; + storageIntegration?: any; type: "SnowflakeImportCopyCommand"; } @@ -8003,6 +8033,7 @@ export interface SnowflakeV2LinkedService extends LinkedService { clientSecret?: SecretBaseUnion; database: any; encryptedCredential?: string; + host?: any; password?: SecretBaseUnion; privateKey?: SecretBaseUnion; privateKeyPassphrase?: SecretBaseUnion; @@ -8198,6 +8229,7 @@ export interface SqlServerLinkedService extends LinkedService { connectRetryCount?: any; connectRetryInterval?: any; connectTimeout?: any; + credential?: CredentialReference; database?: any; encrypt?: any; encryptedCredential?: string; @@ -8223,6 +8255,7 @@ export interface SqlServerLinkedServiceTypeProperties extends SqlServerBaseLinke alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; authenticationType?: SqlServerAuthenticationType; connectionString?: any; + credential?: CredentialReference; encryptedCredential?: string; password?: SecretBaseUnion; userName?: any; @@ -9063,9 +9096,13 @@ export type VariableType = string; // @public export interface VerticaLinkedService extends LinkedService { connectionString?: any; + database?: any; encryptedCredential?: string; + port?: any; pwd?: AzureKeyVaultSecretReference; + server?: any; type: "Vertica"; + uid?: any; } // @public diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts index 3148db6f0ebf..e60af01b6196 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts @@ -15,7 +15,6 @@ import { } from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { - OperationsImpl, FactoriesImpl, ExposureControlImpl, IntegrationRuntimesImpl, @@ -40,7 +39,6 @@ import { ChangeDataCaptureImpl, } from "./operations"; import { - Operations, Factories, ExposureControl, IntegrationRuntimes, @@ -68,8 +66,8 @@ import { DataFactoryManagementClientOptionalParams } from "./models"; export class DataFactoryManagementClient extends coreClient.ServiceClient { $host: string; - apiVersion: string; subscriptionId: string; + apiVersion: string; /** * Initializes a new instance of the DataFactoryManagementClient class. @@ -98,7 +96,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { credential: credentials, }; - const packageDetails = `azsdk-js-arm-datafactory/16.0.1`; + const packageDetails = `azsdk-js-arm-datafactory/1.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -153,7 +151,6 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; this.apiVersion = options.apiVersion || "2018-06-01"; - this.operations = new OperationsImpl(this); this.factories = new FactoriesImpl(this); this.exposureControl = new ExposureControlImpl(this); this.integrationRuntimes = new IntegrationRuntimesImpl(this); @@ -208,7 +205,6 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { this.pipeline.addPolicy(apiVersionPolicy); } - operations: Operations; factories: Factories; exposureControl: ExposureControl; integrationRuntimes: IntegrationRuntimes; diff --git a/sdk/datafactory/arm-datafactory/src/lroImpl.ts b/sdk/datafactory/arm-datafactory/src/lroImpl.ts index b27f5ac7209b..5f88efab981b 100644 --- a/sdk/datafactory/arm-datafactory/src/lroImpl.ts +++ b/sdk/datafactory/arm-datafactory/src/lroImpl.ts @@ -7,7 +7,7 @@ */ // Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. +// Licensed under the MIT License. import { AbortSignalLike } from "@azure/abort-controller"; import { LongRunningOperation, LroResponse } from "@azure/core-lro"; diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 6653b767fbee..a31d2597c5e1 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -160,6 +160,7 @@ export type DatasetUnion = | XmlDataset | OrcDataset | BinaryDataset + | IcebergDataset | AzureBlobDataset | AzureTableDataset | AzureSqlTableDataset @@ -360,7 +361,8 @@ export type FormatWriteSettingsUnion = | OrcWriteSettings | ParquetWriteSettings | DelimitedTextWriteSettings - | JsonWriteSettings; + | JsonWriteSettings + | IcebergWriteSettings; export type CopySourceUnion = | CopySource | AvroSource @@ -419,6 +421,7 @@ export type CopySinkUnion = | AvroSink | ParquetSink | BinarySink + | IcebergSink | BlobSink | FileSystemSink | DocumentDbCollectionSink @@ -580,116 +583,30 @@ export type TriggerDependencyReferenceUnion = | TriggerDependencyReference | TumblingWindowTriggerDependencyReference; -/** A list of operations that can be performed by the Data Factory service. */ -export interface OperationListResponse { - /** List of Data Factory operations supported by the Data Factory resource provider. */ - value?: Operation[]; - /** The link to the next page of results, if any remaining results exist. */ - nextLink?: string; -} - -/** Azure Data Factory API operation definition. */ -export interface Operation { - /** Operation name: {provider}/{resource}/{operation} */ - name?: string; - /** The intended executor of the operation. */ - origin?: string; - /** Metadata associated with the operation. */ - display?: OperationDisplay; - /** Details about a service operation. */ - serviceSpecification?: OperationServiceSpecification; -} - -/** Metadata associated with the operation. */ -export interface OperationDisplay { - /** The description of the operation. */ - description?: string; - /** The name of the provider. */ - provider?: string; - /** The name of the resource type on which the operation is performed. */ - resource?: string; - /** The type of operation: get, read, delete, etc. */ - operation?: string; -} - -/** Details about a service operation. */ -export interface OperationServiceSpecification { - /** Details about operations related to logs. */ - logSpecifications?: OperationLogSpecification[]; - /** Details about operations related to metrics. */ - metricSpecifications?: OperationMetricSpecification[]; -} - -/** Details about an operation related to logs. */ -export interface OperationLogSpecification { - /** The name of the log category. */ - name?: string; - /** Localized display name. */ - displayName?: string; - /** Blobs created in the customer storage account, per hour. */ - blobDuration?: string; -} - -/** Details about an operation related to metrics. */ -export interface OperationMetricSpecification { - /** The name of the metric. */ - name?: string; - /** Localized display name of the metric. */ - displayName?: string; - /** The description of the metric. */ - displayDescription?: string; - /** The unit that the metric is measured in. */ - unit?: string; - /** The type of metric aggregation. */ - aggregationType?: string; - /** Whether or not the service is using regional MDM accounts. */ - enableRegionalMdmAccount?: string; - /** The name of the MDM account. */ - sourceMdmAccount?: string; - /** The name of the MDM namespace. */ - sourceMdmNamespace?: string; - /** Defines how often data for metrics becomes available. */ - availabilities?: OperationMetricAvailability[]; - /** Defines the metric dimension. */ - dimensions?: OperationMetricDimension[]; -} - -/** Defines how often data for a metric becomes available. */ -export interface OperationMetricAvailability { - /** The granularity for the metric. */ - timeGrain?: string; - /** Blob created in the customer storage account, per hour. */ - blobDuration?: string; -} - -/** Defines the metric dimension. */ -export interface OperationMetricDimension { - /** The name of the dimension for the metric. */ - name?: string; - /** The display name of the metric dimension. */ - displayName?: string; - /** Whether the dimension should be exported to Azure Monitor. */ - toBeExportedForShoebox?: boolean; -} - -/** The object that defines the structure of an Azure Data Factory error response. */ -export interface CloudError { - /** Error code. */ - code: string; - /** Error message. */ - message: string; - /** Property name/path in request associated with error. */ - target?: string; - /** Array with additional error details. */ - details?: CloudError[]; +/** Factory's git repo information. */ +export interface FactoryRepoUpdate { + /** The factory resource id. */ + factoryResourceId?: string; + /** Git repo information of the factory. */ + repoConfiguration?: FactoryRepoConfigurationUnion; } -/** A list of factory resources. */ -export interface FactoryListResponse { - /** List of factories. */ - value: Factory[]; - /** The link to the next page of results, if any remaining results exist. */ - nextLink?: string; +/** Factory's git repo information. */ +export interface FactoryRepoConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FactoryVSTSConfiguration" | "FactoryGitHubConfiguration"; + /** Account name. */ + accountName: string; + /** Repository name. */ + repositoryName: string; + /** Collaboration branch. */ + collaborationBranch: string; + /** Root folder. */ + rootFolder: string; + /** Last commit id. */ + lastCommitId?: string; + /** Disable manual publish operation in ADF studio to favor automated publish. */ + disablePublish?: boolean; } /** Identity properties of the factory resource. */ @@ -716,24 +633,6 @@ export interface PurviewConfiguration { purviewResourceId?: string; } -/** Factory's git repo information. */ -export interface FactoryRepoConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "FactoryVSTSConfiguration" | "FactoryGitHubConfiguration"; - /** Account name. */ - accountName: string; - /** Repository name. */ - repositoryName: string; - /** Collaboration branch. */ - collaborationBranch: string; - /** Root folder. */ - rootFolder: string; - /** Last commit id. */ - lastCommitId?: string; - /** Disable manual publish operation in ADF studio to favor automated publish. */ - disablePublish?: boolean; -} - /** Definition of a single parameter for an entity. */ export interface GlobalParameterSpecification { /** Global Parameter type. */ @@ -788,12 +687,16 @@ export interface Resource { readonly eTag?: string; } -/** Factory's git repo information. */ -export interface FactoryRepoUpdate { - /** The factory resource id. */ - factoryResourceId?: string; - /** Git repo information of the factory. */ - repoConfiguration?: FactoryRepoConfigurationUnion; +/** The object that defines the structure of an Azure Data Factory error response. */ +export interface CloudError { + /** Error code. */ + code: string; + /** Error message. */ + message: string; + /** Property name/path in request associated with error. */ + target?: string; + /** Array with additional error details. */ + details?: CloudError[]; } /** The exposure control request. */ @@ -830,6 +733,14 @@ export interface ExposureControlBatchResponse { exposureControlResponses: ExposureControlResponse[]; } +/** A list of factory resources. */ +export interface FactoryListResponse { + /** List of factories. */ + value: Factory[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + /** Parameters for updating a factory resource. */ export interface FactoryUpdateParameters { /** The resource tags. */ @@ -1403,6 +1314,8 @@ export interface LinkedService { | "ServiceNowV2"; /** Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; + /** Version of the linked service. */ + version?: string; /** The integration runtime reference. */ connectVia?: IntegrationRuntimeReference; /** Linked service description. */ @@ -1452,6 +1365,7 @@ export interface Dataset { | "Xml" | "Orc" | "Binary" + | "Iceberg" | "AzureBlob" | "AzureTable" | "AzureSqlTable" @@ -2589,6 +2503,98 @@ export interface DatasetReference { parameters?: { [propertyName: string]: any }; } +/** A list of operations that can be performed by the Data Factory service. */ +export interface OperationListResponse { + /** List of Data Factory operations supported by the Data Factory resource provider. */ + value?: Operation[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** Azure Data Factory API operation definition. */ +export interface Operation { + /** Operation name: {provider}/{resource}/{operation} */ + name?: string; + /** The intended executor of the operation. */ + origin?: string; + /** Metadata associated with the operation. */ + display?: OperationDisplay; + /** Details about a service operation. */ + serviceSpecification?: OperationServiceSpecification; +} + +/** Metadata associated with the operation. */ +export interface OperationDisplay { + /** The description of the operation. */ + description?: string; + /** The name of the provider. */ + provider?: string; + /** The name of the resource type on which the operation is performed. */ + resource?: string; + /** The type of operation: get, read, delete, etc. */ + operation?: string; +} + +/** Details about a service operation. */ +export interface OperationServiceSpecification { + /** Details about operations related to logs. */ + logSpecifications?: OperationLogSpecification[]; + /** Details about operations related to metrics. */ + metricSpecifications?: OperationMetricSpecification[]; +} + +/** Details about an operation related to logs. */ +export interface OperationLogSpecification { + /** The name of the log category. */ + name?: string; + /** Localized display name. */ + displayName?: string; + /** Blobs created in the customer storage account, per hour. */ + blobDuration?: string; +} + +/** Details about an operation related to metrics. */ +export interface OperationMetricSpecification { + /** The name of the metric. */ + name?: string; + /** Localized display name of the metric. */ + displayName?: string; + /** The description of the metric. */ + displayDescription?: string; + /** The unit that the metric is measured in. */ + unit?: string; + /** The type of metric aggregation. */ + aggregationType?: string; + /** Whether or not the service is using regional MDM accounts. */ + enableRegionalMdmAccount?: string; + /** The name of the MDM account. */ + sourceMdmAccount?: string; + /** The name of the MDM namespace. */ + sourceMdmNamespace?: string; + /** Defines how often data for metrics becomes available. */ + availabilities?: OperationMetricAvailability[]; + /** Defines the metric dimension. */ + dimensions?: OperationMetricDimension[]; +} + +/** Defines how often data for a metric becomes available. */ +export interface OperationMetricAvailability { + /** The granularity for the metric. */ + timeGrain?: string; + /** Blob created in the customer storage account, per hour. */ + blobDuration?: string; +} + +/** Defines the metric dimension. */ +export interface OperationMetricDimension { + /** The name of the dimension for the metric. */ + name?: string; + /** The display name of the metric dimension. */ + displayName?: string; + /** Whether the dimension should be exported to Azure Monitor. */ + toBeExportedForShoebox?: boolean; +} + /** Response body structure for get data factory operation status. */ export interface GetDataFactoryOperationStatusResponse { /** Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -3056,6 +3062,20 @@ export interface SsisVariable { sensitiveValue?: string; } +/** Azure Storage linked service properties. */ +export interface AzureStorageLinkedServiceTypeProperties { + /** The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: any; + /** The Azure key vault secret reference of accountKey in connection string. */ + accountKey?: AzureKeyVaultSecretReference; + /** SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + sasUri?: any; + /** The Azure key vault secret reference of sasToken in sas uri. */ + sasToken?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; +} + /** Sql Server family connector common linked service properties. */ export interface SqlServerBaseLinkedServiceTypeProperties { /** The name or network address of the instance of SQL Server to which to connect, used by recommended version. Type: string (or Expression with resultType string). */ @@ -3242,7 +3262,8 @@ export interface FormatWriteSettings { | "OrcWriteSettings" | "ParquetWriteSettings" | "DelimitedTextWriteSettings" - | "JsonWriteSettings"; + | "JsonWriteSettings" + | "IcebergWriteSettings"; /** Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; } @@ -3385,6 +3406,7 @@ export interface CopySink { | "AvroSink" | "ParquetSink" | "BinarySink" + | "IcebergSink" | "BlobSink" | "FileSystemSink" | "DocumentDbCollectionSink" @@ -3853,6 +3875,8 @@ export interface ExecuteDataFlowActivityTypeProperties { staging?: DataFlowStagingInfo; /** The integration runtime reference. */ integrationRuntime?: IntegrationRuntimeReference; + /** Continuation settings for execute data flow activity. */ + continuationSettings?: ContinuationSettingsReference; /** Compute properties for data flow activity. */ compute?: ExecuteDataFlowActivityTypePropertiesCompute; /** Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string) */ @@ -3865,6 +3889,16 @@ export interface ExecuteDataFlowActivityTypeProperties { sourceStagingConcurrency?: any; } +/** Continuation settings for execute data flow activity. */ +export interface ContinuationSettingsReference { + /** Continuation TTL in minutes. */ + continuationTtlInMinutes?: any; + /** Idle condition. */ + idleCondition?: any; + /** Customized checkpoint key. */ + customizedCheckpointKey?: any; +} + /** Compute properties for data flow activity. */ export interface ExecuteDataFlowActivityTypePropertiesCompute { /** Compute type of the cluster which will execute data flow job. Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized'. Type: string (or Expression with resultType string) */ @@ -4456,6 +4490,10 @@ export interface AzureTableStorageLinkedService extends LinkedService { sasToken?: AzureKeyVaultSecretReference; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; + /** Table service endpoint of the Azure Table Storage resource. It is mutually exclusive with connectionString, sasUri property. */ + serviceEndpoint?: any; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; } /** Azure SQL Data Warehouse linked service. */ @@ -4580,6 +4618,8 @@ export interface SqlServerLinkedService extends LinkedService { encryptedCredential?: string; /** Sql always encrypted properties. */ alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; } /** Amazon RDS for SQL Server linked service. */ @@ -4852,8 +4892,10 @@ export interface DynamicsLinkedService extends LinkedService { serviceUri?: any; /** The organization name of the Dynamics instance. The property is required for on-prem and required for online when there are more than one Dynamics instances associated with the user. Type: string (or Expression with resultType string). */ organizationName?: any; - /** The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). */ + /** The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario, 'Active Directory' for Dynamics on-premises with IFD. Type: string (or Expression with resultType string). */ authenticationType: any; + /** The Active Directory domain that will verify user credentials. Type: string (or Expression with resultType string). */ + domain?: any; /** User name to access the Dynamics instance. Type: string (or Expression with resultType string). */ username?: any; /** Password to access the Dynamics instance. */ @@ -4884,8 +4926,10 @@ export interface DynamicsCrmLinkedService extends LinkedService { serviceUri?: any; /** The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string). */ organizationName?: any; - /** The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). */ + /** The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario, 'Active Directory' for Dynamics on-premises with IFD. Type: string (or Expression with resultType string). */ authenticationType: any; + /** The Active Directory domain that will verify user credentials. Type: string (or Expression with resultType string). */ + domain?: any; /** User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string). */ username?: any; /** Password to access the Dynamics CRM instance. */ @@ -4916,8 +4960,10 @@ export interface CommonDataServiceForAppsLinkedService extends LinkedService { serviceUri?: any; /** The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string). */ organizationName?: any; - /** The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). */ + /** The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for Server-To-Server authentication in online scenario, 'Active Directory' for Dynamics on-premises with IFD. Type: string (or Expression with resultType string). */ authenticationType: any; + /** The Active Directory domain that will verify user credentials. Type: string (or Expression with resultType string). */ + domain?: any; /** User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string). */ username?: any; /** Password to access the Common Data Service for Apps instance. */ @@ -4992,6 +5038,10 @@ export interface AzureFileStorageLinkedService extends LinkedService { snapshot?: any; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; + /** File service endpoint of the Azure File Storage resource. It is mutually exclusive with connectionString, sasUri property. */ + serviceEndpoint?: any; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; } /** Linked service for Amazon S3 Compatible. */ @@ -5124,6 +5174,8 @@ export interface PostgreSqlV2LinkedService extends LinkedService { username: any; /** Database name for connection. Type: string. */ database: any; + /** The authentication type to use. Type: string. */ + authenticationType: any; /** SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer. */ sslMode: any; /** Sets the schema search path. Type: string. */ @@ -5700,6 +5752,12 @@ export interface RestServiceLinkedService extends LinkedService { resource?: any; /** The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string). */ scope?: any; + /** The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). */ + servicePrincipalCredentialType?: any; + /** Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ + servicePrincipalEmbeddedCert?: SecretBaseUnion; + /** Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). */ + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; } /** Linked service for TeamDesk. */ @@ -6306,7 +6364,7 @@ export interface MagentoLinkedService extends LinkedService { export interface MariaDBLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "MariaDB"; - /** The version of the MariaDB driver. Type: string. V1 or empty for legacy driver, V2 for new driver. V1 can support connection string and property bag, V2 can only support connection string. */ + /** The version of the MariaDB driver. Type: string. V1 or empty for legacy driver, V2 for new driver. V1 can support connection string and property bag, V2 can only support connection string. The legacy driver is scheduled for deprecation by October 2024. */ driverVersion?: any; /** An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ connectionString?: any; @@ -6318,6 +6376,10 @@ export interface MariaDBLinkedService extends LinkedService { username?: any; /** Database name for connection. Type: string. */ database?: any; + /** This option specifies whether the driver uses TLS encryption and verification when connecting to MariaDB. E.g., SSLMode=<0/1/2/3/4>. Options: DISABLED (0) / PREFERRED (1) (Default) / REQUIRED (2) / VERIFY_CA (3) / VERIFY_IDENTITY (4), REQUIRED (2) is recommended to only allow connections encrypted with SSL/TLS. */ + sslMode?: any; + /** This option specifies whether to use a CA certificate from the system trust store, or from a specified PEM file. E.g. UseSystemTrustStore=<0/1>; Options: Enabled (1) / Disabled (0) (Default) */ + useSystemTrustStore?: any; /** The Azure key vault secret reference of password in connection string. */ password?: AzureKeyVaultSecretReference; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ @@ -6617,6 +6679,14 @@ export interface VerticaLinkedService extends LinkedService { type: "Vertica"; /** An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ connectionString?: any; + /** Server name for connection. Type: string. */ + server?: any; + /** The port for the connection. Type: integer. */ + port?: any; + /** Username for authentication. Type: string. */ + uid?: any; + /** Database name for connection. Type: string. */ + database?: any; /** The Azure key vault secret reference of password in connection string. */ pwd?: AzureKeyVaultSecretReference; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ @@ -6664,7 +6734,7 @@ export interface HDInsightOnDemandLinkedService extends LinkedService { /** The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string). */ timeToLive: any; /** Version of the HDInsight cluster.  Type: string (or Expression with resultType string). */ - version: any; + versionTypePropertiesVersion: any; /** Azure Storage linked service to be used by the on-demand cluster for storing and processing data. */ linkedServiceName: LinkedServiceReference; /** The customer’s subscription to host the cluster. Type: string (or Expression with resultType string). */ @@ -7023,6 +7093,8 @@ export interface SnowflakeV2LinkedService extends LinkedService { privateKey?: SecretBaseUnion; /** The Azure key vault secret reference of private key password for KeyPair auth with encrypted private key. */ privateKeyPassphrase?: SecretBaseUnion; + /** The host name of the Snowflake account. */ + host?: any; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; } @@ -7038,7 +7110,13 @@ export interface SharePointOnlineListLinkedService extends LinkedService { /** The application (client) ID of your application registered in Azure Active Directory. Make sure to grant SharePoint site permission to this application. Type: string (or Expression with resultType string). */ servicePrincipalId: any; /** The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ - servicePrincipalKey: SecretBaseUnion; + servicePrincipalKey?: SecretBaseUnion; + /** The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). */ + servicePrincipalCredentialType?: any; + /** Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ + servicePrincipalEmbeddedCert?: SecretBaseUnion; + /** Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). */ + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; } @@ -7294,6 +7372,14 @@ export interface BinaryDataset extends Dataset { compression?: DatasetCompression; } +/** Iceberg dataset. */ +export interface IcebergDataset extends Dataset { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Iceberg"; + /** The location of the iceberg storage. Setting a file name is not allowed for iceberg format. */ + location?: DatasetLocationUnion; +} + /** The Azure Blob storage. */ export interface AzureBlobDataset extends Dataset { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -8294,6 +8380,8 @@ export interface ExecuteWranglingDataflowActivity extends Activity { staging?: DataFlowStagingInfo; /** The integration runtime reference. */ integrationRuntime?: IntegrationRuntimeReference; + /** Continuation settings for execute data flow activity. */ + continuationSettings?: ContinuationSettingsReference; /** Compute properties for data flow activity. */ compute?: ExecuteDataFlowActivityTypePropertiesCompute; /** Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string) */ @@ -8720,6 +8808,15 @@ export interface LinkedIntegrationRuntimeRbacAuthorization credential?: CredentialReference; } +/** Azure Table Storage linked service properties. */ +export interface AzureTableStorageLinkedServiceTypeProperties + extends AzureStorageLinkedServiceTypeProperties { + /** Table service endpoint of the Azure Table Storage resource. It is mutually exclusive with connectionString, sasUri property. */ + serviceEndpoint?: any; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +} + /** Azure SQL Data Warehouse linked service properties. */ export interface AzureSqlDWLinkedServiceTypeProperties extends SqlServerBaseLinkedServiceTypeProperties { @@ -8764,6 +8861,8 @@ export interface SqlServerLinkedServiceTypeProperties encryptedCredential?: string; /** Sql always encrypted properties. */ alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; } /** Amazon Rds for SQL Server linked service properties. */ @@ -9405,6 +9504,12 @@ export interface JsonWriteSettings extends FormatWriteSettings { filePattern?: any; } +/** Iceberg write settings. */ +export interface IcebergWriteSettings extends FormatWriteSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "IcebergWriteSettings"; +} + /** A copy activity Avro source. */ export interface AvroSource extends CopySource { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -10094,6 +10199,16 @@ export interface BinarySink extends CopySink { storeSettings?: StoreWriteSettingsUnion; } +/** A copy activity Iceberg sink. */ +export interface IcebergSink extends CopySink { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "IcebergSink"; + /** Iceberg store settings. */ + storeSettings?: StoreWriteSettingsUnion; + /** Iceberg format settings. */ + formatSettings?: IcebergWriteSettings; +} + /** A copy activity Azure Blob sink. */ export interface BlobSink extends CopySink { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -10476,6 +10591,8 @@ export interface SnowflakeExportCopyCommand extends ExportSettings { additionalCopyOptions?: { [propertyName: string]: any }; /** Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" } */ additionalFormatOptions?: { [propertyName: string]: any }; + /** The name of the snowflake storage integration to use for the copy operation. Type: string (or Expression with resultType string). */ + storageIntegration?: any; } /** Azure Databricks Delta Lake export command settings. */ @@ -10506,6 +10623,8 @@ export interface SnowflakeImportCopyCommand extends ImportSettings { additionalCopyOptions?: { [propertyName: string]: any }; /** Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" } */ additionalFormatOptions?: { [propertyName: string]: any }; + /** The name of the snowflake storage integration to use for the copy operation. Type: string (or Expression with resultType string). */ + storageIntegration?: any; } /** A copy activity tabular translator. */ @@ -11138,6 +11257,8 @@ export interface ExecuteDataFlowActivity extends ExecutionActivity { staging?: DataFlowStagingInfo; /** The integration runtime reference. */ integrationRuntime?: IntegrationRuntimeReference; + /** Continuation settings for execute data flow activity. */ + continuationSettings?: ContinuationSettingsReference; /** Compute properties for data flow activity. */ compute?: ExecuteDataFlowActivityTypePropertiesCompute; /** Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string) */ @@ -11928,6 +12049,8 @@ export interface SalesforceV2Source extends TabularSource { query?: any; /** This property control whether query result contains Deleted objects. Default is false. Type: boolean (or Expression with resultType boolean). */ includeDeletedObjects?: any; + /** Page size for each http request, too large pageSize will caused timeout, default 300,000. Type: integer (or Expression with resultType integer). */ + pageSize?: any; } /** A copy activity ServiceNowV2 server source. */ @@ -11936,6 +12059,8 @@ export interface ServiceNowV2Source extends TabularSource { type: "ServiceNowV2Source"; /** Expression to filter data from source. */ expression?: ExpressionV2; + /** Page size of the result. Type: integer (or Expression with resultType integer). */ + pageSize?: any; } /** Referenced tumbling window trigger dependency. */ @@ -12858,6 +12983,8 @@ export enum KnownSqlServerAuthenticationType { SQL = "SQL", /** Windows */ Windows = "Windows", + /** UserAssignedManagedIdentity */ + UserAssignedManagedIdentity = "UserAssignedManagedIdentity", } /** @@ -12866,7 +12993,8 @@ export enum KnownSqlServerAuthenticationType { * this enum contains the known values that the service supports. * ### Known values supported by the service * **SQL** \ - * **Windows** + * **Windows** \ + * **UserAssignedManagedIdentity** */ export type SqlServerAuthenticationType = string; @@ -14351,6 +14479,8 @@ export enum KnownDynamicsAuthenticationType { Ifd = "Ifd", /** AADServicePrincipal */ AADServicePrincipal = "AADServicePrincipal", + /** ActiveDirectory */ + ActiveDirectory = "Active Directory", } /** @@ -14360,7 +14490,8 @@ export enum KnownDynamicsAuthenticationType { * ### Known values supported by the service * **Office365** \ * **Ifd** \ - * **AADServicePrincipal** + * **AADServicePrincipal** \ + * **Active Directory** */ export type DynamicsAuthenticationType = string; @@ -14691,27 +14822,6 @@ export type DayOfWeek = | "Friday" | "Saturday"; -/** Optional parameters. */ -export interface OperationsListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type OperationsListResponse = OperationListResponse; - -/** Optional parameters. */ -export interface OperationsListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type OperationsListNextResponse = OperationListResponse; - -/** Optional parameters. */ -export interface FactoriesListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type FactoriesListResponse = FactoryListResponse; - /** Optional parameters. */ export interface FactoriesConfigureFactoryRepoOptionalParams extends coreClient.OperationOptions {} @@ -14771,13 +14881,6 @@ export interface FactoriesGetDataPlaneAccessOptionalParams /** Contains response data for the getDataPlaneAccess operation. */ export type FactoriesGetDataPlaneAccessResponse = AccessPolicyResponse; -/** Optional parameters. */ -export interface FactoriesListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type FactoriesListNextResponse = FactoryListResponse; - /** Optional parameters. */ export interface FactoriesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index 1fae91032ad3..21666b4e5052 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -8,93 +8,133 @@ import * as coreClient from "@azure/core-client"; -export const OperationListResponse: coreClient.CompositeMapper = { +export const FactoryRepoUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationListResponse", + className: "FactoryRepoUpdate", modelProperties: { - value: { - serializedName: "value", + factoryResourceId: { + serializedName: "factoryResourceId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Operation", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + repoConfiguration: { + serializedName: "repoConfiguration", type: { - name: "String", + name: "Composite", + className: "FactoryRepoConfiguration", }, }, }, }, }; -export const Operation: coreClient.CompositeMapper = { +export const FactoryRepoConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Operation", + className: "FactoryRepoConfiguration", + uberParent: "FactoryRepoConfiguration", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - name: { - serializedName: "name", + type: { + serializedName: "type", + required: true, type: { name: "String", }, }, - origin: { - serializedName: "origin", + accountName: { + serializedName: "accountName", + required: true, type: { name: "String", }, }, - display: { - serializedName: "display", + repositoryName: { + serializedName: "repositoryName", + required: true, type: { - name: "Composite", - className: "OperationDisplay", + name: "String", }, }, - serviceSpecification: { - serializedName: "properties.serviceSpecification", + collaborationBranch: { + serializedName: "collaborationBranch", + required: true, type: { - name: "Composite", - className: "OperationServiceSpecification", + name: "String", + }, + }, + rootFolder: { + serializedName: "rootFolder", + required: true, + type: { + name: "String", + }, + }, + lastCommitId: { + serializedName: "lastCommitId", + type: { + name: "String", + }, + }, + disablePublish: { + serializedName: "disablePublish", + type: { + name: "Boolean", }, }, }, }, }; -export const OperationDisplay: coreClient.CompositeMapper = { +export const FactoryIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationDisplay", + className: "FactoryIdentity", modelProperties: { - description: { - serializedName: "description", + type: { + serializedName: "type", + required: true, type: { name: "String", }, }, - provider: { - serializedName: "provider", + principalId: { + serializedName: "principalId", + readOnly: true, type: { - name: "String", + name: "Uuid", }, }, - resource: { - serializedName: "resource", + tenantId: { + serializedName: "tenantId", + readOnly: true, type: { - name: "String", + name: "Uuid", }, }, - operation: { - serializedName: "operation", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const PurviewConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PurviewConfiguration", + modelProperties: { + purviewResourceId: { + serializedName: "purviewResourceId", type: { name: "String", }, @@ -103,139 +143,163 @@ export const OperationDisplay: coreClient.CompositeMapper = { }, }; -export const OperationServiceSpecification: coreClient.CompositeMapper = { +export const GlobalParameterSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationServiceSpecification", + className: "GlobalParameterSpecification", modelProperties: { - logSpecifications: { - serializedName: "logSpecifications", + type: { + serializedName: "type", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationLogSpecification", - }, - }, + name: "String", }, }, - metricSpecifications: { - serializedName: "metricSpecifications", + value: { + serializedName: "value", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationMetricSpecification", - }, - }, + name: "any", }, }, }, }, }; -export const OperationLogSpecification: coreClient.CompositeMapper = { +export const EncryptionConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationLogSpecification", + className: "EncryptionConfiguration", modelProperties: { - name: { - serializedName: "name", + keyName: { + serializedName: "keyName", + required: true, type: { name: "String", }, }, - displayName: { - serializedName: "displayName", + vaultBaseUrl: { + serializedName: "vaultBaseUrl", + required: true, type: { name: "String", }, }, - blobDuration: { - serializedName: "blobDuration", + keyVersion: { + serializedName: "keyVersion", type: { name: "String", }, }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "CMKIdentityDefinition", + }, + }, }, }, }; -export const OperationMetricSpecification: coreClient.CompositeMapper = { +export const CMKIdentityDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationMetricSpecification", + className: "CMKIdentityDefinition", + modelProperties: { + userAssignedIdentity: { + serializedName: "userAssignedIdentity", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const Resource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Resource", modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String", + }, + }, name: { serializedName: "name", + readOnly: true, type: { name: "String", }, }, - displayName: { - serializedName: "displayName", + type: { + serializedName: "type", + readOnly: true, type: { name: "String", }, }, - displayDescription: { - serializedName: "displayDescription", + location: { + serializedName: "location", type: { name: "String", }, }, - unit: { - serializedName: "unit", + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - aggregationType: { - serializedName: "aggregationType", + eTag: { + serializedName: "eTag", + readOnly: true, type: { name: "String", }, }, - enableRegionalMdmAccount: { - serializedName: "enableRegionalMdmAccount", + }, + }, +}; + +export const CloudError: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CloudError", + modelProperties: { + code: { + serializedName: "error.code", + required: true, type: { name: "String", }, }, - sourceMdmAccount: { - serializedName: "sourceMdmAccount", + message: { + serializedName: "error.message", + required: true, type: { name: "String", }, }, - sourceMdmNamespace: { - serializedName: "sourceMdmNamespace", + target: { + serializedName: "error.target", type: { name: "String", }, }, - availabilities: { - serializedName: "availabilities", + details: { + serializedName: "error.details", type: { name: "Sequence", element: { type: { name: "Composite", - className: "OperationMetricAvailability", - }, - }, - }, - }, - dimensions: { - serializedName: "dimensions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationMetricDimension", + className: "CloudError", }, }, }, @@ -244,19 +308,19 @@ export const OperationMetricSpecification: coreClient.CompositeMapper = { }, }; -export const OperationMetricAvailability: coreClient.CompositeMapper = { +export const ExposureControlRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationMetricAvailability", + className: "ExposureControlRequest", modelProperties: { - timeGrain: { - serializedName: "timeGrain", + featureName: { + serializedName: "featureName", type: { name: "String", }, }, - blobDuration: { - serializedName: "blobDuration", + featureType: { + serializedName: "featureType", type: { name: "String", }, @@ -265,66 +329,65 @@ export const OperationMetricAvailability: coreClient.CompositeMapper = { }, }; -export const OperationMetricDimension: coreClient.CompositeMapper = { +export const ExposureControlResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationMetricDimension", + className: "ExposureControlResponse", modelProperties: { - name: { - serializedName: "name", + featureName: { + serializedName: "featureName", + readOnly: true, type: { name: "String", }, }, - displayName: { - serializedName: "displayName", + value: { + serializedName: "value", + readOnly: true, type: { name: "String", }, }, - toBeExportedForShoebox: { - serializedName: "toBeExportedForShoebox", - type: { - name: "Boolean", - }, - }, }, }, }; -export const CloudError: coreClient.CompositeMapper = { +export const ExposureControlBatchRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CloudError", + className: "ExposureControlBatchRequest", modelProperties: { - code: { - serializedName: "error.code", + exposureControlRequests: { + serializedName: "exposureControlRequests", required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExposureControlRequest", + }, + }, }, }, - message: { - serializedName: "error.message", + }, + }, +}; + +export const ExposureControlBatchResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExposureControlBatchResponse", + modelProperties: { + exposureControlResponses: { + serializedName: "exposureControlResponses", required: true, - type: { - name: "String", - }, - }, - target: { - serializedName: "error.target", - type: { - name: "String", - }, - }, - details: { - serializedName: "error.details", type: { name: "Sequence", element: { type: { name: "Composite", - className: "CloudError", + className: "ExposureControlResponse", }, }, }, @@ -361,50 +424,27 @@ export const FactoryListResponse: coreClient.CompositeMapper = { }, }; -export const FactoryIdentity: coreClient.CompositeMapper = { +export const FactoryUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FactoryIdentity", + className: "FactoryUpdateParameters", modelProperties: { - type: { - serializedName: "type", - required: true, - type: { - name: "String", - }, - }, - principalId: { - serializedName: "principalId", - readOnly: true, - type: { - name: "Uuid", - }, - }, - tenantId: { - serializedName: "tenantId", - readOnly: true, + tags: { + serializedName: "tags", type: { - name: "Uuid", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + identity: { + serializedName: "identity", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Composite", + className: "FactoryIdentity", }, }, - }, - }, -}; - -export const PurviewConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PurviewConfiguration", - modelProperties: { - purviewResourceId: { - serializedName: "purviewResourceId", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String", }, @@ -413,133 +453,109 @@ export const PurviewConfiguration: coreClient.CompositeMapper = { }, }; -export const FactoryRepoConfiguration: coreClient.CompositeMapper = { +export const GitHubAccessTokenRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FactoryRepoConfiguration", - uberParent: "FactoryRepoConfiguration", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type", - }, + className: "GitHubAccessTokenRequest", modelProperties: { - type: { - serializedName: "type", + gitHubAccessCode: { + serializedName: "gitHubAccessCode", required: true, type: { name: "String", }, }, - accountName: { - serializedName: "accountName", - required: true, + gitHubClientId: { + serializedName: "gitHubClientId", type: { name: "String", }, }, - repositoryName: { - serializedName: "repositoryName", - required: true, + gitHubClientSecret: { + serializedName: "gitHubClientSecret", type: { - name: "String", + name: "Composite", + className: "GitHubClientSecret", }, }, - collaborationBranch: { - serializedName: "collaborationBranch", + gitHubAccessTokenBaseUrl: { + serializedName: "gitHubAccessTokenBaseUrl", required: true, type: { name: "String", }, }, - rootFolder: { - serializedName: "rootFolder", - required: true, + }, + }, +}; + +export const GitHubClientSecret: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GitHubClientSecret", + modelProperties: { + byoaSecretAkvUrl: { + serializedName: "byoaSecretAkvUrl", type: { name: "String", }, }, - lastCommitId: { - serializedName: "lastCommitId", + byoaSecretName: { + serializedName: "byoaSecretName", type: { name: "String", }, }, - disablePublish: { - serializedName: "disablePublish", - type: { - name: "Boolean", - }, - }, }, }, }; -export const GlobalParameterSpecification: coreClient.CompositeMapper = { +export const GitHubAccessTokenResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GlobalParameterSpecification", + className: "GitHubAccessTokenResponse", modelProperties: { - type: { - serializedName: "type", - required: true, + gitHubAccessToken: { + serializedName: "gitHubAccessToken", type: { name: "String", }, }, - value: { - serializedName: "value", - required: true, - type: { - name: "any", - }, - }, }, }, }; -export const EncryptionConfiguration: coreClient.CompositeMapper = { +export const UserAccessPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionConfiguration", + className: "UserAccessPolicy", modelProperties: { - keyName: { - serializedName: "keyName", - required: true, + permissions: { + serializedName: "permissions", type: { name: "String", }, }, - vaultBaseUrl: { - serializedName: "vaultBaseUrl", - required: true, + accessResourcePath: { + serializedName: "accessResourcePath", type: { name: "String", }, }, - keyVersion: { - serializedName: "keyVersion", + profileName: { + serializedName: "profileName", type: { name: "String", }, }, - identity: { - serializedName: "identity", + startTime: { + serializedName: "startTime", type: { - name: "Composite", - className: "CMKIdentityDefinition", + name: "String", }, }, - }, - }, -}; - -export const CMKIdentityDefinition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CMKIdentityDefinition", - modelProperties: { - userAssignedIdentity: { - serializedName: "userAssignedIdentity", + expireTime: { + serializedName: "expireTime", type: { name: "String", }, @@ -548,91 +564,26 @@ export const CMKIdentityDefinition: coreClient.CompositeMapper = { }, }; -export const Resource: coreClient.CompositeMapper = { +export const AccessPolicyResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Resource", + className: "AccessPolicyResponse", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + policy: { + serializedName: "policy", type: { - name: "String", + name: "Composite", + className: "UserAccessPolicy", }, }, - name: { - serializedName: "name", - readOnly: true, + accessToken: { + serializedName: "accessToken", type: { name: "String", }, }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - eTag: { - serializedName: "eTag", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const FactoryRepoUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FactoryRepoUpdate", - modelProperties: { - factoryResourceId: { - serializedName: "factoryResourceId", - type: { - name: "String", - }, - }, - repoConfiguration: { - serializedName: "repoConfiguration", - type: { - name: "Composite", - className: "FactoryRepoConfiguration", - }, - }, - }, - }, -}; - -export const ExposureControlRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ExposureControlRequest", - modelProperties: { - featureName: { - serializedName: "featureName", - type: { - name: "String", - }, - }, - featureType: { - serializedName: "featureType", + dataPlaneUrl: { + serializedName: "dataPlaneUrl", type: { name: "String", }, @@ -641,94 +592,55 @@ export const ExposureControlRequest: coreClient.CompositeMapper = { }, }; -export const ExposureControlResponse: coreClient.CompositeMapper = { +export const IntegrationRuntimeListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExposureControlResponse", + className: "IntegrationRuntimeListResponse", modelProperties: { - featureName: { - serializedName: "featureName", - readOnly: true, - type: { - name: "String", - }, - }, value: { serializedName: "value", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ExposureControlBatchRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ExposureControlBatchRequest", - modelProperties: { - exposureControlRequests: { - serializedName: "exposureControlRequests", required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExposureControlRequest", + className: "IntegrationRuntimeResource", }, }, }, }, - }, - }, -}; - -export const ExposureControlBatchResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ExposureControlBatchResponse", - modelProperties: { - exposureControlResponses: { - serializedName: "exposureControlResponses", - required: true, + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ExposureControlResponse", - }, - }, + name: "String", }, }, }, }, }; -export const FactoryUpdateParameters: coreClient.CompositeMapper = { +export const IntegrationRuntime: coreClient.CompositeMapper = { + serializedName: "IntegrationRuntime", type: { name: "Composite", - className: "FactoryUpdateParameters", + className: "IntegrationRuntime", + uberParent: "IntegrationRuntime", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - identity: { - serializedName: "identity", + type: { + serializedName: "type", + required: true, type: { - name: "Composite", - className: "FactoryIdentity", + name: "String", }, }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + description: { + serializedName: "description", type: { name: "String", }, @@ -737,34 +649,35 @@ export const FactoryUpdateParameters: coreClient.CompositeMapper = { }, }; -export const GitHubAccessTokenRequest: coreClient.CompositeMapper = { +export const SubResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GitHubAccessTokenRequest", + className: "SubResource", modelProperties: { - gitHubAccessCode: { - serializedName: "gitHubAccessCode", - required: true, + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - gitHubClientId: { - serializedName: "gitHubClientId", + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - gitHubClientSecret: { - serializedName: "gitHubClientSecret", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Composite", - className: "GitHubClientSecret", + name: "String", }, }, - gitHubAccessTokenBaseUrl: { - serializedName: "gitHubAccessTokenBaseUrl", - required: true, + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String", }, @@ -773,19 +686,19 @@ export const GitHubAccessTokenRequest: coreClient.CompositeMapper = { }, }; -export const GitHubClientSecret: coreClient.CompositeMapper = { +export const UpdateIntegrationRuntimeRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GitHubClientSecret", + className: "UpdateIntegrationRuntimeRequest", modelProperties: { - byoaSecretAkvUrl: { - serializedName: "byoaSecretAkvUrl", + autoUpdate: { + serializedName: "autoUpdate", type: { name: "String", }, }, - byoaSecretName: { - serializedName: "byoaSecretName", + updateDelayOffset: { + serializedName: "updateDelayOffset", type: { name: "String", }, @@ -794,255 +707,58 @@ export const GitHubClientSecret: coreClient.CompositeMapper = { }, }; -export const GitHubAccessTokenResponse: coreClient.CompositeMapper = { +export const IntegrationRuntimeStatusResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GitHubAccessTokenResponse", + className: "IntegrationRuntimeStatusResponse", modelProperties: { - gitHubAccessToken: { - serializedName: "gitHubAccessToken", + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "IntegrationRuntimeStatus", + }, + }, }, }, }; -export const UserAccessPolicy: coreClient.CompositeMapper = { +export const IntegrationRuntimeStatus: coreClient.CompositeMapper = { + serializedName: "IntegrationRuntimeStatus", type: { name: "Composite", - className: "UserAccessPolicy", + className: "IntegrationRuntimeStatus", + uberParent: "IntegrationRuntimeStatus", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - permissions: { - serializedName: "permissions", - type: { - name: "String", - }, - }, - accessResourcePath: { - serializedName: "accessResourcePath", - type: { - name: "String", - }, - }, - profileName: { - serializedName: "profileName", + type: { + serializedName: "type", + required: true, type: { name: "String", }, }, - startTime: { - serializedName: "startTime", + dataFactoryName: { + serializedName: "dataFactoryName", + readOnly: true, type: { name: "String", }, }, - expireTime: { - serializedName: "expireTime", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const AccessPolicyResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AccessPolicyResponse", - modelProperties: { - policy: { - serializedName: "policy", - type: { - name: "Composite", - className: "UserAccessPolicy", - }, - }, - accessToken: { - serializedName: "accessToken", - type: { - name: "String", - }, - }, - dataPlaneUrl: { - serializedName: "dataPlaneUrl", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const IntegrationRuntimeListResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "IntegrationRuntimeListResponse", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IntegrationRuntimeResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const IntegrationRuntime: coreClient.CompositeMapper = { - serializedName: "IntegrationRuntime", - type: { - name: "Composite", - className: "IntegrationRuntime", - uberParent: "IntegrationRuntime", - additionalProperties: { type: { name: "Object" } }, - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type", - }, - modelProperties: { - type: { - serializedName: "type", - required: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const SubResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SubResource", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String", - }, - }, - etag: { - serializedName: "etag", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const UpdateIntegrationRuntimeRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UpdateIntegrationRuntimeRequest", - modelProperties: { - autoUpdate: { - serializedName: "autoUpdate", - type: { - name: "String", - }, - }, - updateDelayOffset: { - serializedName: "updateDelayOffset", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const IntegrationRuntimeStatusResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "IntegrationRuntimeStatusResponse", - modelProperties: { - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String", - }, - }, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "IntegrationRuntimeStatus", - }, - }, - }, - }, -}; - -export const IntegrationRuntimeStatus: coreClient.CompositeMapper = { - serializedName: "IntegrationRuntimeStatus", - type: { - name: "Composite", - className: "IntegrationRuntimeStatus", - uberParent: "IntegrationRuntimeStatus", - additionalProperties: { type: { name: "Object" } }, - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type", - }, - modelProperties: { - type: { - serializedName: "type", - required: true, - type: { - name: "String", - }, - }, - dataFactoryName: { - serializedName: "dataFactoryName", - readOnly: true, - type: { - name: "String", - }, - }, - state: { - serializedName: "state", - readOnly: true, + state: { + serializedName: "state", + readOnly: true, type: { name: "String", }, @@ -1715,6 +1431,12 @@ export const LinkedService: coreClient.CompositeMapper = { name: "String", }, }, + version: { + serializedName: "version", + type: { + name: "String", + }, + }, connectVia: { serializedName: "connectVia", type: { @@ -2889,32 +2611,387 @@ export const DataFlow: coreClient.CompositeMapper = { annotations: { serializedName: "annotations", type: { - name: "Sequence", - element: { - type: { - name: "any", - }, - }, + name: "Sequence", + element: { + type: { + name: "any", + }, + }, + }, + }, + folder: { + serializedName: "folder", + type: { + name: "Composite", + className: "DataFlowFolder", + }, + }, + }, + }, +}; + +export const DataFlowFolder: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataFlowFolder", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const DataFlowListResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataFlowListResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataFlowResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CreateDataFlowDebugSessionRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CreateDataFlowDebugSessionRequest", + modelProperties: { + computeType: { + serializedName: "computeType", + type: { + name: "String", + }, + }, + coreCount: { + serializedName: "coreCount", + type: { + name: "Number", + }, + }, + timeToLive: { + serializedName: "timeToLive", + type: { + name: "Number", + }, + }, + integrationRuntime: { + serializedName: "integrationRuntime", + type: { + name: "Composite", + className: "IntegrationRuntimeDebugResource", + }, + }, + }, + }, +}; + +export const SubResourceDebugResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SubResourceDebugResource", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CreateDataFlowDebugSessionResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CreateDataFlowDebugSessionResponse", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String", + }, + }, + sessionId: { + serializedName: "sessionId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const QueryDataFlowDebugSessionsResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "QueryDataFlowDebugSessionsResponse", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataFlowDebugSessionInfo", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const DataFlowDebugSessionInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataFlowDebugSessionInfo", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + dataFlowName: { + serializedName: "dataFlowName", + type: { + name: "String", + }, + }, + computeType: { + serializedName: "computeType", + type: { + name: "String", + }, + }, + coreCount: { + serializedName: "coreCount", + type: { + name: "Number", + }, + }, + nodeCount: { + serializedName: "nodeCount", + type: { + name: "Number", + }, + }, + integrationRuntimeName: { + serializedName: "integrationRuntimeName", + type: { + name: "String", + }, + }, + sessionId: { + serializedName: "sessionId", + type: { + name: "String", + }, + }, + startTime: { + serializedName: "startTime", + type: { + name: "String", + }, + }, + timeToLiveInMinutes: { + serializedName: "timeToLiveInMinutes", + type: { + name: "Number", + }, + }, + lastActivityTime: { + serializedName: "lastActivityTime", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const DataFlowDebugPackage: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataFlowDebugPackage", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + sessionId: { + serializedName: "sessionId", + type: { + name: "String", + }, + }, + dataFlow: { + serializedName: "dataFlow", + type: { + name: "Composite", + className: "DataFlowDebugResource", + }, + }, + dataFlows: { + serializedName: "dataFlows", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataFlowDebugResource", + }, + }, + }, + }, + datasets: { + serializedName: "datasets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatasetDebugResource", + }, + }, + }, + }, + linkedServices: { + serializedName: "linkedServices", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceDebugResource", + }, + }, + }, + }, + staging: { + serializedName: "staging", + type: { + name: "Composite", + className: "DataFlowStagingInfo", + }, + }, + debugSettings: { + serializedName: "debugSettings", + type: { + name: "Composite", + className: "DataFlowDebugPackageDebugSettings", + }, + }, + }, + }, +}; + +export const DataFlowStagingInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataFlowStagingInfo", + modelProperties: { + linkedService: { + serializedName: "linkedService", + type: { + name: "Composite", + className: "LinkedServiceReference", + }, + }, + folderPath: { + serializedName: "folderPath", + type: { + name: "any", + }, + }, + }, + }, +}; + +export const DataFlowDebugPackageDebugSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataFlowDebugPackageDebugSettings", + modelProperties: { + sourceSettings: { + serializedName: "sourceSettings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataFlowSourceSetting", + }, + }, + }, + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + datasetParameters: { + serializedName: "datasetParameters", + type: { + name: "any", + }, + }, + }, + }, +}; + +export const DataFlowSourceSetting: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataFlowSourceSetting", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + sourceName: { + serializedName: "sourceName", + type: { + name: "String", }, }, - folder: { - serializedName: "folder", + rowLimit: { + serializedName: "rowLimit", type: { - name: "Composite", - className: "DataFlowFolder", + name: "Number", }, }, }, }, }; -export const DataFlowFolder: coreClient.CompositeMapper = { +export const AddDataFlowToDebugSessionResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowFolder", + className: "AddDataFlowToDebugSessionResponse", modelProperties: { - name: { - serializedName: "name", + jobVersion: { + serializedName: "jobVersion", type: { name: "String", }, @@ -2923,26 +3000,13 @@ export const DataFlowFolder: coreClient.CompositeMapper = { }, }; -export const DataFlowListResponse: coreClient.CompositeMapper = { +export const DeleteDataFlowDebugSessionRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowListResponse", + className: "DeleteDataFlowDebugSessionRequest", modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataFlowResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", + sessionId: { + serializedName: "sessionId", type: { name: "String", }, @@ -2951,47 +3015,65 @@ export const DataFlowListResponse: coreClient.CompositeMapper = { }, }; -export const CreateDataFlowDebugSessionRequest: coreClient.CompositeMapper = { +export const DataFlowDebugCommandRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CreateDataFlowDebugSessionRequest", + className: "DataFlowDebugCommandRequest", modelProperties: { - computeType: { - serializedName: "computeType", + sessionId: { + serializedName: "sessionId", type: { name: "String", }, }, - coreCount: { - serializedName: "coreCount", - type: { - name: "Number", - }, - }, - timeToLive: { - serializedName: "timeToLive", + command: { + serializedName: "command", type: { - name: "Number", + name: "String", }, }, - integrationRuntime: { - serializedName: "integrationRuntime", + commandPayload: { + serializedName: "commandPayload", type: { name: "Composite", - className: "IntegrationRuntimeDebugResource", + className: "DataFlowDebugCommandPayload", }, }, }, }, }; -export const SubResourceDebugResource: coreClient.CompositeMapper = { +export const DataFlowDebugCommandPayload: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SubResourceDebugResource", + className: "DataFlowDebugCommandPayload", modelProperties: { - name: { - serializedName: "name", + streamName: { + serializedName: "streamName", + required: true, + type: { + name: "String", + }, + }, + rowLimits: { + serializedName: "rowLimits", + type: { + name: "Number", + }, + }, + columns: { + serializedName: "columns", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + expression: { + serializedName: "expression", type: { name: "String", }, @@ -3000,10 +3082,10 @@ export const SubResourceDebugResource: coreClient.CompositeMapper = { }, }; -export const CreateDataFlowDebugSessionResponse: coreClient.CompositeMapper = { +export const DataFlowDebugCommandResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CreateDataFlowDebugSessionResponse", + className: "DataFlowDebugCommandResponse", modelProperties: { status: { serializedName: "status", @@ -3011,8 +3093,8 @@ export const CreateDataFlowDebugSessionResponse: coreClient.CompositeMapper = { name: "String", }, }, - sessionId: { - serializedName: "sessionId", + data: { + serializedName: "data", type: { name: "String", }, @@ -3021,19 +3103,20 @@ export const CreateDataFlowDebugSessionResponse: coreClient.CompositeMapper = { }, }; -export const QueryDataFlowDebugSessionsResponse: coreClient.CompositeMapper = { +export const ManagedVirtualNetworkListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QueryDataFlowDebugSessionsResponse", + className: "ManagedVirtualNetworkListResponse", modelProperties: { value: { serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DataFlowDebugSessionInfo", + className: "ManagedVirtualNetworkResource", }, }, }, @@ -3048,62 +3131,50 @@ export const QueryDataFlowDebugSessionsResponse: coreClient.CompositeMapper = { }, }; -export const DataFlowDebugSessionInfo: coreClient.CompositeMapper = { +export const ManagedVirtualNetwork: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugSessionInfo", + className: "ManagedVirtualNetwork", additionalProperties: { type: { name: "Object" } }, modelProperties: { - dataFlowName: { - serializedName: "dataFlowName", - type: { - name: "String", - }, - }, - computeType: { - serializedName: "computeType", - type: { - name: "String", - }, - }, - coreCount: { - serializedName: "coreCount", - type: { - name: "Number", - }, - }, - nodeCount: { - serializedName: "nodeCount", - type: { - name: "Number", - }, - }, - integrationRuntimeName: { - serializedName: "integrationRuntimeName", - type: { - name: "String", - }, - }, - sessionId: { - serializedName: "sessionId", + vNetId: { + serializedName: "vNetId", + readOnly: true, type: { name: "String", }, }, - startTime: { - serializedName: "startTime", + alias: { + serializedName: "alias", + readOnly: true, type: { name: "String", }, }, - timeToLiveInMinutes: { - serializedName: "timeToLiveInMinutes", + }, + }, +}; + +export const ManagedPrivateEndpointListResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedPrivateEndpointListResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedPrivateEndpointResource", + }, + }, }, }, - lastActivityTime: { - serializedName: "lastActivityTime", + nextLink: { + serializedName: "nextLink", type: { name: "String", }, @@ -3112,179 +3183,225 @@ export const DataFlowDebugSessionInfo: coreClient.CompositeMapper = { }, }; -export const DataFlowDebugPackage: coreClient.CompositeMapper = { +export const ManagedPrivateEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugPackage", + className: "ManagedPrivateEndpoint", additionalProperties: { type: { name: "Object" } }, modelProperties: { - sessionId: { - serializedName: "sessionId", - type: { - name: "String", - }, - }, - dataFlow: { - serializedName: "dataFlow", + connectionState: { + serializedName: "connectionState", type: { name: "Composite", - className: "DataFlowDebugResource", + className: "ConnectionStateProperties", }, }, - dataFlows: { - serializedName: "dataFlows", + fqdns: { + serializedName: "fqdns", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DataFlowDebugResource", + name: "String", }, }, }, }, - datasets: { - serializedName: "datasets", + groupId: { + serializedName: "groupId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DatasetDebugResource", - }, - }, + name: "String", }, }, - linkedServices: { - serializedName: "linkedServices", + isReserved: { + serializedName: "isReserved", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedServiceDebugResource", - }, - }, + name: "Boolean", }, }, - staging: { - serializedName: "staging", + privateLinkResourceId: { + serializedName: "privateLinkResourceId", type: { - name: "Composite", - className: "DataFlowStagingInfo", + name: "String", }, }, - debugSettings: { - serializedName: "debugSettings", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "DataFlowDebugPackageDebugSettings", + name: "String", }, }, }, }, }; -export const DataFlowStagingInfo: coreClient.CompositeMapper = { +export const ConnectionStateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowStagingInfo", + className: "ConnectionStateProperties", modelProperties: { - linkedService: { - serializedName: "linkedService", + actionsRequired: { + serializedName: "actionsRequired", + readOnly: true, type: { - name: "Composite", - className: "LinkedServiceReference", + name: "String", }, }, - folderPath: { - serializedName: "folderPath", + description: { + serializedName: "description", + readOnly: true, type: { - name: "any", + name: "String", + }, + }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const DataFlowDebugPackageDebugSettings: coreClient.CompositeMapper = { +export const CredentialListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugPackageDebugSettings", + className: "CredentialListResponse", modelProperties: { - sourceSettings: { - serializedName: "sourceSettings", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DataFlowSourceSetting", + className: "CredentialResource", }, }, }, }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, - datasetParameters: { - serializedName: "datasetParameters", + nextLink: { + serializedName: "nextLink", type: { - name: "any", + name: "String", }, }, }, }, }; -export const DataFlowSourceSetting: coreClient.CompositeMapper = { +export const Credential: coreClient.CompositeMapper = { + serializedName: "Credential", type: { name: "Composite", - className: "DataFlowSourceSetting", + className: "Credential", + uberParent: "Credential", additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - sourceName: { - serializedName: "sourceName", + type: { + serializedName: "type", + required: true, type: { name: "String", }, }, - rowLimit: { - serializedName: "rowLimit", + description: { + serializedName: "description", type: { - name: "Number", + name: "String", + }, + }, + annotations: { + serializedName: "annotations", + type: { + name: "Sequence", + element: { + type: { + name: "any", + }, + }, }, }, }, }, }; -export const AddDataFlowToDebugSessionResponse: coreClient.CompositeMapper = { +export const PrivateEndpointConnectionListResponse: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnectionResource", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const RemotePrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AddDataFlowToDebugSessionResponse", + className: "RemotePrivateEndpointConnection", modelProperties: { - jobVersion: { - serializedName: "jobVersion", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, + privateEndpoint: { + serializedName: "privateEndpoint", + type: { + name: "Composite", + className: "ArmIdWrapper", + }, + }, + privateLinkServiceConnectionState: { + serializedName: "privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkConnectionState", + }, + }, }, }, }; -export const DeleteDataFlowDebugSessionRequest: coreClient.CompositeMapper = { +export const ArmIdWrapper: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeleteDataFlowDebugSessionRequest", + className: "ArmIdWrapper", modelProperties: { - sessionId: { - serializedName: "sessionId", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, @@ -3293,54 +3410,109 @@ export const DeleteDataFlowDebugSessionRequest: coreClient.CompositeMapper = { }, }; -export const DataFlowDebugCommandRequest: coreClient.CompositeMapper = { +export const PrivateLinkConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugCommandRequest", + className: "PrivateLinkConnectionState", modelProperties: { - sessionId: { - serializedName: "sessionId", + status: { + serializedName: "status", type: { name: "String", }, }, - command: { - serializedName: "command", + description: { + serializedName: "description", type: { name: "String", }, }, - commandPayload: { - serializedName: "commandPayload", + actionsRequired: { + serializedName: "actionsRequired", type: { - name: "Composite", - className: "DataFlowDebugCommandPayload", + name: "String", }, }, }, }, }; -export const DataFlowDebugCommandPayload: coreClient.CompositeMapper = { +export const PrivateLinkConnectionApprovalRequest: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PrivateLinkConnectionApprovalRequest", + modelProperties: { + privateLinkServiceConnectionState: { + serializedName: "privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkConnectionState", + }, + }, + privateEndpoint: { + serializedName: "privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint", + }, + }, + }, + }, + }; + +export const PrivateEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugCommandPayload", + className: "PrivateEndpoint", modelProperties: { - streamName: { - serializedName: "streamName", - required: true, + id: { + serializedName: "id", type: { name: "String", }, }, - rowLimits: { - serializedName: "rowLimits", + }, + }, +}; + +export const PrivateLinkResourcesWrapper: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourcesWrapper", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource", + }, + }, }, }, - columns: { - serializedName: "columns", + }, + }, +}; + +export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourceProperties", + modelProperties: { + groupId: { + serializedName: "groupId", + readOnly: true, + type: { + name: "String", + }, + }, + requiredMembers: { + serializedName: "requiredMembers", + readOnly: true, type: { name: "Sequence", element: { @@ -3350,29 +3522,42 @@ export const DataFlowDebugCommandPayload: coreClient.CompositeMapper = { }, }, }, - expression: { - serializedName: "expression", + requiredZoneNames: { + serializedName: "requiredZoneNames", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const DataFlowDebugCommandResponse: coreClient.CompositeMapper = { +export const GlobalParameterListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugCommandResponse", + className: "GlobalParameterListResponse", modelProperties: { - status: { - serializedName: "status", + value: { + serializedName: "value", + required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GlobalParameterResource", + }, + }, }, }, - data: { - serializedName: "data", + nextLink: { + serializedName: "nextLink", type: { name: "String", }, @@ -3381,10 +3566,10 @@ export const DataFlowDebugCommandResponse: coreClient.CompositeMapper = { }, }; -export const ManagedVirtualNetworkListResponse: coreClient.CompositeMapper = { +export const ChangeDataCaptureListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedVirtualNetworkListResponse", + className: "ChangeDataCaptureListResponse", modelProperties: { value: { serializedName: "value", @@ -3394,7 +3579,7 @@ export const ManagedVirtualNetworkListResponse: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ManagedVirtualNetworkResource", + className: "ChangeDataCaptureResource", }, }, }, @@ -3409,22 +3594,13 @@ export const ManagedVirtualNetworkListResponse: coreClient.CompositeMapper = { }, }; -export const ManagedVirtualNetwork: coreClient.CompositeMapper = { +export const ChangeDataCaptureFolder: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedVirtualNetwork", - additionalProperties: { type: { name: "Object" } }, + className: "ChangeDataCaptureFolder", modelProperties: { - vNetId: { - serializedName: "vNetId", - readOnly: true, - type: { - name: "String", - }, - }, - alias: { - serializedName: "alias", - readOnly: true, + name: { + serializedName: "name", type: { name: "String", }, @@ -3433,80 +3609,86 @@ export const ManagedVirtualNetwork: coreClient.CompositeMapper = { }, }; -export const ManagedPrivateEndpointListResponse: coreClient.CompositeMapper = { +export const MapperSourceConnectionsInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedPrivateEndpointListResponse", + className: "MapperSourceConnectionsInfo", modelProperties: { - value: { - serializedName: "value", - required: true, + sourceEntities: { + serializedName: "sourceEntities", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ManagedPrivateEndpointResource", + className: "MapperTable", }, }, }, }, - nextLink: { - serializedName: "nextLink", + connection: { + serializedName: "connection", type: { - name: "String", + name: "Composite", + className: "MapperConnection", }, }, }, }, }; -export const ManagedPrivateEndpoint: coreClient.CompositeMapper = { +export const MapperTable: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedPrivateEndpoint", - additionalProperties: { type: { name: "Object" } }, + className: "MapperTable", modelProperties: { - connectionState: { - serializedName: "connectionState", + name: { + serializedName: "name", type: { - name: "Composite", - className: "ConnectionStateProperties", + name: "String", }, }, - fqdns: { - serializedName: "fqdns", + schema: { + serializedName: "properties.schema", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "MapperTableSchema", }, }, }, }, - groupId: { - serializedName: "groupId", - type: { - name: "String", - }, - }, - isReserved: { - serializedName: "isReserved", - readOnly: true, + dslConnectorProperties: { + serializedName: "properties.dslConnectorProperties", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperDslConnectorProperties", + }, + }, }, }, - privateLinkResourceId: { - serializedName: "privateLinkResourceId", + }, + }, +}; + +export const MapperTableSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MapperTableSchema", + modelProperties: { + name: { + serializedName: "name", type: { name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + dataType: { + serializedName: "dataType", type: { name: "String", }, @@ -3515,76 +3697,45 @@ export const ManagedPrivateEndpoint: coreClient.CompositeMapper = { }, }; -export const ConnectionStateProperties: coreClient.CompositeMapper = { +export const MapperDslConnectorProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionStateProperties", + className: "MapperDslConnectorProperties", modelProperties: { - actionsRequired: { - serializedName: "actionsRequired", - readOnly: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - readOnly: true, + name: { + serializedName: "name", type: { name: "String", }, }, - status: { - serializedName: "status", - readOnly: true, + value: { + serializedName: "value", type: { - name: "String", + name: "any", }, }, }, }, }; -export const CredentialListResponse: coreClient.CompositeMapper = { +export const MapperConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CredentialListResponse", + className: "MapperConnection", modelProperties: { - value: { - serializedName: "value", - required: true, + linkedService: { + serializedName: "linkedService", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CredentialResource", - }, - }, + name: "Composite", + className: "LinkedServiceReference", }, }, - nextLink: { - serializedName: "nextLink", + linkedServiceType: { + serializedName: "linkedServiceType", type: { name: "String", }, }, - }, - }, -}; - -export const Credential: coreClient.CompositeMapper = { - serializedName: "Credential", - type: { - name: "Composite", - className: "Credential", - uberParent: "Credential", - additionalProperties: { type: { name: "Object" } }, - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type", - }, - modelProperties: { type: { serializedName: "type", required: true, @@ -3592,19 +3743,20 @@ export const Credential: coreClient.CompositeMapper = { name: "String", }, }, - description: { - serializedName: "description", + isInlineDataset: { + serializedName: "isInlineDataset", type: { - name: "String", + name: "Boolean", }, }, - annotations: { - serializedName: "annotations", + commonDslConnectorProperties: { + serializedName: "commonDslConnectorProperties", type: { name: "Sequence", element: { type: { - name: "any", + name: "Composite", + className: "MapperDslConnectorProperties", }, }, }, @@ -3613,139 +3765,111 @@ export const Credential: coreClient.CompositeMapper = { }, }; -export const PrivateEndpointConnectionListResponse: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PrivateEndpointConnectionListResponse", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnectionResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const RemotePrivateEndpointConnection: coreClient.CompositeMapper = { +export const MapperTargetConnectionsInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RemotePrivateEndpointConnection", + className: "MapperTargetConnectionsInfo", modelProperties: { - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + targetEntities: { + serializedName: "targetEntities", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MapperTable", + }, + }, }, }, - privateEndpoint: { - serializedName: "privateEndpoint", + connection: { + serializedName: "connection", type: { name: "Composite", - className: "ArmIdWrapper", + className: "MapperConnection", }, }, - privateLinkServiceConnectionState: { - serializedName: "privateLinkServiceConnectionState", + dataMapperMappings: { + serializedName: "dataMapperMappings", type: { - name: "Composite", - className: "PrivateLinkConnectionState", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataMapperMapping", + }, + }, }, }, - }, - }, -}; - -export const ArmIdWrapper: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ArmIdWrapper", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, + relationships: { + serializedName: "relationships", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "any", + }, + }, }, }, }, }, }; -export const PrivateLinkConnectionState: coreClient.CompositeMapper = { +export const DataMapperMapping: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkConnectionState", + className: "DataMapperMapping", modelProperties: { - status: { - serializedName: "status", + targetEntityName: { + serializedName: "targetEntityName", type: { name: "String", }, }, - description: { - serializedName: "description", + sourceEntityName: { + serializedName: "sourceEntityName", type: { name: "String", }, }, - actionsRequired: { - serializedName: "actionsRequired", + sourceConnectionReference: { + serializedName: "sourceConnectionReference", type: { - name: "String", + name: "Composite", + className: "MapperConnectionReference", }, }, - }, - }, -}; - -export const PrivateLinkConnectionApprovalRequest: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PrivateLinkConnectionApprovalRequest", - modelProperties: { - privateLinkServiceConnectionState: { - serializedName: "privateLinkServiceConnectionState", - type: { - name: "Composite", - className: "PrivateLinkConnectionState", - }, + attributeMappingInfo: { + serializedName: "attributeMappingInfo", + type: { + name: "Composite", + className: "MapperAttributeMappings", }, - privateEndpoint: { - serializedName: "privateEndpoint", - type: { - name: "Composite", - className: "PrivateEndpoint", - }, + }, + sourceDenormalizeInfo: { + serializedName: "sourceDenormalizeInfo", + type: { + name: "any", }, }, }, - }; + }, +}; -export const PrivateEndpoint: coreClient.CompositeMapper = { +export const MapperConnectionReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpoint", + className: "MapperConnectionReference", modelProperties: { - id: { - serializedName: "id", + connectionName: { + serializedName: "connectionName", + type: { + name: "String", + }, + }, + type: { + serializedName: "type", type: { name: "String", }, @@ -3754,20 +3878,19 @@ export const PrivateEndpoint: coreClient.CompositeMapper = { }, }; -export const PrivateLinkResourcesWrapper: coreClient.CompositeMapper = { +export const MapperAttributeMappings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResourcesWrapper", + className: "MapperAttributeMappings", modelProperties: { - value: { - serializedName: "value", - required: true, + attributeMappings: { + serializedName: "attributeMappings", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PrivateLinkResource", + className: "MapperAttributeMapping", }, }, }, @@ -3776,38 +3899,50 @@ export const PrivateLinkResourcesWrapper: coreClient.CompositeMapper = { }, }; -export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { +export const MapperAttributeMapping: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResourceProperties", + className: "MapperAttributeMapping", modelProperties: { - groupId: { - serializedName: "groupId", - readOnly: true, + name: { + serializedName: "name", type: { name: "String", }, }, - requiredMembers: { - serializedName: "requiredMembers", - readOnly: true, + type: { + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - requiredZoneNames: { - serializedName: "requiredZoneNames", - readOnly: true, + functionName: { + serializedName: "functionName", + type: { + name: "String", + }, + }, + expression: { + serializedName: "expression", + type: { + name: "String", + }, + }, + attributeReference: { + serializedName: "attributeReference", + type: { + name: "Composite", + className: "MapperAttributeReference", + }, + }, + attributeReferences: { + serializedName: "attributeReferences", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "MapperAttributeReference", }, }, }, @@ -3816,338 +3951,322 @@ export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { }, }; -export const GlobalParameterListResponse: coreClient.CompositeMapper = { +export const MapperAttributeReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GlobalParameterListResponse", + className: "MapperAttributeReference", modelProperties: { - value: { - serializedName: "value", - required: true, + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GlobalParameterResource", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + entity: { + serializedName: "entity", type: { name: "String", }, }, + entityConnectionReference: { + serializedName: "entityConnectionReference", + type: { + name: "Composite", + className: "MapperConnectionReference", + }, + }, }, }, }; -export const ChangeDataCaptureListResponse: coreClient.CompositeMapper = { +export const MapperPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ChangeDataCaptureListResponse", + className: "MapperPolicy", modelProperties: { - value: { - serializedName: "value", - required: true, + mode: { + serializedName: "mode", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ChangeDataCaptureResource", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + recurrence: { + serializedName: "recurrence", type: { - name: "String", + name: "Composite", + className: "MapperPolicyRecurrence", }, }, }, }, }; -export const ChangeDataCaptureFolder: coreClient.CompositeMapper = { +export const MapperPolicyRecurrence: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ChangeDataCaptureFolder", + className: "MapperPolicyRecurrence", modelProperties: { - name: { - serializedName: "name", + frequency: { + serializedName: "frequency", type: { name: "String", }, }, + interval: { + serializedName: "interval", + type: { + name: "Number", + }, + }, }, }, }; -export const MapperSourceConnectionsInfo: coreClient.CompositeMapper = { +export const Expression: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MapperSourceConnectionsInfo", + className: "Expression", modelProperties: { - sourceEntities: { - serializedName: "sourceEntities", + type: { + defaultValue: "Expression", + isConstant: true, + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MapperTable", - }, - }, + name: "String", }, }, - connection: { - serializedName: "connection", + value: { + serializedName: "value", + required: true, type: { - name: "Composite", - className: "MapperConnection", + name: "String", }, }, }, }, }; -export const MapperTable: coreClient.CompositeMapper = { +export const SecretBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MapperTable", + className: "SecretBase", + uberParent: "SecretBase", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - name: { - serializedName: "name", + type: { + serializedName: "type", + required: true, type: { name: "String", }, }, - schema: { - serializedName: "properties.schema", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MapperTableSchema", + }, + }, +}; + +export const IntegrationRuntimeStatusListResponse: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "IntegrationRuntimeStatusListResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationRuntimeStatusResponse", + }, }, }, }, - }, - dslConnectorProperties: { - serializedName: "properties.dslConnectorProperties", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MapperDslConnectorProperties", - }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, }, }, - }, -}; + }; -export const MapperTableSchema: coreClient.CompositeMapper = { +export const PipelineReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MapperTableSchema", + className: "PipelineReference", modelProperties: { - name: { - serializedName: "name", + type: { + defaultValue: "PipelineReference", + isConstant: true, + serializedName: "type", type: { name: "String", }, }, - dataType: { - serializedName: "dataType", + referenceName: { + serializedName: "referenceName", + required: true, type: { name: "String", }, }, - }, - }, -}; - -export const MapperDslConnectorProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MapperDslConnectorProperties", - modelProperties: { name: { serializedName: "name", type: { name: "String", }, }, - value: { - serializedName: "value", - type: { - name: "any", - }, - }, }, }, }; -export const MapperConnection: coreClient.CompositeMapper = { +export const TriggerPipelineReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MapperConnection", + className: "TriggerPipelineReference", modelProperties: { - linkedService: { - serializedName: "linkedService", + pipelineReference: { + serializedName: "pipelineReference", type: { name: "Composite", - className: "LinkedServiceReference", + className: "PipelineReference", }, }, - linkedServiceType: { - serializedName: "linkedServiceType", + parameters: { + serializedName: "parameters", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, + }, + }, +}; + +export const DatasetReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatasetReference", + modelProperties: { type: { + defaultValue: "DatasetReference", + isConstant: true, serializedName: "type", - required: true, type: { name: "String", }, }, - isInlineDataset: { - serializedName: "isInlineDataset", + referenceName: { + serializedName: "referenceName", + required: true, type: { - name: "Boolean", + name: "String", }, }, - commonDslConnectorProperties: { - serializedName: "commonDslConnectorProperties", + parameters: { + serializedName: "parameters", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MapperDslConnectorProperties", - }, - }, + name: "Dictionary", + value: { type: { name: "any" } }, }, }, }, }, }; -export const MapperTargetConnectionsInfo: coreClient.CompositeMapper = { +export const OperationListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MapperTargetConnectionsInfo", + className: "OperationListResponse", modelProperties: { - targetEntities: { - serializedName: "targetEntities", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MapperTable", - }, - }, - }, - }, - connection: { - serializedName: "connection", - type: { - name: "Composite", - className: "MapperConnection", - }, - }, - dataMapperMappings: { - serializedName: "dataMapperMappings", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DataMapperMapping", + className: "Operation", }, }, }, }, - relationships: { - serializedName: "relationships", + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "any", - }, - }, + name: "String", }, }, }, }, }; -export const DataMapperMapping: coreClient.CompositeMapper = { +export const Operation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataMapperMapping", + className: "Operation", modelProperties: { - targetEntityName: { - serializedName: "targetEntityName", + name: { + serializedName: "name", type: { name: "String", }, }, - sourceEntityName: { - serializedName: "sourceEntityName", + origin: { + serializedName: "origin", type: { name: "String", }, }, - sourceConnectionReference: { - serializedName: "sourceConnectionReference", + display: { + serializedName: "display", type: { name: "Composite", - className: "MapperConnectionReference", + className: "OperationDisplay", }, }, - attributeMappingInfo: { - serializedName: "attributeMappingInfo", + serviceSpecification: { + serializedName: "properties.serviceSpecification", type: { name: "Composite", - className: "MapperAttributeMappings", - }, - }, - sourceDenormalizeInfo: { - serializedName: "sourceDenormalizeInfo", - type: { - name: "any", + className: "OperationServiceSpecification", }, }, }, }, }; -export const MapperConnectionReference: coreClient.CompositeMapper = { +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MapperConnectionReference", + className: "OperationDisplay", modelProperties: { - connectionName: { - serializedName: "connectionName", + description: { + serializedName: "description", type: { name: "String", }, }, - type: { - serializedName: "type", + provider: { + serializedName: "provider", + type: { + name: "String", + }, + }, + resource: { + serializedName: "resource", + type: { + name: "String", + }, + }, + operation: { + serializedName: "operation", type: { name: "String", }, @@ -4156,71 +4275,31 @@ export const MapperConnectionReference: coreClient.CompositeMapper = { }, }; -export const MapperAttributeMappings: coreClient.CompositeMapper = { +export const OperationServiceSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MapperAttributeMappings", + className: "OperationServiceSpecification", modelProperties: { - attributeMappings: { - serializedName: "attributeMappings", + logSpecifications: { + serializedName: "logSpecifications", type: { name: "Sequence", element: { type: { name: "Composite", - className: "MapperAttributeMapping", - }, - }, - }, - }, - }, - }, -}; - -export const MapperAttributeMapping: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MapperAttributeMapping", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - type: { - name: "String", - }, - }, - functionName: { - serializedName: "functionName", - type: { - name: "String", - }, - }, - expression: { - serializedName: "expression", - type: { - name: "String", - }, - }, - attributeReference: { - serializedName: "attributeReference", - type: { - name: "Composite", - className: "MapperAttributeReference", + className: "OperationLogSpecification", + }, + }, }, }, - attributeReferences: { - serializedName: "attributeReferences", + metricSpecifications: { + serializedName: "metricSpecifications", type: { name: "Sequence", element: { type: { name: "Composite", - className: "MapperAttributeReference", + className: "OperationMetricSpecification", }, }, }, @@ -4229,10 +4308,10 @@ export const MapperAttributeMapping: coreClient.CompositeMapper = { }, }; -export const MapperAttributeReference: coreClient.CompositeMapper = { +export const OperationLogSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MapperAttributeReference", + className: "OperationLogSpecification", modelProperties: { name: { serializedName: "name", @@ -4240,218 +4319,145 @@ export const MapperAttributeReference: coreClient.CompositeMapper = { name: "String", }, }, - entity: { - serializedName: "entity", + displayName: { + serializedName: "displayName", type: { name: "String", }, }, - entityConnectionReference: { - serializedName: "entityConnectionReference", + blobDuration: { + serializedName: "blobDuration", type: { - name: "Composite", - className: "MapperConnectionReference", + name: "String", }, }, }, }, }; -export const MapperPolicy: coreClient.CompositeMapper = { +export const OperationMetricSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MapperPolicy", + className: "OperationMetricSpecification", modelProperties: { - mode: { - serializedName: "mode", + name: { + serializedName: "name", type: { name: "String", }, }, - recurrence: { - serializedName: "recurrence", + displayName: { + serializedName: "displayName", type: { - name: "Composite", - className: "MapperPolicyRecurrence", + name: "String", }, }, - }, - }, -}; - -export const MapperPolicyRecurrence: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MapperPolicyRecurrence", - modelProperties: { - frequency: { - serializedName: "frequency", + displayDescription: { + serializedName: "displayDescription", type: { name: "String", }, }, - interval: { - serializedName: "interval", + unit: { + serializedName: "unit", type: { - name: "Number", + name: "String", }, }, - }, - }, -}; - -export const Expression: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Expression", - modelProperties: { - type: { - defaultValue: "Expression", - isConstant: true, - serializedName: "type", + aggregationType: { + serializedName: "aggregationType", type: { name: "String", }, }, - value: { - serializedName: "value", - required: true, + enableRegionalMdmAccount: { + serializedName: "enableRegionalMdmAccount", type: { name: "String", }, }, - }, - }, -}; - -export const SecretBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SecretBase", - uberParent: "SecretBase", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type", - }, - modelProperties: { - type: { - serializedName: "type", - required: true, + sourceMdmAccount: { + serializedName: "sourceMdmAccount", type: { name: "String", }, }, - }, - }, -}; - -export const IntegrationRuntimeStatusListResponse: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "IntegrationRuntimeStatusListResponse", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IntegrationRuntimeStatusResponse", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const PipelineReference: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PipelineReference", - modelProperties: { - type: { - defaultValue: "PipelineReference", - isConstant: true, - serializedName: "type", + sourceMdmNamespace: { + serializedName: "sourceMdmNamespace", type: { name: "String", }, }, - referenceName: { - serializedName: "referenceName", - required: true, + availabilities: { + serializedName: "availabilities", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationMetricAvailability", + }, + }, }, }, - name: { - serializedName: "name", + dimensions: { + serializedName: "dimensions", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationMetricDimension", + }, + }, }, }, }, }, }; -export const TriggerPipelineReference: coreClient.CompositeMapper = { +export const OperationMetricAvailability: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerPipelineReference", + className: "OperationMetricAvailability", modelProperties: { - pipelineReference: { - serializedName: "pipelineReference", + timeGrain: { + serializedName: "timeGrain", type: { - name: "Composite", - className: "PipelineReference", + name: "String", }, }, - parameters: { - serializedName: "parameters", + blobDuration: { + serializedName: "blobDuration", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "String", }, }, }, }, }; -export const DatasetReference: coreClient.CompositeMapper = { +export const OperationMetricDimension: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatasetReference", + className: "OperationMetricDimension", modelProperties: { - type: { - defaultValue: "DatasetReference", - isConstant: true, - serializedName: "type", + name: { + serializedName: "name", type: { name: "String", }, }, - referenceName: { - serializedName: "referenceName", - required: true, + displayName: { + serializedName: "displayName", type: { name: "String", }, }, - parameters: { - serializedName: "parameters", + toBeExportedForShoebox: { + serializedName: "toBeExportedForShoebox", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Boolean", }, }, }, @@ -5606,6 +5612,48 @@ export const SsisVariable: coreClient.CompositeMapper = { }, }; +export const AzureStorageLinkedServiceTypeProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "AzureStorageLinkedServiceTypeProperties", + modelProperties: { + connectionString: { + serializedName: "connectionString", + type: { + name: "any", + }, + }, + accountKey: { + serializedName: "accountKey", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference", + }, + }, + sasUri: { + serializedName: "sasUri", + type: { + name: "any", + }, + }, + sasToken: { + serializedName: "sasToken", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference", + }, + }, + encryptedCredential: { + serializedName: "encryptedCredential", + type: { + name: "String", + }, + }, + }, + }, + }; + export const SqlServerBaseLinkedServiceTypeProperties: coreClient.CompositeMapper = { type: { @@ -7369,6 +7417,13 @@ export const ExecuteDataFlowActivityTypeProperties: coreClient.CompositeMapper = className: "IntegrationRuntimeReference", }, }, + continuationSettings: { + serializedName: "continuationSettings", + type: { + name: "Composite", + className: "ContinuationSettingsReference", + }, + }, compute: { serializedName: "compute", type: { @@ -7402,7 +7457,34 @@ export const ExecuteDataFlowActivityTypeProperties: coreClient.CompositeMapper = }, }, }, - }; + }; + +export const ContinuationSettingsReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContinuationSettingsReference", + modelProperties: { + continuationTtlInMinutes: { + serializedName: "continuationTtlInMinutes", + type: { + name: "any", + }, + }, + idleCondition: { + serializedName: "idleCondition", + type: { + name: "any", + }, + }, + customizedCheckpointKey: { + serializedName: "customizedCheckpointKey", + type: { + name: "any", + }, + }, + }, + }, +}; export const ExecuteDataFlowActivityTypePropertiesCompute: coreClient.CompositeMapper = { @@ -9047,6 +9129,19 @@ export const AzureTableStorageLinkedService: coreClient.CompositeMapper = { name: "String", }, }, + serviceEndpoint: { + serializedName: "typeProperties.serviceEndpoint", + type: { + name: "any", + }, + }, + credential: { + serializedName: "typeProperties.credential", + type: { + name: "Composite", + className: "CredentialReference", + }, + }, }, }, }; @@ -9417,6 +9512,13 @@ export const SqlServerLinkedService: coreClient.CompositeMapper = { className: "SqlAlwaysEncryptedProperties", }, }, + credential: { + serializedName: "typeProperties.credential", + type: { + name: "Composite", + className: "CredentialReference", + }, + }, }, }, }; @@ -10236,6 +10338,12 @@ export const DynamicsLinkedService: coreClient.CompositeMapper = { name: "any", }, }, + domain: { + serializedName: "typeProperties.domain", + type: { + name: "any", + }, + }, username: { serializedName: "typeProperties.username", type: { @@ -10333,6 +10441,12 @@ export const DynamicsCrmLinkedService: coreClient.CompositeMapper = { name: "any", }, }, + domain: { + serializedName: "typeProperties.domain", + type: { + name: "any", + }, + }, username: { serializedName: "typeProperties.username", type: { @@ -10431,6 +10545,12 @@ export const CommonDataServiceForAppsLinkedService: coreClient.CompositeMapper = name: "any", }, }, + domain: { + serializedName: "typeProperties.domain", + type: { + name: "any", + }, + }, username: { serializedName: "typeProperties.username", type: { @@ -10652,6 +10772,19 @@ export const AzureFileStorageLinkedService: coreClient.CompositeMapper = { name: "String", }, }, + serviceEndpoint: { + serializedName: "typeProperties.serviceEndpoint", + type: { + name: "any", + }, + }, + credential: { + serializedName: "typeProperties.credential", + type: { + name: "Composite", + className: "CredentialReference", + }, + }, }, }, }; @@ -11027,6 +11160,13 @@ export const PostgreSqlV2LinkedService: coreClient.CompositeMapper = { name: "any", }, }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, + type: { + name: "any", + }, + }, sslMode: { serializedName: "typeProperties.sslMode", required: true, @@ -12720,6 +12860,26 @@ export const RestServiceLinkedService: coreClient.CompositeMapper = { name: "any", }, }, + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", + type: { + name: "any", + }, + }, + servicePrincipalEmbeddedCert: { + serializedName: "typeProperties.servicePrincipalEmbeddedCert", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + servicePrincipalEmbeddedCertPassword: { + serializedName: "typeProperties.servicePrincipalEmbeddedCertPassword", + type: { + name: "Composite", + className: "SecretBase", + }, + }, }, }, }; @@ -14521,6 +14681,18 @@ export const MariaDBLinkedService: coreClient.CompositeMapper = { name: "any", }, }, + sslMode: { + serializedName: "typeProperties.sslMode", + type: { + name: "any", + }, + }, + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", + type: { + name: "any", + }, + }, password: { serializedName: "typeProperties.password", type: { @@ -15390,6 +15562,30 @@ export const VerticaLinkedService: coreClient.CompositeMapper = { name: "any", }, }, + server: { + serializedName: "typeProperties.server", + type: { + name: "any", + }, + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "any", + }, + }, + uid: { + serializedName: "typeProperties.uid", + type: { + name: "any", + }, + }, + database: { + serializedName: "typeProperties.database", + type: { + name: "any", + }, + }, pwd: { serializedName: "typeProperties.pwd", type: { @@ -15522,7 +15718,7 @@ export const HDInsightOnDemandLinkedService: coreClient.CompositeMapper = { name: "any", }, }, - version: { + versionTypePropertiesVersion: { serializedName: "typeProperties.version", required: true, type: { @@ -16622,6 +16818,12 @@ export const SnowflakeV2LinkedService: coreClient.CompositeMapper = { className: "SecretBase", }, }, + host: { + serializedName: "typeProperties.host", + type: { + name: "any", + }, + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -16670,6 +16872,26 @@ export const SharePointOnlineListLinkedService: coreClient.CompositeMapper = { className: "SecretBase", }, }, + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", + type: { + name: "any", + }, + }, + servicePrincipalEmbeddedCert: { + serializedName: "typeProperties.servicePrincipalEmbeddedCert", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + servicePrincipalEmbeddedCertPassword: { + serializedName: "typeProperties.servicePrincipalEmbeddedCertPassword", + type: { + name: "Composite", + className: "SecretBase", + }, + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -17409,6 +17631,27 @@ export const BinaryDataset: coreClient.CompositeMapper = { }, }; +export const IcebergDataset: coreClient.CompositeMapper = { + serializedName: "Iceberg", + type: { + name: "Composite", + className: "IcebergDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + location: { + serializedName: "typeProperties.location", + type: { + name: "Composite", + className: "DatasetLocation", + }, + }, + }, + }, +}; + export const AzureBlobDataset: coreClient.CompositeMapper = { serializedName: "AzureBlob", type: { @@ -19931,6 +20174,13 @@ export const ExecuteWranglingDataflowActivity: coreClient.CompositeMapper = { className: "IntegrationRuntimeReference", }, }, + continuationSettings: { + serializedName: "typeProperties.continuationSettings", + type: { + name: "Composite", + className: "ContinuationSettingsReference", + }, + }, compute: { serializedName: "typeProperties.compute", type: { @@ -21149,6 +21399,30 @@ export const LinkedIntegrationRuntimeRbacAuthorization: coreClient.CompositeMapp }, }; +export const AzureTableStorageLinkedServiceTypeProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "AzureTableStorageLinkedServiceTypeProperties", + modelProperties: { + ...AzureStorageLinkedServiceTypeProperties.type.modelProperties, + serviceEndpoint: { + serializedName: "serviceEndpoint", + type: { + name: "any", + }, + }, + credential: { + serializedName: "credential", + type: { + name: "Composite", + className: "CredentialReference", + }, + }, + }, + }, + }; + export const AzureSqlDWLinkedServiceTypeProperties: coreClient.CompositeMapper = { type: { @@ -21281,6 +21555,13 @@ export const SqlServerLinkedServiceTypeProperties: coreClient.CompositeMapper = className: "SqlAlwaysEncryptedProperties", }, }, + credential: { + serializedName: "credential", + type: { + name: "Composite", + className: "CredentialReference", + }, + }, }, }, }; @@ -23062,6 +23343,20 @@ export const JsonWriteSettings: coreClient.CompositeMapper = { }, }; +export const IcebergWriteSettings: coreClient.CompositeMapper = { + serializedName: "IcebergWriteSettings", + type: { + name: "Composite", + className: "IcebergWriteSettings", + uberParent: "FormatWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, + modelProperties: { + ...FormatWriteSettings.type.modelProperties, + }, + }, +}; + export const AvroSource: coreClient.CompositeMapper = { serializedName: "AvroSource", type: { @@ -24757,6 +25052,34 @@ export const BinarySink: coreClient.CompositeMapper = { }, }; +export const IcebergSink: coreClient.CompositeMapper = { + serializedName: "IcebergSink", + type: { + name: "Composite", + className: "IcebergSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + storeSettings: { + serializedName: "storeSettings", + type: { + name: "Composite", + className: "StoreWriteSettings", + }, + }, + formatSettings: { + serializedName: "formatSettings", + type: { + name: "Composite", + className: "IcebergWriteSettings", + }, + }, + }, + }, +}; + export const BlobSink: coreClient.CompositeMapper = { serializedName: "BlobSink", type: { @@ -25807,6 +26130,12 @@ export const SnowflakeExportCopyCommand: coreClient.CompositeMapper = { value: { type: { name: "any" } }, }, }, + storageIntegration: { + serializedName: "storageIntegration", + type: { + name: "any", + }, + }, }, }, }; @@ -25889,6 +26218,12 @@ export const SnowflakeImportCopyCommand: coreClient.CompositeMapper = { value: { type: { name: "any" } }, }, }, + storageIntegration: { + serializedName: "storageIntegration", + type: { + name: "any", + }, + }, }, }, }; @@ -27928,6 +28263,13 @@ export const ExecuteDataFlowActivity: coreClient.CompositeMapper = { className: "IntegrationRuntimeReference", }, }, + continuationSettings: { + serializedName: "typeProperties.continuationSettings", + type: { + name: "Composite", + className: "ContinuationSettingsReference", + }, + }, compute: { serializedName: "typeProperties.compute", type: { @@ -30087,6 +30429,12 @@ export const SalesforceV2Source: coreClient.CompositeMapper = { name: "any", }, }, + pageSize: { + serializedName: "pageSize", + type: { + name: "any", + }, + }, }, }, }; @@ -30108,6 +30456,12 @@ export const ServiceNowV2Source: coreClient.CompositeMapper = { className: "ExpressionV2", }, }, + pageSize: { + serializedName: "pageSize", + type: { + name: "any", + }, + }, }, }, }; @@ -30357,6 +30711,7 @@ export let discriminators = { "Dataset.Xml": XmlDataset, "Dataset.Orc": OrcDataset, "Dataset.Binary": BinaryDataset, + "Dataset.Iceberg": IcebergDataset, "Dataset.AzureBlob": AzureBlobDataset, "Dataset.AzureTable": AzureTableDataset, "Dataset.AzureSqlTable": AzureSqlTableDataset, @@ -30542,6 +30897,7 @@ export let discriminators = { "FormatWriteSettings.ParquetWriteSettings": ParquetWriteSettings, "FormatWriteSettings.DelimitedTextWriteSettings": DelimitedTextWriteSettings, "FormatWriteSettings.JsonWriteSettings": JsonWriteSettings, + "FormatWriteSettings.IcebergWriteSettings": IcebergWriteSettings, "CopySource.AvroSource": AvroSource, "CopySource.ExcelSource": ExcelSource, "CopySource.ParquetSource": ParquetSource, @@ -30596,6 +30952,7 @@ export let discriminators = { "CopySink.AvroSink": AvroSink, "CopySink.ParquetSink": ParquetSink, "CopySink.BinarySink": BinarySink, + "CopySink.IcebergSink": IcebergSink, "CopySink.BlobSink": BlobSink, "CopySink.FileSystemSink": FileSystemSink, "CopySink.DocumentDbCollectionSink": DocumentDbCollectionSink, diff --git a/sdk/datafactory/arm-datafactory/src/models/parameters.ts b/sdk/datafactory/arm-datafactory/src/models/parameters.ts index cd0233ee837d..3578545fcdae 100644 --- a/sdk/datafactory/arm-datafactory/src/models/parameters.ts +++ b/sdk/datafactory/arm-datafactory/src/models/parameters.ts @@ -45,46 +45,39 @@ import { ChangeDataCaptureResource as ChangeDataCaptureResourceMapper, } from "../models/mappers"; -export const accept: OperationParameter = { - parameterPath: "accept", +export const contentType: OperationParameter = { + parameterPath: ["options", "contentType"], mapper: { defaultValue: "application/json", isConstant: true, - serializedName: "Accept", + serializedName: "Content-Type", type: { name: "String", }, }, }; -export const $host: OperationURLParameter = { - parameterPath: "$host", - mapper: { - serializedName: "$host", - required: true, - type: { - name: "String", - }, - }, - skipEncoding: true, +export const factoryRepoUpdate: OperationParameter = { + parameterPath: "factoryRepoUpdate", + mapper: FactoryRepoUpdateMapper, }; -export const apiVersion: OperationQueryParameter = { - parameterPath: "apiVersion", +export const accept: OperationParameter = { + parameterPath: "accept", mapper: { - defaultValue: "2018-06-01", + defaultValue: "application/json", isConstant: true, - serializedName: "api-version", + serializedName: "Accept", type: { name: "String", }, }, }; -export const nextLink: OperationURLParameter = { - parameterPath: "nextLink", +export const $host: OperationURLParameter = { + parameterPath: "$host", mapper: { - serializedName: "nextLink", + serializedName: "$host", required: true, type: { name: "String", @@ -104,28 +97,23 @@ export const subscriptionId: OperationURLParameter = { }, }; -export const contentType: OperationParameter = { - parameterPath: ["options", "contentType"], +export const locationId: OperationURLParameter = { + parameterPath: "locationId", mapper: { - defaultValue: "application/json", - isConstant: true, - serializedName: "Content-Type", + serializedName: "locationId", + required: true, type: { name: "String", }, }, }; -export const factoryRepoUpdate: OperationParameter = { - parameterPath: "factoryRepoUpdate", - mapper: FactoryRepoUpdateMapper, -}; - -export const locationId: OperationURLParameter = { - parameterPath: "locationId", +export const apiVersion: OperationQueryParameter = { + parameterPath: "apiVersion", mapper: { - serializedName: "locationId", - required: true, + defaultValue: "2018-06-01", + isConstant: true, + serializedName: "api-version", type: { name: "String", }, @@ -204,6 +192,18 @@ export const policy: OperationParameter = { mapper: UserAccessPolicyMapper, }; +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", + mapper: { + serializedName: "nextLink", + required: true, + type: { + name: "String", + }, + }, + skipEncoding: true, +}; + export const exposureControlRequest: OperationParameter = { parameterPath: "exposureControlRequest", mapper: ExposureControlRequestMapper, diff --git a/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts b/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts index 9aaab402a546..da830d129aad 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts @@ -73,7 +73,7 @@ const queryByPipelineRunOperationSpec: coreClient.OperationSpec = { Parameters.factoryName, Parameters.runId, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/changeDataCapture.ts b/sdk/datafactory/arm-datafactory/src/operations/changeDataCapture.ts index 6c15f9a97761..4b0320a83ae9 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/changeDataCapture.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/changeDataCapture.ts @@ -330,8 +330,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.changeDataCaptureName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -455,10 +455,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/credentialOperations.ts b/sdk/datafactory/arm-datafactory/src/operations/credentialOperations.ts index 7f50ba5dd62d..33e3c440b634 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/credentialOperations.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/credentialOperations.ts @@ -263,8 +263,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.credentialName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -327,10 +327,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts b/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts index d2c848139842..38c3f6ce3320 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts @@ -428,7 +428,7 @@ const createOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -472,7 +472,7 @@ const addDataFlowOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -493,7 +493,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -525,7 +525,7 @@ const executeCommandOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -542,10 +542,10 @@ const queryByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts b/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts index 84672f925990..14566c5b3af3 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts @@ -242,8 +242,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.dataFlowName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -326,10 +326,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/datasets.ts b/sdk/datafactory/arm-datafactory/src/operations/datasets.ts index 5e5ab632d5b1..9d2feeeb5fad 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/datasets.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/datasets.ts @@ -263,8 +263,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.datasetName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -327,10 +327,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts b/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts index 48dfb68c8fe3..a4196d1acb5a 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts @@ -110,7 +110,7 @@ const getFeatureValueOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.locationId, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -133,7 +133,7 @@ const getFeatureValueByFactoryOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -156,7 +156,7 @@ const queryFeatureValuesByFactoryOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/factories.ts b/sdk/datafactory/arm-datafactory/src/operations/factories.ts index 00898c1efc4e..9433db6068fc 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/factories.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/factories.ts @@ -15,9 +15,6 @@ import * as Parameters from "../models/parameters"; import { DataFactoryManagementClient } from "../dataFactoryManagementClient"; import { Factory, - FactoriesListNextOptionalParams, - FactoriesListOptionalParams, - FactoriesListResponse, FactoriesListByResourceGroupNextOptionalParams, FactoriesListByResourceGroupOptionalParams, FactoriesListByResourceGroupResponse, @@ -38,7 +35,6 @@ import { UserAccessPolicy, FactoriesGetDataPlaneAccessOptionalParams, FactoriesGetDataPlaneAccessResponse, - FactoriesListNextResponse, FactoriesListByResourceGroupNextResponse, } from "../models"; @@ -55,60 +51,6 @@ export class FactoriesImpl implements Factories { this.client = client; } - /** - * Lists factories under the specified subscription. - * @param options The options parameters. - */ - public list( - options?: FactoriesListOptionalParams, - ): PagedAsyncIterableIterator { - const iter = this.listPagingAll(options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings?: PageSettings) => { - if (settings?.maxPageSize) { - throw new Error("maxPageSize is not supported by this operation."); - } - return this.listPagingPage(options, settings); - }, - }; - } - - private async *listPagingPage( - options?: FactoriesListOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: FactoriesListResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._list(options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listNext(continuationToken, options); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listPagingAll( - options?: FactoriesListOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listPagingPage(options)) { - yield* page; - } - } - /** * Lists factories. * @param resourceGroupName The resource group name. @@ -178,16 +120,6 @@ export class FactoriesImpl implements Factories { } } - /** - * Lists factories under the specified subscription. - * @param options The options parameters. - */ - private _list( - options?: FactoriesListOptionalParams, - ): Promise { - return this.client.sendOperationRequest({ options }, listOperationSpec); - } - /** * Updates a factory's repo information. * @param locationId The location identifier. @@ -330,21 +262,6 @@ export class FactoriesImpl implements Factories { ); } - /** - * ListNext - * @param nextLink The nextLink from the previous successful call to the List method. - * @param options The options parameters. - */ - private _listNext( - nextLink: string, - options?: FactoriesListNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listNextOperationSpec, - ); - } - /** * ListByResourceGroupNext * @param resourceGroupName The resource group name. @@ -365,22 +282,6 @@ export class FactoriesImpl implements Factories { // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const listOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.FactoryListResponse, - }, - default: { - bodyMapper: Mappers.CloudError, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer, -}; const configureFactoryRepoOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/configureFactoryRepo", httpMethod: "POST", @@ -399,7 +300,7 @@ const configureFactoryRepoOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.locationId, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -443,8 +344,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.factoryName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -469,7 +370,7 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -534,7 +435,7 @@ const getGitHubAccessTokenOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -557,29 +458,10 @@ const getDataPlaneAccessOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; -const listNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.FactoryListResponse, - }, - default: { - bodyMapper: Mappers.CloudError, - }, - }, - urlParameters: [ - Parameters.$host, - Parameters.nextLink, - Parameters.subscriptionId, - ], - headerParameters: [Parameters.accept], - serializer, -}; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", @@ -593,9 +475,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/globalParameters.ts b/sdk/datafactory/arm-datafactory/src/operations/globalParameters.ts index d767ef92f1e9..0b11b525fe3d 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/globalParameters.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/globalParameters.ts @@ -290,7 +290,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.factoryName, Parameters.globalParameterName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -328,10 +328,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/index.ts b/sdk/datafactory/arm-datafactory/src/operations/index.ts index f72a62d3670c..8dde67d9859f 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/index.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/index.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./operations"; export * from "./factories"; export * from "./exposureControl"; export * from "./integrationRuntimes"; diff --git a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts index 62907bb1c0d9..3f87f604e9a2 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts @@ -214,7 +214,7 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.integrationRuntimeName, Parameters.nodeName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts index 5ab9a382fa82..b00dfeb6f063 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts @@ -206,7 +206,7 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.factoryName, Parameters.integrationRuntimeName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts index 7eecdc06784e..20b70c7e06b8 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts @@ -729,8 +729,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.integrationRuntimeName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -779,7 +779,7 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.factoryName, Parameters.integrationRuntimeName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -892,7 +892,7 @@ const regenerateAuthKeyOperationSpec: coreClient.OperationSpec = { Parameters.factoryName, Parameters.integrationRuntimeName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -1052,7 +1052,7 @@ const removeLinksOperationSpec: coreClient.OperationSpec = { Parameters.factoryName, Parameters.integrationRuntimeName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -1076,7 +1076,7 @@ const createLinkedIntegrationRuntimeOperationSpec: coreClient.OperationSpec = { Parameters.factoryName, Parameters.integrationRuntimeName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -1093,10 +1093,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts b/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts index 04c735f2104e..6a32b8e6a8d5 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts @@ -269,8 +269,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.linkedServiceName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -333,10 +333,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts b/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts index 64d5d8498d5f..dbdac61854a2 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts @@ -309,8 +309,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.managedPrivateEndpointName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -374,10 +374,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, Parameters.managedVirtualNetworkName, ], headerParameters: [Parameters.accept], diff --git a/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts b/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts index bc466caf2748..88dd5915ca8d 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts @@ -249,8 +249,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.managedVirtualNetworkName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -291,10 +291,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/operations.ts b/sdk/datafactory/arm-datafactory/src/operations/operations.ts deleted file mode 100644 index 2272cdab25ed..000000000000 --- a/sdk/datafactory/arm-datafactory/src/operations/operations.ts +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; -import { setContinuationToken } from "../pagingHelper"; -import { Operations } from "../operationsInterfaces"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { DataFactoryManagementClient } from "../dataFactoryManagementClient"; -import { - Operation, - OperationsListNextOptionalParams, - OperationsListOptionalParams, - OperationsListResponse, - OperationsListNextResponse, -} from "../models"; - -/// -/** Class containing Operations operations. */ -export class OperationsImpl implements Operations { - private readonly client: DataFactoryManagementClient; - - /** - * Initialize a new instance of the class Operations class. - * @param client Reference to the service client - */ - constructor(client: DataFactoryManagementClient) { - this.client = client; - } - - /** - * Lists the available Azure Data Factory API operations. - * @param options The options parameters. - */ - public list( - options?: OperationsListOptionalParams, - ): PagedAsyncIterableIterator { - const iter = this.listPagingAll(options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings?: PageSettings) => { - if (settings?.maxPageSize) { - throw new Error("maxPageSize is not supported by this operation."); - } - return this.listPagingPage(options, settings); - }, - }; - } - - private async *listPagingPage( - options?: OperationsListOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: OperationsListResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._list(options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listNext(continuationToken, options); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listPagingAll( - options?: OperationsListOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listPagingPage(options)) { - yield* page; - } - } - - /** - * Lists the available Azure Data Factory API operations. - * @param options The options parameters. - */ - private _list( - options?: OperationsListOptionalParams, - ): Promise { - return this.client.sendOperationRequest({ options }, listOperationSpec); - } - - /** - * ListNext - * @param nextLink The nextLink from the previous successful call to the List method. - * @param options The options parameters. - */ - private _listNext( - nextLink: string, - options?: OperationsListNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listNextOperationSpec, - ); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const listOperationSpec: coreClient.OperationSpec = { - path: "/providers/Microsoft.DataFactory/operations", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.OperationListResponse, - }, - default: { - bodyMapper: Mappers.CloudError, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host], - headerParameters: [Parameters.accept], - serializer, -}; -const listNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.OperationListResponse, - }, - default: { - bodyMapper: Mappers.CloudError, - }, - }, - urlParameters: [Parameters.$host, Parameters.nextLink], - headerParameters: [Parameters.accept], - serializer, -}; diff --git a/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts b/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts index 5b73acfb84e1..ac72e0880917 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts @@ -111,7 +111,7 @@ const queryByFactoryOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts b/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts index 2bce8216ae7f..d73cb6f4681f 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts @@ -284,8 +284,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.pipelineName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -361,7 +361,7 @@ const createRunOperationSpec: coreClient.OperationSpec = { Parameters.factoryName, Parameters.pipelineName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -378,10 +378,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts b/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts index 0f4a70d6978c..0e9da3e916c5 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts @@ -193,10 +193,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts b/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts index 3c84e812f9c6..79fc49ec38ee 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts @@ -133,8 +133,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.privateEndpointConnectionName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", diff --git a/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts b/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts index 0655a7af0b89..ebd1767b7856 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts @@ -156,7 +156,7 @@ const queryByFactoryOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/triggers.ts b/sdk/datafactory/arm-datafactory/src/operations/triggers.ts index b3bf19ee295b..f7a9d71d7db1 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/triggers.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/triggers.ts @@ -676,7 +676,7 @@ const queryByFactoryOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.factoryName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; @@ -701,8 +701,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.triggerName, ], headerParameters: [ - Parameters.accept, Parameters.contentType, + Parameters.accept, Parameters.ifMatch, ], mediaType: "json", @@ -895,10 +895,10 @@ const listByFactoryNextOperationSpec: coreClient.OperationSpec = { }, urlParameters: [ Parameters.$host, - Parameters.nextLink, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts index 0d62b6b996a8..3d0e0b6b24af 100644 --- a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts @@ -9,7 +9,6 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Factory, - FactoriesListOptionalParams, FactoriesListByResourceGroupOptionalParams, FactoryRepoUpdate, FactoriesConfigureFactoryRepoOptionalParams, @@ -33,13 +32,6 @@ import { /// /** Interface representing a Factories. */ export interface Factories { - /** - * Lists factories under the specified subscription. - * @param options The options parameters. - */ - list( - options?: FactoriesListOptionalParams, - ): PagedAsyncIterableIterator; /** * Lists factories. * @param resourceGroupName The resource group name. diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts index f72a62d3670c..8dde67d9859f 100644 --- a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./operations"; export * from "./factories"; export * from "./exposureControl"; export * from "./integrationRuntimes"; diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/operations.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/operations.ts deleted file mode 100644 index 267701ac842e..000000000000 --- a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/operations.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { Operation, OperationsListOptionalParams } from "../models"; - -/// -/** Interface representing a Operations. */ -export interface Operations { - /** - * Lists the available Azure Data Factory API operations. - * @param options The options parameters. - */ - list( - options?: OperationsListOptionalParams, - ): PagedAsyncIterableIterator; -} diff --git a/sdk/datafactory/arm-datafactory/test/sampleTest.ts b/sdk/datafactory/arm-datafactory/test/sampleTest.ts new file mode 100644 index 000000000000..d64be981b694 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env, +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/datafactory/arm-datafactory/tsconfig.json b/sdk/datafactory/arm-datafactory/tsconfig.json index 6f440f5c25a9..3e6ae96443f3 100644 --- a/sdk/datafactory/arm-datafactory/tsconfig.json +++ b/sdk/datafactory/arm-datafactory/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-datafactory": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"