diff --git a/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts index b5b22556b13e..ff98e26155f5 100644 --- a/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts @@ -20,12 +20,15 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -37,6 +40,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -45,6 +49,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -55,6 +60,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts new file mode 100644 index 000000000000..06f977c7fcf9 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts @@ -0,0 +1,86 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AutoPauseProperties, + AutoScaleProperties, + AzureEntityResource, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EntityReference, + EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + LibraryInfo, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + Workspace, + WorkspaceAadAdminInfo +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts b/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts new file mode 100644 index 000000000000..7670fb42157d --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts @@ -0,0 +1,87 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AutoPauseProperties, + AutoScaleProperties, + AzureEntityResource, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataMaskingRuleListResult, + DataWarehouseUserActivities, + EntityReference, + EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + LibraryInfo, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + Workspace, + WorkspaceAadAdminInfo +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts new file mode 100644 index 000000000000..fd86ecd2f243 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts @@ -0,0 +1,87 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AutoPauseProperties, + AutoScaleProperties, + AzureEntityResource, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EntityReference, + EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicyListResult, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + LibraryInfo, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + Workspace, + WorkspaceAadAdminInfo +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/index.ts b/sdk/synapse/arm-synapse/src/models/index.ts index c40c18c39e6e..fa2dd835dc6d 100644 --- a/sdk/synapse/arm-synapse/src/models/index.ts +++ b/sdk/synapse/arm-synapse/src/models/index.ts @@ -66,11 +66,39 @@ export interface LibraryRequirements { } /** - * An interface representing Resource. + * Library/package information of a Big Data pool powered by Apache Spark + * @summary Information about a library/package created at the workspace level. + */ +export interface LibraryInfo { + /** + * Name of the library. + */ + name?: string; + /** + * Storage blob path of library. + */ + path?: string; + /** + * Storage blob container name. + */ + containerName?: string; + /** + * The last update time of the library. + */ + uploadedTimestamp?: Date; + /** + * Type of the library. + */ + type?: string; +} + +/** + * Common fields that are returned in the response for all Azure Resource Manager resources + * @summary Resource */ export interface Resource extends BaseResource { /** - * Fully qualified resource Id for the resource. Ex - + * Fully qualified resource ID for the resource. Ex - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * **NOTE: This property will not be serialized. It can only be populated by the server.** */ @@ -81,15 +109,17 @@ export interface Resource extends BaseResource { */ readonly name?: string; /** - * The type of the resource. Ex- Microsoft.Compute/virtualMachines or - * Microsoft.Storage/storageAccounts. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts" * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; } /** - * The resource model definition for a ARM tracked top level resource + * The resource model definition for an Azure Resource Manager tracked top level resource which has + * 'tags' and a 'location' + * @summary Tracked Resource */ export interface TrackedResource extends Resource { /** @@ -127,6 +157,10 @@ export interface BigDataPoolResourceInfo extends TrackedResource { * Whether compute isolation is required or not. */ isComputeIsolationEnabled?: boolean; + /** + * Whether session level library/package management is enabled or not. + */ + sessionLevelPackagesEnabled?: boolean; /** * The Spark events folder */ @@ -139,6 +173,14 @@ export interface BigDataPoolResourceInfo extends TrackedResource { * Library version requirements */ libraryRequirements?: LibraryRequirements; + /** + * List of custom libraries/packages associated with the spark pool. + */ + customLibraries?: LibraryInfo[]; + /** + * Spark configuration file to specify additional properties + */ + sparkConfigProperties?: LibraryRequirements; /** * The Apache Spark version. */ @@ -149,7 +191,7 @@ export interface BigDataPoolResourceInfo extends TrackedResource { defaultSparkLogFolder?: string; /** * The level of compute power that each node in the Big Data pool has. Possible values include: - * 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge' + * 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge', 'XXXLarge' */ nodeSize?: NodeSize; /** @@ -171,14 +213,16 @@ export interface BigDataPoolPatchInfo { } /** - * The resource model definition for a ARM proxy resource. It will have everything other than - * required location and tags + * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags + * and a location + * @summary Proxy Resource */ export interface ProxyResource extends Resource { } /** - * The resource model definition for a Azure Resource Manager resource with an etag. + * The resource model definition for an Azure Resource Manager resource with an etag. + * @summary Entity Resource */ export interface AzureEntityResource extends Resource { /** @@ -205,7 +249,9 @@ export interface ErrorAdditionalInfo { } /** - * The resource management error response. + * Common error response for all Azure Resource Manager APIs to return error details for failed + * operations. (This also follows the OData error response format.) + * @summary Error Response */ export interface ErrorResponse { /** @@ -1499,6 +1545,257 @@ export interface CreateSqlPoolRestorePointDefinition { restorePointLabel: string; } +/** + * An extended Sql pool blob auditing policy. + */ +export interface ExtendedSqlPoolBlobAuditingPolicy extends ProxyResource { + /** + * Specifies condition of where clause when creating an audit. + */ + predicateExpression?: string; + /** + * Specifies the state of the policy. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' + */ + state: BlobAuditingPolicyState; + /** + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state + * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. + */ + storageEndpoint?: string; + /** + * Specifies the identifier key of the auditing storage account. + * If state is Enabled and storageEndpoint is specified, not specifying the + * storageAccountAccessKey will use SQL server system-assigned managed identity to access the + * storage. + * Prerequisites for using managed identity authentication: + * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). + * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data + * Contributor' RBAC role to the server identity. + * For more information, see [Auditing to storage using Managed Identity + * authentication](https://go.microsoft.com/fwlink/?linkid=2114355) + */ + storageAccountAccessKey?: string; + /** + * Specifies the number of days to keep in the audit logs in the storage account. + */ + retentionDays?: number; + /** + * Specifies the Actions-Groups and Actions to audit. + * + * The recommended set of action groups to use is the following combination - this will audit all + * the queries and stored procedures executed against the database, as well as successful and + * failed logins: + * + * BATCH_COMPLETED_GROUP, + * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, + * FAILED_DATABASE_AUTHENTICATION_GROUP. + * + * This above combination is also the set that is configured by default when enabling auditing + * from the Azure portal. + * + * The supported action groups to audit are (note: choose only specific groups that cover your + * auditing needs. Using unnecessary groups could lead to very large quantities of audit + * records): + * + * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP + * BACKUP_RESTORE_GROUP + * DATABASE_LOGOUT_GROUP + * DATABASE_OBJECT_CHANGE_GROUP + * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP + * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP + * DATABASE_OPERATION_GROUP + * DATABASE_PERMISSION_CHANGE_GROUP + * DATABASE_PRINCIPAL_CHANGE_GROUP + * DATABASE_PRINCIPAL_IMPERSONATION_GROUP + * DATABASE_ROLE_MEMBER_CHANGE_GROUP + * FAILED_DATABASE_AUTHENTICATION_GROUP + * SCHEMA_OBJECT_ACCESS_GROUP + * SCHEMA_OBJECT_CHANGE_GROUP + * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP + * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP + * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP + * USER_CHANGE_PASSWORD_GROUP + * BATCH_STARTED_GROUP + * BATCH_COMPLETED_GROUP + * + * These are groups that cover all sql statements and stored procedures executed against the + * database, and should not be used in combination with other groups as this will result in + * duplicate audit logs. + * + * For more information, see [Database-Level Audit Action + * Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). + * + * For Database auditing policy, specific Actions can also be specified (note that Actions cannot + * be specified for Server auditing policy). The supported actions to audit are: + * SELECT + * UPDATE + * INSERT + * DELETE + * EXECUTE + * RECEIVE + * REFERENCES + * + * The general form for defining an action to be audited is: + * {action} ON {object} BY {principal} + * + * Note that in the above format can refer to an object like a table, view, or stored + * procedure, or an entire database or schema. For the latter cases, the forms + * DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. + * + * For example: + * SELECT on dbo.myTable by public + * SELECT on DATABASE::myDatabase by public + * SELECT on SCHEMA::mySchema by public + * + * For more information, see [Database-Level Audit + * Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) + */ + auditActionsAndGroups?: string[]; + /** + * Specifies the blob storage subscription Id. + */ + storageAccountSubscriptionId?: string; + /** + * Specifies whether storageAccountAccessKey value is the storage's secondary key. + */ + isStorageSecondaryKeyInUse?: boolean; + /** + * Specifies whether audit events are sent to Azure Monitor. + * In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and + * 'isAzureMonitorTargetEnabled' as true. + * + * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' + * diagnostic logs category on the database should be also created. + * Note that for server level audit you should use the 'master' database as {databaseName}. + * + * Diagnostic Settings URI format: + * PUT + * https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview + * + * For more information, see [Diagnostic Settings REST + * API](https://go.microsoft.com/fwlink/?linkid=2033207) + * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) + */ + isAzureMonitorTargetEnabled?: boolean; + /** + * Specifies the amount of time in milliseconds that can elapse before audit actions are forced + * to be processed. + * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. + */ + queueDelayMs?: number; +} + +/** + * Represents a database data masking policy. + */ +export interface DataMaskingPolicy extends ProxyResource { + /** + * The state of the data masking policy. Possible values include: 'Disabled', 'Enabled' + */ + dataMaskingState: DataMaskingState; + /** + * The list of the exempt principals. Specifies the semicolon-separated list of database users + * for which the data masking policy does not apply. The specified users receive data results + * without masking for all of the database queries. + */ + exemptPrincipals?: string; + /** + * The list of the application principals. This is a legacy parameter and is no longer used. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly applicationPrincipals?: string; + /** + * The masking level. This is a legacy parameter and is no longer used. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly maskingLevel?: string; + /** + * The location of the data masking policy. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + /** + * The kind of data masking policy. Metadata, used for Azure portal. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly kind?: string; +} + +/** + * Represents a Sql pool data masking rule. + */ +export interface DataMaskingRule extends ProxyResource { + /** + * The rule Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dataMaskingRuleId?: string; + /** + * The alias name. This is a legacy parameter and is no longer used. + */ + aliasName?: string; + /** + * The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, + * tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the + * rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless + * of the provided value of ruleState. Possible values include: 'Disabled', 'Enabled' + */ + ruleState?: DataMaskingRuleState; + /** + * The schema name on which the data masking rule is applied. + */ + schemaName: string; + /** + * The table name on which the data masking rule is applied. + */ + tableName: string; + /** + * The column name on which the data masking rule is applied. + */ + columnName: string; + /** + * The masking function that is used for the data masking rule. Possible values include: + * 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' + */ + maskingFunction: DataMaskingFunction; + /** + * The numberFrom property of the masking rule. Required if maskingFunction is set to Number, + * otherwise this parameter will be ignored. + */ + numberFrom?: string; + /** + * The numberTo property of the data masking rule. Required if maskingFunction is set to Number, + * otherwise this parameter will be ignored. + */ + numberTo?: string; + /** + * If maskingFunction is set to Text, the number of characters to show unmasked in the beginning + * of the string. Otherwise, this parameter will be ignored. + */ + prefixSize?: string; + /** + * If maskingFunction is set to Text, the number of characters to show unmasked at the end of the + * string. Otherwise, this parameter will be ignored. + */ + suffixSize?: string; + /** + * If maskingFunction is set to Text, the character to use for masking the unexposed part of the + * string. Otherwise, this parameter will be ignored. + */ + replacementString?: string; + /** + * The location of the data masking rule. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + /** + * The kind of Data Masking Rule. Metadata, used for Azure portal. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly kind?: string; +} + /** * Details of the data lake storage account associated with the workspace */ @@ -1573,6 +1870,24 @@ export interface PrivateEndpointConnection extends ProxyResource { readonly provisioningState?: string; } +/** + * Managed Virtual Network Settings + */ +export interface ManagedVirtualNetworkSettings { + /** + * Prevent Data Exfiltration + */ + preventDataExfiltration?: boolean; + /** + * Linked Access Check On Target Resource + */ + linkedAccessCheckOnTargetResource?: boolean; + /** + * Allowed Aad Tenant Ids For Linking + */ + allowedAadTenantIdsForLinking?: string[]; +} + /** * The workspace managed identity */ @@ -1644,6 +1959,10 @@ export interface Workspace extends TrackedResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly extraProperties?: { [propertyName: string]: any }; + /** + * Managed Virtual Network Settings + */ + managedVirtualNetworkSettings?: ManagedVirtualNetworkSettings; /** * Identity of the workspace */ @@ -1688,6 +2007,10 @@ export interface WorkspacePatchInfo { * SQL administrator login password */ sqlAdministratorLoginPassword?: string; + /** + * Managed Virtual Network Settings + */ + managedVirtualNetworkSettings?: ManagedVirtualNetworkSettings; /** * Resource provisioning state * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1722,6 +2045,57 @@ export interface ManagedIdentitySqlControlSettingsModel extends ProxyResource { grantSqlControlToManagedIdentity?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; } +/** + * A restorable dropped Sql pool + */ +export interface RestorableDroppedSqlPool extends ProxyResource { + /** + * The geo-location where the resource lives + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + /** + * The name of the database + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly databaseName?: string; + /** + * The edition of the database + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly edition?: string; + /** + * The max size in bytes of the database + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly maxSizeBytes?: string; + /** + * The service level objective name of the database + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serviceLevelObjective?: string; + /** + * The elastic pool name of the database + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly elasticPoolName?: string; + /** + * The creation date of the database (ISO8601 format) + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationDate?: Date; + /** + * The deletion date of the database (ISO8601 format) + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly deletionDate?: Date; + /** + * The earliest restore date of the database (ISO8601 format) + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly earliestRestoreDate?: Date; +} + /** * Azure Synapse nested resource, which belongs to a workspace. */ @@ -3347,10 +3721,23 @@ export interface ReplicationLinkListResult extends Array { /** * @interface - * The response to a list Sql pool operations request - * @extends Array + * A list of Sql pool auditing settings. + * @extends Array */ -export interface SqlPoolBlobAuditingPolicySqlPoolOperationListResult extends Array { +export interface SqlPoolBlobAuditingPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * The response to a list Sql pool operations request + * @extends Array + */ +export interface SqlPoolBlobAuditingPolicySqlPoolOperationListResult extends Array { /** * Link to retrieve next page of results. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -3449,6 +3836,27 @@ export interface VulnerabilityAssessmentScanRecordListResult extends Array + */ +export interface ExtendedSqlPoolBlobAuditingPolicyListResult extends Array { + /** + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * The response to a list data masking rules request. + * @extends Array + */ +export interface DataMaskingRuleListResult extends Array { +} + /** * @interface * List of workspaces @@ -3461,6 +3869,14 @@ export interface WorkspaceInfoListResult extends Array { nextLink?: string; } +/** + * @interface + * The response to a list restorable dropped Sql pools request + * @extends Array + */ +export interface RestorableDroppedSqlPoolListResult extends Array { +} + /** * @interface * A list of integration runtime resources. @@ -3513,11 +3929,11 @@ export interface PrivateLinkHubInfoListResult extends Array { /** * Defines values for NodeSize. - * Possible values include: 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge' + * Possible values include: 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge', 'XXXLarge' * @readonly * @enum {string} */ -export type NodeSize = 'None' | 'Small' | 'Medium' | 'Large' | 'XLarge' | 'XXLarge'; +export type NodeSize = 'None' | 'Small' | 'Medium' | 'Large' | 'XLarge' | 'XXLarge' | 'XXXLarge'; /** * Defines values for NodeSizeFamily. @@ -3668,6 +4084,30 @@ export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRu */ export type SecurityAlertPolicyState = 'New' | 'Enabled' | 'Disabled'; +/** + * Defines values for DataMaskingState. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type DataMaskingState = 'Disabled' | 'Enabled'; + +/** + * Defines values for DataMaskingRuleState. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type DataMaskingRuleState = 'Disabled' | 'Enabled'; + +/** + * Defines values for DataMaskingFunction. + * Possible values include: 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' + * @readonly + * @enum {string} + */ +export type DataMaskingFunction = 'Default' | 'CCN' | 'Email' | 'Number' | 'SSN' | 'Text'; + /** * Defines values for ResourceIdentityType. * Possible values include: 'None', 'SystemAssigned' @@ -3790,6 +4230,14 @@ export type IntegrationRuntimeAuthKeyName = 'authKey1' | 'authKey2'; */ export type SsisObjectMetadataType = 'Folder' | 'Project' | 'Package' | 'Environment'; +/** + * Defines values for SensitivityLabelSource. + * Possible values include: 'current', 'recommended' + * @readonly + * @enum {string} + */ +export type SensitivityLabelSource = 'current' | 'recommended'; + /** * Defines values for VulnerabilityAssessmentPolicyBaselineName. * Possible values include: 'master', 'default' @@ -4670,6 +5118,26 @@ export type SqlPoolRestorePointsCreateResponse = RestorePoint & { }; }; +/** + * Contains response data for the get operation. + */ +export type SqlPoolRestorePointsGetResponse = RestorePoint & { + /** + * 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: RestorePoint; + }; +}; + /** * Contains response data for the beginCreate operation. */ @@ -4830,6 +5298,46 @@ export type SqlPoolBlobAuditingPoliciesCreateOrUpdateResponse = SqlPoolBlobAudit }; }; +/** + * Contains response data for the listBySqlPool operation. + */ +export type SqlPoolBlobAuditingPoliciesListBySqlPoolResponse = SqlPoolBlobAuditingPolicyListResult & { + /** + * 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: SqlPoolBlobAuditingPolicyListResult; + }; +}; + +/** + * Contains response data for the listBySqlPoolNext operation. + */ +export type SqlPoolBlobAuditingPoliciesListBySqlPoolNextResponse = SqlPoolBlobAuditingPolicyListResult & { + /** + * 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: SqlPoolBlobAuditingPolicyListResult; + }; +}; + /** * Contains response data for the list operation. */ @@ -4970,6 +5478,26 @@ export type SqlPoolSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & }; }; +/** + * Contains response data for the get operation. + */ +export type SqlPoolSensitivityLabelsGetResponse = SensitivityLabel & { + /** + * 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: SensitivityLabel; + }; +}; + /** * Contains response data for the listCurrentNext operation. */ @@ -5030,6 +5558,26 @@ export type SqlPoolSchemasListResponse = SqlPoolSchemaListResult & { }; }; +/** + * Contains response data for the get operation. + */ +export type SqlPoolSchemasGetResponse = SqlPoolSchema & { + /** + * 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: SqlPoolSchema; + }; +}; + /** * Contains response data for the listNext operation. */ @@ -5070,6 +5618,26 @@ export type SqlPoolTablesListBySchemaResponse = SqlPoolTableListResult & { }; }; +/** + * Contains response data for the get operation. + */ +export type SqlPoolTablesGetResponse = SqlPoolTable & { + /** + * 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: SqlPoolTable; + }; +}; + /** * Contains response data for the listBySchemaNext operation. */ @@ -5270,6 +5838,26 @@ export type SqlPoolVulnerabilityAssessmentScansExportMethodResponse = SqlPoolVul }; }; +/** + * Contains response data for the get operation. + */ +export type SqlPoolVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { + /** + * 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: VulnerabilityAssessmentScanRecord; + }; +}; + /** * Contains response data for the listNext operation. */ @@ -5350,6 +5938,206 @@ export type SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = }; }; +/** + * Contains response data for the get operation. + */ +export type SqlPoolVulnerabilityAssessmentRuleBaselinesGetResponse = SqlPoolVulnerabilityAssessmentRuleBaseline & { + /** + * 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: SqlPoolVulnerabilityAssessmentRuleBaseline; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ExtendedSqlPoolBlobAuditingPoliciesGetResponse = ExtendedSqlPoolBlobAuditingPolicy & { + /** + * 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: ExtendedSqlPoolBlobAuditingPolicy; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ExtendedSqlPoolBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedSqlPoolBlobAuditingPolicy & { + /** + * 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: ExtendedSqlPoolBlobAuditingPolicy; + }; +}; + +/** + * Contains response data for the listBySqlPool operation. + */ +export type ExtendedSqlPoolBlobAuditingPoliciesListBySqlPoolResponse = ExtendedSqlPoolBlobAuditingPolicyListResult & { + /** + * 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: ExtendedSqlPoolBlobAuditingPolicyListResult; + }; +}; + +/** + * Contains response data for the listBySqlPoolNext operation. + */ +export type ExtendedSqlPoolBlobAuditingPoliciesListBySqlPoolNextResponse = ExtendedSqlPoolBlobAuditingPolicyListResult & { + /** + * 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: ExtendedSqlPoolBlobAuditingPolicyListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { + /** + * 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: DataMaskingPolicy; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { + /** + * 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: DataMaskingPolicy; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { + /** + * 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: DataMaskingRule; + }; +}; + +/** + * Contains response data for the listBySqlPool operation. + */ +export type DataMaskingRulesListBySqlPoolResponse = DataMaskingRuleListResult & { + /** + * 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: DataMaskingRuleListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SqlPoolColumnsGetResponse = SqlPoolColumn & { + /** + * 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: SqlPoolColumn; + }; +}; + /** * Contains response data for the listByResourceGroup operation. */ @@ -5680,6 +6468,46 @@ export type WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateResponse = M }; }; +/** + * Contains response data for the get operation. + */ +export type RestorableDroppedSqlPoolsGetResponse = RestorableDroppedSqlPool & { + /** + * 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: RestorableDroppedSqlPool; + }; +}; + +/** + * Contains response data for the listByWorkspace operation. + */ +export type RestorableDroppedSqlPoolsListByWorkspaceResponse = RestorableDroppedSqlPoolListResult & { + /** + * 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: RestorableDroppedSqlPoolListResult; + }; +}; + /** * Contains response data for the update operation. */ diff --git a/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts b/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts index 7a7f6f73403d..454c001ace97 100644 --- a/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +38,7 @@ export { IntegrationRuntimeStatusResponse, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntime, LinkedIntegrationRuntimeKeyAuthorization, @@ -48,6 +52,7 @@ export { ManagedIntegrationRuntimeNode, ManagedIntegrationRuntimeOperationResult, ManagedIntegrationRuntimeStatus, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -58,6 +63,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts b/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts index cdd2aeb1ab4e..daa84c8225ba 100644 --- a/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts @@ -18,12 +18,15 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -37,6 +40,7 @@ export { IpFirewallRuleInfo, IpFirewallRuleInfoListResult, IpFirewallRuleProperties, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -45,6 +49,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -57,6 +62,7 @@ export { ReplaceAllIpFirewallRulesRequest, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/mappers.ts b/sdk/synapse/arm-synapse/src/models/mappers.ts index 863c98c95ff4..edb027637848 100644 --- a/sdk/synapse/arm-synapse/src/models/mappers.ts +++ b/sdk/synapse/arm-synapse/src/models/mappers.ts @@ -91,6 +91,46 @@ export const LibraryRequirements: msRest.CompositeMapper = { } }; +export const LibraryInfo: msRest.CompositeMapper = { + serializedName: "LibraryInfo", + type: { + name: "Composite", + className: "LibraryInfo", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + path: { + serializedName: "path", + type: { + name: "String" + } + }, + containerName: { + serializedName: "containerName", + type: { + name: "String" + } + }, + uploadedTimestamp: { + serializedName: "uploadedTimestamp", + type: { + name: "DateTime" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const Resource: msRest.CompositeMapper = { serializedName: "Resource", type: { @@ -190,6 +230,12 @@ export const BigDataPoolResourceInfo: msRest.CompositeMapper = { name: "Boolean" } }, + sessionLevelPackagesEnabled: { + serializedName: "properties.sessionLevelPackagesEnabled", + type: { + name: "Boolean" + } + }, sparkEventsFolder: { serializedName: "properties.sparkEventsFolder", type: { @@ -209,6 +255,25 @@ export const BigDataPoolResourceInfo: msRest.CompositeMapper = { className: "LibraryRequirements" } }, + customLibraries: { + serializedName: "properties.customLibraries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LibraryInfo" + } + } + } + }, + sparkConfigProperties: { + serializedName: "properties.sparkConfigProperties", + type: { + name: "Composite", + className: "LibraryRequirements" + } + }, sparkVersion: { serializedName: "properties.sparkVersion", type: { @@ -2275,6 +2340,257 @@ export const CreateSqlPoolRestorePointDefinition: msRest.CompositeMapper = { } }; +export const ExtendedSqlPoolBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedSqlPoolBlobAuditingPolicy", + type: { + name: "Composite", + className: "ExtendedSqlPoolBlobAuditingPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + predicateExpression: { + serializedName: "properties.predicateExpression", + type: { + name: "String" + } + }, + state: { + required: true, + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] + } + }, + storageEndpoint: { + serializedName: "properties.storageEndpoint", + type: { + name: "String" + } + }, + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", + type: { + name: "String" + } + }, + retentionDays: { + serializedName: "properties.retentionDays", + type: { + name: "Number" + } + }, + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", + type: { + name: "Uuid" + } + }, + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", + type: { + name: "Boolean" + } + }, + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", + type: { + name: "Boolean" + } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" + } + } + } + } +}; + +export const DataMaskingPolicy: msRest.CompositeMapper = { + serializedName: "DataMaskingPolicy", + type: { + name: "Composite", + className: "DataMaskingPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + dataMaskingState: { + required: true, + serializedName: "properties.dataMaskingState", + type: { + name: "Enum", + allowedValues: [ + "Disabled", + "Enabled" + ] + } + }, + exemptPrincipals: { + serializedName: "properties.exemptPrincipals", + type: { + name: "String" + } + }, + applicationPrincipals: { + readOnly: true, + serializedName: "properties.applicationPrincipals", + type: { + name: "String" + } + }, + maskingLevel: { + readOnly: true, + serializedName: "properties.maskingLevel", + type: { + name: "String" + } + }, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + kind: { + readOnly: true, + serializedName: "kind", + type: { + name: "String" + } + } + } + } +}; + +export const DataMaskingRule: msRest.CompositeMapper = { + serializedName: "DataMaskingRule", + type: { + name: "Composite", + className: "DataMaskingRule", + modelProperties: { + ...ProxyResource.type.modelProperties, + dataMaskingRuleId: { + readOnly: true, + serializedName: "properties.id", + type: { + name: "String" + } + }, + aliasName: { + serializedName: "properties.aliasName", + type: { + name: "String" + } + }, + ruleState: { + serializedName: "properties.ruleState", + type: { + name: "Enum", + allowedValues: [ + "Disabled", + "Enabled" + ] + } + }, + schemaName: { + required: true, + serializedName: "properties.schemaName", + type: { + name: "String" + } + }, + tableName: { + required: true, + serializedName: "properties.tableName", + type: { + name: "String" + } + }, + columnName: { + required: true, + serializedName: "properties.columnName", + type: { + name: "String" + } + }, + maskingFunction: { + required: true, + serializedName: "properties.maskingFunction", + type: { + name: "Enum", + allowedValues: [ + "Default", + "CCN", + "Email", + "Number", + "SSN", + "Text" + ] + } + }, + numberFrom: { + serializedName: "properties.numberFrom", + type: { + name: "String" + } + }, + numberTo: { + serializedName: "properties.numberTo", + type: { + name: "String" + } + }, + prefixSize: { + serializedName: "properties.prefixSize", + type: { + name: "String" + } + }, + suffixSize: { + serializedName: "properties.suffixSize", + type: { + name: "String" + } + }, + replacementString: { + serializedName: "properties.replacementString", + type: { + name: "String" + } + }, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + kind: { + readOnly: true, + serializedName: "kind", + type: { + name: "String" + } + } + } + } +}; + export const DataLakeStorageAccountDetails: msRest.CompositeMapper = { serializedName: "DataLakeStorageAccountDetails", type: { @@ -2391,6 +2707,39 @@ export const PrivateEndpointConnection: msRest.CompositeMapper = { } }; +export const ManagedVirtualNetworkSettings: msRest.CompositeMapper = { + serializedName: "ManagedVirtualNetworkSettings", + type: { + name: "Composite", + className: "ManagedVirtualNetworkSettings", + modelProperties: { + preventDataExfiltration: { + serializedName: "preventDataExfiltration", + type: { + name: "Boolean" + } + }, + linkedAccessCheckOnTargetResource: { + serializedName: "linkedAccessCheckOnTargetResource", + type: { + name: "Boolean" + } + }, + allowedAadTenantIdsForLinking: { + serializedName: "allowedAadTenantIdsForLinking", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const ManagedIdentity: msRest.CompositeMapper = { serializedName: "ManagedIdentity", type: { @@ -2512,6 +2861,13 @@ export const Workspace: msRest.CompositeMapper = { } } }, + managedVirtualNetworkSettings: { + serializedName: "properties.managedVirtualNetworkSettings", + type: { + name: "Composite", + className: "ManagedVirtualNetworkSettings" + } + }, identity: { serializedName: "identity", type: { @@ -2587,6 +2943,13 @@ export const WorkspacePatchInfo: msRest.CompositeMapper = { name: "String" } }, + managedVirtualNetworkSettings: { + serializedName: "properties.managedVirtualNetworkSettings", + type: { + name: "Composite", + className: "ManagedVirtualNetworkSettings" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2639,6 +3002,80 @@ export const ManagedIdentitySqlControlSettingsModel: msRest.CompositeMapper = { } }; +export const RestorableDroppedSqlPool: msRest.CompositeMapper = { + serializedName: "RestorableDroppedSqlPool", + type: { + name: "Composite", + className: "RestorableDroppedSqlPool", + modelProperties: { + ...ProxyResource.type.modelProperties, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + databaseName: { + readOnly: true, + serializedName: "properties.databaseName", + type: { + name: "String" + } + }, + edition: { + readOnly: true, + serializedName: "properties.edition", + type: { + name: "String" + } + }, + maxSizeBytes: { + readOnly: true, + serializedName: "properties.maxSizeBytes", + type: { + name: "String" + } + }, + serviceLevelObjective: { + readOnly: true, + serializedName: "properties.serviceLevelObjective", + type: { + name: "String" + } + }, + elasticPoolName: { + readOnly: true, + serializedName: "properties.elasticPoolName", + type: { + name: "String" + } + }, + creationDate: { + readOnly: true, + serializedName: "properties.creationDate", + type: { + name: "DateTime" + } + }, + deletionDate: { + readOnly: true, + serializedName: "properties.deletionDate", + type: { + name: "DateTime" + } + }, + earliestRestoreDate: { + readOnly: true, + serializedName: "properties.earliestRestoreDate", + type: { + name: "DateTime" + } + } + } + } +}; + export const SubResource: msRest.CompositeMapper = { serializedName: "SubResource", type: { @@ -4876,6 +5313,36 @@ export const ReplicationLinkListResult: msRest.CompositeMapper = { } }; +export const SqlPoolBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "SqlPoolBlobAuditingPolicyListResult", + type: { + name: "Composite", + className: "SqlPoolBlobAuditingPolicyListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SqlPoolBlobAuditingPolicy" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const SqlPoolBlobAuditingPolicySqlPoolOperationListResult: msRest.CompositeMapper = { serializedName: "SqlPoolBlobAuditingPolicySqlPoolOperationListResult", type: { @@ -5116,6 +5583,58 @@ export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper } }; +export const ExtendedSqlPoolBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "ExtendedSqlPoolBlobAuditingPolicyListResult", + type: { + name: "Composite", + className: "ExtendedSqlPoolBlobAuditingPolicyListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExtendedSqlPoolBlobAuditingPolicy" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DataMaskingRuleListResult: msRest.CompositeMapper = { + serializedName: "DataMaskingRuleListResult", + type: { + name: "Composite", + className: "DataMaskingRuleListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataMaskingRule" + } + } + } + } + } + } +}; + export const WorkspaceInfoListResult: msRest.CompositeMapper = { serializedName: "WorkspaceInfoListResult", type: { @@ -5144,6 +5663,29 @@ export const WorkspaceInfoListResult: msRest.CompositeMapper = { } }; +export const RestorableDroppedSqlPoolListResult: msRest.CompositeMapper = { + serializedName: "RestorableDroppedSqlPoolListResult", + type: { + name: "Composite", + className: "RestorableDroppedSqlPoolListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RestorableDroppedSqlPool" + } + } + } + } + } + } +}; + export const IntegrationRuntimeListResponse: msRest.CompositeMapper = { serializedName: "IntegrationRuntimeListResponse", type: { diff --git a/sdk/synapse/arm-synapse/src/models/parameters.ts b/sdk/synapse/arm-synapse/src/models/parameters.ts index f59e5831730f..32a6d5665cd2 100644 --- a/sdk/synapse/arm-synapse/src/models/parameters.ts +++ b/sdk/synapse/arm-synapse/src/models/parameters.ts @@ -90,6 +90,28 @@ export const connectionPolicyName: msRest.OperationURLParameter = { } } }; +export const dataMaskingPolicyName: msRest.OperationURLParameter = { + parameterPath: "dataMaskingPolicyName", + mapper: { + required: true, + isConstant: true, + serializedName: "dataMaskingPolicyName", + defaultValue: 'Default', + type: { + name: "String" + } + } +}; +export const dataMaskingRuleName: msRest.OperationURLParameter = { + parameterPath: "dataMaskingRuleName", + mapper: { + required: true, + serializedName: "dataMaskingRuleName", + type: { + name: "String" + } + } +}; export const dataWarehouseUserActivityName: msRest.OperationURLParameter = { parameterPath: "dataWarehouseUserActivityName", mapper: { @@ -261,6 +283,26 @@ export const resourceGroupName: msRest.OperationURLParameter = { } } }; +export const restorableDroppedSqlPoolId: msRest.OperationURLParameter = { + parameterPath: "restorableDroppedSqlPoolId", + mapper: { + required: true, + serializedName: "restorableDroppedSqlPoolId", + type: { + name: "String" + } + } +}; +export const restorePointName: msRest.OperationURLParameter = { + parameterPath: "restorePointName", + mapper: { + required: true, + serializedName: "restorePointName", + type: { + name: "String" + } + } +}; export const ruleId: msRest.OperationURLParameter = { parameterPath: "ruleId", mapper: { @@ -326,6 +368,20 @@ export const sensitivityLabelSource0: msRest.OperationURLParameter = { } }; export const sensitivityLabelSource1: msRest.OperationURLParameter = { + parameterPath: "sensitivityLabelSource", + mapper: { + required: true, + serializedName: "sensitivityLabelSource", + type: { + name: "Enum", + allowedValues: [ + "current", + "recommended" + ] + } + } +}; +export const sensitivityLabelSource2: msRest.OperationURLParameter = { parameterPath: "sensitivityLabelSource", mapper: { required: true, diff --git a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts index 26864d10de7a..3f8caabd4fd6 100644 --- a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts @@ -17,6 +17,8 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, @@ -24,6 +26,7 @@ export { ErrorContract, ErrorDetail, ErrorResponse, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +38,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -43,6 +47,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, OperationResource, PrivateEndpoint, @@ -55,6 +60,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts b/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts index eed25fd764c1..b6beac7fd367 100644 --- a/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts @@ -18,12 +18,15 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +38,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -43,6 +47,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -55,6 +60,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts b/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts index 2cf3807756af..44d65498f331 100644 --- a/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -51,6 +56,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts new file mode 100644 index 000000000000..18a5623b025e --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts @@ -0,0 +1,89 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AutoPauseProperties, + AutoScaleProperties, + AzureEntityResource, + BaseResource, + BigDataPoolResourceInfo, + CmdkeySetup, + ComponentSetup, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EntityReference, + EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + LibraryInfo, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorableDroppedSqlPoolListResult, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + Workspace, + WorkspaceAadAdminInfo +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts index a6ea0a462b3d..6bd06425462f 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, @@ -58,6 +64,7 @@ export { Sku, SqlPool, SqlPoolBlobAuditingPolicy, + SqlPoolBlobAuditingPolicyListResult, SqlPoolColumn, SqlPoolConnectionPolicy, SqlPoolOperation, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts new file mode 100644 index 000000000000..06f977c7fcf9 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts @@ -0,0 +1,86 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AutoPauseProperties, + AutoScaleProperties, + AzureEntityResource, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EntityReference, + EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + LibraryInfo, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + Workspace, + WorkspaceAadAdminInfo +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts index a6ea0a462b3d..06f977c7fcf9 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts index a6ea0a462b3d..06f977c7fcf9 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts index a6ea0a462b3d..06f977c7fcf9 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts index a7b37594f162..7d5366f4d0a2 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts @@ -17,12 +17,15 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -34,6 +37,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -42,6 +46,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -52,6 +57,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts index 6adb1684666e..3b762029e34c 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts index c7330f3a9829..f3eac1076bf3 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -51,6 +56,7 @@ export { ReplicationLink, ReplicationLinkListResult, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts index 9fd888c2ef9f..f89e01a2ea23 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts @@ -19,9 +19,12 @@ export { CreateSqlPoolRestorePointDefinition, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -33,6 +36,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -41,6 +45,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -51,6 +56,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, RestorePointListResult, SecretBase, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts index 2dd1feebdb92..0c9b4d55ad92 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts index a6ea0a462b3d..06f977c7fcf9 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts index 2c72c61ace98..2bac939babd3 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts index 3b40d9ce477a..db3d00afba5a 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts index bb2732885d25..0fc8f3afebb3 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts index a6ea0a462b3d..06f977c7fcf9 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts index a6ea0a462b3d..06f977c7fcf9 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts index 826065648221..c5397d2243fa 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts index 31e3bc22c2fe..0c5ed14c3af3 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts @@ -18,9 +18,12 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +35,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,6 +44,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -50,6 +55,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts index eefe3d11a4d3..c00f00cff649 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts @@ -18,12 +18,15 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +38,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -43,6 +47,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -54,6 +59,7 @@ export { ReplicationLink, Resource, ResourceMoveDefinition, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts index a2df50e620d3..888cf3cb9740 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts @@ -18,12 +18,15 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +38,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -43,6 +47,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -53,6 +58,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts index a7b37594f162..7d5366f4d0a2 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts @@ -17,12 +17,15 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -34,6 +37,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -42,6 +46,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -52,6 +57,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts index 6580e9bfa9a0..5b2b3c25a4aa 100644 --- a/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts @@ -18,12 +18,15 @@ export { ComponentSetup, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +38,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + LibraryInfo, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -43,6 +47,7 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, @@ -53,6 +58,7 @@ export { ProxyResource, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, diff --git a/sdk/synapse/arm-synapse/src/operations/dataMaskingPolicies.ts b/sdk/synapse/arm-synapse/src/operations/dataMaskingPolicies.ts new file mode 100644 index 000000000000..cd70a42f80f0 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/dataMaskingPolicies.ts @@ -0,0 +1,166 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/dataMaskingPoliciesMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a DataMaskingPolicies. */ +export class DataMaskingPolicies { + private readonly client: SynapseManagementClientContext; + + /** + * Create a DataMaskingPolicies. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Creates or updates a Sql pool data masking policy + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param parameters Parameters for creating or updating a data masking policy. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, parameters: Models.DataMaskingPolicy, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param parameters Parameters for creating or updating a data masking policy. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, parameters: Models.DataMaskingPolicy, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param parameters Parameters for creating or updating a data masking policy. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, parameters: Models.DataMaskingPolicy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, parameters: Models.DataMaskingPolicy, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Gets a Sql pool data masking policy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataMaskingPolicies/{dataMaskingPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.dataMaskingPolicyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DataMaskingPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DataMaskingPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataMaskingPolicies/{dataMaskingPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.dataMaskingPolicyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DataMaskingPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/dataMaskingRules.ts b/sdk/synapse/arm-synapse/src/operations/dataMaskingRules.ts new file mode 100644 index 000000000000..e6c85777163f --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/dataMaskingRules.ts @@ -0,0 +1,174 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/dataMaskingRulesMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a DataMaskingRules. */ +export class DataMaskingRules { + private readonly client: SynapseManagementClientContext; + + /** + * Create a DataMaskingRules. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Creates or updates a Sql pool data masking rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param dataMaskingRuleName The name of the data masking rule. + * @param parameters The required parameters for creating or updating a data masking rule. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, dataMaskingRuleName: string, parameters: Models.DataMaskingRule, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param dataMaskingRuleName The name of the data masking rule. + * @param parameters The required parameters for creating or updating a data masking rule. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, dataMaskingRuleName: string, parameters: Models.DataMaskingRule, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param dataMaskingRuleName The name of the data masking rule. + * @param parameters The required parameters for creating or updating a data masking rule. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, dataMaskingRuleName: string, parameters: Models.DataMaskingRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, dataMaskingRuleName: string, parameters: Models.DataMaskingRule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + dataMaskingRuleName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of Sql pool data masking rules. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param [options] The optional parameters + * @returns Promise + */ + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param callback The callback + */ + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param options The optional parameters + * @param callback The callback + */ + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + options + }, + listBySqlPoolOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.dataMaskingPolicyName, + Parameters.dataMaskingRuleName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.DataMaskingRule, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DataMaskingRule + }, + 201: { + bodyMapper: Mappers.DataMaskingRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySqlPoolOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.dataMaskingPolicyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DataMaskingRuleListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/extendedSqlPoolBlobAuditingPolicies.ts b/sdk/synapse/arm-synapse/src/operations/extendedSqlPoolBlobAuditingPolicies.ts new file mode 100644 index 000000000000..5b5c0a3dfcf7 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/extendedSqlPoolBlobAuditingPolicies.ts @@ -0,0 +1,283 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/extendedSqlPoolBlobAuditingPoliciesMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a ExtendedSqlPoolBlobAuditingPolicies. */ +export class ExtendedSqlPoolBlobAuditingPolicies { + private readonly client: SynapseManagementClientContext; + + /** + * Create a ExtendedSqlPoolBlobAuditingPolicies. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Gets an extended Sql pool's blob auditing policy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an extended Sql pool's blob auditing policy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param parameters The extended Sql pool blob auditing policy. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, parameters: Models.ExtendedSqlPoolBlobAuditingPolicy, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param parameters The extended Sql pool blob auditing policy. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, parameters: Models.ExtendedSqlPoolBlobAuditingPolicy, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param parameters The extended Sql pool blob auditing policy. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, parameters: Models.ExtendedSqlPoolBlobAuditingPolicy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, parameters: Models.ExtendedSqlPoolBlobAuditingPolicy, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Lists extended auditing settings of a Sql pool. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param [options] The optional parameters + * @returns Promise + */ + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param callback The callback + */ + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param options The optional parameters + * @param callback The callback + */ + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + options + }, + listBySqlPoolOperationSpec, + callback) as Promise; + } + + /** + * Lists extended auditing settings of a Sql pool. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySqlPoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySqlPoolNext(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 + */ + listBySqlPoolNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySqlPoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySqlPoolNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/extendedAuditingSettings/{blobAuditingPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.blobAuditingPolicyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExtendedSqlPoolBlobAuditingPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/extendedAuditingSettings/{blobAuditingPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.blobAuditingPolicyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ExtendedSqlPoolBlobAuditingPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ExtendedSqlPoolBlobAuditingPolicy + }, + 201: { + bodyMapper: Mappers.ExtendedSqlPoolBlobAuditingPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySqlPoolOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/extendedAuditingSettings", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExtendedSqlPoolBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySqlPoolNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExtendedSqlPoolBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/index.ts b/sdk/synapse/arm-synapse/src/operations/index.ts index 9e7e9a68e16d..7cf7b203ce1d 100644 --- a/sdk/synapse/arm-synapse/src/operations/index.ts +++ b/sdk/synapse/arm-synapse/src/operations/index.ts @@ -30,9 +30,14 @@ export * from "./sqlPoolVulnerabilityAssessments"; export * from "./sqlPoolVulnerabilityAssessmentScans"; export * from "./sqlPoolSecurityAlertPolicies"; export * from "./sqlPoolVulnerabilityAssessmentRuleBaselines"; +export * from "./extendedSqlPoolBlobAuditingPolicies"; +export * from "./dataMaskingPolicies"; +export * from "./dataMaskingRules"; +export * from "./sqlPoolColumns"; export * from "./workspaces"; export * from "./workspaceAadAdmins"; export * from "./workspaceManagedIdentitySqlControlSettings"; +export * from "./restorableDroppedSqlPools"; export * from "./integrationRuntimes"; export * from "./integrationRuntimeNodeIpAddressOperations"; export * from "./integrationRuntimeObjectMetadata"; diff --git a/sdk/synapse/arm-synapse/src/operations/restorableDroppedSqlPools.ts b/sdk/synapse/arm-synapse/src/operations/restorableDroppedSqlPools.ts new file mode 100644 index 000000000000..af4adda2146f --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/restorableDroppedSqlPools.ts @@ -0,0 +1,151 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/restorableDroppedSqlPoolsMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a RestorableDroppedSqlPools. */ +export class RestorableDroppedSqlPools { + private readonly client: SynapseManagementClientContext; + + /** + * Create a RestorableDroppedSqlPools. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Gets a deleted sql pool that can be restored + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param restorableDroppedSqlPoolId The id of the deleted Sql Pool in the form of + * sqlPoolName,deletionTimeInFileTimeFormat + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, restorableDroppedSqlPoolId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param restorableDroppedSqlPoolId The id of the deleted Sql Pool in the form of + * sqlPoolName,deletionTimeInFileTimeFormat + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, restorableDroppedSqlPoolId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param restorableDroppedSqlPoolId The id of the deleted Sql Pool in the form of + * sqlPoolName,deletionTimeInFileTimeFormat + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, restorableDroppedSqlPoolId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, restorableDroppedSqlPoolId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + restorableDroppedSqlPoolId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of deleted Sql pools that can be restored + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param [options] The optional parameters + * @returns Promise + */ + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param callback The callback + */ + listByWorkspace(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param options The optional parameters + * @param callback The callback + */ + listByWorkspace(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + listByWorkspaceOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/restorableDroppedSqlPools/{restorableDroppedSqlPoolId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.restorableDroppedSqlPoolId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableDroppedSqlPool + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + +const listByWorkspaceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/restorableDroppedSqlPools", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableDroppedSqlPoolListResult + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolBlobAuditingPolicies.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolBlobAuditingPolicies.ts index 77634fe9a5bf..7c349ace71ea 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolBlobAuditingPolicies.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolBlobAuditingPolicies.ts @@ -102,6 +102,70 @@ export class SqlPoolBlobAuditingPolicies { createOrUpdateOperationSpec, callback) as Promise; } + + /** + * Lists auditing settings of a Sql pool. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param [options] The optional parameters + * @returns Promise + */ + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param callback The callback + */ + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param options The optional parameters + * @param callback The callback + */ + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySqlPool(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + options + }, + listBySqlPoolOperationSpec, + callback) as Promise; + } + + /** + * Lists auditing settings of a Sql pool. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySqlPoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySqlPoolNext(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 + */ + listBySqlPoolNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySqlPoolNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySqlPoolNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -169,3 +233,53 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listBySqlPoolOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/auditingSettings", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SqlPoolBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySqlPoolNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SqlPoolBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolColumns.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolColumns.ts new file mode 100644 index 000000000000..f486438b0e74 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolColumns.ts @@ -0,0 +1,106 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/sqlPoolColumnsMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a SqlPoolColumns. */ +export class SqlPoolColumns { + private readonly client: SynapseManagementClientContext; + + /** + * Create a SqlPoolColumns. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get Sql pool column + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, columnName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, columnName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, columnName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + schemaName, + tableName, + columnName, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.schemaName, + Parameters.tableName, + Parameters.columnName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SqlPoolColumn + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolRestorePoints.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolRestorePoints.ts index 995564fc77f5..c4f43406fd78 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolRestorePoints.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolRestorePoints.ts @@ -77,6 +77,86 @@ export class SqlPoolRestorePoints { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Gets a restore point. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param restorePointName The name of the restore point. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, restorePointName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param restorePointName The name of the restore point. + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, restorePointName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param restorePointName The name of the restore point. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, restorePointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, restorePointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + restorePointName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes a restore point. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param restorePointName The name of the restore point. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, workspaceName: string, sqlPoolName: string, restorePointName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param restorePointName The name of the restore point. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, workspaceName: string, sqlPoolName: string, restorePointName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param restorePointName The name of the restore point. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, workspaceName: string, sqlPoolName: string, restorePointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, workspaceName: string, sqlPoolName: string, restorePointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + restorePointName, + options + }, + deleteMethodOperationSpec, + callback); + } + /** * Creates a restore point for a data warehouse. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -157,6 +237,58 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints/{restorePointName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.restorePointName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorePoint + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints/{restorePointName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.restorePointName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints", diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolSchemas.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolSchemas.ts index aebcf7a9fbdd..779af4699fce 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolSchemas.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolSchemas.ts @@ -62,6 +62,46 @@ export class SqlPoolSchemas { callback) as Promise; } + /** + * Get Sql Pool schema + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + schemaName, + options + }, + getOperationSpec, + callback) as Promise; + } + /** * Gets schemas of a given SQL pool. * @summary Gets schemas of a given SQL pool @@ -121,6 +161,33 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.schemaName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SqlPoolSchema + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolSensitivityLabels.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolSensitivityLabels.ts index bf45c7f0a2a8..c525519de704 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolSensitivityLabels.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolSensitivityLabels.ts @@ -199,6 +199,61 @@ export class SqlPoolSensitivityLabels { callback); } + /** + * Gets the sensitivity label of a given column + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param sensitivityLabelSource The source of the sensitivity label. Possible values include: + * 'current', 'recommended' + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, columnName: string, sensitivityLabelSource: Models.SensitivityLabelSource, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param sensitivityLabelSource The source of the sensitivity label. Possible values include: + * 'current', 'recommended' + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, columnName: string, sensitivityLabelSource: Models.SensitivityLabelSource, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param columnName The name of the column. + * @param sensitivityLabelSource The source of the sensitivity label. Possible values include: + * 'current', 'recommended' + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, columnName: string, sensitivityLabelSource: Models.SensitivityLabelSource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, columnName: string, sensitivityLabelSource: Models.SensitivityLabelSource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + schemaName, + tableName, + columnName, + sensitivityLabelSource, + options + }, + getOperationSpec, + callback) as Promise; + } + /** * Enables sensitivity recommendations on a given column (recommendations are enabled by default on * all columns) @@ -481,6 +536,36 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { serializer }; +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.schemaName, + Parameters.tableName, + Parameters.columnName, + Parameters.sensitivityLabelSource1 + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SensitivityLabel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const enableRecommendationOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable", @@ -492,7 +577,7 @@ const enableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.schemaName, Parameters.tableName, Parameters.columnName, - Parameters.sensitivityLabelSource1 + Parameters.sensitivityLabelSource2 ], queryParameters: [ Parameters.apiVersion @@ -520,7 +605,7 @@ const disableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.schemaName, Parameters.tableName, Parameters.columnName, - Parameters.sensitivityLabelSource1 + Parameters.sensitivityLabelSource2 ], queryParameters: [ Parameters.apiVersion diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolTables.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolTables.ts index 57a27ef95543..a743883aaffe 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolTables.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolTables.ts @@ -66,6 +66,50 @@ export class SqlPoolTables { callback) as Promise; } + /** + * Get Sql pool table + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param schemaName The name of the schema. + * @param tableName The name of the table. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, schemaName: string, tableName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + schemaName, + tableName, + options + }, + getOperationSpec, + callback) as Promise; + } + /** * Gets tables of a given schema in a SQL pool. * @summary Gets tables of a given schema in a SQL pool @@ -126,6 +170,34 @@ const listBySchemaOperationSpec: msRest.OperationSpec = { serializer }; +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.schemaName, + Parameters.tableName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SqlPoolTable + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listBySchemaNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.ts index d9d4dbfad084..71cdd17b1528 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.ts @@ -128,6 +128,56 @@ export class SqlPoolVulnerabilityAssessmentRuleBaselines { deleteMethodOperationSpec, callback); } + + /** + * Gets a SqlPool's vulnerability assessment rule baseline. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param ruleId The vulnerability assessment rule ID. + * @param baselineName The name of the vulnerability assessment rule baseline (default implies a + * baseline on a Sql pool level rule and master for server level rule). Possible values include: + * 'master', 'default' + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, ruleId: string, baselineName: Models.VulnerabilityAssessmentPolicyBaselineName, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param ruleId The vulnerability assessment rule ID. + * @param baselineName The name of the vulnerability assessment rule baseline (default implies a + * baseline on a Sql pool level rule and master for server level rule). Possible values include: + * 'master', 'default' + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, ruleId: string, baselineName: Models.VulnerabilityAssessmentPolicyBaselineName, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param ruleId The vulnerability assessment rule ID. + * @param baselineName The name of the vulnerability assessment rule baseline (default implies a + * baseline on a Sql pool level rule and master for server level rule). Possible values include: + * 'master', 'default' + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, ruleId: string, baselineName: Models.VulnerabilityAssessmentPolicyBaselineName, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, ruleId: string, baselineName: Models.VulnerabilityAssessmentPolicyBaselineName, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + ruleId, + baselineName, + options + }, + getOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -194,3 +244,32 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { }, serializer }; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.vulnerabilityAssessmentName, + Parameters.ruleId, + Parameters.baselineName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SqlPoolVulnerabilityAssessmentRuleBaseline + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessmentScans.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessmentScans.ts index 976d92fcc7e7..22e3f374b27d 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessmentScans.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessmentScans.ts @@ -117,6 +117,46 @@ export class SqlPoolVulnerabilityAssessmentScans { callback) as Promise; } + /** + * Gets a vulnerability assessment scan record of a Sql pool. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param scanId The vulnerability assessment scan Id of the scan to retrieve. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, scanId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param scanId The vulnerability assessment scan Id of the scan to retrieve. + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, scanId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlPoolName SQL pool name + * @param scanId The vulnerability assessment scan Id of the scan to retrieve. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, scanId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, scanId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + scanId, + options + }, + getOperationSpec, + callback) as Promise; + } + /** * Executes a Vulnerability Assessment database scan. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -229,6 +269,34 @@ const exportMethodOperationSpec: msRest.OperationSpec = { serializer }; +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.vulnerabilityAssessmentName, + Parameters.scanId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VulnerabilityAssessmentScanRecord + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginInitiateScanOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}/initiateScan", diff --git a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts index b9608bbd976f..052bfb930ec3 100644 --- a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts +++ b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts @@ -39,9 +39,14 @@ class SynapseManagementClient extends SynapseManagementClientContext { sqlPoolVulnerabilityAssessmentScans: operations.SqlPoolVulnerabilityAssessmentScans; sqlPoolSecurityAlertPolicies: operations.SqlPoolSecurityAlertPolicies; sqlPoolVulnerabilityAssessmentRuleBaselines: operations.SqlPoolVulnerabilityAssessmentRuleBaselines; + extendedSqlPoolBlobAuditingPolicies: operations.ExtendedSqlPoolBlobAuditingPolicies; + dataMaskingPolicies: operations.DataMaskingPolicies; + dataMaskingRules: operations.DataMaskingRules; + sqlPoolColumns: operations.SqlPoolColumns; workspaces: operations.Workspaces; workspaceAadAdmins: operations.WorkspaceAadAdmins; workspaceManagedIdentitySqlControlSettings: operations.WorkspaceManagedIdentitySqlControlSettings; + restorableDroppedSqlPools: operations.RestorableDroppedSqlPools; integrationRuntimes: operations.IntegrationRuntimes; integrationRuntimeNodeIpAddress: operations.IntegrationRuntimeNodeIpAddressOperations; integrationRuntimeObjectMetadata: operations.IntegrationRuntimeObjectMetadata; @@ -86,9 +91,14 @@ class SynapseManagementClient extends SynapseManagementClientContext { this.sqlPoolVulnerabilityAssessmentScans = new operations.SqlPoolVulnerabilityAssessmentScans(this); this.sqlPoolSecurityAlertPolicies = new operations.SqlPoolSecurityAlertPolicies(this); this.sqlPoolVulnerabilityAssessmentRuleBaselines = new operations.SqlPoolVulnerabilityAssessmentRuleBaselines(this); + this.extendedSqlPoolBlobAuditingPolicies = new operations.ExtendedSqlPoolBlobAuditingPolicies(this); + this.dataMaskingPolicies = new operations.DataMaskingPolicies(this); + this.dataMaskingRules = new operations.DataMaskingRules(this); + this.sqlPoolColumns = new operations.SqlPoolColumns(this); this.workspaces = new operations.Workspaces(this); this.workspaceAadAdmins = new operations.WorkspaceAadAdmins(this); this.workspaceManagedIdentitySqlControlSettings = new operations.WorkspaceManagedIdentitySqlControlSettings(this); + this.restorableDroppedSqlPools = new operations.RestorableDroppedSqlPools(this); this.integrationRuntimes = new operations.IntegrationRuntimes(this); this.integrationRuntimeNodeIpAddress = new operations.IntegrationRuntimeNodeIpAddressOperations(this); this.integrationRuntimeObjectMetadata = new operations.IntegrationRuntimeObjectMetadata(this);