diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts index be96a827a17d..4c7474f36aa8 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts @@ -32,6 +32,8 @@ class DataFactoryManagementClient extends DataFactoryManagementClientContext { triggerRuns: operations.TriggerRuns; dataFlows: operations.DataFlows; dataFlowDebugSession: operations.DataFlowDebugSession; + managedVirtualNetworks: operations.ManagedVirtualNetworks; + managedPrivateEndpoints: operations.ManagedPrivateEndpoints; /** * Initializes a new instance of the DataFactoryManagementClient class. @@ -56,6 +58,8 @@ class DataFactoryManagementClient extends DataFactoryManagementClientContext { this.triggerRuns = new operations.TriggerRuns(this); this.dataFlows = new operations.DataFlows(this); this.dataFlowDebugSession = new operations.DataFlowDebugSession(this); + this.managedVirtualNetworks = new operations.ManagedVirtualNetworks(this); + this.managedPrivateEndpoints = new operations.ManagedPrivateEndpoints(this); } } diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts index b9ccb6592dde..673d3f805439 100644 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts @@ -18,6 +18,7 @@ export { AmazonS3Location, AvroDataset, AvroFormat, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts index c3dfbe1cfa58..57de984c1faa 100644 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -58,6 +59,7 @@ export { AzureFileStorageLinkedService, AzureFileStorageLocation, AzureFileStorageReadSettings, + AzureFileStorageWriteSettings, AzureFunctionActivity, AzureFunctionLinkedService, AzureKeyVaultLinkedService, @@ -120,6 +122,7 @@ export { ConcurLinkedService, ConcurObjectDataset, ConcurSource, + ConnectionStateProperties, ControlActivity, CopyActivity, CopySink, @@ -305,6 +308,10 @@ export { MagentoObjectDataset, MagentoSource, ManagedIntegrationRuntime, + ManagedPrivateEndpoint, + ManagedPrivateEndpointResource, + ManagedVirtualNetwork, + ManagedVirtualNetworkResource, MappingDataFlow, MariaDBLinkedService, MariaDBSource, @@ -391,6 +398,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts index dd56da18e57b..d78994348cf9 100644 --- a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -58,6 +59,7 @@ export { AzureFileStorageLinkedService, AzureFileStorageLocation, AzureFileStorageReadSettings, + AzureFileStorageWriteSettings, AzureFunctionActivity, AzureFunctionLinkedService, AzureKeyVaultLinkedService, @@ -120,6 +122,7 @@ export { ConcurLinkedService, ConcurObjectDataset, ConcurSource, + ConnectionStateProperties, ControlActivity, CopyActivity, CopySink, @@ -305,6 +308,10 @@ export { MagentoObjectDataset, MagentoSource, ManagedIntegrationRuntime, + ManagedPrivateEndpoint, + ManagedPrivateEndpointResource, + ManagedVirtualNetwork, + ManagedVirtualNetworkResource, MappingDataFlow, MariaDBLinkedService, MariaDBSource, @@ -391,6 +398,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts b/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts index 5e2832a3c3d9..a7d062d353fd 100644 --- a/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts @@ -9,6 +9,8 @@ export { discriminators, CloudError, + ExposureControlBatchRequest, + ExposureControlBatchResponse, ExposureControlRequest, ExposureControlResponse } from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts index 2b005e64716a..99c64fed1bcd 100644 --- a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts @@ -29,6 +29,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -59,6 +60,7 @@ export { AzureFileStorageLinkedService, AzureFileStorageLocation, AzureFileStorageReadSettings, + AzureFileStorageWriteSettings, AzureFunctionActivity, AzureFunctionLinkedService, AzureKeyVaultLinkedService, @@ -121,6 +123,7 @@ export { ConcurLinkedService, ConcurObjectDataset, ConcurSource, + ConnectionStateProperties, ControlActivity, CopyActivity, CopySink, @@ -310,6 +313,10 @@ export { MagentoObjectDataset, MagentoSource, ManagedIntegrationRuntime, + ManagedPrivateEndpoint, + ManagedPrivateEndpointResource, + ManagedVirtualNetwork, + ManagedVirtualNetworkResource, MappingDataFlow, MariaDBLinkedService, MariaDBSource, @@ -396,6 +403,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 6da41a2fbc6a..79c094a87a59 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -1583,6 +1583,16 @@ export interface ExposureControlRequest { featureType?: string; } +/** + * A list of exposure control features. + */ +export interface ExposureControlBatchRequest { + /** + * List of exposure control features. + */ + exposureControlRequests: ExposureControlRequest[]; +} + /** * The exposure control response. */ @@ -1599,6 +1609,16 @@ export interface ExposureControlResponse { readonly value?: string; } +/** + * A list of exposure control feature values. + */ +export interface ExposureControlBatchResponse { + /** + * List of exposure control feature values. + */ + exposureControlResponses: ExposureControlResponse[]; +} + /** * The folder that this data flow is in. If not specified, Data flow will appear at the root level. */ @@ -1712,9 +1732,9 @@ export interface DataFlowStagingInfo { */ linkedService?: LinkedServiceReference; /** - * Folder path for staging blob. + * Folder path for staging blob. Type: string (or Expression with resultType string) */ - folderPath?: string; + folderPath?: any; } /** @@ -1932,6 +1952,103 @@ export interface DataFlowReference { [property: string]: any; } +/** + * The connection state of a managed private endpoint + */ +export interface ConnectionStateProperties { + /** + * The actions required on the managed private endpoint + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly actionsRequired?: string; + /** + * The managed private endpoint description + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; + /** + * The approval status + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; +} + +/** + * Properties of a managed private endpoint + */ +export interface ManagedPrivateEndpoint { + /** + * The managed private endpoint connection state + */ + connectionState?: ConnectionStateProperties; + /** + * Fully qualified domain names + */ + fqdns?: string[]; + /** + * The groupId to which the managed private endpoint is created + */ + groupId?: string; + /** + * Denotes whether the managed private endpoint is reserved + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isReserved?: boolean; + /** + * The ARM resource ID of the resource to which the managed private endpoint is created + */ + privateLinkResourceId?: string; + /** + * The managed private endpoint provisioning state + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [property: string]: any; +} + +/** + * Managed private endpoint resource type. + */ +export interface ManagedPrivateEndpointResource extends SubResource { + /** + * Managed private endpoint properties. + */ + properties: ManagedPrivateEndpoint; +} + +/** + * A managed Virtual Network associated with the Azure Data Factory + */ +export interface ManagedVirtualNetwork { + /** + * Managed Virtual Network ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vNetId?: string; + /** + * Managed Virtual Network alias. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly alias?: string; + /** + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [property: string]: any; +} + +/** + * Managed Virtual Network resource type. + */ +export interface ManagedVirtualNetworkResource extends SubResource { + /** + * Managed Virtual Network properties. + */ + properties: ManagedVirtualNetwork; +} + /** * A data flow transformation. */ @@ -1962,6 +2079,10 @@ export interface DataFlowSink extends Transformation { * Schema linked service reference. */ schemaLinkedService?: LinkedServiceReference; + /** + * Staging info for execute data flow activity. + */ + staging?: DataFlowStagingInfo; } /** @@ -1980,6 +2101,10 @@ export interface DataFlowSource extends Transformation { * Schema linked service reference. */ schemaLinkedService?: LinkedServiceReference; + /** + * Staging info for execute data flow activity. + */ + staging?: DataFlowStagingInfo; } /** @@ -2642,6 +2767,11 @@ export interface AzureDatabricksLinkedService { * configurations. */ newClusterCustomTags?: { [propertyName: string]: any }; + /** + * Specify a location to deliver Spark driver, worker, and event logs. Type: string (or + * Expression with resultType string). + */ + newClusterLogDestination?: any; /** * The driver node type for the new job cluster. This property is ignored in instance pool * configurations. Type: string (or Expression with resultType string). @@ -2952,11 +3082,16 @@ export interface SalesforceMarketingCloudLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any + * other properties in the linked service. Type: object. + */ + connectionProperties?: any; /** * The client ID associated with the Salesforce Marketing Cloud application. Type: string (or * Expression with resultType string). */ - clientId: any; + clientId?: any; /** * The client secret associated with the Salesforce Marketing Cloud application. Type: string (or * Expression with resultType string). @@ -3087,10 +3222,15 @@ export interface ZohoLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to Zoho. It is mutually exclusive with any other properties in the + * linked service. Type: object. + */ + connectionProperties?: any; /** * The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private) */ - endpoint: any; + endpoint?: any; /** * The access token for Zoho authentication. */ @@ -3141,10 +3281,15 @@ export interface XeroLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to Xero. It is mutually exclusive with any other properties in the + * linked service. Type: object. + */ + connectionProperties?: any; /** * The endpoint of the Xero server. (i.e. api.xero.com) */ - host: any; + host?: any; /** * The consumer key associated with the Xero application. */ @@ -3201,14 +3346,19 @@ export interface SquareLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to Square. It is mutually exclusive with any other properties in + * the linked service. Type: object. + */ + connectionProperties?: any; /** * The URL of the Square instance. (i.e. mystore.mysquare.com) */ - host: any; + host?: any; /** * The client ID associated with your Square application. */ - clientId: any; + clientId?: any; /** * The client secret associated with your Square application. */ @@ -3216,7 +3366,7 @@ export interface SquareLinkedService { /** * The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) */ - redirectUri: any; + redirectUri?: any; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is * true. @@ -3480,30 +3630,35 @@ export interface QuickBooksLinkedService { * List of tags that can be used for describing the linked service. */ annotations?: any[]; + /** + * Properties used to connect to QuickBooks. It is mutually exclusive with any other properties + * in the linked service. Type: object. + */ + connectionProperties?: any; /** * The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) */ - endpoint: any; + endpoint?: any; /** * The company ID of the QuickBooks company to authorize. */ - companyId: any; + companyId?: any; /** * The consumer key for OAuth 1.0 authentication. */ - consumerKey: any; + consumerKey?: any; /** * The consumer secret for OAuth 1.0 authentication. */ - consumerSecret: SecretBaseUnion; + consumerSecret?: SecretBaseUnion; /** * The access token for OAuth 1.0 authentication. */ - accessToken: SecretBaseUnion; + accessToken?: SecretBaseUnion; /** * The access token secret for OAuth 1.0 authentication. */ - accessTokenSecret: SecretBaseUnion; + accessTokenSecret?: SecretBaseUnion; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is * true. @@ -5305,6 +5460,12 @@ export interface RestServiceLinkedService { * type under which your application resides. */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The resource you are requesting authorization to use. */ @@ -5344,23 +5505,28 @@ export interface SapOpenHubLinkedService { * Host name of the SAP BW instance where the open hub destination is located. Type: string (or * Expression with resultType string). */ - server: any; + server?: any; /** * System number of the BW system where the open hub destination is located. (Usually a two-digit * decimal number represented as a string.) Type: string (or Expression with resultType string). */ - systemNumber: any; + systemNumber?: any; /** * Client ID of the client on the BW system where the open hub destination is located. (Usually a * three-digit decimal number represented as a string) Type: string (or Expression with * resultType string). */ - clientId: any; + clientId?: any; /** * Language of the BW system where the open hub destination is located. The default value is EN. * Type: string (or Expression with resultType string). */ language?: any; + /** + * SystemID of the SAP system where the table is located. Type: string (or Expression with + * resultType string). + */ + systemId?: any; /** * Username to access the SAP BW server where the open hub destination is located. Type: string * (or Expression with resultType string). @@ -5370,6 +5536,19 @@ export interface SapOpenHubLinkedService { * Password to access the SAP BW server where the open hub destination is located. */ password?: SecretBaseUnion; + /** + * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). + */ + messageServer?: any; + /** + * The service name or port number of the Message Server. Type: string (or Expression with + * resultType string). + */ + messageServerService?: any; + /** + * The Logon Group for the SAP System. Type: string (or Expression with resultType string). + */ + logonGroup?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5682,6 +5861,12 @@ export interface AzureBlobFSLinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5731,6 +5916,12 @@ export interface AzureDataLakeStoreLinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * Data Lake Store account name. Type: string (or Expression with resultType string). */ @@ -6115,6 +6306,12 @@ export interface ODataLinkedService { * string (or Expression with resultType string). */ servicePrincipalId?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * Specify the resource you are requesting authorization to use Directory. Type: string (or * Expression with resultType string). @@ -6918,6 +7115,10 @@ export interface AzureFileStorageLinkedService { * Expression with resultType string). */ fileShare?: any; + /** + * The azure file share snapshot version. Type: string (or Expression with resultType string). + */ + snapshot?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7483,6 +7684,12 @@ export interface AzureSqlMILinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7536,6 +7743,12 @@ export interface AzureSqlDatabaseLinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7634,6 +7847,12 @@ export interface AzureSqlDWLinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7751,6 +7970,12 @@ export interface AzureBlobStorageLinkedService { * Expression with resultType string). */ tenant?: any; + /** + * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, + * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud + * type. Type: string (or Expression with resultType string). + */ + azureCloudType?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -13954,6 +14179,16 @@ export interface XmlReadSettings { * 'xsd', or 'dtd'. Type: string (or Expression with resultType string). */ validationMode?: any; + /** + * Indicates whether type detection is enabled when reading the xml files. Type: boolean (or + * Expression with resultType boolean). + */ + detectDataType?: any; + /** + * Indicates whether namespace is enabled when reading the xml files. Type: boolean (or + * Expression with resultType boolean). + */ + namespaces?: any; /** * Namespace uri to prefix mappings to override the prefixes in column names when namespace is * enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name @@ -14093,6 +14328,11 @@ export interface HdfsReadSettings { * Specifies Distcp-related settings. */ distcpSettings?: DistcpSettings; + /** + * Indicates whether the source files need to be deleted after copy completion. Default is false. + * Type: boolean (or Expression with resultType boolean). + */ + deleteFilesAfterCompletion?: any; } /** @@ -15834,6 +16074,11 @@ export interface CosmosDbSqlApiSource { * Preferred regions. Type: array of strings (or Expression with resultType array of strings). */ preferredRegions?: any; + /** + * Whether detect primitive values as datetime values. Type: boolean (or Expression with + * resultType boolean). + */ + detectDatetime?: any; /** * Specifies the additional columns to be added to source data. Type: array of objects (or * Expression with resultType array of objects). @@ -17937,6 +18182,11 @@ export interface SapTableSource { * string (or Expression with resultType string). */ customRfcReadTableFunctionModule?: any; + /** + * The single character that will be used as delimiter passed to SAP RFC as well as splitting the + * output data retrieved. Type: string (or Expression with resultType string). + */ + sapDataColumnDelimiter?: any; /** * The partition mechanism that will be used for SAP table read in parallel. Possible values * include: 'None', 'PartitionOnInt', 'PartitionOnCalendarYear', 'PartitionOnCalendarMonth', @@ -17992,6 +18242,16 @@ export interface SapOpenHubSource { * with resultType integer ). */ baseRequestId?: any; + /** + * Specifies the custom RFC function module that will be used to read data from SAP Table. Type: + * string (or Expression with resultType string). + */ + customRfcReadTableFunctionModule?: any; + /** + * The single character that will be used as delimiter passed to SAP RFC as well as splitting the + * output data retrieved. Type: string (or Expression with resultType string). + */ + sapDataColumnDelimiter?: any; } /** @@ -19706,7 +19966,7 @@ export interface StagingSettings { /** * Contains the possible cases for CopySink. */ -export type CopySinkUnion = CopySink | CosmosDbMongoDbApiSink | SalesforceServiceCloudSink | SalesforceSink | AzureDataExplorerSink | CommonDataServiceForAppsSink | DynamicsCrmSink | DynamicsSink | MicrosoftAccessSink | InformixSink | OdbcSink | AzureSearchIndexSink | AzureBlobFSSink | AzureDataLakeStoreSink | OracleSink | SnowflakeSink | SqlDWSink | SqlMISink | AzureSqlSink | SqlServerSink | SqlSink | CosmosDbSqlApiSink | DocumentDbCollectionSink | FileSystemSink | BlobSink | BinarySink | ParquetSink | AvroSink | AzureTableSink | AzureQueueSink | SapCloudForCustomerSink | AzureMySqlSink | AzurePostgreSqlSink | OrcSink | JsonSink | DelimitedTextSink; +export type CopySinkUnion = CopySink | CosmosDbMongoDbApiSink | SalesforceServiceCloudSink | SalesforceSink | AzureDataExplorerSink | CommonDataServiceForAppsSink | DynamicsCrmSink | DynamicsSink | MicrosoftAccessSink | InformixSink | OdbcSink | AzureSearchIndexSink | AzureBlobFSSink | AzureDataLakeStoreSink | OracleSink | SnowflakeSink | SqlDWSink | SqlMISink | AzureSqlSink | SqlServerSink | SqlSink | CosmosDbSqlApiSink | DocumentDbCollectionSink | FileSystemSink | BlobSink | BinarySink | ParquetSink | AvroSink | AzureTableSink | AzureQueueSink | SapCloudForCustomerSink | AzureMySqlSink | AzurePostgreSqlSink | RestSink | OrcSink | JsonSink | DelimitedTextSink; /** * A copy activity sink. @@ -20941,7 +21201,7 @@ export interface BlobSink { /** * Contains the possible cases for StoreWriteSettings. */ -export type StoreWriteSettingsUnion = StoreWriteSettings | FileServerWriteSettings | AzureDataLakeStoreWriteSettings | AzureBlobFSWriteSettings | AzureBlobStorageWriteSettings | SftpWriteSettings; +export type StoreWriteSettingsUnion = StoreWriteSettings | AzureFileStorageWriteSettings | FileServerWriteSettings | AzureDataLakeStoreWriteSettings | AzureBlobFSWriteSettings | AzureBlobStorageWriteSettings | SftpWriteSettings; /** * Connector write settings. @@ -20966,6 +21226,25 @@ export interface StoreWriteSettings { [property: string]: any; } +/** + * Azure File Storage write settings. + */ +export interface AzureFileStorageWriteSettings { + /** + * Polymorphic Discriminator + */ + type: "AzureFileStorageWriteSettings"; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or + * Expression with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * The type of copy behavior for copy sink. + */ + copyBehavior?: any; +} + /** * File server write settings. */ @@ -21477,6 +21756,69 @@ export interface AzurePostgreSqlSink { preCopyScript?: any; } +/** + * A copy activity Rest service Sink. + */ +export interface RestSink { + /** + * Polymorphic Discriminator + */ + type: "RestSink"; + /** + * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * Write batch timeout. Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + writeBatchTimeout?: any; + /** + * Sink retry count. Type: integer (or Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * Sink retry wait. Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + sinkRetryWait?: any; + /** + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression + * with resultType integer). + */ + maxConcurrentConnections?: any; + /** + * The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression + * with resultType string). + */ + requestMethod?: any; + /** + * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression + * with resultType string). + */ + additionalHeaders?: any; + /** + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the + * timeout to read response data. Default value: 00:01:40. Type: string (or Expression with + * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + httpRequestTimeout?: any; + /** + * The time to await before sending next request, in milliseconds + */ + requestInterval?: any; + /** + * Compression Type to Send data in compressed format with Optimal Compression Level, Default is + * None. And The Only Supported option is Gzip. + */ + compressionType?: any; + /** + * Wraps Request Array Json into an Object before calling the rest endpoint , Default is false. + * ex: if true request content sample format is { rows:[]} else the format is [] + */ + wrapRequestJsonInAnObject?: any; +} + /** * A copy activity ORC sink. */ @@ -21781,8 +22123,8 @@ export interface WebHookActivity { */ authentication?: WebActivityAuthentication; /** - * When set to true, statusCode, output and error in callback request body will be consumed by - * activity. The activity can be marked as failed by setting statusCode >= 400 in callback + * When set to true, statusCode, output and error in callback request body will be consumed by + * activity. The activity can be marked as failed by setting statusCode >= 400 in callback * request. Default is false. Type: boolean (or Expression with resultType boolean). */ reportStatusOnCallBack?: any; @@ -22661,7 +23003,7 @@ export interface PackageStore { /** * Contains the possible cases for CustomSetupBase. */ -export type CustomSetupBaseUnion = CustomSetupBase | ComponentSetup | EnvironmentVariableSetup | CmdkeySetup; +export type CustomSetupBaseUnion = CustomSetupBase | AzPowerShellSetup | ComponentSetup | EnvironmentVariableSetup | CmdkeySetup; /** * The base definition of the custom setup. @@ -22673,6 +23015,20 @@ export interface CustomSetupBase { type: "CustomSetupBase"; } +/** + * The express custom setup of installing Azure PowerShell. + */ +export interface AzPowerShellSetup { + /** + * Polymorphic Discriminator + */ + type: "AzPowerShellSetup"; + /** + * The required version of Azure PowerShell to install. + */ + version: string; +} + /** * The custom setup of installing 3rd party components. */ @@ -23568,6 +23924,50 @@ export interface DataFlowsGetOptionalParams extends msRest.RequestOptionsBase { ifNoneMatch?: string; } +/** + * Optional Parameters. + */ +export interface ManagedVirtualNetworksCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the managed Virtual Network entity. Should only be specified for update, for which it + * should match existing entity or can be * for unconditional update. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedVirtualNetworksGetOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the managed Virtual Network entity. Should only be specified for get. If the ETag + * matches the existing entity tag, or if * was provided, then no content will be returned. + */ + ifNoneMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedPrivateEndpointsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the managed private endpoint entity. Should only be specified for update, for which it + * should match existing entity or can be * for unconditional update. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagedPrivateEndpointsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the managed private endpoint entity. Should only be specified for get. If the ETag + * matches the existing entity tag, or if * was provided, then no content will be returned. + */ + ifNoneMatch?: string; +} + /** * An interface representing DataFactoryManagementClientOptions. */ @@ -23703,6 +24103,30 @@ export interface QueryDataFlowDebugSessionsResponse extends Array + */ +export interface ManagedVirtualNetworkListResponse extends Array { + /** + * The link to the next page of results, if any remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * A list of managed private endpoint resources. + * @extends Array + */ +export interface ManagedPrivateEndpointListResponse extends Array { + /** + * The link to the next page of results, if any remaining results exist. + */ + nextLink?: string; +} + /** * Defines values for GlobalParameterType. * Possible values include: 'Object', 'String', 'Int', 'Float', 'Bool', 'Array' @@ -24620,6 +25044,26 @@ export type ExposureControlGetFeatureValueByFactoryResponse = ExposureControlRes }; }; +/** + * Contains response data for the queryFeatureValuesByFactory operation. + */ +export type ExposureControlQueryFeatureValuesByFactoryResponse = ExposureControlBatchResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExposureControlBatchResponse; + }; +}; + /** * Contains response data for the listByFactory operation. */ @@ -25729,3 +26173,163 @@ export type DataFlowDebugSessionQueryByFactoryNextResponse = QueryDataFlowDebugS parsedBody: QueryDataFlowDebugSessionsResponse; }; }; + +/** + * Contains response data for the listByFactory operation. + */ +export type ManagedVirtualNetworksListByFactoryResponse = ManagedVirtualNetworkListResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedVirtualNetworkListResponse; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ManagedVirtualNetworksCreateOrUpdateResponse = ManagedVirtualNetworkResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedVirtualNetworkResource; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ManagedVirtualNetworksGetResponse = ManagedVirtualNetworkResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedVirtualNetworkResource; + }; +}; + +/** + * Contains response data for the listByFactoryNext operation. + */ +export type ManagedVirtualNetworksListByFactoryNextResponse = ManagedVirtualNetworkListResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedVirtualNetworkListResponse; + }; +}; + +/** + * Contains response data for the listByFactory operation. + */ +export type ManagedPrivateEndpointsListByFactoryResponse = ManagedPrivateEndpointListResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedPrivateEndpointListResponse; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ManagedPrivateEndpointsCreateOrUpdateResponse = ManagedPrivateEndpointResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedPrivateEndpointResource; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ManagedPrivateEndpointsGetResponse = ManagedPrivateEndpointResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedPrivateEndpointResource; + }; +}; + +/** + * Contains response data for the listByFactoryNext operation. + */ +export type ManagedPrivateEndpointsListByFactoryNextResponse = ManagedPrivateEndpointListResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedPrivateEndpointListResponse; + }; +}; diff --git a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts index 4a71bed7230b..4ff1a6cb9f82 100644 --- a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -58,6 +59,7 @@ export { AzureFileStorageLinkedService, AzureFileStorageLocation, AzureFileStorageReadSettings, + AzureFileStorageWriteSettings, AzureFunctionActivity, AzureFunctionLinkedService, AzureKeyVaultLinkedService, @@ -120,6 +122,7 @@ export { ConcurLinkedService, ConcurObjectDataset, ConcurSource, + ConnectionStateProperties, ControlActivity, CopyActivity, CopySink, @@ -319,6 +322,10 @@ export { ManagedIntegrationRuntimeNode, ManagedIntegrationRuntimeOperationResult, ManagedIntegrationRuntimeStatus, + ManagedPrivateEndpoint, + ManagedPrivateEndpointResource, + ManagedVirtualNetwork, + ManagedVirtualNetworkResource, MappingDataFlow, MariaDBLinkedService, MariaDBSource, @@ -405,6 +412,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts index 9faa4f0c6bb8..c9d9f0552315 100644 --- a/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -58,6 +59,7 @@ export { AzureFileStorageLinkedService, AzureFileStorageLocation, AzureFileStorageReadSettings, + AzureFileStorageWriteSettings, AzureFunctionActivity, AzureFunctionLinkedService, AzureKeyVaultLinkedService, @@ -120,6 +122,7 @@ export { ConcurLinkedService, ConcurObjectDataset, ConcurSource, + ConnectionStateProperties, ControlActivity, CopyActivity, CopySink, @@ -305,6 +308,10 @@ export { MagentoObjectDataset, MagentoSource, ManagedIntegrationRuntime, + ManagedPrivateEndpoint, + ManagedPrivateEndpointResource, + ManagedVirtualNetwork, + ManagedVirtualNetworkResource, MappingDataFlow, MariaDBLinkedService, MariaDBSource, @@ -391,6 +398,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/managedPrivateEndpointsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/managedPrivateEndpointsMappers.ts new file mode 100644 index 000000000000..3a2322740936 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/models/managedPrivateEndpointsMappers.ts @@ -0,0 +1,541 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Activity, + ActivityDependency, + ActivityPolicy, + AdditionalColumns, + AmazonMWSLinkedService, + AmazonMWSObjectDataset, + AmazonMWSSource, + AmazonRedshiftLinkedService, + AmazonRedshiftSource, + AmazonRedshiftTableDataset, + AmazonS3Dataset, + AmazonS3LinkedService, + AmazonS3Location, + AmazonS3ReadSettings, + AppendVariableActivity, + AvroDataset, + AvroFormat, + AvroSink, + AvroSource, + AvroWriteSettings, + AzPowerShellSetup, + AzureBatchLinkedService, + AzureBlobDataset, + AzureBlobFSDataset, + AzureBlobFSLinkedService, + AzureBlobFSLocation, + AzureBlobFSReadSettings, + AzureBlobFSSink, + AzureBlobFSSource, + AzureBlobFSWriteSettings, + AzureBlobStorageLinkedService, + AzureBlobStorageLocation, + AzureBlobStorageReadSettings, + AzureBlobStorageWriteSettings, + AzureDatabricksLinkedService, + AzureDataExplorerCommandActivity, + AzureDataExplorerLinkedService, + AzureDataExplorerSink, + AzureDataExplorerSource, + AzureDataExplorerTableDataset, + AzureDataLakeAnalyticsLinkedService, + AzureDataLakeStoreDataset, + AzureDataLakeStoreLinkedService, + AzureDataLakeStoreLocation, + AzureDataLakeStoreReadSettings, + AzureDataLakeStoreSink, + AzureDataLakeStoreSource, + AzureDataLakeStoreWriteSettings, + AzureFileStorageLinkedService, + AzureFileStorageLocation, + AzureFileStorageReadSettings, + AzureFileStorageWriteSettings, + AzureFunctionActivity, + AzureFunctionLinkedService, + AzureKeyVaultLinkedService, + AzureKeyVaultSecretReference, + AzureMariaDBLinkedService, + AzureMariaDBSource, + AzureMariaDBTableDataset, + AzureMLBatchExecutionActivity, + AzureMLExecutePipelineActivity, + AzureMLLinkedService, + AzureMLServiceLinkedService, + AzureMLUpdateResourceActivity, + AzureMLWebServiceFile, + AzureMySqlLinkedService, + AzureMySqlSink, + AzureMySqlSource, + AzureMySqlTableDataset, + AzurePostgreSqlLinkedService, + AzurePostgreSqlSink, + AzurePostgreSqlSource, + AzurePostgreSqlTableDataset, + AzureQueueSink, + AzureSearchIndexDataset, + AzureSearchIndexSink, + AzureSearchLinkedService, + AzureSqlDatabaseLinkedService, + AzureSqlDWLinkedService, + AzureSqlDWTableDataset, + AzureSqlMILinkedService, + AzureSqlMITableDataset, + AzureSqlSink, + AzureSqlSource, + AzureSqlTableDataset, + AzureStorageLinkedService, + AzureTableDataset, + AzureTableSink, + AzureTableSource, + AzureTableStorageLinkedService, + BaseResource, + BinaryDataset, + BinaryReadSettings, + BinarySink, + BinarySource, + BlobEventsTrigger, + BlobSink, + BlobSource, + BlobTrigger, + CassandraLinkedService, + CassandraSource, + CassandraTableDataset, + ChainingTrigger, + CloudError, + CmdkeySetup, + CommonDataServiceForAppsEntityDataset, + CommonDataServiceForAppsLinkedService, + CommonDataServiceForAppsSink, + CommonDataServiceForAppsSource, + ComponentSetup, + CompressionReadSettings, + ConcurLinkedService, + ConcurObjectDataset, + ConcurSource, + ConnectionStateProperties, + ControlActivity, + CopyActivity, + CopySink, + CopySource, + CosmosDbLinkedService, + CosmosDbMongoDbApiCollectionDataset, + CosmosDbMongoDbApiLinkedService, + CosmosDbMongoDbApiSink, + CosmosDbMongoDbApiSource, + CosmosDbSqlApiCollectionDataset, + CosmosDbSqlApiSink, + CosmosDbSqlApiSource, + CouchbaseLinkedService, + CouchbaseSource, + CouchbaseTableDataset, + CustomActivity, + CustomActivityReferenceObject, + CustomDataset, + CustomDataSourceLinkedService, + CustomSetupBase, + DatabricksNotebookActivity, + DatabricksSparkJarActivity, + DatabricksSparkPythonActivity, + DataFlow, + DataFlowFolder, + DataFlowReference, + DataFlowResource, + DataFlowSink, + DataFlowSource, + DataFlowStagingInfo, + DataLakeAnalyticsUSQLActivity, + Dataset, + DatasetBZip2Compression, + DatasetCompression, + DatasetDeflateCompression, + DatasetFolder, + DatasetGZipCompression, + DatasetLocation, + DatasetReference, + DatasetResource, + DatasetStorageFormat, + DatasetZipDeflateCompression, + Db2LinkedService, + Db2Source, + Db2TableDataset, + DeleteActivity, + DelimitedTextDataset, + DelimitedTextReadSettings, + DelimitedTextSink, + DelimitedTextSource, + DelimitedTextWriteSettings, + DependencyReference, + DistcpSettings, + DocumentDbCollectionDataset, + DocumentDbCollectionSink, + DocumentDbCollectionSource, + DrillLinkedService, + DrillSource, + DrillTableDataset, + DWCopyCommandDefaultValue, + DWCopyCommandSettings, + DynamicsAXLinkedService, + DynamicsAXResourceDataset, + DynamicsAXSource, + DynamicsCrmEntityDataset, + DynamicsCrmLinkedService, + DynamicsCrmSink, + DynamicsCrmSource, + DynamicsEntityDataset, + DynamicsLinkedService, + DynamicsSink, + DynamicsSource, + EloquaLinkedService, + EloquaObjectDataset, + EloquaSource, + EntityReference, + EnvironmentVariableSetup, + ExcelDataset, + ExcelSource, + ExecuteDataFlowActivity, + ExecuteDataFlowActivityTypePropertiesCompute, + ExecutePipelineActivity, + ExecuteSSISPackageActivity, + ExecutionActivity, + ExportSettings, + Expression, + Factory, + FactoryGitHubConfiguration, + FactoryIdentity, + FactoryRepoConfiguration, + FactoryVSTSConfiguration, + FileServerLinkedService, + FileServerLocation, + FileServerReadSettings, + FileServerWriteSettings, + FileShareDataset, + FileSystemSink, + FileSystemSource, + FilterActivity, + ForEachActivity, + FormatReadSettings, + FormatWriteSettings, + FtpReadSettings, + FtpServerLinkedService, + FtpServerLocation, + GetMetadataActivity, + GlobalParameterSpecification, + GoogleAdWordsLinkedService, + GoogleAdWordsObjectDataset, + GoogleAdWordsSource, + GoogleBigQueryLinkedService, + GoogleBigQueryObjectDataset, + GoogleBigQuerySource, + GoogleCloudStorageLinkedService, + GoogleCloudStorageLocation, + GoogleCloudStorageReadSettings, + GreenplumLinkedService, + GreenplumSource, + GreenplumTableDataset, + HBaseLinkedService, + HBaseObjectDataset, + HBaseSource, + HdfsLinkedService, + HdfsLocation, + HdfsReadSettings, + HdfsSource, + HDInsightHiveActivity, + HDInsightLinkedService, + HDInsightMapReduceActivity, + HDInsightOnDemandLinkedService, + HDInsightPigActivity, + HDInsightSparkActivity, + HDInsightStreamingActivity, + HiveLinkedService, + HiveObjectDataset, + HiveSource, + HttpDataset, + HttpLinkedService, + HttpReadSettings, + HttpServerLocation, + HttpSource, + HubspotLinkedService, + HubspotObjectDataset, + HubspotSource, + IfConditionActivity, + ImpalaLinkedService, + ImpalaObjectDataset, + ImpalaSource, + ImportSettings, + InformixLinkedService, + InformixSink, + InformixSource, + InformixTableDataset, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeReference, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + JiraLinkedService, + JiraObjectDataset, + JiraSource, + JsonDataset, + JsonFormat, + JsonReadSettings, + JsonSink, + JsonSource, + JsonWriteSettings, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + LinkedService, + LinkedServiceReference, + LinkedServiceResource, + LogStorageSettings, + LookupActivity, + MagentoLinkedService, + MagentoObjectDataset, + MagentoSource, + ManagedIntegrationRuntime, + ManagedPrivateEndpoint, + ManagedPrivateEndpointListResponse, + ManagedPrivateEndpointResource, + ManagedVirtualNetwork, + ManagedVirtualNetworkResource, + MappingDataFlow, + MariaDBLinkedService, + MariaDBSource, + MariaDBTableDataset, + MarketoLinkedService, + MarketoObjectDataset, + MarketoSource, + MicrosoftAccessLinkedService, + MicrosoftAccessSink, + MicrosoftAccessSource, + MicrosoftAccessTableDataset, + MongoDbCollectionDataset, + MongoDbCursorMethodsProperties, + MongoDbLinkedService, + MongoDbSource, + MongoDbV2CollectionDataset, + MongoDbV2LinkedService, + MongoDbV2Source, + MultiplePipelineTrigger, + MySqlLinkedService, + MySqlSource, + MySqlTableDataset, + NetezzaLinkedService, + NetezzaPartitionSettings, + NetezzaSource, + NetezzaTableDataset, + ODataLinkedService, + ODataResourceDataset, + ODataSource, + OdbcLinkedService, + OdbcSink, + OdbcSource, + OdbcTableDataset, + Office365Dataset, + Office365LinkedService, + Office365Source, + OracleLinkedService, + OraclePartitionSettings, + OracleServiceCloudLinkedService, + OracleServiceCloudObjectDataset, + OracleServiceCloudSource, + OracleSink, + OracleSource, + OracleTableDataset, + OrcDataset, + OrcFormat, + OrcSink, + OrcSource, + PackageStore, + ParameterSpecification, + ParquetDataset, + ParquetFormat, + ParquetSink, + ParquetSource, + PaypalLinkedService, + PaypalObjectDataset, + PaypalSource, + PhoenixLinkedService, + PhoenixObjectDataset, + PhoenixSource, + PipelineFolder, + PipelineReference, + PipelineResource, + PolybaseSettings, + PostgreSqlLinkedService, + PostgreSqlSource, + PostgreSqlTableDataset, + PrestoLinkedService, + PrestoObjectDataset, + PrestoSource, + QuickBooksLinkedService, + QuickBooksObjectDataset, + QuickBooksSource, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + RedirectIncompatibleRowSettings, + RedshiftUnloadSettings, + RelationalSource, + RelationalTableDataset, + RerunTumblingWindowTrigger, + Resource, + ResponsysLinkedService, + ResponsysObjectDataset, + ResponsysSource, + RestResourceDataset, + RestServiceLinkedService, + RestSink, + RestSource, + RetryPolicy, + SalesforceLinkedService, + SalesforceMarketingCloudLinkedService, + SalesforceMarketingCloudObjectDataset, + SalesforceMarketingCloudSource, + SalesforceObjectDataset, + SalesforceServiceCloudLinkedService, + SalesforceServiceCloudObjectDataset, + SalesforceServiceCloudSink, + SalesforceServiceCloudSource, + SalesforceSink, + SalesforceSource, + SapBwCubeDataset, + SapBWLinkedService, + SapBwSource, + SapCloudForCustomerLinkedService, + SapCloudForCustomerResourceDataset, + SapCloudForCustomerSink, + SapCloudForCustomerSource, + SapEccLinkedService, + SapEccResourceDataset, + SapEccSource, + SapHanaLinkedService, + SapHanaPartitionSettings, + SapHanaSource, + SapHanaTableDataset, + SapOpenHubLinkedService, + SapOpenHubSource, + SapOpenHubTableDataset, + SapTableLinkedService, + SapTablePartitionSettings, + SapTableResourceDataset, + SapTableSource, + ScheduleTrigger, + ScheduleTriggerRecurrence, + ScriptAction, + SecretBase, + SecureString, + SelfDependencyTumblingWindowTriggerReference, + SelfHostedIntegrationRuntime, + ServiceNowLinkedService, + ServiceNowObjectDataset, + ServiceNowSource, + SetVariableActivity, + SftpLocation, + SftpReadSettings, + SftpServerLinkedService, + SftpWriteSettings, + SharePointOnlineListLinkedService, + SharePointOnlineListResourceDataset, + SharePointOnlineListSource, + ShopifyLinkedService, + ShopifyObjectDataset, + ShopifySource, + SkipErrorFile, + SnowflakeDataset, + SnowflakeExportCopyCommand, + SnowflakeImportCopyCommand, + SnowflakeLinkedService, + SnowflakeSink, + SnowflakeSource, + SparkLinkedService, + SparkObjectDataset, + SparkSource, + SqlDWSink, + SqlDWSource, + SqlMISink, + SqlMISource, + SqlPartitionSettings, + SqlServerLinkedService, + SqlServerSink, + SqlServerSource, + SqlServerStoredProcedureActivity, + SqlServerTableDataset, + SqlSink, + SqlSource, + SquareLinkedService, + SquareObjectDataset, + SquareSource, + SSISAccessCredential, + SSISChildPackage, + SSISExecutionCredential, + SSISExecutionParameter, + SSISLogLocation, + SSISPackageLocation, + SSISPropertyOverride, + StagingSettings, + StoredProcedureParameter, + StoreReadSettings, + StoreWriteSettings, + SubResource, + SwitchActivity, + SwitchCase, + SybaseLinkedService, + SybaseSource, + SybaseTableDataset, + TabularSource, + TeradataLinkedService, + TeradataPartitionSettings, + TeradataSource, + TeradataTableDataset, + TextFormat, + Transformation, + Trigger, + TriggerDependencyReference, + TriggerPipelineReference, + TriggerReference, + TriggerResource, + TumblingWindowTrigger, + TumblingWindowTriggerDependencyReference, + UntilActivity, + UserProperty, + ValidationActivity, + VariableSpecification, + VerticaLinkedService, + VerticaSource, + VerticaTableDataset, + WaitActivity, + WebActivity, + WebActivityAuthentication, + WebAnonymousAuthentication, + WebBasicAuthentication, + WebClientCertificateAuthentication, + WebHookActivity, + WebLinkedService, + WebLinkedServiceTypeProperties, + WebSource, + WebTableDataset, + XeroLinkedService, + XeroObjectDataset, + XeroSource, + XmlDataset, + XmlReadSettings, + XmlSource, + ZipDeflateReadSettings, + ZohoLinkedService, + ZohoObjectDataset, + ZohoSource +} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/managedVirtualNetworksMappers.ts b/sdk/datafactory/arm-datafactory/src/models/managedVirtualNetworksMappers.ts new file mode 100644 index 000000000000..d929ecb4bde3 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/models/managedVirtualNetworksMappers.ts @@ -0,0 +1,541 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Activity, + ActivityDependency, + ActivityPolicy, + AdditionalColumns, + AmazonMWSLinkedService, + AmazonMWSObjectDataset, + AmazonMWSSource, + AmazonRedshiftLinkedService, + AmazonRedshiftSource, + AmazonRedshiftTableDataset, + AmazonS3Dataset, + AmazonS3LinkedService, + AmazonS3Location, + AmazonS3ReadSettings, + AppendVariableActivity, + AvroDataset, + AvroFormat, + AvroSink, + AvroSource, + AvroWriteSettings, + AzPowerShellSetup, + AzureBatchLinkedService, + AzureBlobDataset, + AzureBlobFSDataset, + AzureBlobFSLinkedService, + AzureBlobFSLocation, + AzureBlobFSReadSettings, + AzureBlobFSSink, + AzureBlobFSSource, + AzureBlobFSWriteSettings, + AzureBlobStorageLinkedService, + AzureBlobStorageLocation, + AzureBlobStorageReadSettings, + AzureBlobStorageWriteSettings, + AzureDatabricksLinkedService, + AzureDataExplorerCommandActivity, + AzureDataExplorerLinkedService, + AzureDataExplorerSink, + AzureDataExplorerSource, + AzureDataExplorerTableDataset, + AzureDataLakeAnalyticsLinkedService, + AzureDataLakeStoreDataset, + AzureDataLakeStoreLinkedService, + AzureDataLakeStoreLocation, + AzureDataLakeStoreReadSettings, + AzureDataLakeStoreSink, + AzureDataLakeStoreSource, + AzureDataLakeStoreWriteSettings, + AzureFileStorageLinkedService, + AzureFileStorageLocation, + AzureFileStorageReadSettings, + AzureFileStorageWriteSettings, + AzureFunctionActivity, + AzureFunctionLinkedService, + AzureKeyVaultLinkedService, + AzureKeyVaultSecretReference, + AzureMariaDBLinkedService, + AzureMariaDBSource, + AzureMariaDBTableDataset, + AzureMLBatchExecutionActivity, + AzureMLExecutePipelineActivity, + AzureMLLinkedService, + AzureMLServiceLinkedService, + AzureMLUpdateResourceActivity, + AzureMLWebServiceFile, + AzureMySqlLinkedService, + AzureMySqlSink, + AzureMySqlSource, + AzureMySqlTableDataset, + AzurePostgreSqlLinkedService, + AzurePostgreSqlSink, + AzurePostgreSqlSource, + AzurePostgreSqlTableDataset, + AzureQueueSink, + AzureSearchIndexDataset, + AzureSearchIndexSink, + AzureSearchLinkedService, + AzureSqlDatabaseLinkedService, + AzureSqlDWLinkedService, + AzureSqlDWTableDataset, + AzureSqlMILinkedService, + AzureSqlMITableDataset, + AzureSqlSink, + AzureSqlSource, + AzureSqlTableDataset, + AzureStorageLinkedService, + AzureTableDataset, + AzureTableSink, + AzureTableSource, + AzureTableStorageLinkedService, + BaseResource, + BinaryDataset, + BinaryReadSettings, + BinarySink, + BinarySource, + BlobEventsTrigger, + BlobSink, + BlobSource, + BlobTrigger, + CassandraLinkedService, + CassandraSource, + CassandraTableDataset, + ChainingTrigger, + CloudError, + CmdkeySetup, + CommonDataServiceForAppsEntityDataset, + CommonDataServiceForAppsLinkedService, + CommonDataServiceForAppsSink, + CommonDataServiceForAppsSource, + ComponentSetup, + CompressionReadSettings, + ConcurLinkedService, + ConcurObjectDataset, + ConcurSource, + ConnectionStateProperties, + ControlActivity, + CopyActivity, + CopySink, + CopySource, + CosmosDbLinkedService, + CosmosDbMongoDbApiCollectionDataset, + CosmosDbMongoDbApiLinkedService, + CosmosDbMongoDbApiSink, + CosmosDbMongoDbApiSource, + CosmosDbSqlApiCollectionDataset, + CosmosDbSqlApiSink, + CosmosDbSqlApiSource, + CouchbaseLinkedService, + CouchbaseSource, + CouchbaseTableDataset, + CustomActivity, + CustomActivityReferenceObject, + CustomDataset, + CustomDataSourceLinkedService, + CustomSetupBase, + DatabricksNotebookActivity, + DatabricksSparkJarActivity, + DatabricksSparkPythonActivity, + DataFlow, + DataFlowFolder, + DataFlowReference, + DataFlowResource, + DataFlowSink, + DataFlowSource, + DataFlowStagingInfo, + DataLakeAnalyticsUSQLActivity, + Dataset, + DatasetBZip2Compression, + DatasetCompression, + DatasetDeflateCompression, + DatasetFolder, + DatasetGZipCompression, + DatasetLocation, + DatasetReference, + DatasetResource, + DatasetStorageFormat, + DatasetZipDeflateCompression, + Db2LinkedService, + Db2Source, + Db2TableDataset, + DeleteActivity, + DelimitedTextDataset, + DelimitedTextReadSettings, + DelimitedTextSink, + DelimitedTextSource, + DelimitedTextWriteSettings, + DependencyReference, + DistcpSettings, + DocumentDbCollectionDataset, + DocumentDbCollectionSink, + DocumentDbCollectionSource, + DrillLinkedService, + DrillSource, + DrillTableDataset, + DWCopyCommandDefaultValue, + DWCopyCommandSettings, + DynamicsAXLinkedService, + DynamicsAXResourceDataset, + DynamicsAXSource, + DynamicsCrmEntityDataset, + DynamicsCrmLinkedService, + DynamicsCrmSink, + DynamicsCrmSource, + DynamicsEntityDataset, + DynamicsLinkedService, + DynamicsSink, + DynamicsSource, + EloquaLinkedService, + EloquaObjectDataset, + EloquaSource, + EntityReference, + EnvironmentVariableSetup, + ExcelDataset, + ExcelSource, + ExecuteDataFlowActivity, + ExecuteDataFlowActivityTypePropertiesCompute, + ExecutePipelineActivity, + ExecuteSSISPackageActivity, + ExecutionActivity, + ExportSettings, + Expression, + Factory, + FactoryGitHubConfiguration, + FactoryIdentity, + FactoryRepoConfiguration, + FactoryVSTSConfiguration, + FileServerLinkedService, + FileServerLocation, + FileServerReadSettings, + FileServerWriteSettings, + FileShareDataset, + FileSystemSink, + FileSystemSource, + FilterActivity, + ForEachActivity, + FormatReadSettings, + FormatWriteSettings, + FtpReadSettings, + FtpServerLinkedService, + FtpServerLocation, + GetMetadataActivity, + GlobalParameterSpecification, + GoogleAdWordsLinkedService, + GoogleAdWordsObjectDataset, + GoogleAdWordsSource, + GoogleBigQueryLinkedService, + GoogleBigQueryObjectDataset, + GoogleBigQuerySource, + GoogleCloudStorageLinkedService, + GoogleCloudStorageLocation, + GoogleCloudStorageReadSettings, + GreenplumLinkedService, + GreenplumSource, + GreenplumTableDataset, + HBaseLinkedService, + HBaseObjectDataset, + HBaseSource, + HdfsLinkedService, + HdfsLocation, + HdfsReadSettings, + HdfsSource, + HDInsightHiveActivity, + HDInsightLinkedService, + HDInsightMapReduceActivity, + HDInsightOnDemandLinkedService, + HDInsightPigActivity, + HDInsightSparkActivity, + HDInsightStreamingActivity, + HiveLinkedService, + HiveObjectDataset, + HiveSource, + HttpDataset, + HttpLinkedService, + HttpReadSettings, + HttpServerLocation, + HttpSource, + HubspotLinkedService, + HubspotObjectDataset, + HubspotSource, + IfConditionActivity, + ImpalaLinkedService, + ImpalaObjectDataset, + ImpalaSource, + ImportSettings, + InformixLinkedService, + InformixSink, + InformixSource, + InformixTableDataset, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeReference, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + JiraLinkedService, + JiraObjectDataset, + JiraSource, + JsonDataset, + JsonFormat, + JsonReadSettings, + JsonSink, + JsonSource, + JsonWriteSettings, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + LinkedService, + LinkedServiceReference, + LinkedServiceResource, + LogStorageSettings, + LookupActivity, + MagentoLinkedService, + MagentoObjectDataset, + MagentoSource, + ManagedIntegrationRuntime, + ManagedPrivateEndpoint, + ManagedPrivateEndpointResource, + ManagedVirtualNetwork, + ManagedVirtualNetworkListResponse, + ManagedVirtualNetworkResource, + MappingDataFlow, + MariaDBLinkedService, + MariaDBSource, + MariaDBTableDataset, + MarketoLinkedService, + MarketoObjectDataset, + MarketoSource, + MicrosoftAccessLinkedService, + MicrosoftAccessSink, + MicrosoftAccessSource, + MicrosoftAccessTableDataset, + MongoDbCollectionDataset, + MongoDbCursorMethodsProperties, + MongoDbLinkedService, + MongoDbSource, + MongoDbV2CollectionDataset, + MongoDbV2LinkedService, + MongoDbV2Source, + MultiplePipelineTrigger, + MySqlLinkedService, + MySqlSource, + MySqlTableDataset, + NetezzaLinkedService, + NetezzaPartitionSettings, + NetezzaSource, + NetezzaTableDataset, + ODataLinkedService, + ODataResourceDataset, + ODataSource, + OdbcLinkedService, + OdbcSink, + OdbcSource, + OdbcTableDataset, + Office365Dataset, + Office365LinkedService, + Office365Source, + OracleLinkedService, + OraclePartitionSettings, + OracleServiceCloudLinkedService, + OracleServiceCloudObjectDataset, + OracleServiceCloudSource, + OracleSink, + OracleSource, + OracleTableDataset, + OrcDataset, + OrcFormat, + OrcSink, + OrcSource, + PackageStore, + ParameterSpecification, + ParquetDataset, + ParquetFormat, + ParquetSink, + ParquetSource, + PaypalLinkedService, + PaypalObjectDataset, + PaypalSource, + PhoenixLinkedService, + PhoenixObjectDataset, + PhoenixSource, + PipelineFolder, + PipelineReference, + PipelineResource, + PolybaseSettings, + PostgreSqlLinkedService, + PostgreSqlSource, + PostgreSqlTableDataset, + PrestoLinkedService, + PrestoObjectDataset, + PrestoSource, + QuickBooksLinkedService, + QuickBooksObjectDataset, + QuickBooksSource, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + RedirectIncompatibleRowSettings, + RedshiftUnloadSettings, + RelationalSource, + RelationalTableDataset, + RerunTumblingWindowTrigger, + Resource, + ResponsysLinkedService, + ResponsysObjectDataset, + ResponsysSource, + RestResourceDataset, + RestServiceLinkedService, + RestSink, + RestSource, + RetryPolicy, + SalesforceLinkedService, + SalesforceMarketingCloudLinkedService, + SalesforceMarketingCloudObjectDataset, + SalesforceMarketingCloudSource, + SalesforceObjectDataset, + SalesforceServiceCloudLinkedService, + SalesforceServiceCloudObjectDataset, + SalesforceServiceCloudSink, + SalesforceServiceCloudSource, + SalesforceSink, + SalesforceSource, + SapBwCubeDataset, + SapBWLinkedService, + SapBwSource, + SapCloudForCustomerLinkedService, + SapCloudForCustomerResourceDataset, + SapCloudForCustomerSink, + SapCloudForCustomerSource, + SapEccLinkedService, + SapEccResourceDataset, + SapEccSource, + SapHanaLinkedService, + SapHanaPartitionSettings, + SapHanaSource, + SapHanaTableDataset, + SapOpenHubLinkedService, + SapOpenHubSource, + SapOpenHubTableDataset, + SapTableLinkedService, + SapTablePartitionSettings, + SapTableResourceDataset, + SapTableSource, + ScheduleTrigger, + ScheduleTriggerRecurrence, + ScriptAction, + SecretBase, + SecureString, + SelfDependencyTumblingWindowTriggerReference, + SelfHostedIntegrationRuntime, + ServiceNowLinkedService, + ServiceNowObjectDataset, + ServiceNowSource, + SetVariableActivity, + SftpLocation, + SftpReadSettings, + SftpServerLinkedService, + SftpWriteSettings, + SharePointOnlineListLinkedService, + SharePointOnlineListResourceDataset, + SharePointOnlineListSource, + ShopifyLinkedService, + ShopifyObjectDataset, + ShopifySource, + SkipErrorFile, + SnowflakeDataset, + SnowflakeExportCopyCommand, + SnowflakeImportCopyCommand, + SnowflakeLinkedService, + SnowflakeSink, + SnowflakeSource, + SparkLinkedService, + SparkObjectDataset, + SparkSource, + SqlDWSink, + SqlDWSource, + SqlMISink, + SqlMISource, + SqlPartitionSettings, + SqlServerLinkedService, + SqlServerSink, + SqlServerSource, + SqlServerStoredProcedureActivity, + SqlServerTableDataset, + SqlSink, + SqlSource, + SquareLinkedService, + SquareObjectDataset, + SquareSource, + SSISAccessCredential, + SSISChildPackage, + SSISExecutionCredential, + SSISExecutionParameter, + SSISLogLocation, + SSISPackageLocation, + SSISPropertyOverride, + StagingSettings, + StoredProcedureParameter, + StoreReadSettings, + StoreWriteSettings, + SubResource, + SwitchActivity, + SwitchCase, + SybaseLinkedService, + SybaseSource, + SybaseTableDataset, + TabularSource, + TeradataLinkedService, + TeradataPartitionSettings, + TeradataSource, + TeradataTableDataset, + TextFormat, + Transformation, + Trigger, + TriggerDependencyReference, + TriggerPipelineReference, + TriggerReference, + TriggerResource, + TumblingWindowTrigger, + TumblingWindowTriggerDependencyReference, + UntilActivity, + UserProperty, + ValidationActivity, + VariableSpecification, + VerticaLinkedService, + VerticaSource, + VerticaTableDataset, + WaitActivity, + WebActivity, + WebActivityAuthentication, + WebAnonymousAuthentication, + WebBasicAuthentication, + WebClientCertificateAuthentication, + WebHookActivity, + WebLinkedService, + WebLinkedServiceTypeProperties, + WebSource, + WebTableDataset, + XeroLinkedService, + XeroObjectDataset, + XeroSource, + XmlDataset, + XmlReadSettings, + XmlSource, + ZipDeflateReadSettings, + ZohoLinkedService, + ZohoObjectDataset, + ZohoSource +} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index 6c1af241b22c..29c0b99331b6 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -2686,6 +2686,29 @@ export const ExposureControlRequest: msRest.CompositeMapper = { } }; +export const ExposureControlBatchRequest: msRest.CompositeMapper = { + serializedName: "ExposureControlBatchRequest", + type: { + name: "Composite", + className: "ExposureControlBatchRequest", + modelProperties: { + exposureControlRequests: { + required: true, + serializedName: "exposureControlRequests", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExposureControlRequest" + } + } + } + } + } + } +}; + export const ExposureControlResponse: msRest.CompositeMapper = { serializedName: "ExposureControlResponse", type: { @@ -2710,6 +2733,29 @@ export const ExposureControlResponse: msRest.CompositeMapper = { } }; +export const ExposureControlBatchResponse: msRest.CompositeMapper = { + serializedName: "ExposureControlBatchResponse", + type: { + name: "Composite", + className: "ExposureControlBatchResponse", + modelProperties: { + exposureControlResponses: { + required: true, + serializedName: "exposureControlResponses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExposureControlResponse" + } + } + } + } + } + } +}; + export const DataFlowFolder: msRest.CompositeMapper = { serializedName: "DataFlow_folder", type: { @@ -2891,7 +2937,7 @@ export const DataFlowStagingInfo: msRest.CompositeMapper = { folderPath: { serializedName: "folderPath", type: { - name: "String" + name: "Object" } } } @@ -3277,6 +3323,173 @@ export const DataFlowReference: msRest.CompositeMapper = { } }; +export const ConnectionStateProperties: msRest.CompositeMapper = { + serializedName: "ConnectionStateProperties", + type: { + name: "Composite", + className: "ConnectionStateProperties", + modelProperties: { + actionsRequired: { + readOnly: true, + serializedName: "actionsRequired", + type: { + name: "String" + } + }, + description: { + readOnly: true, + serializedName: "description", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedPrivateEndpoint: msRest.CompositeMapper = { + serializedName: "ManagedPrivateEndpoint", + type: { + name: "Composite", + className: "ManagedPrivateEndpoint", + modelProperties: { + connectionState: { + serializedName: "connectionState", + type: { + name: "Composite", + className: "ConnectionStateProperties" + } + }, + fqdns: { + serializedName: "fqdns", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + groupId: { + serializedName: "groupId", + type: { + name: "String" + } + }, + isReserved: { + readOnly: true, + serializedName: "isReserved", + type: { + name: "Boolean" + } + }, + privateLinkResourceId: { + serializedName: "privateLinkResourceId", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "provisioningState", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedPrivateEndpointResource: msRest.CompositeMapper = { + serializedName: "ManagedPrivateEndpointResource", + type: { + name: "Composite", + className: "ManagedPrivateEndpointResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "ManagedPrivateEndpoint", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const ManagedVirtualNetwork: msRest.CompositeMapper = { + serializedName: "ManagedVirtualNetwork", + type: { + name: "Composite", + className: "ManagedVirtualNetwork", + modelProperties: { + vNetId: { + readOnly: true, + serializedName: "vNetId", + type: { + name: "String" + } + }, + alias: { + readOnly: true, + serializedName: "alias", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedVirtualNetworkResource: msRest.CompositeMapper = { + serializedName: "ManagedVirtualNetworkResource", + type: { + name: "Composite", + className: "ManagedVirtualNetworkResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "ManagedVirtualNetwork", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } +}; + export const Transformation: msRest.CompositeMapper = { serializedName: "Transformation", type: { @@ -3327,6 +3540,13 @@ export const DataFlowSink: msRest.CompositeMapper = { name: "Composite", className: "LinkedServiceReference" } + }, + staging: { + serializedName: "staging", + type: { + name: "Composite", + className: "DataFlowStagingInfo" + } } } } @@ -3359,6 +3579,13 @@ export const DataFlowSource: msRest.CompositeMapper = { name: "Composite", className: "LinkedServiceReference" } + }, + staging: { + serializedName: "staging", + type: { + name: "Composite", + className: "DataFlowStagingInfo" + } } } } @@ -4045,6 +4272,12 @@ export const AzureDatabricksLinkedService: msRest.CompositeMapper = { } } }, + newClusterLogDestination: { + serializedName: "typeProperties.newClusterLogDestination", + type: { + name: "Object" + } + }, newClusterDriverNodeType: { serializedName: "typeProperties.newClusterDriverNodeType", type: { @@ -4422,8 +4655,13 @@ export const SalesforceMarketingCloudLinkedService: msRest.CompositeMapper = { className: "SalesforceMarketingCloudLinkedService", modelProperties: { ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Object" + } + }, clientId: { - required: true, serializedName: "typeProperties.clientId", type: { name: "Object" @@ -4540,8 +4778,13 @@ export const ZohoLinkedService: msRest.CompositeMapper = { className: "ZohoLinkedService", modelProperties: { ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Object" + } + }, endpoint: { - required: true, serializedName: "typeProperties.endpoint", type: { name: "Object" @@ -4592,8 +4835,13 @@ export const XeroLinkedService: msRest.CompositeMapper = { className: "XeroLinkedService", modelProperties: { ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Object" + } + }, host: { - required: true, serializedName: "typeProperties.host", type: { name: "Object" @@ -4651,15 +4899,19 @@ export const SquareLinkedService: msRest.CompositeMapper = { className: "SquareLinkedService", modelProperties: { ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Object" + } + }, host: { - required: true, serializedName: "typeProperties.host", type: { name: "Object" } }, clientId: { - required: true, serializedName: "typeProperties.clientId", type: { name: "Object" @@ -4673,7 +4925,6 @@ export const SquareLinkedService: msRest.CompositeMapper = { } }, redirectUri: { - required: true, serializedName: "typeProperties.redirectUri", type: { name: "Object" @@ -4949,29 +5200,31 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { className: "QuickBooksLinkedService", modelProperties: { ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Object" + } + }, endpoint: { - required: true, serializedName: "typeProperties.endpoint", type: { name: "Object" } }, companyId: { - required: true, serializedName: "typeProperties.companyId", type: { name: "Object" } }, consumerKey: { - required: true, serializedName: "typeProperties.consumerKey", type: { name: "Object" } }, consumerSecret: { - required: true, serializedName: "typeProperties.consumerSecret", type: { name: "Composite", @@ -4979,7 +5232,6 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { } }, accessToken: { - required: true, serializedName: "typeProperties.accessToken", type: { name: "Composite", @@ -4987,7 +5239,6 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { } }, accessTokenSecret: { - required: true, serializedName: "typeProperties.accessTokenSecret", type: { name: "Composite", @@ -6800,6 +7051,12 @@ export const RestServiceLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, aadResourceId: { serializedName: "typeProperties.aadResourceId", type: { @@ -6827,21 +7084,18 @@ export const SapOpenHubLinkedService: msRest.CompositeMapper = { modelProperties: { ...LinkedService.type.modelProperties, server: { - required: true, serializedName: "typeProperties.server", type: { name: "Object" } }, systemNumber: { - required: true, serializedName: "typeProperties.systemNumber", type: { name: "Object" } }, clientId: { - required: true, serializedName: "typeProperties.clientId", type: { name: "Object" @@ -6853,6 +7107,12 @@ export const SapOpenHubLinkedService: msRest.CompositeMapper = { name: "Object" } }, + systemId: { + serializedName: "typeProperties.systemId", + type: { + name: "Object" + } + }, userName: { serializedName: "typeProperties.userName", type: { @@ -6866,6 +7126,24 @@ export const SapOpenHubLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, + messageServer: { + serializedName: "typeProperties.messageServer", + type: { + name: "Object" + } + }, + messageServerService: { + serializedName: "typeProperties.messageServerService", + type: { + name: "Object" + } + }, + logonGroup: { + serializedName: "typeProperties.logonGroup", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -7157,6 +7435,12 @@ export const AzureBlobFSLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -7203,6 +7487,12 @@ export const AzureDataLakeStoreLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, accountName: { serializedName: "typeProperties.accountName", type: { @@ -7585,6 +7875,12 @@ export const ODataLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, aadResourceId: { serializedName: "typeProperties.aadResourceId", type: { @@ -8368,6 +8664,12 @@ export const AzureFileStorageLinkedService: msRest.CompositeMapper = { name: "Object" } }, + snapshot: { + serializedName: "typeProperties.snapshot", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -8920,6 +9222,12 @@ export const AzureSqlMILinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -8973,6 +9281,12 @@ export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -9066,6 +9380,12 @@ export const AzureSqlDWLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -9183,6 +9503,12 @@ export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { name: "Object" } }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -13732,6 +14058,18 @@ export const XmlReadSettings: msRest.CompositeMapper = { name: "Object" } }, + detectDataType: { + serializedName: "detectDataType", + type: { + name: "Object" + } + }, + namespaces: { + serializedName: "namespaces", + type: { + name: "Object" + } + }, namespacePrefixes: { serializedName: "namespacePrefixes", type: { @@ -13927,6 +14265,12 @@ export const HdfsReadSettings: msRest.CompositeMapper = { name: "Composite", className: "DistcpSettings" } + }, + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", + type: { + name: "Object" + } } }, additionalProperties: StoreReadSettings.type.additionalProperties @@ -15839,6 +16183,12 @@ export const CosmosDbSqlApiSource: msRest.CompositeMapper = { name: "Object" } }, + detectDatetime: { + serializedName: "detectDatetime", + type: { + name: "Object" + } + }, additionalColumns: { serializedName: "additionalColumns", type: { @@ -17253,6 +17603,12 @@ export const SapTableSource: msRest.CompositeMapper = { name: "Object" } }, + sapDataColumnDelimiter: { + serializedName: "sapDataColumnDelimiter", + type: { + name: "Object" + } + }, partitionOption: { serializedName: "partitionOption", type: { @@ -17291,6 +17647,18 @@ export const SapOpenHubSource: msRest.CompositeMapper = { type: { name: "Object" } + }, + customRfcReadTableFunctionModule: { + serializedName: "customRfcReadTableFunctionModule", + type: { + name: "Object" + } + }, + sapDataColumnDelimiter: { + serializedName: "sapDataColumnDelimiter", + type: { + name: "Object" + } } }, additionalProperties: CopySource.type.additionalProperties @@ -20147,6 +20515,20 @@ export const StoreWriteSettings: msRest.CompositeMapper = { } }; +export const AzureFileStorageWriteSettings: msRest.CompositeMapper = { + serializedName: "AzureFileStorageWriteSettings", + type: { + name: "Composite", + polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, + uberParent: "StoreWriteSettings", + className: "AzureFileStorageWriteSettings", + modelProperties: { + ...StoreWriteSettings.type.modelProperties + }, + additionalProperties: StoreWriteSettings.type.additionalProperties + } +}; + export const FileServerWriteSettings: msRest.CompositeMapper = { serializedName: "FileServerWriteSettings", type: { @@ -20551,6 +20933,56 @@ export const AzurePostgreSqlSink: msRest.CompositeMapper = { } }; +export const RestSink: msRest.CompositeMapper = { + serializedName: "RestSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "RestSink", + modelProperties: { + ...CopySink.type.modelProperties, + requestMethod: { + serializedName: "requestMethod", + type: { + name: "Object" + } + }, + additionalHeaders: { + serializedName: "additionalHeaders", + type: { + name: "Object" + } + }, + httpRequestTimeout: { + serializedName: "httpRequestTimeout", + type: { + name: "Object" + } + }, + requestInterval: { + serializedName: "requestInterval", + type: { + name: "Object" + } + }, + compressionType: { + serializedName: "compressionType", + type: { + name: "Object" + } + }, + wrapRequestJsonInAnObject: { + serializedName: "wrapRequestJsonInAnObject", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + export const OrcSink: msRest.CompositeMapper = { serializedName: "OrcSink", type: { @@ -22043,6 +22475,26 @@ export const CustomSetupBase: msRest.CompositeMapper = { } }; +export const AzPowerShellSetup: msRest.CompositeMapper = { + serializedName: "AzPowerShellSetup", + type: { + name: "Composite", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, + uberParent: "CustomSetupBase", + className: "AzPowerShellSetup", + modelProperties: { + ...CustomSetupBase.type.modelProperties, + version: { + required: true, + serializedName: "typeProperties.version", + type: { + name: "String" + } + } + } + } +}; + export const ComponentSetup: msRest.CompositeMapper = { serializedName: "ComponentSetup", type: { @@ -23388,6 +23840,64 @@ export const QueryDataFlowDebugSessionsResponse: msRest.CompositeMapper = { } }; +export const ManagedVirtualNetworkListResponse: msRest.CompositeMapper = { + serializedName: "ManagedVirtualNetworkListResponse", + type: { + name: "Composite", + className: "ManagedVirtualNetworkListResponse", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedVirtualNetworkResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedPrivateEndpointListResponse: msRest.CompositeMapper = { + serializedName: "managedPrivateEndpointListResponse", + type: { + name: "Composite", + className: "ManagedPrivateEndpointListResponse", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedPrivateEndpointResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const discriminators = { 'SecretBase.SecureString' : SecureString, 'SecretBase.AzureKeyVaultSecret' : AzureKeyVaultSecretReference, @@ -23789,6 +24299,7 @@ export const discriminators = { 'CopySink.DocumentDbCollectionSink' : DocumentDbCollectionSink, 'CopySink.FileSystemSink' : FileSystemSink, 'CopySink.BlobSink' : BlobSink, + 'StoreWriteSettings.AzureFileStorageWriteSettings' : AzureFileStorageWriteSettings, 'StoreWriteSettings.FileServerWriteSettings' : FileServerWriteSettings, 'StoreWriteSettings.AzureDataLakeStoreWriteSettings' : AzureDataLakeStoreWriteSettings, 'StoreWriteSettings.AzureBlobFSWriteSettings' : AzureBlobFSWriteSettings, @@ -23807,6 +24318,7 @@ export const discriminators = { 'CopySink.SapCloudForCustomerSink' : SapCloudForCustomerSink, 'CopySink.AzureMySqlSink' : AzureMySqlSink, 'CopySink.AzurePostgreSqlSink' : AzurePostgreSqlSink, + 'CopySink.RestSink' : RestSink, 'CopySink.OrcSink' : OrcSink, 'CopySink.JsonSink' : JsonSink, 'CopySink.DelimitedTextSink' : DelimitedTextSink, @@ -23831,6 +24343,7 @@ export const discriminators = { 'LinkedIntegrationRuntimeType.Key' : LinkedIntegrationRuntimeKeyAuthorization, 'LinkedIntegrationRuntimeType' : LinkedIntegrationRuntimeType, 'IntegrationRuntime.SelfHosted' : SelfHostedIntegrationRuntime, + 'CustomSetupBase.AzPowerShellSetup' : AzPowerShellSetup, 'CustomSetupBase.ComponentSetup' : ComponentSetup, 'CustomSetupBase.EnvironmentVariableSetup' : EnvironmentVariableSetup, 'CustomSetupBase.CmdkeySetup' : CmdkeySetup, diff --git a/sdk/datafactory/arm-datafactory/src/models/parameters.ts b/sdk/datafactory/arm-datafactory/src/models/parameters.ts index f636c40d2c55..0f1c2f859c38 100644 --- a/sdk/datafactory/arm-datafactory/src/models/parameters.ts +++ b/sdk/datafactory/arm-datafactory/src/models/parameters.ts @@ -163,6 +163,36 @@ export const locationId: msRest.OperationURLParameter = { } } }; +export const managedPrivateEndpointName: msRest.OperationURLParameter = { + parameterPath: "managedPrivateEndpointName", + mapper: { + required: true, + serializedName: "managedPrivateEndpointName", + constraints: { + MaxLength: 127, + MinLength: 1, + Pattern: /^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$/ + }, + type: { + name: "String" + } + } +}; +export const managedVirtualNetworkName: msRest.OperationURLParameter = { + parameterPath: "managedVirtualNetworkName", + mapper: { + required: true, + serializedName: "managedVirtualNetworkName", + constraints: { + MaxLength: 127, + MinLength: 1, + Pattern: /^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$/ + }, + type: { + name: "String" + } + } +}; export const nextPageLink: msRest.OperationURLParameter = { parameterPath: "nextPageLink", mapper: { diff --git a/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts index 6ab92c2339e4..25eb1c4a238c 100644 --- a/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -58,6 +59,7 @@ export { AzureFileStorageLinkedService, AzureFileStorageLocation, AzureFileStorageReadSettings, + AzureFileStorageWriteSettings, AzureFunctionActivity, AzureFunctionLinkedService, AzureKeyVaultLinkedService, @@ -120,6 +122,7 @@ export { ConcurLinkedService, ConcurObjectDataset, ConcurSource, + ConnectionStateProperties, ControlActivity, CopyActivity, CopySink, @@ -305,6 +308,10 @@ export { MagentoObjectDataset, MagentoSource, ManagedIntegrationRuntime, + ManagedPrivateEndpoint, + ManagedPrivateEndpointResource, + ManagedVirtualNetwork, + ManagedVirtualNetworkResource, MappingDataFlow, MariaDBLinkedService, MariaDBSource, @@ -392,6 +399,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts b/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts index a0bfa10e86a1..08b9a70c6eb6 100644 --- a/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts @@ -28,6 +28,7 @@ export { AvroSink, AvroSource, AvroWriteSettings, + AzPowerShellSetup, AzureBatchLinkedService, AzureBlobDataset, AzureBlobFSDataset, @@ -58,6 +59,7 @@ export { AzureFileStorageLinkedService, AzureFileStorageLocation, AzureFileStorageReadSettings, + AzureFileStorageWriteSettings, AzureFunctionActivity, AzureFunctionLinkedService, AzureKeyVaultLinkedService, @@ -120,6 +122,7 @@ export { ConcurLinkedService, ConcurObjectDataset, ConcurSource, + ConnectionStateProperties, ControlActivity, CopyActivity, CopySink, @@ -304,6 +307,10 @@ export { MagentoObjectDataset, MagentoSource, ManagedIntegrationRuntime, + ManagedPrivateEndpoint, + ManagedPrivateEndpointResource, + ManagedVirtualNetwork, + ManagedVirtualNetworkResource, MappingDataFlow, MariaDBLinkedService, MariaDBSource, @@ -390,6 +397,7 @@ export { ResponsysSource, RestResourceDataset, RestServiceLinkedService, + RestSink, RestSource, RetryPolicy, SalesforceLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts b/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts index 9e69b78647cb..7a332a825ec7 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts @@ -345,7 +345,8 @@ const beginCreateOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DataFlowDebugSessionCreateHeaders }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.CloudError, + headersMapper: Mappers.DataFlowDebugSessionCreateHeaders } }, serializer @@ -381,7 +382,8 @@ const beginExecuteCommandOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.DataFlowDebugSessionExecuteCommandHeaders }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.CloudError, + headersMapper: Mappers.DataFlowDebugSessionExecuteCommandHeaders } }, serializer diff --git a/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts b/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts index fb3914a8e571..1f524928b17e 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts @@ -93,6 +93,42 @@ export class ExposureControl { getFeatureValueByFactoryOperationSpec, callback) as Promise; } + + /** + * Get list of exposure control features for specific factory. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param exposureControlBatchRequest The exposure control request for list of features. + * @param [options] The optional parameters + * @returns Promise + */ + queryFeatureValuesByFactory(resourceGroupName: string, factoryName: string, exposureControlBatchRequest: Models.ExposureControlBatchRequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param exposureControlBatchRequest The exposure control request for list of features. + * @param callback The callback + */ + queryFeatureValuesByFactory(resourceGroupName: string, factoryName: string, exposureControlBatchRequest: Models.ExposureControlBatchRequest, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param exposureControlBatchRequest The exposure control request for list of features. + * @param options The optional parameters + * @param callback The callback + */ + queryFeatureValuesByFactory(resourceGroupName: string, factoryName: string, exposureControlBatchRequest: Models.ExposureControlBatchRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + queryFeatureValuesByFactory(resourceGroupName: string, factoryName: string, exposureControlBatchRequest: Models.ExposureControlBatchRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + exposureControlBatchRequest, + options + }, + queryFeatureValuesByFactoryOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -159,3 +195,35 @@ const getFeatureValueByFactoryOperationSpec: msRest.OperationSpec = { }, serializer }; + +const queryFeatureValuesByFactoryOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryFeaturesValue", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "exposureControlBatchRequest", + mapper: { + ...Mappers.ExposureControlBatchRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ExposureControlBatchResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/src/operations/index.ts b/sdk/datafactory/arm-datafactory/src/operations/index.ts index a4e051342b30..fc5cf147945b 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/index.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/index.ts @@ -23,3 +23,5 @@ export * from "./triggers"; export * from "./triggerRuns"; export * from "./dataFlows"; export * from "./dataFlowDebugSession"; +export * from "./managedVirtualNetworks"; +export * from "./managedPrivateEndpoints"; diff --git a/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts b/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts new file mode 100644 index 000000000000..d8d59c465139 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts @@ -0,0 +1,354 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/managedPrivateEndpointsMappers"; +import * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a ManagedPrivateEndpoints. */ +export class ManagedPrivateEndpoints { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a ManagedPrivateEndpoints. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * Lists managed private endpoints. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param [options] The optional parameters + * @returns Promise + */ + listByFactory(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param callback The callback + */ + listByFactory(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param options The optional parameters + * @param callback The callback + */ + listByFactory(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByFactory(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + managedVirtualNetworkName, + options + }, + listByFactoryOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a managed private endpoint. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param managedPrivateEndpoint Managed private endpoint resource definition. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, managedPrivateEndpoint: Models.ManagedPrivateEndpointResource, options?: Models.ManagedPrivateEndpointsCreateOrUpdateOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param managedPrivateEndpoint Managed private endpoint resource definition. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, managedPrivateEndpoint: Models.ManagedPrivateEndpointResource, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param managedPrivateEndpoint Managed private endpoint resource definition. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, managedPrivateEndpoint: Models.ManagedPrivateEndpointResource, options: Models.ManagedPrivateEndpointsCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, managedPrivateEndpoint: Models.ManagedPrivateEndpointResource, options?: Models.ManagedPrivateEndpointsCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + managedVirtualNetworkName, + managedPrivateEndpointName, + managedPrivateEndpoint, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Gets a managed private endpoint. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options?: Models.ManagedPrivateEndpointsGetOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param callback The callback + */ + get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options: Models.ManagedPrivateEndpointsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options?: Models.ManagedPrivateEndpointsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + managedVirtualNetworkName, + managedPrivateEndpointName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes a managed private endpoint. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + managedVirtualNetworkName, + managedPrivateEndpointName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Lists managed private endpoints. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByFactoryNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByFactoryOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.managedVirtualNetworkName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedPrivateEndpointListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.managedVirtualNetworkName, + Parameters.managedPrivateEndpointName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "managedPrivateEndpoint", + mapper: { + ...Mappers.ManagedPrivateEndpointResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ManagedPrivateEndpointResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.managedVirtualNetworkName, + Parameters.managedPrivateEndpointName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifNoneMatch, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedPrivateEndpointResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.managedVirtualNetworkName, + Parameters.managedPrivateEndpointName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByFactoryNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedPrivateEndpointListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts b/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts new file mode 100644 index 000000000000..6ed1936b6009 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts @@ -0,0 +1,273 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/managedVirtualNetworksMappers"; +import * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a ManagedVirtualNetworks. */ +export class ManagedVirtualNetworks { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a ManagedVirtualNetworks. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * Lists managed Virtual Networks. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param [options] The optional parameters + * @returns Promise + */ + listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param callback The callback + */ + listByFactory(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The optional parameters + * @param callback The callback + */ + listByFactory(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + options + }, + listByFactoryOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a managed Virtual Network. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedVirtualNetwork Managed Virtual Network resource definition. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedVirtualNetwork: Models.ManagedVirtualNetworkResource, options?: Models.ManagedVirtualNetworksCreateOrUpdateOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedVirtualNetwork Managed Virtual Network resource definition. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedVirtualNetwork: Models.ManagedVirtualNetworkResource, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedVirtualNetwork Managed Virtual Network resource definition. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedVirtualNetwork: Models.ManagedVirtualNetworkResource, options: Models.ManagedVirtualNetworksCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedVirtualNetwork: Models.ManagedVirtualNetworkResource, options?: Models.ManagedVirtualNetworksCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + managedVirtualNetworkName, + managedVirtualNetwork, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Gets a managed Virtual Network. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options?: Models.ManagedVirtualNetworksGetOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param callback The callback + */ + get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options: Models.ManagedVirtualNetworksGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options?: Models.ManagedVirtualNetworksGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + managedVirtualNetworkName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists managed Virtual Networks. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByFactoryNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByFactoryOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedVirtualNetworkListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.managedVirtualNetworkName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "managedVirtualNetwork", + mapper: { + ...Mappers.ManagedVirtualNetworkResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ManagedVirtualNetworkResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.managedVirtualNetworkName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifNoneMatch, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedVirtualNetworkResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByFactoryNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ManagedVirtualNetworkListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts b/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts index 2cad651c42b6..2dda221d5541 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts @@ -66,6 +66,46 @@ export class TriggerRuns { callback); } + /** + * Cancel a single trigger instance by runId. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param runId The pipeline run identifier. + * @param [options] The optional parameters + * @returns Promise + */ + cancel(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param runId The pipeline run identifier. + * @param callback The callback + */ + cancel(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param runId The pipeline run identifier. + * @param options The optional parameters + * @param callback The callback + */ + cancel(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + cancel(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + triggerName, + runId, + options + }, + cancelOperationSpec, + callback); + } + /** * Query trigger runs. * @param resourceGroupName The resource group name. @@ -130,6 +170,31 @@ const rerunOperationSpec: msRest.OperationSpec = { serializer }; +const cancelOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/cancel", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName, + Parameters.runId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const queryByFactoryOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryTriggerRuns",