From d5aca7abebf72bc38fc0f09c4177463f671b7673 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 11 Nov 2020 07:30:57 +0000 Subject: [PATCH] CodeGen from PR 11612 in Azure/azure-rest-api-specs Merge c20bbe0e5c40421a6e877400235b95e6ac478061 into e320555a456cbc894c5a89466defdfca45ca18a8 --- .../src/models/bigDataPoolsMappers.ts | 24 +- .../src/models/dataMaskingPoliciesMappers.ts | 101 + .../src/models/dataMaskingRulesMappers.ts | 102 + ...endedSqlPoolBlobAuditingPoliciesMappers.ts | 102 + sdk/synapse/arm-synapse/src/models/index.ts | 6387 ++++++++++++----- .../src/models/integrationRuntimesMappers.ts | 23 +- .../src/models/ipFirewallRulesMappers.ts | 24 +- .../arm-synapse/src/models/keysMappers.ts | 104 + sdk/synapse/arm-synapse/src/models/mappers.ts | 4639 ++++++++---- .../src/models/operationsMappers.ts | 1 - .../arm-synapse/src/models/parameters.ts | 132 +- .../privateEndpointConnectionsMappers.ts | 23 +- ...ndpointConnectionsPrivateLinkHubMappers.ts | 104 + .../src/models/privateLinkHubsMappers.ts | 24 +- .../src/models/privateLinkResourcesMappers.ts | 27 +- .../restorableDroppedSqlPoolsMappers.ts | 104 + .../sqlPoolBlobAuditingPoliciesMappers.ts | 24 +- .../src/models/sqlPoolColumnsMappers.ts | 101 + .../sqlPoolConnectionPoliciesMappers.ts | 27 +- ...lPoolDataWarehouseUserActivitiesMappers.ts | 23 +- .../models/sqlPoolGeoBackupPoliciesMappers.ts | 28 +- .../sqlPoolMetadataSyncConfigsMappers.ts | 23 +- .../models/sqlPoolOperationResultsMappers.ts | 4 +- .../src/models/sqlPoolOperationsMappers.ts | 23 +- .../models/sqlPoolReplicationLinksMappers.ts | 27 +- .../src/models/sqlPoolRestorePointsMappers.ts | 26 +- .../src/models/sqlPoolSchemasMappers.ts | 23 +- .../sqlPoolSecurityAlertPoliciesMappers.ts | 24 +- .../models/sqlPoolSensitivityLabelsMappers.ts | 26 +- .../src/models/sqlPoolTableColumnsMappers.ts | 23 +- .../src/models/sqlPoolTablesMappers.ts | 23 +- ...qlPoolTransparentDataEncryptionsMappers.ts | 27 +- .../src/models/sqlPoolUsagesMappers.ts | 4 +- ...erabilityAssessmentRuleBaselinesMappers.ts | 23 +- ...PoolVulnerabilityAssessmentScansMappers.ts | 23 +- .../sqlPoolVulnerabilityAssessmentsMappers.ts | 23 +- .../sqlPoolWorkloadClassifierMappers.ts | 102 + .../src/models/sqlPoolWorkloadGroupMappers.ts | 102 + .../arm-synapse/src/models/sqlPoolsMappers.ts | 23 +- .../src/models/workspaceAadAdminsMappers.ts | 24 +- ...anagedIdentitySqlControlSettingsMappers.ts | 23 +- ...gedSqlServerBlobAuditingPoliciesMappers.ts | 102 + ...agedSqlServerEncryptionProtectorMappers.ts | 102 + ...rverExtendedBlobAuditingPoliciesMappers.ts | 102 + ...agedSqlServerRecoverableSqlpoolsMappers.ts | 102 + ...agedSqlServerSecurityAlertPolicyMappers.ts | 102 + .../workspaceManagedSqlServerUsagesMappers.ts | 14 + ...qlServerVulnerabilityAssessmentsMappers.ts | 102 + ...agedqlServerBlobAuditingPoliciesMappers.ts | 101 + .../models/workspaceSqlAadAdminsMappers.ts | 103 + .../src/models/workspacesMappers.ts | 24 +- .../src/operations/bigDataPools.ts | 4 +- .../src/operations/dataMaskingPolicies.ts | 166 + .../src/operations/dataMaskingRules.ts | 174 + .../extendedSqlPoolBlobAuditingPolicies.ts | 283 + .../arm-synapse/src/operations/index.ts | 18 + .../integrationRuntimeAuthKeysOperations.ts | 12 +- .../integrationRuntimeConnectionInfos.ts | 6 +- .../integrationRuntimeCredentials.ts | 6 +- ...egrationRuntimeMonitoringDataOperations.ts | 22 +- ...tegrationRuntimeNodeIpAddressOperations.ts | 6 +- .../src/operations/integrationRuntimeNodes.ts | 18 +- .../integrationRuntimeObjectMetadata.ts | 57 +- .../integrationRuntimeStatusOperations.ts | 6 +- .../src/operations/integrationRuntimes.ts | 262 +- .../src/operations/ipFirewallRules.ts | 6 +- .../arm-synapse/src/operations/keys.ts | 336 + .../arm-synapse/src/operations/operations.ts | 15 +- .../operations/privateEndpointConnections.ts | 37 +- ...rivateEndpointConnectionsPrivateLinkHub.ts | 138 + .../src/operations/privateLinkHubs.ts | 138 +- .../src/operations/privateLinkResources.ts | 6 +- .../operations/restorableDroppedSqlPools.ts | 151 + .../operations/sqlPoolBlobAuditingPolicies.ts | 114 + .../src/operations/sqlPoolColumns.ts | 106 + .../operations/sqlPoolConnectionPolicies.ts | 2 +- .../operations/sqlPoolGeoBackupPolicies.ts | 65 +- .../src/operations/sqlPoolOperationResults.ts | 10 +- .../src/operations/sqlPoolReplicationLinks.ts | 72 +- .../src/operations/sqlPoolRestorePoints.ts | 134 +- .../src/operations/sqlPoolSchemas.ts | 67 + .../sqlPoolSecurityAlertPolicies.ts | 120 +- .../operations/sqlPoolSensitivityLabels.ts | 94 +- .../src/operations/sqlPoolTables.ts | 72 + .../sqlPoolTransparentDataEncryptions.ts | 118 +- .../src/operations/sqlPoolUsages.ts | 4 +- ...oolVulnerabilityAssessmentRuleBaselines.ts | 80 + .../sqlPoolVulnerabilityAssessmentScans.ts | 68 + .../sqlPoolVulnerabilityAssessments.ts | 1 + .../operations/sqlPoolWorkloadClassifier.ts | 376 + .../src/operations/sqlPoolWorkloadGroup.ts | 358 + .../arm-synapse/src/operations/sqlPools.ts | 13 +- .../src/operations/workspaceAadAdmins.ts | 3 +- ...aceManagedSqlServerBlobAuditingPolicies.ts | 200 + ...paceManagedSqlServerEncryptionProtector.ts | 326 + ...edSqlServerExtendedBlobAuditingPolicies.ts | 272 + ...paceManagedSqlServerRecoverableSqlpools.ts | 203 + ...paceManagedSqlServerSecurityAlertPolicy.ts | 269 + .../workspaceManagedSqlServerUsages.ts | 140 + ...anagedSqlServerVulnerabilityAssessments.ts | 330 + ...paceManagedqlServerBlobAuditingPolicies.ts | 99 + .../src/operations/workspaceSqlAadAdmins.ts | 210 + .../arm-synapse/src/operations/workspaces.ts | 8 +- .../src/synapseManagementClient.ts | 36 + 104 files changed, 15834 insertions(+), 3577 deletions(-) create mode 100644 sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/keysMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlpoolsMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerUsagesMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/workspaceManagedqlServerBlobAuditingPoliciesMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/dataMaskingPolicies.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/dataMaskingRules.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/extendedSqlPoolBlobAuditingPolicies.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/keys.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/privateEndpointConnectionsPrivateLinkHub.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/restorableDroppedSqlPools.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/sqlPoolColumns.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/sqlPoolWorkloadClassifier.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/sqlPoolWorkloadGroup.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerBlobAuditingPolicies.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerEncryptionProtector.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerRecoverableSqlpools.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerSecurityAlertPolicy.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerUsages.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerVulnerabilityAssessments.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/workspaceManagedqlServerBlobAuditingPolicies.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/workspaceSqlAadAdmins.ts diff --git a/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts index b5b22556b13e..9fb4c57aa05f 100644 --- a/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts @@ -11,21 +11,28 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolPatchInfo, BigDataPoolResourceInfo, BigDataPoolResourceInfoListResult, - CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -37,6 +44,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -45,21 +53,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -80,6 +96,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; 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..5758b0b3c47a --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts @@ -0,0 +1,101 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} 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..b0899aef812e --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts @@ -0,0 +1,102 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataMaskingRuleListResult, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} 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..5eca833c6daa --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts @@ -0,0 +1,102 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicyListResult, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} 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..27ccf6c97e20 100644 --- a/sdk/synapse/arm-synapse/src/models/index.ts +++ b/sdk/synapse/arm-synapse/src/models/index.ts @@ -66,11 +66,12 @@ export interface LibraryRequirements { } /** - * An interface representing Resource. + * 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 +82,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 { /** @@ -139,6 +142,10 @@ export interface BigDataPoolResourceInfo extends TrackedResource { * Library version requirements */ libraryRequirements?: LibraryRequirements; + /** + * Spark configuration file to specify additional properties + */ + sparkConfigProperties?: LibraryRequirements; /** * The Apache Spark version. */ @@ -149,7 +156,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 +178,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 +214,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 { /** @@ -681,6 +692,10 @@ export interface MetadataSyncConfig extends BaseResource { * Indicates whether the metadata sync is enabled or disabled */ enabled?: boolean; + /** + * The Sync Interval in minutes. + */ + syncIntervalInMinutes?: number; } /** @@ -1500,719 +1515,752 @@ export interface CreateSqlPoolRestorePointDefinition { } /** - * Details of the data lake storage account associated with the workspace + * Workload group operations for a sql pool */ -export interface DataLakeStorageAccountDetails { +export interface WorkloadGroup extends ProxyResource { /** - * Account URL + * The workload group minimum percentage resource. */ - accountUrl?: string; + minResourcePercent: number; /** - * Filesystem name + * The workload group cap percentage resource. */ - filesystem?: string; -} - -/** - * Virtual Network Profile - */ -export interface VirtualNetworkProfile { + maxResourcePercent: number; /** - * Subnet ID used for computes in workspace + * The workload group request minimum grant percentage. */ - computeSubnetId?: string; -} - -/** - * Private endpoint details - */ -export interface PrivateEndpoint extends BaseResource { + minResourcePercentPerRequest: number; /** - * Resource id of the private endpoint. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload group request maximum grant percentage. */ - readonly id?: string; + maxResourcePercentPerRequest?: number; + /** + * The workload group importance level. + */ + importance?: string; + /** + * The workload group query execution timeout. + */ + queryExecutionTimeout?: number; } /** - * Connection state details of the private endpoint + * Workload classifier operations for a data warehouse */ -export interface PrivateLinkServiceConnectionState { +export interface WorkloadClassifier extends ProxyResource { /** - * The private link service connection status. Possible values include: 'Approved', 'Pending', - * 'Rejected', 'Disconnected' + * The workload classifier member name. */ - status?: Status; + memberName: string; /** - * The private link service connection description. + * The workload classifier label. */ - description?: string; + label?: string; /** - * The actions required for private link service connection. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload classifier context. */ - readonly actionsRequired?: string; + context?: string; + /** + * The workload classifier start time for classification. + */ + startTime?: string; + /** + * The workload classifier end time for classification. + */ + endTime?: string; + /** + * The workload classifier importance. + */ + importance?: string; } /** - * A private endpoint connection + * An interface representing DataMaskingPolicy. */ -export interface PrivateEndpointConnection extends ProxyResource { +export interface DataMaskingPolicy extends ProxyResource { /** - * The private endpoint which the connection belongs to. + * The state of the data masking policy. Possible values include: 'Disabled', 'Enabled' */ - privateEndpoint?: PrivateEndpoint; + dataMaskingState: DataMaskingState; /** - * Connection state of the private endpoint connection. + * 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. */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + exemptPrincipals?: string; /** - * Provisioning state of the private endpoint connection. + * 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 provisioningState?: string; -} - -/** - * The workspace managed identity - */ -export interface ManagedIdentity { + readonly applicationPrincipals?: string; /** - * The principal ID of the workspace managed identity + * 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 principalId?: string; + readonly maskingLevel?: string; /** - * The tenant ID of the workspace managed identity + * The location of the data masking policy. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly tenantId?: string; + readonly location?: string; /** - * The type of managed identity for the workspace. Possible values include: 'None', - * 'SystemAssigned' + * 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.** */ - type?: ResourceIdentityType; + readonly kind?: string; } /** - * A workspace + * An extended Sql pool blob auditing policy. */ -export interface Workspace extends TrackedResource { - /** - * Workspace default data lake storage account details - */ - defaultDataLakeStorage?: DataLakeStorageAccountDetails; +export interface ExtendedSqlPoolBlobAuditingPolicy extends ProxyResource { /** - * SQL administrator login password + * Specifies condition of where clause when creating an audit. */ - sqlAdministratorLoginPassword?: string; + predicateExpression?: string; /** - * Workspace managed resource group. The resource group name uniquely identifies the resource - * group within the user subscriptionId. The resource group name must be no longer than 90 - * characters long, and must be alphanumeric characters (Char.IsLetterOrDigit()) and '-', '_', - * '(', ')' and'.'. Note that the name cannot end with '.' + * Specifies the state of the policy. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' */ - managedResourceGroupName?: string; + state: BlobAuditingPolicyState; /** - * Resource provisioning state - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state + * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ - readonly provisioningState?: string; + storageEndpoint?: string; /** - * Login for workspace SQL active directory administrator + * 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) */ - sqlAdministratorLogin?: string; + storageAccountAccessKey?: string; /** - * Virtual Network profile + * Specifies the number of days to keep in the audit logs in the storage account. */ - virtualNetworkProfile?: VirtualNetworkProfile; + retentionDays?: number; /** - * Connectivity endpoints + * 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) */ - connectivityEndpoints?: { [propertyName: string]: string }; + auditActionsAndGroups?: string[]; /** - * Setting this to 'default' will ensure that all compute for this workspace is in a virtual - * network managed on behalf of the user. + * Specifies the blob storage subscription Id. */ - managedVirtualNetwork?: string; + storageAccountSubscriptionId?: string; /** - * Private endpoint connections to the workspace + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ - privateEndpointConnections?: PrivateEndpointConnection[]; + isStorageSecondaryKeyInUse?: boolean; /** - * Workspace level configs and feature flags - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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) */ - readonly extraProperties?: { [propertyName: string]: any }; + isAzureMonitorTargetEnabled?: boolean; /** - * Identity of the workspace + * 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. */ - identity?: ManagedIdentity; + queueDelayMs?: number; } /** - * Workspace active directory administrator + * Represents a Sql pool data masking rule. */ -export interface WorkspaceAadAdminInfo extends BaseResource { +export interface DataMaskingRule extends ProxyResource { /** - * Tenant ID of the workspace active directory administrator + * The rule Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tenantId?: string; + readonly dataMaskingRuleId?: string; /** - * Login of the workspace active directory administrator + * The alias name. This is a legacy parameter and is no longer used. */ - login?: string; + aliasName?: string; /** - * Workspace active directory administrator type + * 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' */ - administratorType?: string; + ruleState?: DataMaskingRuleState; /** - * Object ID of the workspace active directory administrator + * The schema name on which the data masking rule is applied. */ - sid?: string; -} - -/** - * Workspace patch details - */ -export interface WorkspacePatchInfo { + schemaName: string; /** - * Resource tags + * The table name on which the data masking rule is applied. */ - tags?: { [propertyName: string]: string }; + tableName: string; /** - * The identity of the workspace + * The column name on which the data masking rule is applied. */ - identity?: ManagedIdentity; + columnName: string; /** - * SQL administrator login password + * The masking function that is used for the data masking rule. Possible values include: + * 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' */ - sqlAdministratorLoginPassword?: string; + maskingFunction: DataMaskingFunction; /** - * Resource provisioning state + * 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 provisioningState?: string; + 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; } /** - * Grant sql control to managed identity + * Details of the data lake storage account associated with the workspace */ -export interface ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity { +export interface DataLakeStorageAccountDetails { /** - * Desired state. Possible values include: 'Enabled', 'Disabled' + * Account URL */ - desiredState?: DesiredState; + accountUrl?: string; /** - * Actual state. Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', - * 'Unknown' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Filesystem name */ - readonly actualState?: ActualState; + filesystem?: string; } /** - * Sql Control Settings for workspace managed identity - * @summary Managed Identity Sql Control Settings + * Virtual Network Profile */ -export interface ManagedIdentitySqlControlSettingsModel extends ProxyResource { +export interface VirtualNetworkProfile { /** - * Grant sql control to managed identity + * Subnet ID used for computes in workspace */ - grantSqlControlToManagedIdentity?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; + computeSubnetId?: string; } /** - * Azure Synapse nested resource, which belongs to a workspace. + * Private endpoint details */ -export interface SubResource extends AzureEntityResource { +export interface PrivateEndpoint extends BaseResource { + /** + * Resource id of the private endpoint. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; } /** - * Contains the possible cases for IntegrationRuntime. - */ -export type IntegrationRuntimeUnion = IntegrationRuntime | ManagedIntegrationRuntime | SelfHostedIntegrationRuntime; - -/** - * Azure Synapse nested object which serves as a compute resource for activities. + * Connection state details of the private endpoint */ -export interface IntegrationRuntime { +export interface PrivateLinkServiceConnectionState { /** - * Polymorphic Discriminator + * The private link service connection status. */ - type: "IntegrationRuntime"; + status?: string; /** - * Integration runtime description. + * The private link service connection description. */ description?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The actions required for private link service connection. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; + readonly actionsRequired?: string; } /** - * Data flow properties for managed integration runtime. + * A private endpoint connection */ -export interface IntegrationRuntimeDataFlowProperties { - /** - * Compute type of the cluster which will execute data flow job. Possible values include: - * 'General', 'MemoryOptimized', 'ComputeOptimized' - */ - computeType?: DataFlowComputeType; +export interface PrivateEndpointConnection extends ProxyResource { /** - * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, - * 48, 80, 144 and 272. + * The private endpoint which the connection belongs to. */ - coreCount?: number; + privateEndpoint?: PrivateEndpoint; /** - * Time to live (in minutes) setting of the cluster which will execute data flow job. + * Connection state of the private endpoint connection. */ - timeToLive?: number; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * Provisioning state of the private endpoint connection. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; + readonly provisioningState?: string; } /** - * VNet properties for managed integration runtime. + * Details of the customer managed key associated with the workspace */ -export interface IntegrationRuntimeVNetProperties { - /** - * The ID of the VNet that this integration runtime will join. - */ - vNetId?: string; - /** - * The name of the subnet this integration runtime will join. - */ - subnet?: string; +export interface WorkspaceKeyDetails { /** - * Resource IDs of the public IP addresses that this integration runtime will use. + * Workspace Key sub-resource name */ - publicIPs?: string[]; + name?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * Workspace Key sub-resource key vault url */ - [property: string]: any; + keyVaultUrl?: string; } /** - * The compute resource properties for managed integration runtime. + * Details of the customer managed key associated with the workspace */ -export interface IntegrationRuntimeComputeProperties { - /** - * The location for managed integration runtime. The supported regions could be found on - * https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities - */ - location?: string; - /** - * The node size requirement to managed integration runtime. - */ - nodeSize?: string; - /** - * The required number of nodes for managed integration runtime. - */ - numberOfNodes?: number; - /** - * Maximum parallel executions count per node for managed integration runtime. - */ - maxParallelExecutionsPerNode?: number; - /** - * Data flow properties for managed integration runtime. - */ - dataFlowProperties?: IntegrationRuntimeDataFlowProperties; +export interface CustomerManagedKeyDetails { /** - * VNet properties for managed integration runtime. + * The customer managed key status on the workspace + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vNetProperties?: IntegrationRuntimeVNetProperties; + readonly status?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The key object of the workspace */ - [property: string]: any; + key?: WorkspaceKeyDetails; } /** - * Contains the possible cases for SecretBase. - */ -export type SecretBaseUnion = SecretBase | SecureString; - -/** - * The base definition of a secret type. + * Details of the encryption associated with the workspace */ -export interface SecretBase { +export interface EncryptionDetails { /** - * Polymorphic Discriminator + * Double Encryption enabled + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: "SecretBase"; + readonly doubleEncryptionEnabled?: boolean; + /** + * Customer Managed Key Details + */ + cmk?: CustomerManagedKeyDetails; } /** - * Azure Synapse secure string definition. The string value will be masked with asterisks '*' - * during Get or List API calls. + * Managed Virtual Network Settings */ -export interface SecureString { +export interface ManagedVirtualNetworkSettings { /** - * Polymorphic Discriminator + * Prevent Data Exfiltration */ - type: "SecureString"; + preventDataExfiltration?: boolean; /** - * Value of secure string. + * Linked Access Check On Target Resource */ - value: string; + linkedAccessCheckOnTargetResource?: boolean; + /** + * Allowed Aad Tenant Ids For Linking + */ + allowedAadTenantIdsForLinking?: string[]; } /** - * Catalog information for managed dedicated integration runtime. + * Git integration settings */ -export interface IntegrationRuntimeSsisCatalogInfo { +export interface WorkspaceRepositoryConfiguration { /** - * The catalog database server URL. + * Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, + * WorkspaceGitHubConfiguration */ - catalogServerEndpoint?: string; + type?: string; /** - * The administrator user name of catalog database. + * GitHub Enterprise host name. For example: https://github.mydomain.com */ - catalogAdminUserName?: string; + hostName?: string; /** - * The password of the administrator user account of the catalog database. + * Account name */ - catalogAdminPassword?: SecureString; + accountName?: string; /** - * The pricing tier for the catalog database. The valid values could be found in - * https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: - * 'Basic', 'Standard', 'Premium', 'PremiumRS' + * VSTS project name */ - catalogPricingTier?: IntegrationRuntimeSsisCatalogPricingTier; + projectName?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * Repository name */ - [property: string]: any; -} - -/** - * Custom setup script properties for a managed dedicated integration runtime. - */ -export interface IntegrationRuntimeCustomSetupScriptProperties { + repositoryName?: string; /** - * The URI of the Azure blob container that contains the custom setup script. + * Collaboration branch */ - blobContainerUri?: string; + collaborationBranch?: string; /** - * The SAS token of the Azure blob container. + * Root folder to use in the repository */ - sasToken?: SecureString; + rootFolder?: string; } /** - * The entity reference. + * Babylon Configuration */ -export interface EntityReference { - /** - * The type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', - * 'LinkedServiceReference' - */ - type?: IntegrationRuntimeEntityReferenceType; +export interface BabylonConfiguration { /** - * The name of this referenced entity. + * Babylon Resource ID */ - referenceName?: string; + babylonResourceId?: string; } /** - * Data proxy properties for a managed dedicated integration runtime. + * The workspace managed identity */ -export interface IntegrationRuntimeDataProxyProperties { +export interface ManagedIdentity { /** - * The self-hosted integration runtime reference. + * The principal ID of the workspace managed identity + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - connectVia?: EntityReference; + readonly principalId?: string; /** - * The staging linked service reference. + * The tenant ID of the workspace managed identity + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - stagingLinkedService?: EntityReference; + readonly tenantId?: string; /** - * The path to contain the staged data in the Blob storage. + * The type of managed identity for the workspace. Possible values include: 'None', + * 'SystemAssigned' */ - path?: string; + type?: ResourceIdentityType; } /** - * Contains the possible cases for CustomSetupBase. - */ -export type CustomSetupBaseUnion = CustomSetupBase | CmdkeySetup | EnvironmentVariableSetup | ComponentSetup; - -/** - * The base definition of the custom setup. + * A workspace */ -export interface CustomSetupBase { +export interface Workspace extends TrackedResource { /** - * Polymorphic Discriminator + * Workspace default data lake storage account details */ - type: "CustomSetupBase"; -} - -/** - * SSIS properties for managed integration runtime. - */ -export interface IntegrationRuntimeSsisProperties { + defaultDataLakeStorage?: DataLakeStorageAccountDetails; /** - * Catalog information for managed dedicated integration runtime. + * SQL administrator login password */ - catalogInfo?: IntegrationRuntimeSsisCatalogInfo; + sqlAdministratorLoginPassword?: string; /** - * License type for bringing your own license scenario. Possible values include: 'BasePrice', - * 'LicenseIncluded' + * Workspace managed resource group. The resource group name uniquely identifies the resource + * group within the user subscriptionId. The resource group name must be no longer than 90 + * characters long, and must be alphanumeric characters (Char.IsLetterOrDigit()) and '-', '_', + * '(', ')' and'.'. Note that the name cannot end with '.' */ - licenseType?: IntegrationRuntimeLicenseType; + managedResourceGroupName?: string; /** - * Custom setup script properties for a managed dedicated integration runtime. + * Resource provisioning state + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - customSetupScriptProperties?: IntegrationRuntimeCustomSetupScriptProperties; + readonly provisioningState?: string; /** - * Data proxy properties for a managed dedicated integration runtime. + * Login for workspace SQL active directory administrator */ - dataProxyProperties?: IntegrationRuntimeDataProxyProperties; + sqlAdministratorLogin?: string; /** - * The edition for the SSIS Integration Runtime. Possible values include: 'Standard', - * 'Enterprise' + * Virtual Network profile */ - edition?: IntegrationRuntimeEdition; + virtualNetworkProfile?: VirtualNetworkProfile; /** - * Custom setup without script properties for a SSIS integration runtime. + * Connectivity endpoints */ - expressCustomSetupProperties?: CustomSetupBaseUnion[]; + connectivityEndpoints?: { [propertyName: string]: string }; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * Setting this to 'default' will ensure that all compute for this workspace is in a virtual + * network managed on behalf of the user. */ - [property: string]: any; -} - -/** - * Managed integration runtime, including managed elastic and managed dedicated integration - * runtimes. - */ -export interface ManagedIntegrationRuntime { + managedVirtualNetwork?: string; /** - * Polymorphic Discriminator + * Private endpoint connections to the workspace */ - type: "Managed"; + privateEndpointConnections?: PrivateEndpointConnection[]; /** - * Integration runtime description. + * The encryption details of the workspace */ - description?: string; + encryption?: EncryptionDetails; /** - * Integration runtime state, only valid for managed dedicated integration runtime. Possible - * values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', - * 'Online', 'Limited', 'Offline', 'AccessDenied' + * The workspace unique identifier * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: IntegrationRuntimeState; + readonly workspaceUID?: string; /** - * The compute resource for managed integration runtime. + * Workspace level configs and feature flags + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - computeProperties?: IntegrationRuntimeComputeProperties; + readonly extraProperties?: { [propertyName: string]: any }; /** - * SSIS properties for managed integration runtime. + * Managed Virtual Network Settings */ - ssisProperties?: IntegrationRuntimeSsisProperties; -} - -/** - * The custom setup of running cmdkey commands. - */ -export interface CmdkeySetup { - /** - * Polymorphic Discriminator - */ - type: "CmdkeySetup"; + managedVirtualNetworkSettings?: ManagedVirtualNetworkSettings; /** - * The server name of data source access. + * Git integration settings */ - targetName: any; + workspaceRepositoryConfiguration?: WorkspaceRepositoryConfiguration; /** - * The user name of data source access. + * Babylon Configuration */ - userName: any; + babylonConfiguration?: BabylonConfiguration; /** - * The password of data source access. + * Identity of the workspace */ - password: SecretBaseUnion; + identity?: ManagedIdentity; } /** - * The custom setup of setting environment variable. + * Workspace active directory administrator */ -export interface EnvironmentVariableSetup { +export interface WorkspaceAadAdminInfo extends BaseResource { /** - * Polymorphic Discriminator + * Tenant ID of the workspace active directory administrator */ - type: "EnvironmentVariableSetup"; + tenantId?: string; /** - * The name of the environment variable. + * Login of the workspace active directory administrator */ - variableName: string; + login?: string; /** - * The value of the environment variable. + * Workspace active directory administrator type */ - variableValue: string; + administratorType?: string; + /** + * Object ID of the workspace active directory administrator + */ + sid?: string; } /** - * The custom setup of installing 3rd party components. + * Workspace patch details */ -export interface ComponentSetup { +export interface WorkspacePatchInfo { /** - * Polymorphic Discriminator + * Resource tags */ - type: "ComponentSetup"; + tags?: { [propertyName: string]: string }; /** - * The name of the 3rd party component. + * The identity of the workspace */ - componentName: string; + identity?: ManagedIdentity; /** - * The license key to activate the component. + * SQL administrator login password */ - licenseKey?: SecretBaseUnion; -} - -/** - * Contains the possible cases for LinkedIntegrationRuntimeType. - */ -export type LinkedIntegrationRuntimeTypeUnion = LinkedIntegrationRuntimeType | LinkedIntegrationRuntimeKeyAuthorization | LinkedIntegrationRuntimeRbacAuthorization; - -/** - * The base definition of a linked integration runtime. - */ -export interface LinkedIntegrationRuntimeType { + sqlAdministratorLoginPassword?: string; /** - * Polymorphic Discriminator + * Managed Virtual Network Settings */ - authorizationType: "LinkedIntegrationRuntimeType"; -} - -/** - * Self-hosted integration runtime. - */ -export interface SelfHostedIntegrationRuntime { + managedVirtualNetworkSettings?: ManagedVirtualNetworkSettings; /** - * Polymorphic Discriminator + * Git integration settings */ - type: "SelfHosted"; + workspaceRepositoryConfiguration?: WorkspaceRepositoryConfiguration; /** - * Integration runtime description. + * Babylon Configuration */ - description?: string; - linkedInfo?: LinkedIntegrationRuntimeTypeUnion; + babylonConfiguration?: BabylonConfiguration; + /** + * Resource provisioning state + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; } /** - * The key authorization type integration runtime. + * Grant sql control to managed identity */ -export interface LinkedIntegrationRuntimeKeyAuthorization { +export interface ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity { /** - * Polymorphic Discriminator + * Desired state. Possible values include: 'Enabled', 'Disabled' */ - authorizationType: "Key"; + desiredState?: DesiredState; /** - * The key used for authorization. + * Actual state. Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', + * 'Unknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - key: SecureString; + readonly actualState?: ActualState; } /** - * The role based access control (RBAC) authorization type integration runtime. + * Sql Control Settings for workspace managed identity + * @summary Managed Identity Sql Control Settings */ -export interface LinkedIntegrationRuntimeRbacAuthorization { - /** - * Polymorphic Discriminator - */ - authorizationType: "RBAC"; +export interface ManagedIdentitySqlControlSettingsModel extends ProxyResource { /** - * The resource identifier of the integration runtime to be shared. + * Grant sql control to managed identity */ - resourceId: string; + grantSqlControlToManagedIdentity?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; } /** - * Contains the possible cases for IntegrationRuntimeStatus. - */ -export type IntegrationRuntimeStatusUnion = IntegrationRuntimeStatus | ManagedIntegrationRuntimeStatus | SelfHostedIntegrationRuntimeStatus; - -/** - * Integration runtime status. + * A restorable dropped Sql pool */ -export interface IntegrationRuntimeStatus { +export interface RestorableDroppedSqlPool extends ProxyResource { /** - * Polymorphic Discriminator + * The geo-location where the resource lives + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: "IntegrationRuntimeStatus"; + readonly location?: string; /** - * The workspace name which the integration runtime belong to. + * The name of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataFactoryName?: string; + readonly databaseName?: string; /** - * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', - * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' + * The edition of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: IntegrationRuntimeState; + readonly edition?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The max size in bytes of the database + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; -} - -/** - * Error definition for managed integration runtime. - */ -export interface ManagedIntegrationRuntimeError { + readonly maxSizeBytes?: string; /** - * The time when the error occurred. + * The service level objective name of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly time?: Date; + readonly serviceLevelObjective?: string; /** - * Error code. + * The elastic pool name of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly code?: string; + readonly elasticPoolName?: string; /** - * Managed integration runtime error parameters. + * The creation date of the database (ISO8601 format) * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly parameters?: string[]; + readonly creationDate?: Date; /** - * Error message. + * The deletion date of the database (ISO8601 format) * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly message?: string; + readonly deletionDate?: Date; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The earliest restore date of the database (ISO8601 format) + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; + readonly earliestRestoreDate?: Date; } /** - * Properties of integration runtime node. + * Azure Synapse nested resource, which belongs to a workspace. */ -export interface ManagedIntegrationRuntimeNode { - /** - * The managed integration runtime node id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nodeId?: string; +export interface SubResource extends AzureEntityResource { +} + +/** + * Contains the possible cases for IntegrationRuntime. + */ +export type IntegrationRuntimeUnion = IntegrationRuntime | ManagedIntegrationRuntime | SelfHostedIntegrationRuntime; + +/** + * Azure Synapse nested object which serves as a compute resource for activities. + */ +export interface IntegrationRuntime { /** - * The managed integration runtime node status. Possible values include: 'Starting', 'Available', - * 'Recycling', 'Unavailable' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly status?: ManagedIntegrationRuntimeNodeStatus; + type: "IntegrationRuntime"; /** - * The errors that occurred on this integration runtime node. + * Integration runtime description. */ - errors?: ManagedIntegrationRuntimeError[]; + description?: string; /** * Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -2220,39 +2268,45 @@ export interface ManagedIntegrationRuntimeNode { } /** - * Properties of managed integration runtime operation result. + * Data flow properties for managed integration runtime. */ -export interface ManagedIntegrationRuntimeOperationResult { +export interface IntegrationRuntimeDataFlowProperties { /** - * The operation type. Could be start or stop. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Compute type of the cluster which will execute data flow job. Possible values include: + * 'General', 'MemoryOptimized', 'ComputeOptimized' */ - readonly type?: string; + computeType?: DataFlowComputeType; /** - * The start time of the operation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, + * 48, 80, 144 and 272. */ - readonly startTime?: Date; + coreCount?: number; /** - * The operation result. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Time to live (in minutes) setting of the cluster which will execute data flow job. */ - readonly result?: string; + timeToLive?: number; /** - * The error code. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - readonly errorCode?: string; + [property: string]: any; +} + +/** + * VNet properties for managed integration runtime. + */ +export interface IntegrationRuntimeVNetProperties { /** - * Managed integration runtime error parameters. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The ID of the VNet that this integration runtime will join. */ - readonly parameters?: string[]; + vNetId?: string; /** - * The activity id for the operation request. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name of the subnet this integration runtime will join. */ - readonly activityId?: string; + subnet?: string; + /** + * Resource IDs of the public IP addresses that this integration runtime will use. + */ + publicIPs?: string[]; /** * Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -2260,142 +2314,190 @@ export interface ManagedIntegrationRuntimeOperationResult { } /** - * Managed integration runtime status. + * The compute resource properties for managed integration runtime. */ -export interface ManagedIntegrationRuntimeStatus { +export interface IntegrationRuntimeComputeProperties { /** - * Polymorphic Discriminator + * The location for managed integration runtime. The supported regions could be found on + * https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities */ - type: "Managed"; + location?: string; /** - * The workspace name which the integration runtime belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The node size requirement to managed integration runtime. */ - readonly dataFactoryName?: string; + nodeSize?: string; /** - * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', - * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The required number of nodes for managed integration runtime. */ - readonly state?: IntegrationRuntimeState; + numberOfNodes?: number; /** - * The time at which the integration runtime was created, in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Maximum parallel executions count per node for managed integration runtime. */ - readonly createTime?: Date; + maxParallelExecutionsPerNode?: number; /** - * The list of nodes for managed integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Data flow properties for managed integration runtime. */ - readonly nodes?: ManagedIntegrationRuntimeNode[]; + dataFlowProperties?: IntegrationRuntimeDataFlowProperties; /** - * The errors that occurred on this integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * VNet properties for managed integration runtime. */ - readonly otherErrors?: ManagedIntegrationRuntimeError[]; + vNetProperties?: IntegrationRuntimeVNetProperties; /** - * The last operation result that occurred on this integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - readonly lastOperation?: ManagedIntegrationRuntimeOperationResult; + [property: string]: any; } /** - * Properties of Self-hosted integration runtime node. + * Contains the possible cases for SecretBase. */ -export interface SelfHostedIntegrationRuntimeNode { +export type SecretBaseUnion = SecretBase | SecureString; + +/** + * The base definition of a secret type. + */ +export interface SecretBase { /** - * Name of the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly nodeName?: string; + type: "SecretBase"; +} + +/** + * Azure Synapse secure string definition. The string value will be masked with asterisks '*' + * during Get or List API calls. + */ +export interface SecureString { /** - * Machine name of the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly machineName?: string; + type: "SecureString"; /** - * URI for the host machine of the integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Value of secure string. */ - readonly hostServiceUri?: string; + value: string; +} + +/** + * Catalog information for managed dedicated integration runtime. + */ +export interface IntegrationRuntimeSsisCatalogInfo { /** - * Status of the integration runtime node. Possible values include: 'NeedRegistration', 'Online', - * 'Limited', 'Offline', 'Upgrading', 'Initializing', 'InitializeFailed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The catalog database server URL. */ - readonly status?: SelfHostedIntegrationRuntimeNodeStatus; + catalogServerEndpoint?: string; /** - * The integration runtime capabilities dictionary - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The administrator user name of catalog database. */ - readonly capabilities?: { [propertyName: string]: string }; + catalogAdminUserName?: string; /** - * Status of the integration runtime node version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The password of the administrator user account of the catalog database. */ - readonly versionStatus?: string; + catalogAdminPassword?: SecureString; /** - * Version of the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The pricing tier for the catalog database. The valid values could be found in + * https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: + * 'Basic', 'Standard', 'Premium', 'PremiumRS' */ - readonly version?: string; + catalogPricingTier?: IntegrationRuntimeSsisCatalogPricingTier; /** - * The time at which the integration runtime node was registered in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - readonly registerTime?: Date; + [property: string]: any; +} + +/** + * Custom setup script properties for a managed dedicated integration runtime. + */ +export interface IntegrationRuntimeCustomSetupScriptProperties { /** - * The most recent time at which the integration runtime was connected in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The URI of the Azure blob container that contains the custom setup script. */ - readonly lastConnectTime?: Date; + blobContainerUri?: string; /** - * The time at which the integration runtime will expire in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The SAS token of the Azure blob container. */ - readonly expiryTime?: Date; + sasToken?: SecureString; +} + +/** + * The entity reference. + */ +export interface EntityReference { /** - * The time the node last started up. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', + * 'LinkedServiceReference' */ - readonly lastStartTime?: Date; + type?: IntegrationRuntimeEntityReferenceType; /** - * The integration runtime node last stop time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name of this referenced entity. */ - readonly lastStopTime?: Date; + referenceName?: string; +} + +/** + * Data proxy properties for a managed dedicated integration runtime. + */ +export interface IntegrationRuntimeDataProxyProperties { /** - * The result of the last integration runtime node update. Possible values include: 'None', - * 'Succeed', 'Fail' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The self-hosted integration runtime reference. */ - readonly lastUpdateResult?: IntegrationRuntimeUpdateResult; + connectVia?: EntityReference; /** - * The last time for the integration runtime node update start. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The staging linked service reference. */ - readonly lastStartUpdateTime?: Date; + stagingLinkedService?: EntityReference; /** - * The last time for the integration runtime node update end. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The path to contain the staged data in the Blob storage. */ - readonly lastEndUpdateTime?: Date; + path?: string; +} + +/** + * Contains the possible cases for CustomSetupBase. + */ +export type CustomSetupBaseUnion = CustomSetupBase | CmdkeySetup | EnvironmentVariableSetup | ComponentSetup; + +/** + * The base definition of the custom setup. + */ +export interface CustomSetupBase { /** - * Indicates whether this node is the active dispatcher for integration runtime requests. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly isActiveDispatcher?: boolean; + type: "CustomSetupBase"; +} + +/** + * SSIS properties for managed integration runtime. + */ +export interface IntegrationRuntimeSsisProperties { /** - * Maximum concurrent jobs on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Catalog information for managed dedicated integration runtime. */ - readonly concurrentJobsLimit?: number; + catalogInfo?: IntegrationRuntimeSsisCatalogInfo; /** - * The maximum concurrent jobs in this integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * License type for bringing your own license scenario. Possible values include: 'BasePrice', + * 'LicenseIncluded' */ - readonly maxConcurrentJobs?: number; + licenseType?: IntegrationRuntimeLicenseType; + /** + * Custom setup script properties for a managed dedicated integration runtime. + */ + customSetupScriptProperties?: IntegrationRuntimeCustomSetupScriptProperties; + /** + * Data proxy properties for a managed dedicated integration runtime. + */ + dataProxyProperties?: IntegrationRuntimeDataProxyProperties; + /** + * The edition for the SSIS Integration Runtime. Possible values include: 'Standard', + * 'Enterprise' + */ + edition?: IntegrationRuntimeEdition; + /** + * Custom setup without script properties for a SSIS integration runtime. + */ + expressCustomSetupProperties?: CustomSetupBaseUnion[]; /** * Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -2403,176 +2505,208 @@ export interface SelfHostedIntegrationRuntimeNode { } /** - * The linked integration runtime information. + * Managed integration runtime, including managed elastic and managed dedicated integration + * runtimes. */ -export interface LinkedIntegrationRuntime { +export interface ManagedIntegrationRuntime { /** - * The name of the linked integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly name?: string; + type: "Managed"; /** - * The subscription ID for which the linked integration runtime belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Integration runtime description. */ - readonly subscriptionId?: string; + description?: string; /** - * The name of the workspace for which the linked integration runtime belong to. + * Integration runtime state, only valid for managed dedicated integration runtime. Possible + * values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', + * 'Online', 'Limited', 'Offline', 'AccessDenied' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataFactoryName?: string; + readonly state?: IntegrationRuntimeState; /** - * The location of the workspace for which the linked integration runtime belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The compute resource for managed integration runtime. */ - readonly dataFactoryLocation?: string; + computeProperties?: IntegrationRuntimeComputeProperties; /** - * The creating time of the linked integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * SSIS properties for managed integration runtime. */ - readonly createTime?: Date; + ssisProperties?: IntegrationRuntimeSsisProperties; } /** - * Self-hosted integration runtime status. + * The custom setup of running cmdkey commands. */ -export interface SelfHostedIntegrationRuntimeStatus { +export interface CmdkeySetup { /** * Polymorphic Discriminator */ - type: "SelfHosted"; + type: "CmdkeySetup"; /** - * The workspace name which the integration runtime belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The server name of data source access. */ - readonly dataFactoryName?: string; + targetName: any; /** - * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', - * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The user name of data source access. */ - readonly state?: IntegrationRuntimeState; + userName: any; /** - * The time at which the integration runtime was created, in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The password of data source access. */ - readonly createTime?: Date; + password: SecretBaseUnion; +} + +/** + * The custom setup of setting environment variable. + */ +export interface EnvironmentVariableSetup { /** - * The task queue id of the integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly taskQueueId?: string; + type: "EnvironmentVariableSetup"; /** - * It is used to set the encryption mode for node-node communication channel (when more than 2 - * self-hosted integration runtime nodes exist). Possible values include: 'NotSet', - * 'SslEncrypted', 'NotEncrypted' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name of the environment variable. */ - readonly internalChannelEncryption?: IntegrationRuntimeInternalChannelEncryptionMode; + variableName: string; /** - * Version of the integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The value of the environment variable. */ - readonly version?: string; + variableValue: string; +} + +/** + * The custom setup of installing 3rd party components. + */ +export interface ComponentSetup { /** - * The list of nodes for this integration runtime. - */ - nodes?: SelfHostedIntegrationRuntimeNode[]; - /** - * The date at which the integration runtime will be scheduled to update, in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly scheduledUpdateDate?: Date; + type: "ComponentSetup"; /** - * The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 - * hours - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name of the 3rd party component. */ - readonly updateDelayOffset?: string; + componentName: string; /** - * The local time zone offset in hours. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The license key to activate the component. */ - readonly localTimeZoneOffset?: string; + licenseKey?: SecretBaseUnion; +} + +/** + * Contains the possible cases for LinkedIntegrationRuntimeType. + */ +export type LinkedIntegrationRuntimeTypeUnion = LinkedIntegrationRuntimeType | LinkedIntegrationRuntimeKeyAuthorization | LinkedIntegrationRuntimeRbacAuthorization; + +/** + * The base definition of a linked integration runtime. + */ +export interface LinkedIntegrationRuntimeType { /** - * Object with additional information about integration runtime capabilities. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly capabilities?: { [propertyName: string]: string }; + authorizationType: "LinkedIntegrationRuntimeType"; +} + +/** + * Self-hosted integration runtime. + */ +export interface SelfHostedIntegrationRuntime { /** - * The URLs for the services used in integration runtime backend service. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly serviceUrls?: string[]; + type: "SelfHosted"; /** - * Whether Self-hosted integration runtime auto update has been turned on. Possible values - * include: 'On', 'Off' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Integration runtime description. */ - readonly autoUpdate?: IntegrationRuntimeAutoUpdate; + description?: string; /** - * Status of the integration runtime version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Linked integration runtime type from data factory */ - readonly versionStatus?: string; + linkedInfo?: LinkedIntegrationRuntimeTypeUnion; +} + +/** + * The key authorization type integration runtime. + */ +export interface LinkedIntegrationRuntimeKeyAuthorization { /** - * The list of linked integration runtimes that are created to share with this integration - * runtime. + * Polymorphic Discriminator */ - links?: LinkedIntegrationRuntime[]; + authorizationType: "Key"; /** - * The version that the integration runtime is going to update to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The key used for authorization. */ - readonly pushedVersion?: string; + key: SecureString; +} + +/** + * The role based access control (RBAC) authorization type integration runtime. + */ +export interface LinkedIntegrationRuntimeRbacAuthorization { /** - * The latest version on download center. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly latestVersion?: string; + authorizationType: "RBAC"; /** - * The estimated time when the self-hosted integration runtime will be updated. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The resource identifier of the integration runtime to be shared. */ - readonly autoUpdateETA?: Date; + resourceId: string; } /** - * Connection information for encrypting the on-premises data source credentials. + * Contains the possible cases for IntegrationRuntimeStatus. */ -export interface IntegrationRuntimeConnectionInfo { +export type IntegrationRuntimeStatusUnion = IntegrationRuntimeStatus | ManagedIntegrationRuntimeStatus | SelfHostedIntegrationRuntimeStatus; + +/** + * Integration runtime status. + */ +export interface IntegrationRuntimeStatus { /** - * The token generated in service. Callers use this token to authenticate to integration runtime. + * Polymorphic Discriminator + */ + type: "IntegrationRuntimeStatus"; + /** + * The workspace name which the integration runtime belong to. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly serviceToken?: string; + readonly dataFactoryName?: string; /** - * The integration runtime SSL certificate thumbprint. Click-Once application uses it to do - * server validation. + * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', + * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly identityCertThumbprint?: string; + readonly state?: IntegrationRuntimeState; /** - * The on-premises integration runtime host URL. + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [property: string]: any; +} + +/** + * Error definition for managed integration runtime. + */ +export interface ManagedIntegrationRuntimeError { + /** + * The time when the error occurred. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly hostServiceUri?: string; + readonly time?: Date; /** - * The integration runtime version. + * Error code. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly version?: string; + readonly code?: string; /** - * The public key for encrypting a credential when transferring the credential to the integration - * runtime. + * Managed integration runtime error parameters. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly publicKey?: string; + readonly parameters?: string[]; /** - * Whether the identity certificate is expired. + * Error message. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly isIdentityCertExprired?: boolean; + readonly message?: string; /** * Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -2580,74 +2714,64 @@ export interface IntegrationRuntimeConnectionInfo { } /** - * Parameters to regenerate the authentication key. + * Properties of integration runtime node. */ -export interface IntegrationRuntimeRegenerateKeyParameters { +export interface ManagedIntegrationRuntimeNode { /** - * The name of the authentication key to regenerate. Possible values include: 'authKey1', - * 'authKey2' + * The managed integration runtime node id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - keyName?: IntegrationRuntimeAuthKeyName; -} - -/** - * The integration runtime authentication keys. - */ -export interface IntegrationRuntimeAuthKeys { + readonly nodeId?: string; /** - * The primary integration runtime authentication key. + * The managed integration runtime node status. Possible values include: 'Starting', 'Available', + * 'Recycling', 'Unavailable' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - authKey1?: string; + readonly status?: ManagedIntegrationRuntimeNodeStatus; /** - * The secondary integration runtime authentication key. + * The errors that occurred on this integration runtime node. */ - authKey2?: string; + errors?: ManagedIntegrationRuntimeError[]; + /** + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [property: string]: any; } /** - * Monitoring data for integration runtime node. + * Properties of managed integration runtime operation result. */ -export interface IntegrationRuntimeNodeMonitoringData { - /** - * Name of the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nodeName?: string; - /** - * Available memory (MB) on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly availableMemoryInMB?: number; +export interface ManagedIntegrationRuntimeOperationResult { /** - * CPU percentage on the integration runtime node. + * The operation type. Could be start or stop. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly cpuUtilization?: number; + readonly type?: string; /** - * Maximum concurrent jobs on the integration runtime node. + * The start time of the operation. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly concurrentJobsLimit?: number; + readonly startTime?: Date; /** - * The number of jobs currently running on the integration runtime node. + * The operation result. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly concurrentJobsRunning?: number; + readonly result?: string; /** - * The maximum concurrent jobs in this integration runtime. + * The error code. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly maxConcurrentJobs?: number; + readonly errorCode?: string; /** - * Sent bytes on the integration runtime node. + * Managed integration runtime error parameters. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly sentBytes?: number; + readonly parameters?: string[]; /** - * Received bytes on the integration runtime node. + * The activity id for the operation request. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly receivedBytes?: number; + readonly activityId?: string; /** * Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -2655,1185 +2779,3782 @@ export interface IntegrationRuntimeNodeMonitoringData { } /** - * Get monitoring data response. + * Managed integration runtime status. */ -export interface IntegrationRuntimeMonitoringData { +export interface ManagedIntegrationRuntimeStatus { /** - * Integration runtime name. + * Polymorphic Discriminator */ - name?: string; + type: "Managed"; /** - * Integration runtime node monitoring data. + * The workspace name which the integration runtime belong to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nodes?: IntegrationRuntimeNodeMonitoringData[]; -} - -/** - * The IP address of self-hosted integration runtime node. - */ -export interface IntegrationRuntimeNodeIpAddress { + readonly dataFactoryName?: string; /** - * The IP address of self-hosted integration runtime node. + * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', + * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly ipAddress?: string; -} - -/** - * Contains the possible cases for SsisObjectMetadata. - */ -export type SsisObjectMetadataUnion = SsisObjectMetadata | SsisFolder | SsisProject | SsisPackage | SsisEnvironment; - -/** - * SSIS object metadata. - */ -export interface SsisObjectMetadata { + readonly state?: IntegrationRuntimeState; /** - * Polymorphic Discriminator + * The time at which the integration runtime was created, in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: "SsisObjectMetadata"; + readonly createTime?: Date; /** - * Metadata id. + * The list of nodes for managed integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: number; + readonly nodes?: ManagedIntegrationRuntimeNode[]; /** - * Metadata name. + * The errors that occurred on this integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; - /** - * Metadata description. - */ - description?: string; -} - -/** - * A list of SSIS object metadata. - */ -export interface SsisObjectMetadataListResponse { - /** - * List of SSIS object metadata. - */ - value?: SsisObjectMetadataUnion[]; + readonly otherErrors?: ManagedIntegrationRuntimeError[]; /** - * The link to the next page of results, if any remaining results exist. + * The last operation result that occurred on this integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; + readonly lastOperation?: ManagedIntegrationRuntimeOperationResult; } /** - * Ssis folder. + * Properties of Self-hosted integration runtime node. */ -export interface SsisFolder { - /** - * Polymorphic Discriminator - */ - type: "Folder"; +export interface SelfHostedIntegrationRuntimeNode { /** - * Metadata id. + * Name of the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: number; + readonly nodeName?: string; /** - * Metadata name. + * Machine name of the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly machineName?: string; /** - * Metadata description. + * URI for the host machine of the integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; -} - -/** - * Ssis environment reference. - */ -export interface SsisEnvironmentReference { + readonly hostServiceUri?: string; /** - * Environment reference id. + * Status of the integration runtime node. Possible values include: 'NeedRegistration', 'Online', + * 'Limited', 'Offline', 'Upgrading', 'Initializing', 'InitializeFailed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: number; + readonly status?: SelfHostedIntegrationRuntimeNodeStatus; /** - * Environment folder name. + * The integration runtime capabilities dictionary + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - environmentFolderName?: string; + readonly capabilities?: { [propertyName: string]: string }; /** - * Environment name. + * Status of the integration runtime node version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - environmentName?: string; + readonly versionStatus?: string; /** - * Reference type + * Version of the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - referenceType?: string; -} - -/** - * Ssis parameter. - */ -export interface SsisParameter { + readonly version?: string; /** - * Parameter id. + * The time at which the integration runtime node was registered in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: number; + readonly registerTime?: Date; /** - * Parameter name. + * The most recent time at which the integration runtime was connected in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly lastConnectTime?: Date; /** - * Parameter description. + * The time at which the integration runtime will expire in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly expiryTime?: Date; /** - * Parameter type. + * The time the node last started up. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dataType?: string; + readonly lastStartTime?: Date; /** - * Whether parameter is required. + * The integration runtime node last stop time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - required?: boolean; + readonly lastStopTime?: Date; /** - * Whether parameter is sensitive. + * The result of the last integration runtime node update. Possible values include: 'None', + * 'Succeed', 'Fail' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sensitive?: boolean; + readonly lastUpdateResult?: IntegrationRuntimeUpdateResult; /** - * Design default value of parameter. + * The last time for the integration runtime node update start. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - designDefaultValue?: string; + readonly lastStartUpdateTime?: Date; /** - * Default value of parameter. + * The last time for the integration runtime node update end. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - defaultValue?: string; + readonly lastEndUpdateTime?: Date; /** - * Default sensitive value of parameter. + * Indicates whether this node is the active dispatcher for integration runtime requests. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sensitiveDefaultValue?: string; + readonly isActiveDispatcher?: boolean; /** - * Parameter value type. + * Maximum concurrent jobs on the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - valueType?: string; + readonly concurrentJobsLimit?: number; /** - * Parameter value set. + * The maximum concurrent jobs in this integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - valueSet?: boolean; + readonly maxConcurrentJobs?: number; /** - * Parameter reference variable. + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - variable?: string; + [property: string]: any; } /** - * Ssis project. + * The linked integration runtime information. */ -export interface SsisProject { - /** - * Polymorphic Discriminator - */ - type: "Project"; - /** - * Metadata id. - */ - id?: number; - /** - * Metadata name. - */ - name?: string; +export interface LinkedIntegrationRuntime { /** - * Metadata description. + * The name of the linked integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly name?: string; /** - * Folder id which contains project. + * The subscription ID for which the linked integration runtime belong to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - folderId?: number; + readonly subscriptionId?: string; /** - * Project version. + * The name of the workspace for which the linked integration runtime belong to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - version?: number; + readonly dataFactoryName?: string; /** - * Environment reference in project + * The location of the workspace for which the linked integration runtime belong to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - environmentRefs?: SsisEnvironmentReference[]; + readonly dataFactoryLocation?: string; /** - * Parameters in project + * The creating time of the linked integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - parameters?: SsisParameter[]; + readonly createTime?: Date; } /** - * Ssis Package. + * Self-hosted integration runtime status. */ -export interface SsisPackage { +export interface SelfHostedIntegrationRuntimeStatus { /** * Polymorphic Discriminator */ - type: "Package"; + type: "SelfHosted"; /** - * Metadata id. + * The workspace name which the integration runtime belong to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: number; + readonly dataFactoryName?: string; /** - * Metadata name. + * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', + * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly state?: IntegrationRuntimeState; /** - * Metadata description. + * The time at which the integration runtime was created, in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly createTime?: Date; /** - * Folder id which contains package. + * The task queue id of the integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - folderId?: number; + readonly taskQueueId?: string; /** - * Project version which contains package. + * The node communication Channel encryption mode + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - projectVersion?: number; + readonly nodeCommunicationChannelEncryptionMode?: string; /** - * Project id which contains package. + * It is used to set the encryption mode for node-node communication channel (when more than 2 + * self-hosted integration runtime nodes exist). Possible values include: 'NotSet', + * 'SslEncrypted', 'NotEncrypted' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - projectId?: number; + readonly internalChannelEncryption?: IntegrationRuntimeInternalChannelEncryptionMode; /** - * Parameters in package + * Version of the integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - parameters?: SsisParameter[]; -} - -/** - * Ssis variable. - */ -export interface SsisVariable { + readonly version?: string; /** - * Variable id. + * The list of nodes for this integration runtime. */ - id?: number; + nodes?: SelfHostedIntegrationRuntimeNode[]; /** - * Variable name. + * The date at which the integration runtime will be scheduled to update, in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly scheduledUpdateDate?: Date; /** - * Variable description. + * The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 + * hours + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly updateDelayOffset?: string; /** - * Variable type. + * The local time zone offset in hours. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dataType?: string; + readonly localTimeZoneOffset?: string; /** - * Whether variable is sensitive. + * Object with additional information about integration runtime capabilities. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sensitive?: boolean; + readonly capabilities?: { [propertyName: string]: string }; /** - * Variable value. + * The URLs for the services used in integration runtime backend service. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value?: string; + readonly serviceUrls?: string[]; /** - * Variable sensitive value. - */ - sensitiveValue?: string; -} - -/** - * Ssis environment. - */ -export interface SsisEnvironment { - /** - * Polymorphic Discriminator + * Whether Self-hosted integration runtime auto update has been turned on. Possible values + * include: 'On', 'Off' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: "Environment"; + readonly autoUpdate?: IntegrationRuntimeAutoUpdate; /** - * Metadata id. + * Status of the integration runtime version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - id?: number; + readonly versionStatus?: string; /** - * Metadata name. + * The list of linked integration runtimes that are created to share with this integration + * runtime. */ - name?: string; + links?: LinkedIntegrationRuntime[]; /** - * Metadata description. + * The version that the integration runtime is going to update to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly pushedVersion?: string; /** - * Folder id which contains environment. + * The latest version on download center. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - folderId?: number; + readonly latestVersion?: string; /** - * Variable in environment + * The estimated time when the self-hosted integration runtime will be updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - variables?: SsisVariable[]; + readonly autoUpdateETA?: Date; } /** - * Update integration runtime request. + * Connection information for encrypting the on-premises data source credentials. */ -export interface UpdateIntegrationRuntimeRequest { +export interface IntegrationRuntimeConnectionInfo { /** - * Enables or disables the auto-update feature of the self-hosted integration runtime. See - * https://go.microsoft.com/fwlink/?linkid=854189. Possible values include: 'On', 'Off' + * The token generated in service. Callers use this token to authenticate to integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - autoUpdate?: IntegrationRuntimeAutoUpdate; + readonly serviceToken?: string; /** - * The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto - * update will happen on that time. + * The integration runtime SSL certificate thumbprint. Click-Once application uses it to do + * server validation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - updateDelayOffset?: string; -} - -/** - * Integration runtime resource type. - */ -export interface IntegrationRuntimeResource extends SubResource { + readonly identityCertThumbprint?: string; /** - * Integration runtime properties. + * The on-premises integration runtime host URL. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties: IntegrationRuntimeUnion; -} - -/** - * The request payload of get SSIS object metadata. - */ -export interface GetSsisObjectMetadataRequest { + readonly hostServiceUri?: string; /** - * Metadata path. + * The integration runtime version. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - metadataPath?: string; + readonly version?: string; + /** + * The public key for encrypting a credential when transferring the credential to the integration + * runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly publicKey?: string; + /** + * Whether the identity certificate is expired. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isIdentityCertExprired?: boolean; + /** + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [property: string]: any; } /** - * Update integration runtime node request. + * Parameters to regenerate the authentication key. */ -export interface UpdateIntegrationRuntimeNodeRequest { +export interface IntegrationRuntimeRegenerateKeyParameters { /** - * The number of concurrent jobs permitted to run on the integration runtime node. Values between - * 1 and maxConcurrentJobs(inclusive) are allowed. + * The name of the authentication key to regenerate. Possible values include: 'authKey1', + * 'authKey2' */ - concurrentJobsLimit?: number; + keyName?: IntegrationRuntimeAuthKeyName; } /** - * Integration runtime status response. + * The integration runtime authentication keys. */ -export interface IntegrationRuntimeStatusResponse { +export interface IntegrationRuntimeAuthKeys { /** - * The integration runtime name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The primary integration runtime authentication key. */ - readonly name?: string; + authKey1?: string; /** - * Integration runtime properties. + * The secondary integration runtime authentication key. */ - properties: IntegrationRuntimeStatusUnion; + authKey2?: string; } /** - * The status of the operation. + * Monitoring data for integration runtime node. */ -export interface SsisObjectMetadataStatusResponse { +export interface IntegrationRuntimeNodeMonitoringData { /** - * The status of the operation. + * Name of the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - status?: string; + readonly nodeName?: string; /** - * The operation name. + * Available memory (MB) on the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly availableMemoryInMB?: number; /** - * The operation properties. + * CPU percentage on the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: string; + readonly cpuUtilization?: number; /** - * The operation error message. + * Maximum concurrent jobs on the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - error?: string; -} - -/** - * Properties of a private link resource. - */ -export interface PrivateLinkResourceProperties { + readonly concurrentJobsLimit?: number; /** - * The private link resource group id. + * The number of jobs currently running on the integration runtime node. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly groupId?: string; + readonly concurrentJobsRunning?: number; /** - * The private link resource required member names. + * The maximum concurrent jobs in this integration runtime. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requiredMembers?: string[]; + readonly maxConcurrentJobs?: number; /** - * Required DNS zone names of the the private link resource. + * Sent bytes on the integration runtime node. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requiredZoneNames?: string[]; -} - -/** - * A private link resource - */ -export interface PrivateLinkResource extends ProxyResource { + readonly sentBytes?: number; /** - * The private link resource properties. + * Received bytes on the integration runtime node. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly properties?: PrivateLinkResourceProperties; -} - -/** - * A privateLinkHub - */ -export interface PrivateLinkHub extends TrackedResource { + readonly receivedBytes?: number; /** - * PrivateLinkHub provisioning state. Possible values include: 'Succeeded', 'Failed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - readonly provisioningState?: ProvisioningState1; + [property: string]: any; } /** - * PrivateLinkHub patch details + * Get monitoring data response. */ -export interface PrivateLinkHubPatchInfo { +export interface IntegrationRuntimeMonitoringData { /** - * Resource tags + * Integration runtime name. */ - tags?: { [propertyName: string]: string }; -} - -/** - * Optional Parameters. - */ -export interface BigDataPoolsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + name?: string; /** - * Whether to stop any running jobs in the Big Data pool. Default value: false. + * Integration runtime node monitoring data. */ - force?: boolean; + nodes?: IntegrationRuntimeNodeMonitoringData[]; } /** - * Optional Parameters. + * The IP address of self-hosted integration runtime node. */ -export interface BigDataPoolsBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface IntegrationRuntimeNodeIpAddress { /** - * Whether to stop any running jobs in the Big Data pool. Default value: false. + * The IP address of self-hosted integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - force?: boolean; + readonly ipAddress?: string; } /** - * Optional Parameters. + * Contains the possible cases for SsisObjectMetadata. */ -export interface SqlPoolSensitivityLabelsListCurrentOptionalParams extends msRest.RequestOptionsBase { - /** - * An OData filter expression that filters elements in the collection. - */ - filter?: string; -} +export type SsisObjectMetadataUnion = SsisObjectMetadata | SsisFolder | SsisProject | SsisPackage | SsisEnvironment; /** - * Optional Parameters. + * SSIS object metadata. */ -export interface SqlPoolSensitivityLabelsListRecommendedOptionalParams extends msRest.RequestOptionsBase { +export interface SsisObjectMetadata { /** - * Specifies whether to include disabled recommendations or not. + * Polymorphic Discriminator */ - includeDisabledRecommendations?: boolean; + type: "SsisObjectMetadata"; /** - * An OData query option to indicate how many elements to skip in the collection. + * Metadata id. */ - skipToken?: string; + id?: number; /** - * An OData filter expression that filters elements in the collection. + * Metadata name. */ - filter?: string; + name?: string; + /** + * Metadata description. + */ + description?: string; } /** - * Optional Parameters. + * A list of SSIS object metadata. */ -export interface SqlPoolSensitivityLabelsListCurrentNextOptionalParams extends msRest.RequestOptionsBase { +export interface SsisObjectMetadataListResponse { /** - * An OData filter expression that filters elements in the collection. + * List of SSIS object metadata. */ - filter?: string; + value?: SsisObjectMetadataUnion[]; + /** + * The link to the next page of results, if any remaining results exist. + */ + nextLink?: string; } /** - * Optional Parameters. + * Ssis folder. */ -export interface SqlPoolSensitivityLabelsListRecommendedNextOptionalParams extends msRest.RequestOptionsBase { +export interface SsisFolder { /** - * Specifies whether to include disabled recommendations or not. + * Polymorphic Discriminator */ - includeDisabledRecommendations?: boolean; + type: "Folder"; /** - * An OData query option to indicate how many elements to skip in the collection. + * Metadata id. */ - skipToken?: string; + id?: number; /** - * An OData filter expression that filters elements in the collection. + * Metadata name. */ - filter?: string; + name?: string; + /** + * Metadata description. + */ + description?: string; } /** - * Optional Parameters. + * Ssis environment reference. */ -export interface SqlPoolSchemasListOptionalParams extends msRest.RequestOptionsBase { +export interface SsisEnvironmentReference { /** - * An OData filter expression that filters elements in the collection. + * Environment reference id. */ - filter?: string; + id?: number; + /** + * Environment folder name. + */ + environmentFolderName?: string; + /** + * Environment name. + */ + environmentName?: string; + /** + * Reference type + */ + referenceType?: string; } /** - * Optional Parameters. + * Ssis parameter. */ -export interface SqlPoolSchemasListNextOptionalParams extends msRest.RequestOptionsBase { +export interface SsisParameter { /** - * An OData filter expression that filters elements in the collection. + * Parameter id. */ - filter?: string; + id?: number; + /** + * Parameter name. + */ + name?: string; + /** + * Parameter description. + */ + description?: string; + /** + * Parameter type. + */ + dataType?: string; + /** + * Whether parameter is required. + */ + required?: boolean; + /** + * Whether parameter is sensitive. + */ + sensitive?: boolean; + /** + * Design default value of parameter. + */ + designDefaultValue?: string; + /** + * Default value of parameter. + */ + defaultValue?: string; + /** + * Default sensitive value of parameter. + */ + sensitiveDefaultValue?: string; + /** + * Parameter value type. + */ + valueType?: string; + /** + * Parameter value set. + */ + valueSet?: boolean; + /** + * Parameter reference variable. + */ + variable?: string; } /** - * Optional Parameters. + * Ssis project. */ -export interface SqlPoolTablesListBySchemaOptionalParams extends msRest.RequestOptionsBase { +export interface SsisProject { /** - * An OData filter expression that filters elements in the collection. + * Polymorphic Discriminator */ - filter?: string; + type: "Project"; + /** + * Metadata id. + */ + id?: number; + /** + * Metadata name. + */ + name?: string; + /** + * Metadata description. + */ + description?: string; + /** + * Folder id which contains project. + */ + folderId?: number; + /** + * Project version. + */ + version?: number; + /** + * Environment reference in project + */ + environmentRefs?: SsisEnvironmentReference[]; + /** + * Parameters in project + */ + parameters?: SsisParameter[]; } /** - * Optional Parameters. + * Ssis Package. */ -export interface SqlPoolTablesListBySchemaNextOptionalParams extends msRest.RequestOptionsBase { +export interface SsisPackage { /** - * An OData filter expression that filters elements in the collection. + * Polymorphic Discriminator */ - filter?: string; + type: "Package"; + /** + * Metadata id. + */ + id?: number; + /** + * Metadata name. + */ + name?: string; + /** + * Metadata description. + */ + description?: string; + /** + * Folder id which contains package. + */ + folderId?: number; + /** + * Project version which contains package. + */ + projectVersion?: number; + /** + * Project id which contains package. + */ + projectId?: number; + /** + * Parameters in package + */ + parameters?: SsisParameter[]; } /** - * Optional Parameters. + * Ssis variable. */ -export interface SqlPoolTableColumnsListByTableNameOptionalParams extends msRest.RequestOptionsBase { +export interface SsisVariable { /** - * An OData filter expression that filters elements in the collection. + * Variable id. */ - filter?: string; + id?: number; + /** + * Variable name. + */ + name?: string; + /** + * Variable description. + */ + description?: string; + /** + * Variable type. + */ + dataType?: string; + /** + * Whether variable is sensitive. + */ + sensitive?: boolean; + /** + * Variable value. + */ + value?: string; + /** + * Variable sensitive value. + */ + sensitiveValue?: string; } /** - * Optional Parameters. + * Ssis environment. */ -export interface SqlPoolTableColumnsListByTableNameNextOptionalParams extends msRest.RequestOptionsBase { +export interface SsisEnvironment { /** - * An OData filter expression that filters elements in the collection. + * Polymorphic Discriminator */ - filter?: string; + type: "Environment"; + /** + * Metadata id. + */ + id?: number; + /** + * Metadata name. + */ + name?: string; + /** + * Metadata description. + */ + description?: string; + /** + * Folder id which contains environment. + */ + folderId?: number; + /** + * Variable in environment + */ + variables?: SsisVariable[]; } /** - * Optional Parameters. + * Update integration runtime request. */ -export interface IntegrationRuntimesGetOptionalParams extends msRest.RequestOptionsBase { +export interface UpdateIntegrationRuntimeRequest { /** - * ETag of the integration runtime entity. Should only be specified for get. If the ETag matches - * the existing entity tag, or if * was provided, then no content will be returned. + * Enables or disables the auto-update feature of the self-hosted integration runtime. See + * https://go.microsoft.com/fwlink/?linkid=854189. Possible values include: 'On', 'Off' */ - ifNoneMatch?: string; + autoUpdate?: IntegrationRuntimeAutoUpdate; + /** + * The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto + * update will happen on that time. + */ + updateDelayOffset?: string; } /** - * Optional Parameters. + * Integration runtime resource type. */ -export interface IntegrationRuntimesCreateOptionalParams extends msRest.RequestOptionsBase { +export interface IntegrationRuntimeResource extends SubResource { /** - * ETag of the integration runtime entity. Should only be specified for update, for which it - * should match existing entity or can be * for unconditional update. + * Integration runtime properties. */ - ifMatch?: string; + properties: IntegrationRuntimeUnion; } /** - * Optional Parameters. + * The request payload of get SSIS object metadata. */ -export interface IntegrationRuntimesBeginCreateOptionalParams extends msRest.RequestOptionsBase { +export interface GetSsisObjectMetadataRequest { /** - * ETag of the integration runtime entity. Should only be specified for update, for which it - * should match existing entity or can be * for unconditional update. + * Metadata path. */ - ifMatch?: string; + metadataPath?: string; } /** - * Optional Parameters. + * Update integration runtime node request. */ -export interface IntegrationRuntimeObjectMetadataGetOptionalParams extends msRest.RequestOptionsBase { +export interface UpdateIntegrationRuntimeNodeRequest { /** - * The parameters for getting a SSIS object metadata. + * The number of concurrent jobs permitted to run on the integration runtime node. Values between + * 1 and maxConcurrentJobs(inclusive) are allowed. */ - getMetadataRequest?: GetSsisObjectMetadataRequest; + concurrentJobsLimit?: number; } /** - * An interface representing SynapseManagementClientOptions. - */ -export interface SynapseManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; -} - -/** - * @interface - * Collection of Big Data pool information - * @summary Collection of Big Data pools - * @extends Array + * Integration runtime status response. */ -export interface BigDataPoolResourceInfoListResult extends Array { +export interface IntegrationRuntimeStatusResponse { /** - * Link to the next page of results + * The integration runtime name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * List of IP firewall rules - * @extends Array - */ -export interface IpFirewallRuleInfoListResult extends Array { + readonly name?: string; /** - * Link to next page of results + * Integration runtime properties. */ - nextLink?: string; + properties: IntegrationRuntimeStatusUnion; } /** - * @interface - * List of SQL pools - * @summary SQL pool collection - * @extends Array + * The status of the operation. */ -export interface SqlPoolInfoListResult extends Array { +export interface SsisObjectMetadataStatusResponse { /** - * Link to the next page of results + * The status of the operation. */ - nextLink?: string; -} - -/** - * @interface - * A list of long term retention backups. - * @extends Array - */ -export interface RestorePointListResult extends Array { + status?: string; /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The operation name. */ - readonly nextLink?: string; -} - -/** - * @interface - * Represents the response to a List Sql pool replication link request. - * @extends Array - */ -export interface ReplicationLinkListResult extends Array { + name?: string; /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The operation properties. */ - readonly nextLink?: string; -} - -/** - * @interface - * The response to a list Sql pool operations request - * @extends Array - */ -export interface SqlPoolBlobAuditingPolicySqlPoolOperationListResult extends Array { + properties?: string; /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The operation error message. */ - readonly nextLink?: string; + error?: string; } /** - * @interface - * The response to a list Sql pool usages request. - * @extends Array + * Properties of a private link resource. */ -export interface SqlPoolUsageListResult extends Array { +export interface PrivateLinkResourceProperties { /** - * Link to retrieve next page of results. + * The private link resource group id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; -} - -/** - * @interface - * A list of sensitivity labels. - * @extends Array - */ -export interface SensitivityLabelListResult extends Array { + readonly groupId?: string; /** - * Link to retrieve next page of results. + * The private link resource required member names. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; -} - -/** - * @interface - * A list of Sql pool schemas. - * @extends Array - */ -export interface SqlPoolSchemaListResult extends Array { + readonly requiredMembers?: string[]; /** - * Link to retrieve next page of results. + * Required DNS zone names of the the private link resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly requiredZoneNames?: string[]; } /** - * @interface - * A list of Sql pool tables. - * @extends Array + * A private link resource */ -export interface SqlPoolTableListResult extends Array { +export interface PrivateLinkResource extends ProxyResource { /** - * Link to retrieve next page of results. + * The private link resource properties. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly properties?: PrivateLinkResourceProperties; } /** - * @interface - * A list of Sql pool columns. - * @extends Array + * Private Endpoint Connection For Private Link Hub - Basic */ -export interface SqlPoolColumnListResult extends Array { +export interface PrivateEndpointConnectionForPrivateLinkHubBasic { /** - * Link to retrieve next page of results. + * identifier * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; -} - -/** - * @interface - * A list of the Sql pool's vulnerability assessments. - * @extends Array - */ -export interface SqlPoolVulnerabilityAssessmentListResult extends Array { + readonly id?: string; /** - * Link to retrieve next page of results. + * The private endpoint which the connection belongs to. + */ + privateEndpoint?: PrivateEndpoint; + /** + * Connection state of the private endpoint connection. + */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + /** + * Provisioning state of the private endpoint connection. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly provisioningState?: string; } /** - * @interface - * A list of vulnerability assessment scan records. - * @extends Array + * A privateLinkHub */ -export interface VulnerabilityAssessmentScanRecordListResult extends Array { +export interface PrivateLinkHub extends TrackedResource { /** - * Link to retrieve next page of results. + * PrivateLinkHub provisioning state + */ + provisioningState?: string; + /** + * List of private endpoint connections * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly privateEndpointConnections?: PrivateEndpointConnectionForPrivateLinkHubBasic[]; } /** - * @interface - * List of workspaces - * @extends Array + * PrivateLinkHub patch details */ -export interface WorkspaceInfoListResult extends Array { +export interface PrivateLinkHubPatchInfo { /** - * Link to the next page of results + * Resource tags */ - nextLink?: string; + tags?: { [propertyName: string]: string }; } /** - * @interface - * A list of integration runtime resources. - * @extends Array + * An interface representing PrivateEndpointConnectionForPrivateLinkHub. */ -export interface IntegrationRuntimeListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export interface PrivateEndpointConnectionForPrivateLinkHub extends PrivateEndpointConnectionForPrivateLinkHubBasic { + name?: string; + type?: string; } /** - * @interface - * A list of private link resources - * @extends Array + * A server blob auditing policy. */ -export interface PrivateLinkResourceListResult extends Array { +export interface ServerBlobAuditingPolicy extends ProxyResource { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the state of the policy. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' */ - readonly nextLink?: string; -} - -/** - * @interface - * A list of private endpoint connections - * @extends Array - */ -export interface PrivateEndpointConnectionList extends Array { + state: BlobAuditingPolicyState; /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state + * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ - readonly nextLink?: string; -} - -/** - * @interface - * List of privateLinkHubs - * @extends Array - */ -export interface PrivateLinkHubInfoListResult extends Array { + storageEndpoint?: string; /** - * Link to the next page of results + * 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) */ - nextLink?: string; -} - -/** - * Defines values for NodeSize. - * Possible values include: 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge' - * @readonly - * @enum {string} - */ -export type NodeSize = 'None' | 'Small' | 'Medium' | 'Large' | 'XLarge' | 'XXLarge'; - -/** - * Defines values for NodeSizeFamily. - * Possible values include: 'None', 'MemoryOptimized' - * @readonly - * @enum {string} - */ -export type NodeSizeFamily = 'None' | 'MemoryOptimized'; - -/** - * Defines values for ProvisioningState. - * Possible values include: 'Provisioning', 'Succeeded', 'Deleting', 'Failed', 'DeleteError' - * @readonly - * @enum {string} - */ -export type ProvisioningState = 'Provisioning' | 'Succeeded' | 'Deleting' | 'Failed' | 'DeleteError'; - -/** - * Defines values for OperationStatus. - * Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled' - * @readonly - * @enum {string} - */ -export type OperationStatus = 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'; - -/** - * Defines values for GeoBackupPolicyState. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} - */ -export type GeoBackupPolicyState = 'Disabled' | 'Enabled'; - -/** + 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; +} + +/** + * An extended server blob auditing policy. + */ +export interface ExtendedServerBlobAuditingPolicy 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; +} + +/** + * Workspace managed Sql server security alert policy. + */ +export interface ServerSecurityAlertPolicy extends ProxyResource { + /** + * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been + * applied yet on the specific server. Possible values include: 'New', 'Enabled', 'Disabled' + */ + state: SecurityAlertPolicyState; + /** + * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action + */ + disabledAlerts?: string[]; + /** + * Specifies an array of e-mail addresses to which the alert is sent. + */ + emailAddresses?: string[]; + /** + * Specifies that the alert is sent to the account administrators. + */ + emailAccountAdmins?: boolean; + /** + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob + * storage will hold all Threat Detection audit logs. + */ + storageEndpoint?: string; + /** + * Specifies the identifier key of the Threat Detection audit storage account. + */ + storageAccountAccessKey?: string; + /** + * Specifies the number of days to keep in the Threat Detection audit logs. + */ + retentionDays?: number; + /** + * Specifies the UTC creation time of the policy. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationTime?: Date; +} + +/** + * A server vulnerability assessment. + */ +export interface ServerVulnerabilityAssessment extends ProxyResource { + /** + * A blob storage container path to hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). + */ + storageContainerPath: string; + /** + * A shared access signature (SAS Key) that has read and write access to the blob container + * specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, + * StorageContainerSasKey is required. + */ + storageContainerSasKey?: string; + /** + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + */ + storageAccountAccessKey?: string; + /** + * The recurring scans settings + */ + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; +} + +/** + * The server encryption protector. + */ +export interface EncryptionProtector extends ProxyResource { + /** + * Kind of encryption protector. This is metadata used for the Azure portal experience. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly kind?: string; + /** + * Resource location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + /** + * Subregion of the encryption protector. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly subregion?: string; + /** + * The name of the server key. + */ + serverKeyName?: string; + /** + * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: + * 'ServiceManaged', 'AzureKeyVault' + */ + serverKeyType: ServerKeyType; + /** + * The URI of the server key. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly uri?: string; + /** + * Thumbprint of the server key. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly thumbprint?: string; +} + +/** + * Represents server metrics. + */ +export interface ServerUsage { + /** + * Name of the server usage metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resourceName?: string; + /** + * The metric display name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayName?: string; + /** + * The current value of the metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentValue?: number; + /** + * The current limit of the metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly limit?: number; + /** + * The units of the metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly unit?: string; + /** + * The next reset time for the metric (ISO8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextResetTime?: Date; +} + +/** + * A recoverable sql pool + */ +export interface RecoverableSqlPool extends ProxyResource { + /** + * The edition of the database + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly edition?: 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 last available backup date of the database (ISO8601 format) + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastAvailableBackupDate?: Date; +} + +/** + * A workspace key + */ +export interface Key extends ProxyResource { + /** + * Used to activate the workspace after a customer managed key is provided. + */ + isActiveCMK?: boolean; + /** + * The Key Vault Url of the workspace key. + */ + keyVaultUrl?: string; +} + +/** + * Optional Parameters. + */ +export interface BigDataPoolsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether to stop any running jobs in the Big Data pool. Default value: false. + */ + force?: boolean; +} + +/** + * Optional Parameters. + */ +export interface BigDataPoolsBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether to stop any running jobs in the Big Data pool. Default value: false. + */ + force?: boolean; +} + +/** + * Optional Parameters. + */ +export interface SqlPoolSensitivityLabelsListCurrentOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SqlPoolSensitivityLabelsListRecommendedOptionalParams extends msRest.RequestOptionsBase { + /** + * Specifies whether to include disabled recommendations or not. + */ + includeDisabledRecommendations?: boolean; + /** + * An OData query option to indicate how many elements to skip in the collection. + */ + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SqlPoolSensitivityLabelsListCurrentNextOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SqlPoolSensitivityLabelsListRecommendedNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specifies whether to include disabled recommendations or not. + */ + includeDisabledRecommendations?: boolean; + /** + * An OData query option to indicate how many elements to skip in the collection. + */ + skipToken?: string; + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SqlPoolSchemasListOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SqlPoolSchemasListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SqlPoolTablesListBySchemaOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SqlPoolTablesListBySchemaNextOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SqlPoolTableColumnsListByTableNameOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface SqlPoolTableColumnsListByTableNameNextOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that filters elements in the collection. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface IntegrationRuntimesGetOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the integration runtime entity. Should only be specified for get. If the ETag matches + * the existing entity tag, or if * was provided, then no content will be returned. + */ + ifNoneMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface IntegrationRuntimesCreateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the integration runtime entity. Should only be specified for update, for which it + * should match existing entity or can be * for unconditional update. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface IntegrationRuntimesBeginCreateOptionalParams extends msRest.RequestOptionsBase { + /** + * ETag of the integration runtime entity. Should only be specified for update, for which it + * should match existing entity or can be * for unconditional update. + */ + ifMatch?: string; +} + +/** + * Optional Parameters. + */ +export interface IntegrationRuntimeObjectMetadataListOptionalParams extends msRest.RequestOptionsBase { + /** + * The parameters for getting a SSIS object metadata. + */ + getMetadataRequest?: GetSsisObjectMetadataRequest; +} + +/** + * An interface representing SynapseManagementClientOptions. + */ +export interface SynapseManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * @interface + * Collection of Big Data pool information + * @summary Collection of Big Data pools + * @extends Array + */ +export interface BigDataPoolResourceInfoListResult extends Array { + /** + * Link to the next page of results + */ + nextLink?: string; +} + +/** + * @interface + * List of IP firewall rules + * @extends Array + */ +export interface IpFirewallRuleInfoListResult extends Array { + /** + * Link to next page of results + */ + nextLink?: string; +} + +/** + * @interface + * List of SQL pools + * @summary SQL pool collection + * @extends Array + */ +export interface SqlPoolInfoListResult extends Array { + /** + * Link to the next page of results + */ + nextLink?: string; +} + +/** + * @interface + * The response to a list geo backup policies request. + * @extends Array + */ +export interface GeoBackupPolicyListResult extends Array { +} + +/** + * @interface + * A list of long term retention backups. + * @extends Array + */ +export interface RestorePointListResult 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 + * Represents the response to a List Sql pool replication link request. + * @extends Array + */ +export interface ReplicationLinkListResult 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 + * A list of transparent data encryption configurations. + * @extends Array + */ +export interface TransparentDataEncryptionListResult 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 + * A list of Sql pool auditing settings. + * @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.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * The response to a list Sql pool usages request. + * @extends Array + */ +export interface SqlPoolUsageListResult 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 + * A list of sensitivity labels. + * @extends Array + */ +export interface SensitivityLabelListResult 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 + * A list of Sql pool schemas. + * @extends Array + */ +export interface SqlPoolSchemaListResult 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 + * A list of Sql pool tables. + * @extends Array + */ +export interface SqlPoolTableListResult 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 + * A list of Sql pool columns. + * @extends Array + */ +export interface SqlPoolColumnListResult 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 + * A list of the Sql pool's vulnerability assessments. + * @extends Array + */ +export interface SqlPoolVulnerabilityAssessmentListResult 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 + * A list of vulnerability assessment scan records. + * @extends Array + */ +export interface VulnerabilityAssessmentScanRecordListResult 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 + * A list of SQL pool security alert policies. + * @extends Array + */ +export interface ListSqlPoolSecurityAlertPolicies 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 + * A list of sql pool extended auditing settings. + * @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 + * A list of workload groups. + * @extends Array + */ +export interface WorkloadGroupListResult 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 + * A list of workload classifiers for a workload group. + * @extends Array + */ +export interface WorkloadClassifierListResult 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 + * List of workspaces + * @extends Array + */ +export interface WorkspaceInfoListResult extends Array { + /** + * Link to the next page of results + */ + 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. + * @extends Array + */ +export interface IntegrationRuntimeListResponse extends Array { + /** + * The link to the next page of results, if any remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * A list of private link resources + * @extends Array + */ +export interface PrivateLinkResourceListResult 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 + * A list of private endpoint connections + * @extends Array + */ +export interface PrivateEndpointConnectionList 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 + * List of privateLinkHubs + * @extends Array + */ +export interface PrivateLinkHubInfoListResult extends Array { + /** + * Link to the next page of results + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the + * PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse. + * @extends Array + */ +export interface PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse extends Array { + nextLink?: string; +} + +/** + * @interface + * A list of server auditing settings. + * @extends Array + */ +export interface ServerBlobAuditingPolicyListResult 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 + * A list of server extended auditing settings. + * @extends Array + */ +export interface ExtendedServerBlobAuditingPolicyListResult 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 + * A list of the workspace managed sql server's security alert policies. + * @extends Array + */ +export interface ServerSecurityAlertPolicyListResult 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 + * A list of the server's vulnerability assessments. + * @extends Array + */ +export interface ServerVulnerabilityAssessmentListResult 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 + * A list of server encryption protectors. + * @extends Array + */ +export interface EncryptionProtectorListResult 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 + * Represents the response to a list server metrics request. + * @extends Array + */ +export interface ServerUsageListResult 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 recoverable sql pools request + * @extends Array + */ +export interface RecoverableSqlPoolListResult 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 + * List of keys + * @extends Array + */ +export interface KeyInfoListResult extends Array { + /** + * Link to the next page of results + */ + nextLink?: string; +} + +/** + * Defines values for NodeSize. + * Possible values include: 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge', 'XXXLarge' + * @readonly + * @enum {string} + */ +export type NodeSize = 'None' | 'Small' | 'Medium' | 'Large' | 'XLarge' | 'XXLarge' | 'XXXLarge'; + +/** + * Defines values for NodeSizeFamily. + * Possible values include: 'None', 'MemoryOptimized' + * @readonly + * @enum {string} + */ +export type NodeSizeFamily = 'None' | 'MemoryOptimized'; + +/** + * Defines values for ProvisioningState. + * Possible values include: 'Provisioning', 'Succeeded', 'Deleting', 'Failed', 'DeleteError' + * @readonly + * @enum {string} + */ +export type ProvisioningState = 'Provisioning' | 'Succeeded' | 'Deleting' | 'Failed' | 'DeleteError'; + +/** + * Defines values for OperationStatus. + * Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled' + * @readonly + * @enum {string} + */ +export type OperationStatus = 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'; + +/** + * Defines values for GeoBackupPolicyState. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type GeoBackupPolicyState = 'Disabled' | 'Enabled'; + +/** * Defines values for QueryAggregationFunction. * Possible values include: 'min', 'max', 'avg', 'sum' * @readonly * @enum {string} */ -export type QueryAggregationFunction = 'min' | 'max' | 'avg' | 'sum'; +export type QueryAggregationFunction = 'min' | 'max' | 'avg' | 'sum'; + +/** + * Defines values for QueryExecutionType. + * Possible values include: 'any', 'regular', 'irregular', 'aborted', 'exception' + * @readonly + * @enum {string} + */ +export type QueryExecutionType = 'any' | 'regular' | 'irregular' | 'aborted' | 'exception'; + +/** + * Defines values for QueryObservedMetricType. + * Possible values include: 'cpu', 'io', 'logio', 'duration', 'executionCount' + * @readonly + * @enum {string} + */ +export type QueryObservedMetricType = 'cpu' | 'io' | 'logio' | 'duration' | 'executionCount'; + +/** + * Defines values for QueryMetricUnit. + * Possible values include: 'percentage', 'KB', 'microseconds' + * @readonly + * @enum {string} + */ +export type QueryMetricUnit = 'percentage' | 'KB' | 'microseconds'; + +/** + * Defines values for RestorePointType. + * Possible values include: 'CONTINUOUS', 'DISCRETE' + * @readonly + * @enum {string} + */ +export type RestorePointType = 'CONTINUOUS' | 'DISCRETE'; + +/** + * Defines values for ReplicationRole. + * Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' + * @readonly + * @enum {string} + */ +export type ReplicationRole = 'Primary' | 'Secondary' | 'NonReadableSecondary' | 'Source' | 'Copy'; + +/** + * Defines values for ReplicationState. + * Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED' + * @readonly + * @enum {string} + */ +export type ReplicationState = 'PENDING' | 'SEEDING' | 'CATCH_UP' | 'SUSPENDED'; + +/** + * Defines values for TransparentDataEncryptionStatus. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type TransparentDataEncryptionStatus = 'Enabled' | 'Disabled'; + +/** + * Defines values for BlobAuditingPolicyState. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type BlobAuditingPolicyState = 'Enabled' | 'Disabled'; + +/** + * Defines values for ManagementOperationState. + * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', + * 'Cancelled' + * @readonly + * @enum {string} + */ +export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled'; + +/** + * Defines values for ColumnDataType. + * Possible values include: 'image', 'text', 'uniqueidentifier', 'date', 'time', 'datetime2', + * 'datetimeoffset', 'tinyint', 'smallint', 'int', 'smalldatetime', 'real', 'money', 'datetime', + * 'float', 'sql_variant', 'ntext', 'bit', 'decimal', 'numeric', 'smallmoney', 'bigint', + * 'hierarchyid', 'geometry', 'geography', 'varbinary', 'varchar', 'binary', 'char', 'timestamp', + * 'nvarchar', 'nchar', 'xml', 'sysname' + * @readonly + * @enum {string} + */ +export type ColumnDataType = 'image' | 'text' | 'uniqueidentifier' | 'date' | 'time' | 'datetime2' | 'datetimeoffset' | 'tinyint' | 'smallint' | 'int' | 'smalldatetime' | 'real' | 'money' | 'datetime' | 'float' | 'sql_variant' | 'ntext' | 'bit' | 'decimal' | 'numeric' | 'smallmoney' | 'bigint' | 'hierarchyid' | 'geometry' | 'geography' | 'varbinary' | 'varchar' | 'binary' | 'char' | 'timestamp' | 'nvarchar' | 'nchar' | 'xml' | 'sysname'; + +/** + * Defines values for VulnerabilityAssessmentScanTriggerType. + * Possible values include: 'OnDemand', 'Recurring' + * @readonly + * @enum {string} + */ +export type VulnerabilityAssessmentScanTriggerType = 'OnDemand' | 'Recurring'; + +/** + * Defines values for VulnerabilityAssessmentScanState. + * Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' + * @readonly + * @enum {string} + */ +export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRun' | 'InProgress'; + +/** + * Defines values for SecurityAlertPolicyState. + * Possible values include: 'New', 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +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' + * @readonly + * @enum {string} + */ +export type ResourceIdentityType = 'None' | 'SystemAssigned'; + +/** + * Defines values for IntegrationRuntimeType. + * Possible values include: 'Managed', 'SelfHosted' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeType = 'Managed' | 'SelfHosted'; + +/** + * Defines values for IntegrationRuntimeState. + * Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', + * 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeState = 'Initial' | 'Stopped' | 'Started' | 'Starting' | 'Stopping' | 'NeedRegistration' | 'Online' | 'Limited' | 'Offline' | 'AccessDenied'; + +/** + * Defines values for DataFlowComputeType. + * Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized' + * @readonly + * @enum {string} + */ +export type DataFlowComputeType = 'General' | 'MemoryOptimized' | 'ComputeOptimized'; + +/** + * Defines values for IntegrationRuntimeSsisCatalogPricingTier. + * Possible values include: 'Basic', 'Standard', 'Premium', 'PremiumRS' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeSsisCatalogPricingTier = 'Basic' | 'Standard' | 'Premium' | 'PremiumRS'; + +/** + * Defines values for IntegrationRuntimeLicenseType. + * Possible values include: 'BasePrice', 'LicenseIncluded' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeLicenseType = 'BasePrice' | 'LicenseIncluded'; + +/** + * Defines values for IntegrationRuntimeEntityReferenceType. + * Possible values include: 'IntegrationRuntimeReference', 'LinkedServiceReference' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeEntityReferenceType = 'IntegrationRuntimeReference' | 'LinkedServiceReference'; + +/** + * Defines values for IntegrationRuntimeEdition. + * Possible values include: 'Standard', 'Enterprise' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeEdition = 'Standard' | 'Enterprise'; + +/** + * Defines values for ManagedIntegrationRuntimeNodeStatus. + * Possible values include: 'Starting', 'Available', 'Recycling', 'Unavailable' + * @readonly + * @enum {string} + */ +export type ManagedIntegrationRuntimeNodeStatus = 'Starting' | 'Available' | 'Recycling' | 'Unavailable'; + +/** + * Defines values for IntegrationRuntimeInternalChannelEncryptionMode. + * Possible values include: 'NotSet', 'SslEncrypted', 'NotEncrypted' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeInternalChannelEncryptionMode = 'NotSet' | 'SslEncrypted' | 'NotEncrypted'; + +/** + * Defines values for SelfHostedIntegrationRuntimeNodeStatus. + * Possible values include: 'NeedRegistration', 'Online', 'Limited', 'Offline', 'Upgrading', + * 'Initializing', 'InitializeFailed' + * @readonly + * @enum {string} + */ +export type SelfHostedIntegrationRuntimeNodeStatus = 'NeedRegistration' | 'Online' | 'Limited' | 'Offline' | 'Upgrading' | 'Initializing' | 'InitializeFailed'; + +/** + * Defines values for IntegrationRuntimeUpdateResult. + * Possible values include: 'None', 'Succeed', 'Fail' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeUpdateResult = 'None' | 'Succeed' | 'Fail'; + +/** + * Defines values for IntegrationRuntimeAutoUpdate. + * Possible values include: 'On', 'Off' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeAutoUpdate = 'On' | 'Off'; + +/** + * Defines values for IntegrationRuntimeAuthKeyName. + * Possible values include: 'authKey1', 'authKey2' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeAuthKeyName = 'authKey1' | 'authKey2'; + +/** + * Defines values for SsisObjectMetadataType. + * Possible values include: 'Folder', 'Project', 'Package', 'Environment' + * @readonly + * @enum {string} + */ +export type SsisObjectMetadataType = 'Folder' | 'Project' | 'Package' | 'Environment'; + +/** + * Defines values for ServerKeyType. + * Possible values include: 'ServiceManaged', 'AzureKeyVault' + * @readonly + * @enum {string} + */ +export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault'; + +/** + * 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' + * @readonly + * @enum {string} + */ +export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; + +/** + * Defines values for DesiredState. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type DesiredState = 'Enabled' | 'Disabled'; + +/** + * Defines values for ActualState. + * Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Unknown' + * @readonly + * @enum {string} + */ +export type ActualState = 'Enabling' | 'Enabled' | 'Disabling' | 'Disabled' | 'Unknown'; + +/** + * Contains response data for the get operation. + */ +export type BigDataPoolsGetResponse = BigDataPoolResourceInfo & { + /** + * 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: BigDataPoolResourceInfo; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type BigDataPoolsUpdateResponse = BigDataPoolResourceInfo & { + /** + * 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: BigDataPoolResourceInfo; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type BigDataPoolsCreateOrUpdateResponse = BigDataPoolResourceInfo & { + /** + * 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: BigDataPoolResourceInfo; + }; +}; + +/** + * Contains response data for the deleteMethod operation. + */ +export type BigDataPoolsDeleteMethodResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the listByWorkspace operation. + */ +export type BigDataPoolsListByWorkspaceResponse = BigDataPoolResourceInfoListResult & { + /** + * 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: BigDataPoolResourceInfoListResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type BigDataPoolsBeginCreateOrUpdateResponse = BigDataPoolResourceInfo & { + /** + * 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: BigDataPoolResourceInfo; + }; +}; + +/** + * Contains response data for the beginDeleteMethod operation. + */ +export type BigDataPoolsBeginDeleteMethodResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the listByWorkspaceNext operation. + */ +export type BigDataPoolsListByWorkspaceNextResponse = BigDataPoolResourceInfoListResult & { + /** + * 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: BigDataPoolResourceInfoListResult; + }; +}; + +/** + * Contains response data for the checkNameAvailability operation. + */ +export type OperationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & { + /** + * 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: CheckNameAvailabilityResponse; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = Array & { + /** + * 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: AvailableRpOperation[]; + }; +}; + +/** + * Contains response data for the getAzureAsyncHeaderResult operation. + */ +export type OperationsGetAzureAsyncHeaderResultResponse = OperationResource & { + /** + * 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: OperationResource; + }; +}; + +/** + * Contains response data for the listByWorkspace operation. + */ +export type IpFirewallRulesListByWorkspaceResponse = IpFirewallRuleInfoListResult & { + /** + * 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: IpFirewallRuleInfoListResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IpFirewallRulesCreateOrUpdateResponse = IpFirewallRuleInfo & { + /** + * 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: IpFirewallRuleInfo; + }; +}; + +/** + * Contains response data for the deleteMethod operation. + */ +export type IpFirewallRulesDeleteMethodResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IpFirewallRulesGetResponse = IpFirewallRuleInfo & { + /** + * 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: IpFirewallRuleInfo; + }; +}; + +/** + * Contains response data for the replaceAll operation. + */ +export type IpFirewallRulesReplaceAllResponse = ReplaceAllFirewallRulesOperationResponse & { + /** + * 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: ReplaceAllFirewallRulesOperationResponse; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type IpFirewallRulesBeginCreateOrUpdateResponse = IpFirewallRuleInfo & { + /** + * 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: IpFirewallRuleInfo; + }; +}; + +/** + * Contains response data for the beginDeleteMethod operation. + */ +export type IpFirewallRulesBeginDeleteMethodResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the beginReplaceAll operation. + */ +export type IpFirewallRulesBeginReplaceAllResponse = ReplaceAllFirewallRulesOperationResponse & { + /** + * 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: ReplaceAllFirewallRulesOperationResponse; + }; +}; + +/** + * Contains response data for the listByWorkspaceNext operation. + */ +export type IpFirewallRulesListByWorkspaceNextResponse = IpFirewallRuleInfoListResult & { + /** + * 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: IpFirewallRuleInfoListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SqlPoolsGetResponse = SqlPool & { + /** + * 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: SqlPool; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type SqlPoolsUpdateResponse = SqlPool & { + /** + * 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: SqlPool; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type SqlPoolsCreateResponse = SqlPool & { + /** + * 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: SqlPool; + }; +}; + +/** + * Contains response data for the deleteMethod operation. + */ +export type SqlPoolsDeleteMethodResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the listByWorkspace operation. + */ +export type SqlPoolsListByWorkspaceResponse = SqlPoolInfoListResult & { + /** + * 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: SqlPoolInfoListResult; + }; +}; + +/** + * Contains response data for the pause operation. + */ +export type SqlPoolsPauseResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the resume operation. + */ +export type SqlPoolsResumeResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the beginCreate operation. + */ +export type SqlPoolsBeginCreateResponse = SqlPool & { + /** + * 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: SqlPool; + }; +}; + +/** + * Contains response data for the beginDeleteMethod operation. + */ +export type SqlPoolsBeginDeleteMethodResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the beginPause operation. + */ +export type SqlPoolsBeginPauseResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the beginResume operation. + */ +export type SqlPoolsBeginResumeResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the listByWorkspaceNext operation. + */ +export type SqlPoolsListByWorkspaceNextResponse = SqlPoolInfoListResult & { + /** + * 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: SqlPoolInfoListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SqlPoolMetadataSyncConfigsGetResponse = MetadataSyncConfig & { + /** + * 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: MetadataSyncConfig; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type SqlPoolMetadataSyncConfigsCreateResponse = MetadataSyncConfig & { + /** + * 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: MetadataSyncConfig; + }; +}; + +/** + * Contains response data for the getLocationHeaderResult operation. + */ +export type SqlPoolOperationResultsGetLocationHeaderResultResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * 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: any; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type SqlPoolGeoBackupPoliciesListResponse = GeoBackupPolicyListResult & { + /** + * 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: GeoBackupPolicyListResult; + }; +}; /** - * Defines values for QueryExecutionType. - * Possible values include: 'any', 'regular', 'irregular', 'aborted', 'exception' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type QueryExecutionType = 'any' | 'regular' | 'irregular' | 'aborted' | 'exception'; +export type SqlPoolGeoBackupPoliciesGetResponse = GeoBackupPolicy & { + /** + * 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: GeoBackupPolicy; + }; +}; /** - * Defines values for QueryObservedMetricType. - * Possible values include: 'cpu', 'io', 'logio', 'duration', 'executionCount' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type QueryObservedMetricType = 'cpu' | 'io' | 'logio' | 'duration' | 'executionCount'; +export type SqlPoolDataWarehouseUserActivitiesGetResponse = DataWarehouseUserActivities & { + /** + * 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: DataWarehouseUserActivities; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type SqlPoolRestorePointsListResponse = RestorePointListResult & { + /** + * 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: RestorePointListResult; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type SqlPoolRestorePointsCreateResponse = 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 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. + */ +export type SqlPoolRestorePointsBeginCreateResponse = 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 listNext operation. + */ +export type SqlPoolRestorePointsListNextResponse = RestorePointListResult & { + /** + * 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: RestorePointListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type SqlPoolReplicationLinksListResponse = ReplicationLinkListResult & { + /** + * 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: ReplicationLinkListResult; + }; +}; + +/** + * Contains response data for the getByName operation. + */ +export type SqlPoolReplicationLinksGetByNameResponse = ReplicationLink & { + /** + * 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: ReplicationLink; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type SqlPoolReplicationLinksListNextResponse = ReplicationLinkListResult & { + /** + * 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: ReplicationLinkListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SqlPoolTransparentDataEncryptionsGetResponse = TransparentDataEncryption & { + /** + * 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: TransparentDataEncryption; + }; +}; /** - * Defines values for QueryMetricUnit. - * Possible values include: 'percentage', 'KB', 'microseconds' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type QueryMetricUnit = 'percentage' | 'KB' | 'microseconds'; +export type SqlPoolTransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for RestorePointType. - * Possible values include: 'CONTINUOUS', 'DISCRETE' - * @readonly - * @enum {string} - */ -export type RestorePointType = 'CONTINUOUS' | 'DISCRETE'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: TransparentDataEncryption; + }; +}; /** - * Defines values for ReplicationRole. - * Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type ReplicationRole = 'Primary' | 'Secondary' | 'NonReadableSecondary' | 'Source' | 'Copy'; +export type SqlPoolTransparentDataEncryptionsListResponse = TransparentDataEncryptionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ReplicationState. - * Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED' - * @readonly - * @enum {string} - */ -export type ReplicationState = 'PENDING' | 'SEEDING' | 'CATCH_UP' | 'SUSPENDED'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: TransparentDataEncryptionListResult; + }; +}; /** - * Defines values for TransparentDataEncryptionStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type TransparentDataEncryptionStatus = 'Enabled' | 'Disabled'; +export type SqlPoolTransparentDataEncryptionsListNextResponse = TransparentDataEncryptionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for BlobAuditingPolicyState. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} - */ -export type BlobAuditingPolicyState = 'Enabled' | 'Disabled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: TransparentDataEncryptionListResult; + }; +}; /** - * Defines values for ManagementOperationState. - * Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', - * 'Cancelled' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type ManagementOperationState = 'Pending' | 'InProgress' | 'Succeeded' | 'Failed' | 'CancelInProgress' | 'Cancelled'; +export type SqlPoolBlobAuditingPoliciesGetResponse = SqlPoolBlobAuditingPolicy & { + /** + * 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: SqlPoolBlobAuditingPolicy; + }; +}; /** - * Defines values for ColumnDataType. - * Possible values include: 'image', 'text', 'uniqueidentifier', 'date', 'time', 'datetime2', - * 'datetimeoffset', 'tinyint', 'smallint', 'int', 'smalldatetime', 'real', 'money', 'datetime', - * 'float', 'sql_variant', 'ntext', 'bit', 'decimal', 'numeric', 'smallmoney', 'bigint', - * 'hierarchyid', 'geometry', 'geography', 'varbinary', 'varchar', 'binary', 'char', 'timestamp', - * 'nvarchar', 'nchar', 'xml', 'sysname' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type ColumnDataType = 'image' | 'text' | 'uniqueidentifier' | 'date' | 'time' | 'datetime2' | 'datetimeoffset' | 'tinyint' | 'smallint' | 'int' | 'smalldatetime' | 'real' | 'money' | 'datetime' | 'float' | 'sql_variant' | 'ntext' | 'bit' | 'decimal' | 'numeric' | 'smallmoney' | 'bigint' | 'hierarchyid' | 'geometry' | 'geography' | 'varbinary' | 'varchar' | 'binary' | 'char' | 'timestamp' | 'nvarchar' | 'nchar' | 'xml' | 'sysname'; +export type SqlPoolBlobAuditingPoliciesCreateOrUpdateResponse = SqlPoolBlobAuditingPolicy & { + /** + * 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: SqlPoolBlobAuditingPolicy; + }; +}; /** - * Defines values for VulnerabilityAssessmentScanTriggerType. - * Possible values include: 'OnDemand', 'Recurring' - * @readonly - * @enum {string} + * Contains response data for the listBySqlPool operation. */ -export type VulnerabilityAssessmentScanTriggerType = 'OnDemand' | 'Recurring'; +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; + }; +}; /** - * Defines values for VulnerabilityAssessmentScanState. - * Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' - * @readonly - * @enum {string} + * Contains response data for the listBySqlPoolNext operation. */ -export type VulnerabilityAssessmentScanState = 'Passed' | 'Failed' | 'FailedToRun' | 'InProgress'; +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; + }; +}; /** - * Defines values for SecurityAlertPolicyState. - * Possible values include: 'New', 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type SecurityAlertPolicyState = 'New' | 'Enabled' | 'Disabled'; +export type SqlPoolOperationsListResponse = SqlPoolBlobAuditingPolicySqlPoolOperationListResult & { + /** + * 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: SqlPoolBlobAuditingPolicySqlPoolOperationListResult; + }; +}; /** - * Defines values for ResourceIdentityType. - * Possible values include: 'None', 'SystemAssigned' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type ResourceIdentityType = 'None' | 'SystemAssigned'; +export type SqlPoolOperationsListNextResponse = SqlPoolBlobAuditingPolicySqlPoolOperationListResult & { + /** + * 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: SqlPoolBlobAuditingPolicySqlPoolOperationListResult; + }; +}; /** - * Defines values for IntegrationRuntimeType. - * Possible values include: 'Managed', 'SelfHosted' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type IntegrationRuntimeType = 'Managed' | 'SelfHosted'; +export type SqlPoolUsagesListResponse = SqlPoolUsageListResult & { + /** + * 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: SqlPoolUsageListResult; + }; +}; /** - * Defines values for IntegrationRuntimeState. - * Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', - * 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type IntegrationRuntimeState = 'Initial' | 'Stopped' | 'Started' | 'Starting' | 'Stopping' | 'NeedRegistration' | 'Online' | 'Limited' | 'Offline' | 'AccessDenied'; +export type SqlPoolUsagesListNextResponse = SqlPoolUsageListResult & { + /** + * 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: SqlPoolUsageListResult; + }; +}; /** - * Defines values for DataFlowComputeType. - * Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized' - * @readonly - * @enum {string} + * Contains response data for the listCurrent operation. */ -export type DataFlowComputeType = 'General' | 'MemoryOptimized' | 'ComputeOptimized'; +export type SqlPoolSensitivityLabelsListCurrentResponse = SensitivityLabelListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for IntegrationRuntimeSsisCatalogPricingTier. - * Possible values include: 'Basic', 'Standard', 'Premium', 'PremiumRS' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeSsisCatalogPricingTier = 'Basic' | 'Standard' | 'Premium' | 'PremiumRS'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SensitivityLabelListResult; + }; +}; /** - * Defines values for IntegrationRuntimeLicenseType. - * Possible values include: 'BasePrice', 'LicenseIncluded' - * @readonly - * @enum {string} + * Contains response data for the listRecommended operation. */ -export type IntegrationRuntimeLicenseType = 'BasePrice' | 'LicenseIncluded'; +export type SqlPoolSensitivityLabelsListRecommendedResponse = SensitivityLabelListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for IntegrationRuntimeEntityReferenceType. - * Possible values include: 'IntegrationRuntimeReference', 'LinkedServiceReference' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeEntityReferenceType = 'IntegrationRuntimeReference' | 'LinkedServiceReference'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SensitivityLabelListResult; + }; +}; /** - * Defines values for IntegrationRuntimeEdition. - * Possible values include: 'Standard', 'Enterprise' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimeEdition = 'Standard' | 'Enterprise'; +export type SqlPoolSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ManagedIntegrationRuntimeNodeStatus. - * Possible values include: 'Starting', 'Available', 'Recycling', 'Unavailable' - * @readonly - * @enum {string} - */ -export type ManagedIntegrationRuntimeNodeStatus = 'Starting' | 'Available' | 'Recycling' | 'Unavailable'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SensitivityLabel; + }; +}; /** - * Defines values for IntegrationRuntimeInternalChannelEncryptionMode. - * Possible values include: 'NotSet', 'SslEncrypted', 'NotEncrypted' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type IntegrationRuntimeInternalChannelEncryptionMode = 'NotSet' | 'SslEncrypted' | 'NotEncrypted'; +export type SqlPoolSensitivityLabelsGetResponse = SensitivityLabel & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SelfHostedIntegrationRuntimeNodeStatus. - * Possible values include: 'NeedRegistration', 'Online', 'Limited', 'Offline', 'Upgrading', - * 'Initializing', 'InitializeFailed' - * @readonly - * @enum {string} - */ -export type SelfHostedIntegrationRuntimeNodeStatus = 'NeedRegistration' | 'Online' | 'Limited' | 'Offline' | 'Upgrading' | 'Initializing' | 'InitializeFailed'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SensitivityLabel; + }; +}; /** - * Defines values for IntegrationRuntimeUpdateResult. - * Possible values include: 'None', 'Succeed', 'Fail' - * @readonly - * @enum {string} + * Contains response data for the listCurrentNext operation. */ -export type IntegrationRuntimeUpdateResult = 'None' | 'Succeed' | 'Fail'; +export type SqlPoolSensitivityLabelsListCurrentNextResponse = SensitivityLabelListResult & { + /** + * 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: SensitivityLabelListResult; + }; +}; /** - * Defines values for IntegrationRuntimeAutoUpdate. - * Possible values include: 'On', 'Off' - * @readonly - * @enum {string} + * Contains response data for the listRecommendedNext operation. */ -export type IntegrationRuntimeAutoUpdate = 'On' | 'Off'; +export type SqlPoolSensitivityLabelsListRecommendedNextResponse = SensitivityLabelListResult & { + /** + * 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: SensitivityLabelListResult; + }; +}; /** - * Defines values for IntegrationRuntimeAuthKeyName. - * Possible values include: 'authKey1', 'authKey2' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type IntegrationRuntimeAuthKeyName = 'authKey1' | 'authKey2'; +export type SqlPoolSchemasListResponse = SqlPoolSchemaListResult & { + /** + * 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: SqlPoolSchemaListResult; + }; +}; /** - * Defines values for SsisObjectMetadataType. - * Possible values include: 'Folder', 'Project', 'Package', 'Environment' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type SsisObjectMetadataType = 'Folder' | 'Project' | 'Package' | 'Environment'; +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; + }; +}; /** - * Defines values for VulnerabilityAssessmentPolicyBaselineName. - * Possible values include: 'master', 'default' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type VulnerabilityAssessmentPolicyBaselineName = 'master' | 'default'; +export type SqlPoolSchemasListNextResponse = SqlPoolSchemaListResult & { + /** + * 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: SqlPoolSchemaListResult; + }; +}; /** - * Defines values for Status. - * Possible values include: 'Approved', 'Pending', 'Rejected', 'Disconnected' - * @readonly - * @enum {string} + * Contains response data for the listBySchema operation. */ -export type Status = 'Approved' | 'Pending' | 'Rejected' | 'Disconnected'; +export type SqlPoolTablesListBySchemaResponse = SqlPoolTableListResult & { + /** + * 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: SqlPoolTableListResult; + }; +}; /** - * Defines values for DesiredState. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type DesiredState = 'Enabled' | 'Disabled'; +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; + }; +}; /** - * Defines values for ActualState. - * Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Unknown' - * @readonly - * @enum {string} + * Contains response data for the listBySchemaNext operation. */ -export type ActualState = 'Enabling' | 'Enabled' | 'Disabling' | 'Disabled' | 'Unknown'; +export type SqlPoolTablesListBySchemaNextResponse = SqlPoolTableListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ProvisioningState1. - * Possible values include: 'Succeeded', 'Failed' - * @readonly - * @enum {string} - */ -export type ProvisioningState1 = 'Succeeded' | 'Failed'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolTableListResult; + }; +}; /** - * Contains response data for the get operation. + * Contains response data for the listByTableName operation. */ -export type BigDataPoolsGetResponse = BigDataPoolResourceInfo & { +export type SqlPoolTableColumnsListByTableNameResponse = SqlPoolColumnListResult & { /** * The underlying HTTP response. */ @@ -3846,14 +6567,14 @@ export type BigDataPoolsGetResponse = BigDataPoolResourceInfo & { /** * The response body as parsed JSON or XML */ - parsedBody: BigDataPoolResourceInfo; + parsedBody: SqlPoolColumnListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByTableNameNext operation. */ -export type BigDataPoolsUpdateResponse = BigDataPoolResourceInfo & { +export type SqlPoolTableColumnsListByTableNameNextResponse = SqlPoolColumnListResult & { /** * The underlying HTTP response. */ @@ -3866,14 +6587,14 @@ export type BigDataPoolsUpdateResponse = BigDataPoolResourceInfo & { /** * The response body as parsed JSON or XML */ - parsedBody: BigDataPoolResourceInfo; + parsedBody: SqlPoolColumnListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type BigDataPoolsCreateOrUpdateResponse = BigDataPoolResourceInfo & { +export type SqlPoolConnectionPoliciesGetResponse = SqlPoolConnectionPolicy & { /** * The underlying HTTP response. */ @@ -3886,19 +6607,34 @@ export type BigDataPoolsCreateOrUpdateResponse = BigDataPoolResourceInfo & { /** * The response body as parsed JSON or XML */ - parsedBody: BigDataPoolResourceInfo; + parsedBody: SqlPoolConnectionPolicy; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the list operation. */ -export type BigDataPoolsDeleteMethodResponse = { +export type SqlPoolVulnerabilityAssessmentsListResponse = SqlPoolVulnerabilityAssessmentListResult & { /** - * The parsed response body. + * The underlying HTTP response. */ - body: any; + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolVulnerabilityAssessmentListResult; + }; +}; +/** + * Contains response data for the get operation. + */ +export type SqlPoolVulnerabilityAssessmentsGetResponse = SqlPoolVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -3911,14 +6647,14 @@ export type BigDataPoolsDeleteMethodResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: SqlPoolVulnerabilityAssessment; }; }; /** - * Contains response data for the listByWorkspace operation. + * Contains response data for the createOrUpdate operation. */ -export type BigDataPoolsListByWorkspaceResponse = BigDataPoolResourceInfoListResult & { +export type SqlPoolVulnerabilityAssessmentsCreateOrUpdateResponse = SqlPoolVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -3931,14 +6667,14 @@ export type BigDataPoolsListByWorkspaceResponse = BigDataPoolResourceInfoListRes /** * The response body as parsed JSON or XML */ - parsedBody: BigDataPoolResourceInfoListResult; + parsedBody: SqlPoolVulnerabilityAssessment; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type BigDataPoolsBeginCreateOrUpdateResponse = BigDataPoolResourceInfo & { +export type SqlPoolVulnerabilityAssessmentsListNextResponse = SqlPoolVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -3951,19 +6687,34 @@ export type BigDataPoolsBeginCreateOrUpdateResponse = BigDataPoolResourceInfo & /** * The response body as parsed JSON or XML */ - parsedBody: BigDataPoolResourceInfo; + parsedBody: SqlPoolVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the list operation. */ -export type BigDataPoolsBeginDeleteMethodResponse = { +export type SqlPoolVulnerabilityAssessmentScansListResponse = VulnerabilityAssessmentScanRecordListResult & { /** - * The parsed response body. + * The underlying HTTP response. */ - body: any; + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: VulnerabilityAssessmentScanRecordListResult; + }; +}; +/** + * Contains response data for the exportMethod operation. + */ +export type SqlPoolVulnerabilityAssessmentScansExportMethodResponse = SqlPoolVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ @@ -3976,14 +6727,14 @@ export type BigDataPoolsBeginDeleteMethodResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: SqlPoolVulnerabilityAssessmentScansExport; }; }; /** - * Contains response data for the listByWorkspaceNext operation. + * Contains response data for the get operation. */ -export type BigDataPoolsListByWorkspaceNextResponse = BigDataPoolResourceInfoListResult & { +export type SqlPoolVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ @@ -3996,14 +6747,14 @@ export type BigDataPoolsListByWorkspaceNextResponse = BigDataPoolResourceInfoLis /** * The response body as parsed JSON or XML */ - parsedBody: BigDataPoolResourceInfoListResult; + parsedBody: VulnerabilityAssessmentScanRecord; }; }; /** - * Contains response data for the checkNameAvailability operation. + * Contains response data for the listNext operation. */ -export type OperationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse & { +export type SqlPoolVulnerabilityAssessmentScansListNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ @@ -4016,14 +6767,14 @@ export type OperationsCheckNameAvailabilityResponse = CheckNameAvailabilityRespo /** * The response body as parsed JSON or XML */ - parsedBody: CheckNameAvailabilityResponse; + parsedBody: VulnerabilityAssessmentScanRecordListResult; }; }; /** * Contains response data for the list operation. */ -export type OperationsListResponse = Array & { +export type SqlPoolSecurityAlertPoliciesListResponse = ListSqlPoolSecurityAlertPolicies & { /** * The underlying HTTP response. */ @@ -4036,19 +6787,34 @@ export type OperationsListResponse = Array & { /** * The response body as parsed JSON or XML */ - parsedBody: AvailableRpOperation[]; + parsedBody: ListSqlPoolSecurityAlertPolicies; }; }; /** - * Contains response data for the getAzureAsyncHeaderResult operation. + * Contains response data for the get operation. */ -export type OperationsGetAzureAsyncHeaderResultResponse = { +export type SqlPoolSecurityAlertPoliciesGetResponse = SqlPoolSecurityAlertPolicy & { /** - * The parsed response body. + * The underlying HTTP response. */ - body: any; + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolSecurityAlertPolicy; + }; +}; +/** + * Contains response data for the createOrUpdate operation. + */ +export type SqlPoolSecurityAlertPoliciesCreateOrUpdateResponse = SqlPoolSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -4061,14 +6827,14 @@ export type OperationsGetAzureAsyncHeaderResultResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: SqlPoolSecurityAlertPolicy; }; }; /** - * Contains response data for the listByWorkspace operation. + * Contains response data for the listNext operation. */ -export type IpFirewallRulesListByWorkspaceResponse = IpFirewallRuleInfoListResult & { +export type SqlPoolSecurityAlertPoliciesListNextResponse = ListSqlPoolSecurityAlertPolicies & { /** * The underlying HTTP response. */ @@ -4081,14 +6847,14 @@ export type IpFirewallRulesListByWorkspaceResponse = IpFirewallRuleInfoListResul /** * The response body as parsed JSON or XML */ - parsedBody: IpFirewallRuleInfoListResult; + parsedBody: ListSqlPoolSecurityAlertPolicies; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type IpFirewallRulesCreateOrUpdateResponse = IpFirewallRuleInfo & { +export type SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = SqlPoolVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -4101,19 +6867,14 @@ export type IpFirewallRulesCreateOrUpdateResponse = IpFirewallRuleInfo & { /** * The response body as parsed JSON or XML */ - parsedBody: IpFirewallRuleInfo; + parsedBody: SqlPoolVulnerabilityAssessmentRuleBaseline; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the get operation. */ -export type IpFirewallRulesDeleteMethodResponse = { - /** - * The parsed response body. - */ - body: any; - +export type SqlPoolVulnerabilityAssessmentRuleBaselinesGetResponse = SqlPoolVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ @@ -4126,14 +6887,14 @@ export type IpFirewallRulesDeleteMethodResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: SqlPoolVulnerabilityAssessmentRuleBaseline; }; }; /** * Contains response data for the get operation. */ -export type IpFirewallRulesGetResponse = IpFirewallRuleInfo & { +export type ExtendedSqlPoolBlobAuditingPoliciesGetResponse = ExtendedSqlPoolBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -4146,14 +6907,14 @@ export type IpFirewallRulesGetResponse = IpFirewallRuleInfo & { /** * The response body as parsed JSON or XML */ - parsedBody: IpFirewallRuleInfo; + parsedBody: ExtendedSqlPoolBlobAuditingPolicy; }; }; /** - * Contains response data for the replaceAll operation. + * Contains response data for the createOrUpdate operation. */ -export type IpFirewallRulesReplaceAllResponse = ReplaceAllFirewallRulesOperationResponse & { +export type ExtendedSqlPoolBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedSqlPoolBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -4166,14 +6927,14 @@ export type IpFirewallRulesReplaceAllResponse = ReplaceAllFirewallRulesOperation /** * The response body as parsed JSON or XML */ - parsedBody: ReplaceAllFirewallRulesOperationResponse; + parsedBody: ExtendedSqlPoolBlobAuditingPolicy; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listBySqlPool operation. */ -export type IpFirewallRulesBeginCreateOrUpdateResponse = IpFirewallRuleInfo & { +export type ExtendedSqlPoolBlobAuditingPoliciesListBySqlPoolResponse = ExtendedSqlPoolBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -4186,19 +6947,34 @@ export type IpFirewallRulesBeginCreateOrUpdateResponse = IpFirewallRuleInfo & { /** * The response body as parsed JSON or XML */ - parsedBody: IpFirewallRuleInfo; + parsedBody: ExtendedSqlPoolBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the listBySqlPoolNext operation. */ -export type IpFirewallRulesBeginDeleteMethodResponse = { +export type ExtendedSqlPoolBlobAuditingPoliciesListBySqlPoolNextResponse = ExtendedSqlPoolBlobAuditingPolicyListResult & { /** - * The parsed response body. + * The underlying HTTP response. */ - body: any; + _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. */ @@ -4211,14 +6987,14 @@ export type IpFirewallRulesBeginDeleteMethodResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: DataMaskingPolicy; }; }; /** - * Contains response data for the beginReplaceAll operation. + * Contains response data for the get operation. */ -export type IpFirewallRulesBeginReplaceAllResponse = ReplaceAllFirewallRulesOperationResponse & { +export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { /** * The underlying HTTP response. */ @@ -4231,14 +7007,14 @@ export type IpFirewallRulesBeginReplaceAllResponse = ReplaceAllFirewallRulesOper /** * The response body as parsed JSON or XML */ - parsedBody: ReplaceAllFirewallRulesOperationResponse; + parsedBody: DataMaskingPolicy; }; }; /** - * Contains response data for the listByWorkspaceNext operation. + * Contains response data for the createOrUpdate operation. */ -export type IpFirewallRulesListByWorkspaceNextResponse = IpFirewallRuleInfoListResult & { +export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { /** * The underlying HTTP response. */ @@ -4251,14 +7027,14 @@ export type IpFirewallRulesListByWorkspaceNextResponse = IpFirewallRuleInfoListR /** * The response body as parsed JSON or XML */ - parsedBody: IpFirewallRuleInfoListResult; + parsedBody: DataMaskingRule; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySqlPool operation. */ -export type SqlPoolsGetResponse = SqlPool & { +export type DataMaskingRulesListBySqlPoolResponse = DataMaskingRuleListResult & { /** * The underlying HTTP response. */ @@ -4271,14 +7047,14 @@ export type SqlPoolsGetResponse = SqlPool & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPool; + parsedBody: DataMaskingRuleListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type SqlPoolsUpdateResponse = SqlPool & { +export type SqlPoolColumnsGetResponse = SqlPoolColumn & { /** * The underlying HTTP response. */ @@ -4291,14 +7067,14 @@ export type SqlPoolsUpdateResponse = SqlPool & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPool; + parsedBody: SqlPoolColumn; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type SqlPoolsCreateResponse = SqlPool & { +export type SqlPoolWorkloadGroupGetResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -4311,19 +7087,34 @@ export type SqlPoolsCreateResponse = SqlPool & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPool; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the createOrUpdate operation. */ -export type SqlPoolsDeleteMethodResponse = { +export type SqlPoolWorkloadGroupCreateOrUpdateResponse = WorkloadGroup & { /** - * The parsed response body. + * The underlying HTTP response. */ - body: any; + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadGroup; + }; +}; +/** + * Contains response data for the list operation. + */ +export type SqlPoolWorkloadGroupListResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ @@ -4336,14 +7127,14 @@ export type SqlPoolsDeleteMethodResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: WorkloadGroupListResult; }; }; /** - * Contains response data for the listByWorkspace operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SqlPoolsListByWorkspaceResponse = SqlPoolInfoListResult & { +export type SqlPoolWorkloadGroupBeginCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ @@ -4356,19 +7147,34 @@ export type SqlPoolsListByWorkspaceResponse = SqlPoolInfoListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolInfoListResult; + parsedBody: WorkloadGroup; }; }; /** - * Contains response data for the pause operation. + * Contains response data for the listNext operation. */ -export type SqlPoolsPauseResponse = { +export type SqlPoolWorkloadGroupListNextResponse = WorkloadGroupListResult & { /** - * The parsed response body. + * The underlying HTTP response. */ - body: any; + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadGroupListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SqlPoolWorkloadClassifierGetResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -4381,19 +7187,14 @@ export type SqlPoolsPauseResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the resume operation. + * Contains response data for the createOrUpdate operation. */ -export type SqlPoolsResumeResponse = { - /** - * The parsed response body. - */ - body: any; - +export type SqlPoolWorkloadClassifierCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -4406,14 +7207,14 @@ export type SqlPoolsResumeResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the list operation. */ -export type SqlPoolsBeginCreateResponse = SqlPool & { +export type SqlPoolWorkloadClassifierListResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ @@ -4426,19 +7227,14 @@ export type SqlPoolsBeginCreateResponse = SqlPool & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPool; + parsedBody: WorkloadClassifierListResult; }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SqlPoolsBeginDeleteMethodResponse = { - /** - * The parsed response body. - */ - body: any; - +export type SqlPoolWorkloadClassifierBeginCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ @@ -4451,19 +7247,14 @@ export type SqlPoolsBeginDeleteMethodResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: WorkloadClassifier; }; }; /** - * Contains response data for the beginPause operation. + * Contains response data for the listNext operation. */ -export type SqlPoolsBeginPauseResponse = { - /** - * The parsed response body. - */ - body: any; - +export type SqlPoolWorkloadClassifierListNextResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ @@ -4476,19 +7267,14 @@ export type SqlPoolsBeginPauseResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: WorkloadClassifierListResult; }; }; /** - * Contains response data for the beginResume operation. + * Contains response data for the listByResourceGroup operation. */ -export type SqlPoolsBeginResumeResponse = { - /** - * The parsed response body. - */ - body: any; - +export type WorkspacesListByResourceGroupResponse = WorkspaceInfoListResult & { /** * The underlying HTTP response. */ @@ -4501,14 +7287,14 @@ export type SqlPoolsBeginResumeResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: WorkspaceInfoListResult; }; }; /** - * Contains response data for the listByWorkspaceNext operation. + * Contains response data for the get operation. */ -export type SqlPoolsListByWorkspaceNextResponse = SqlPoolInfoListResult & { +export type WorkspacesGetResponse = Workspace & { /** * The underlying HTTP response. */ @@ -4521,14 +7307,14 @@ export type SqlPoolsListByWorkspaceNextResponse = SqlPoolInfoListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolInfoListResult; + parsedBody: Workspace; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type SqlPoolMetadataSyncConfigsGetResponse = MetadataSyncConfig & { +export type WorkspacesUpdateResponse = Workspace & { /** * The underlying HTTP response. */ @@ -4541,14 +7327,14 @@ export type SqlPoolMetadataSyncConfigsGetResponse = MetadataSyncConfig & { /** * The response body as parsed JSON or XML */ - parsedBody: MetadataSyncConfig; + parsedBody: Workspace; }; }; /** - * Contains response data for the create operation. + * Contains response data for the createOrUpdate operation. */ -export type SqlPoolMetadataSyncConfigsCreateResponse = MetadataSyncConfig & { +export type WorkspacesCreateOrUpdateResponse = Workspace & { /** * The underlying HTTP response. */ @@ -4561,14 +7347,14 @@ export type SqlPoolMetadataSyncConfigsCreateResponse = MetadataSyncConfig & { /** * The response body as parsed JSON or XML */ - parsedBody: MetadataSyncConfig; + parsedBody: Workspace; }; }; /** - * Contains response data for the getLocationHeaderResult operation. + * Contains response data for the deleteMethod operation. */ -export type SqlPoolOperationResultsGetLocationHeaderResultResponse = { +export type WorkspacesDeleteMethodResponse = { /** * The parsed response body. */ @@ -4591,9 +7377,9 @@ export type SqlPoolOperationResultsGetLocationHeaderResultResponse = { }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type SqlPoolGeoBackupPoliciesGetResponse = GeoBackupPolicy & { +export type WorkspacesListResponse = WorkspaceInfoListResult & { /** * The underlying HTTP response. */ @@ -4606,14 +7392,14 @@ export type SqlPoolGeoBackupPoliciesGetResponse = GeoBackupPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: GeoBackupPolicy; + parsedBody: WorkspaceInfoListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginUpdate operation. */ -export type SqlPoolDataWarehouseUserActivitiesGetResponse = DataWarehouseUserActivities & { +export type WorkspacesBeginUpdateResponse = Workspace & { /** * The underlying HTTP response. */ @@ -4626,14 +7412,14 @@ export type SqlPoolDataWarehouseUserActivitiesGetResponse = DataWarehouseUserAct /** * The response body as parsed JSON or XML */ - parsedBody: DataWarehouseUserActivities; + parsedBody: Workspace; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SqlPoolRestorePointsListResponse = RestorePointListResult & { +export type WorkspacesBeginCreateOrUpdateResponse = Workspace & { /** * The underlying HTTP response. */ @@ -4646,14 +7432,19 @@ export type SqlPoolRestorePointsListResponse = RestorePointListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePointListResult; + parsedBody: Workspace; }; }; /** - * Contains response data for the create operation. + * Contains response data for the beginDeleteMethod operation. */ -export type SqlPoolRestorePointsCreateResponse = RestorePoint & { +export type WorkspacesBeginDeleteMethodResponse = { + /** + * The parsed response body. + */ + body: any; + /** * The underlying HTTP response. */ @@ -4666,14 +7457,14 @@ export type SqlPoolRestorePointsCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: any; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type SqlPoolRestorePointsBeginCreateResponse = RestorePoint & { +export type WorkspacesListByResourceGroupNextResponse = WorkspaceInfoListResult & { /** * The underlying HTTP response. */ @@ -4686,14 +7477,14 @@ export type SqlPoolRestorePointsBeginCreateResponse = RestorePoint & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePoint; + parsedBody: WorkspaceInfoListResult; }; }; /** * Contains response data for the listNext operation. */ -export type SqlPoolRestorePointsListNextResponse = RestorePointListResult & { +export type WorkspacesListNextResponse = WorkspaceInfoListResult & { /** * The underlying HTTP response. */ @@ -4706,14 +7497,14 @@ export type SqlPoolRestorePointsListNextResponse = RestorePointListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: RestorePointListResult; + parsedBody: WorkspaceInfoListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type SqlPoolReplicationLinksListResponse = ReplicationLinkListResult & { +export type WorkspaceAadAdminsGetResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ @@ -4726,14 +7517,14 @@ export type SqlPoolReplicationLinksListResponse = ReplicationLinkListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLinkListResult; + parsedBody: WorkspaceAadAdminInfo; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SqlPoolReplicationLinksListNextResponse = ReplicationLinkListResult & { +export type WorkspaceAadAdminsCreateOrUpdateResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ @@ -4746,14 +7537,14 @@ export type SqlPoolReplicationLinksListNextResponse = ReplicationLinkListResult /** * The response body as parsed JSON or XML */ - parsedBody: ReplicationLinkListResult; + parsedBody: WorkspaceAadAdminInfo; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SqlPoolTransparentDataEncryptionsGetResponse = TransparentDataEncryption & { +export type WorkspaceAadAdminsBeginCreateOrUpdateResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ @@ -4766,14 +7557,14 @@ export type SqlPoolTransparentDataEncryptionsGetResponse = TransparentDataEncryp /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: WorkspaceAadAdminInfo; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type SqlPoolTransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { +export type WorkspaceSqlAadAdminsGetResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ @@ -4786,14 +7577,14 @@ export type SqlPoolTransparentDataEncryptionsCreateOrUpdateResponse = Transparen /** * The response body as parsed JSON or XML */ - parsedBody: TransparentDataEncryption; + parsedBody: WorkspaceAadAdminInfo; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type SqlPoolBlobAuditingPoliciesGetResponse = SqlPoolBlobAuditingPolicy & { +export type WorkspaceSqlAadAdminsCreateOrUpdateResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ @@ -4806,14 +7597,14 @@ export type SqlPoolBlobAuditingPoliciesGetResponse = SqlPoolBlobAuditingPolicy & /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolBlobAuditingPolicy; + parsedBody: WorkspaceAadAdminInfo; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type SqlPoolBlobAuditingPoliciesCreateOrUpdateResponse = SqlPoolBlobAuditingPolicy & { +export type WorkspaceSqlAadAdminsBeginCreateOrUpdateResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ @@ -4826,14 +7617,14 @@ export type SqlPoolBlobAuditingPoliciesCreateOrUpdateResponse = SqlPoolBlobAudit /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolBlobAuditingPolicy; + parsedBody: WorkspaceAadAdminInfo; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type SqlPoolOperationsListResponse = SqlPoolBlobAuditingPolicySqlPoolOperationListResult & { +export type WorkspaceManagedIdentitySqlControlSettingsGetResponse = ManagedIdentitySqlControlSettingsModel & { /** * The underlying HTTP response. */ @@ -4846,14 +7637,14 @@ export type SqlPoolOperationsListResponse = SqlPoolBlobAuditingPolicySqlPoolOper /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolBlobAuditingPolicySqlPoolOperationListResult; + parsedBody: ManagedIdentitySqlControlSettingsModel; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SqlPoolOperationsListNextResponse = SqlPoolBlobAuditingPolicySqlPoolOperationListResult & { +export type WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateResponse = ManagedIdentitySqlControlSettingsModel & { /** * The underlying HTTP response. */ @@ -4866,14 +7657,14 @@ export type SqlPoolOperationsListNextResponse = SqlPoolBlobAuditingPolicySqlPool /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolBlobAuditingPolicySqlPoolOperationListResult; + parsedBody: ManagedIdentitySqlControlSettingsModel; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type SqlPoolUsagesListResponse = SqlPoolUsageListResult & { +export type RestorableDroppedSqlPoolsGetResponse = RestorableDroppedSqlPool & { /** * The underlying HTTP response. */ @@ -4886,14 +7677,14 @@ export type SqlPoolUsagesListResponse = SqlPoolUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolUsageListResult; + parsedBody: RestorableDroppedSqlPool; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByWorkspace operation. */ -export type SqlPoolUsagesListNextResponse = SqlPoolUsageListResult & { +export type RestorableDroppedSqlPoolsListByWorkspaceResponse = RestorableDroppedSqlPoolListResult & { /** * The underlying HTTP response. */ @@ -4906,14 +7697,14 @@ export type SqlPoolUsagesListNextResponse = SqlPoolUsageListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolUsageListResult; + parsedBody: RestorableDroppedSqlPoolListResult; }; }; /** - * Contains response data for the listCurrent operation. + * Contains response data for the update operation. */ -export type SqlPoolSensitivityLabelsListCurrentResponse = SensitivityLabelListResult & { +export type IntegrationRuntimesUpdateResponse = IntegrationRuntimeResource & { /** * The underlying HTTP response. */ @@ -4926,14 +7717,14 @@ export type SqlPoolSensitivityLabelsListCurrentResponse = SensitivityLabelListRe /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: IntegrationRuntimeResource; }; }; /** - * Contains response data for the listRecommended operation. + * Contains response data for the get operation. */ -export type SqlPoolSensitivityLabelsListRecommendedResponse = SensitivityLabelListResult & { +export type IntegrationRuntimesGetResponse = IntegrationRuntimeResource & { /** * The underlying HTTP response. */ @@ -4946,14 +7737,14 @@ export type SqlPoolSensitivityLabelsListRecommendedResponse = SensitivityLabelLi /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: IntegrationRuntimeResource; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the create operation. */ -export type SqlPoolSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type IntegrationRuntimesCreateResponse = IntegrationRuntimeResource & { /** * The underlying HTTP response. */ @@ -4966,14 +7757,14 @@ export type SqlPoolSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabel; + parsedBody: IntegrationRuntimeResource; }; }; /** - * Contains response data for the listCurrentNext operation. + * Contains response data for the listByWorkspace operation. */ -export type SqlPoolSensitivityLabelsListCurrentNextResponse = SensitivityLabelListResult & { +export type IntegrationRuntimesListByWorkspaceResponse = IntegrationRuntimeListResponse & { /** * The underlying HTTP response. */ @@ -4986,14 +7777,14 @@ export type SqlPoolSensitivityLabelsListCurrentNextResponse = SensitivityLabelLi /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: IntegrationRuntimeListResponse; }; }; /** - * Contains response data for the listRecommendedNext operation. + * Contains response data for the start operation. */ -export type SqlPoolSensitivityLabelsListRecommendedNextResponse = SensitivityLabelListResult & { +export type IntegrationRuntimesStartResponse = IntegrationRuntimeStatusResponse & { /** * The underlying HTTP response. */ @@ -5006,14 +7797,14 @@ export type SqlPoolSensitivityLabelsListRecommendedNextResponse = SensitivityLab /** * The response body as parsed JSON or XML */ - parsedBody: SensitivityLabelListResult; + parsedBody: IntegrationRuntimeStatusResponse; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreate operation. */ -export type SqlPoolSchemasListResponse = SqlPoolSchemaListResult & { +export type IntegrationRuntimesBeginCreateResponse = IntegrationRuntimeResource & { /** * The underlying HTTP response. */ @@ -5026,14 +7817,14 @@ export type SqlPoolSchemasListResponse = SqlPoolSchemaListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolSchemaListResult; + parsedBody: IntegrationRuntimeResource; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginStart operation. */ -export type SqlPoolSchemasListNextResponse = SqlPoolSchemaListResult & { +export type IntegrationRuntimesBeginStartResponse = IntegrationRuntimeStatusResponse & { /** * The underlying HTTP response. */ @@ -5046,14 +7837,14 @@ export type SqlPoolSchemasListNextResponse = SqlPoolSchemaListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolSchemaListResult; + parsedBody: IntegrationRuntimeStatusResponse; }; }; /** - * Contains response data for the listBySchema operation. + * Contains response data for the listByWorkspaceNext operation. */ -export type SqlPoolTablesListBySchemaResponse = SqlPoolTableListResult & { +export type IntegrationRuntimesListByWorkspaceNextResponse = IntegrationRuntimeListResponse & { /** * The underlying HTTP response. */ @@ -5066,14 +7857,14 @@ export type SqlPoolTablesListBySchemaResponse = SqlPoolTableListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolTableListResult; + parsedBody: IntegrationRuntimeListResponse; }; }; /** - * Contains response data for the listBySchemaNext operation. + * Contains response data for the get operation. */ -export type SqlPoolTablesListBySchemaNextResponse = SqlPoolTableListResult & { +export type IntegrationRuntimeNodeIpAddressGetResponse = IntegrationRuntimeNodeIpAddress & { /** * The underlying HTTP response. */ @@ -5086,14 +7877,14 @@ export type SqlPoolTablesListBySchemaNextResponse = SqlPoolTableListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolTableListResult; + parsedBody: IntegrationRuntimeNodeIpAddress; }; }; /** - * Contains response data for the listByTableName operation. + * Contains response data for the list operation. */ -export type SqlPoolTableColumnsListByTableNameResponse = SqlPoolColumnListResult & { +export type IntegrationRuntimeObjectMetadataListResponse = SsisObjectMetadataListResponse & { /** * The underlying HTTP response. */ @@ -5106,14 +7897,14 @@ export type SqlPoolTableColumnsListByTableNameResponse = SqlPoolColumnListResult /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolColumnListResult; + parsedBody: SsisObjectMetadataListResponse; }; }; /** - * Contains response data for the listByTableNameNext operation. + * Contains response data for the refresh operation. */ -export type SqlPoolTableColumnsListByTableNameNextResponse = SqlPoolColumnListResult & { +export type IntegrationRuntimeObjectMetadataRefreshResponse = SsisObjectMetadataStatusResponse & { /** * The underlying HTTP response. */ @@ -5126,14 +7917,14 @@ export type SqlPoolTableColumnsListByTableNameNextResponse = SqlPoolColumnListRe /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolColumnListResult; + parsedBody: SsisObjectMetadataStatusResponse; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginRefresh operation. */ -export type SqlPoolConnectionPoliciesGetResponse = SqlPoolConnectionPolicy & { +export type IntegrationRuntimeObjectMetadataBeginRefreshResponse = SsisObjectMetadataStatusResponse & { /** * The underlying HTTP response. */ @@ -5146,14 +7937,14 @@ export type SqlPoolConnectionPoliciesGetResponse = SqlPoolConnectionPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolConnectionPolicy; + parsedBody: SsisObjectMetadataStatusResponse; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type SqlPoolVulnerabilityAssessmentsListResponse = SqlPoolVulnerabilityAssessmentListResult & { +export type IntegrationRuntimeNodesGetResponse = SelfHostedIntegrationRuntimeNode & { /** * The underlying HTTP response. */ @@ -5166,14 +7957,14 @@ export type SqlPoolVulnerabilityAssessmentsListResponse = SqlPoolVulnerabilityAs /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolVulnerabilityAssessmentListResult; + parsedBody: SelfHostedIntegrationRuntimeNode; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type SqlPoolVulnerabilityAssessmentsGetResponse = SqlPoolVulnerabilityAssessment & { +export type IntegrationRuntimeNodesUpdateResponse = SelfHostedIntegrationRuntimeNode & { /** * The underlying HTTP response. */ @@ -5186,14 +7977,14 @@ export type SqlPoolVulnerabilityAssessmentsGetResponse = SqlPoolVulnerabilityAss /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolVulnerabilityAssessment; + parsedBody: SelfHostedIntegrationRuntimeNode; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type SqlPoolVulnerabilityAssessmentsCreateOrUpdateResponse = SqlPoolVulnerabilityAssessment & { +export type IntegrationRuntimeConnectionInfosGetResponse = IntegrationRuntimeConnectionInfo & { /** * The underlying HTTP response. */ @@ -5206,14 +7997,14 @@ export type SqlPoolVulnerabilityAssessmentsCreateOrUpdateResponse = SqlPoolVulne /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolVulnerabilityAssessment; + parsedBody: IntegrationRuntimeConnectionInfo; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the regenerate operation. */ -export type SqlPoolVulnerabilityAssessmentsListNextResponse = SqlPoolVulnerabilityAssessmentListResult & { +export type IntegrationRuntimeAuthKeysRegenerateResponse = IntegrationRuntimeAuthKeys & { /** * The underlying HTTP response. */ @@ -5226,14 +8017,14 @@ export type SqlPoolVulnerabilityAssessmentsListNextResponse = SqlPoolVulnerabili /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolVulnerabilityAssessmentListResult; + parsedBody: IntegrationRuntimeAuthKeys; }; }; /** * Contains response data for the list operation. */ -export type SqlPoolVulnerabilityAssessmentScansListResponse = VulnerabilityAssessmentScanRecordListResult & { +export type IntegrationRuntimeAuthKeysListResponse = IntegrationRuntimeAuthKeys & { /** * The underlying HTTP response. */ @@ -5246,14 +8037,14 @@ export type SqlPoolVulnerabilityAssessmentScansListResponse = VulnerabilityAsses /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: IntegrationRuntimeAuthKeys; }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the list operation. */ -export type SqlPoolVulnerabilityAssessmentScansExportMethodResponse = SqlPoolVulnerabilityAssessmentScansExport & { +export type IntegrationRuntimeMonitoringDataListResponse = IntegrationRuntimeMonitoringData & { /** * The underlying HTTP response. */ @@ -5266,14 +8057,14 @@ export type SqlPoolVulnerabilityAssessmentScansExportMethodResponse = SqlPoolVul /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolVulnerabilityAssessmentScansExport; + parsedBody: IntegrationRuntimeMonitoringData; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type SqlPoolVulnerabilityAssessmentScansListNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type IntegrationRuntimeStatusGetResponse = IntegrationRuntimeStatusResponse & { /** * The underlying HTTP response. */ @@ -5286,14 +8077,14 @@ export type SqlPoolVulnerabilityAssessmentScansListNextResponse = VulnerabilityA /** * The response body as parsed JSON or XML */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; + parsedBody: IntegrationRuntimeStatusResponse; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type SqlPoolSecurityAlertPoliciesGetResponse = SqlPoolSecurityAlertPolicy & { +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -5306,14 +8097,14 @@ export type SqlPoolSecurityAlertPoliciesGetResponse = SqlPoolSecurityAlertPolicy /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolSecurityAlertPolicy; + parsedBody: PrivateLinkResourceListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type SqlPoolSecurityAlertPoliciesCreateOrUpdateResponse = SqlPoolSecurityAlertPolicy & { +export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The underlying HTTP response. */ @@ -5326,14 +8117,14 @@ export type SqlPoolSecurityAlertPoliciesCreateOrUpdateResponse = SqlPoolSecurity /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolSecurityAlertPolicy; + parsedBody: PrivateLinkResource; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = SqlPoolVulnerabilityAssessmentRuleBaseline & { +export type PrivateLinkResourcesListNextResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ @@ -5346,14 +8137,14 @@ export type SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = /** * The response body as parsed JSON or XML */ - parsedBody: SqlPoolVulnerabilityAssessmentRuleBaseline; + parsedBody: PrivateLinkResourceListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type WorkspacesListByResourceGroupResponse = WorkspaceInfoListResult & { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -5366,14 +8157,14 @@ export type WorkspacesListByResourceGroupResponse = WorkspaceInfoListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceInfoListResult; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type WorkspacesGetResponse = Workspace & { +export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -5386,14 +8177,14 @@ export type WorkspacesGetResponse = Workspace & { /** * The response body as parsed JSON or XML */ - parsedBody: Workspace; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the update operation. + * Contains response data for the deleteMethod operation. */ -export type WorkspacesUpdateResponse = Workspace & { +export type PrivateEndpointConnectionsDeleteMethodResponse = OperationResource & { /** * The underlying HTTP response. */ @@ -5406,14 +8197,14 @@ export type WorkspacesUpdateResponse = Workspace & { /** * The response body as parsed JSON or XML */ - parsedBody: Workspace; + parsedBody: OperationResource; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type WorkspacesCreateOrUpdateResponse = Workspace & { +export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionList & { /** * The underlying HTTP response. */ @@ -5426,19 +8217,14 @@ export type WorkspacesCreateOrUpdateResponse = Workspace & { /** * The response body as parsed JSON or XML */ - parsedBody: Workspace; + parsedBody: PrivateEndpointConnectionList; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the beginCreate operation. */ -export type WorkspacesDeleteMethodResponse = { - /** - * The parsed response body. - */ - body: any; - +export type PrivateEndpointConnectionsBeginCreateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -5451,14 +8237,14 @@ export type WorkspacesDeleteMethodResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginDeleteMethod operation. */ -export type WorkspacesListResponse = WorkspaceInfoListResult & { +export type PrivateEndpointConnectionsBeginDeleteMethodResponse = OperationResource & { /** * The underlying HTTP response. */ @@ -5471,14 +8257,14 @@ export type WorkspacesListResponse = WorkspaceInfoListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceInfoListResult; + parsedBody: OperationResource; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspacesBeginUpdateResponse = Workspace & { +export type PrivateEndpointConnectionsListNextResponse = PrivateEndpointConnectionList & { /** * The underlying HTTP response. */ @@ -5491,14 +8277,14 @@ export type WorkspacesBeginUpdateResponse = Workspace & { /** * The response body as parsed JSON or XML */ - parsedBody: Workspace; + parsedBody: PrivateEndpointConnectionList; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listByResourceGroup operation. */ -export type WorkspacesBeginCreateOrUpdateResponse = Workspace & { +export type PrivateLinkHubsListByResourceGroupResponse = PrivateLinkHubInfoListResult & { /** * The underlying HTTP response. */ @@ -5511,19 +8297,14 @@ export type WorkspacesBeginCreateOrUpdateResponse = Workspace & { /** * The response body as parsed JSON or XML */ - parsedBody: Workspace; + parsedBody: PrivateLinkHubInfoListResult; }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the get operation. */ -export type WorkspacesBeginDeleteMethodResponse = { - /** - * The parsed response body. - */ - body: any; - +export type PrivateLinkHubsGetResponse = PrivateLinkHub & { /** * The underlying HTTP response. */ @@ -5536,14 +8317,14 @@ export type WorkspacesBeginDeleteMethodResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: any; + parsedBody: PrivateLinkHub; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the update operation. */ -export type WorkspacesListByResourceGroupNextResponse = WorkspaceInfoListResult & { +export type PrivateLinkHubsUpdateResponse = PrivateLinkHub & { /** * The underlying HTTP response. */ @@ -5556,14 +8337,14 @@ export type WorkspacesListByResourceGroupNextResponse = WorkspaceInfoListResult /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceInfoListResult; + parsedBody: PrivateLinkHub; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type WorkspacesListNextResponse = WorkspaceInfoListResult & { +export type PrivateLinkHubsCreateOrUpdateResponse = PrivateLinkHub & { /** * The underlying HTTP response. */ @@ -5576,14 +8357,14 @@ export type WorkspacesListNextResponse = WorkspaceInfoListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceInfoListResult; + parsedBody: PrivateLinkHub; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type WorkspaceAadAdminsGetResponse = WorkspaceAadAdminInfo & { +export type PrivateLinkHubsListResponse = PrivateLinkHubInfoListResult & { /** * The underlying HTTP response. */ @@ -5596,14 +8377,14 @@ export type WorkspaceAadAdminsGetResponse = WorkspaceAadAdminInfo & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceAadAdminInfo; + parsedBody: PrivateLinkHubInfoListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type WorkspaceAadAdminsCreateOrUpdateResponse = WorkspaceAadAdminInfo & { +export type PrivateLinkHubsListByResourceGroupNextResponse = PrivateLinkHubInfoListResult & { /** * The underlying HTTP response. */ @@ -5616,14 +8397,14 @@ export type WorkspaceAadAdminsCreateOrUpdateResponse = WorkspaceAadAdminInfo & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceAadAdminInfo; + parsedBody: PrivateLinkHubInfoListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspaceAadAdminsBeginCreateOrUpdateResponse = WorkspaceAadAdminInfo & { +export type PrivateLinkHubsListNextResponse = PrivateLinkHubInfoListResult & { /** * The underlying HTTP response. */ @@ -5636,14 +8417,14 @@ export type WorkspaceAadAdminsBeginCreateOrUpdateResponse = WorkspaceAadAdminInf /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceAadAdminInfo; + parsedBody: PrivateLinkHubInfoListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type WorkspaceManagedIdentitySqlControlSettingsGetResponse = ManagedIdentitySqlControlSettingsModel & { +export type PrivateEndpointConnectionsPrivateLinkHubListResponse = PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse & { /** * The underlying HTTP response. */ @@ -5656,14 +8437,14 @@ export type WorkspaceManagedIdentitySqlControlSettingsGetResponse = ManagedIdent /** * The response body as parsed JSON or XML */ - parsedBody: ManagedIdentitySqlControlSettingsModel; + parsedBody: PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateResponse = ManagedIdentitySqlControlSettingsModel & { +export type PrivateEndpointConnectionsPrivateLinkHubListNextResponse = PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse & { /** * The underlying HTTP response. */ @@ -5676,14 +8457,14 @@ export type WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateResponse = M /** * The response body as parsed JSON or XML */ - parsedBody: ManagedIdentitySqlControlSettingsModel; + parsedBody: PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type IntegrationRuntimesUpdateResponse = IntegrationRuntimeResource & { +export type WorkspaceManagedSqlServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -5696,14 +8477,14 @@ export type IntegrationRuntimesUpdateResponse = IntegrationRuntimeResource & { /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeResource; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByWorkspace operation. */ -export type IntegrationRuntimesGetResponse = IntegrationRuntimeResource & { +export type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -5716,14 +8497,14 @@ export type IntegrationRuntimesGetResponse = IntegrationRuntimeResource & { /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeResource; + parsedBody: ServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByWorkspaceNext operation. */ -export type IntegrationRuntimesCreateResponse = IntegrationRuntimeResource & { +export type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceNextResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -5736,14 +8517,14 @@ export type IntegrationRuntimesCreateResponse = IntegrationRuntimeResource & { /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeResource; + parsedBody: ServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the listByWorkspace operation. + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimesListByWorkspaceResponse = IntegrationRuntimeListResponse & { +export type WorkspaceManagedqlServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -5756,14 +8537,14 @@ export type IntegrationRuntimesListByWorkspaceResponse = IntegrationRuntimeListR /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeListResponse; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the start operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type IntegrationRuntimesStartResponse = IntegrationRuntimeStatusResponse & { +export type WorkspaceManagedqlServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -5776,14 +8557,14 @@ export type IntegrationRuntimesStartResponse = IntegrationRuntimeStatusResponse /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeStatusResponse; + parsedBody: ServerBlobAuditingPolicy; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the get operation. */ -export type IntegrationRuntimesBeginCreateResponse = IntegrationRuntimeResource & { +export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -5796,14 +8577,14 @@ export type IntegrationRuntimesBeginCreateResponse = IntegrationRuntimeResource /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeResource; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the listByWorkspaceNext operation. + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimesListByWorkspaceNextResponse = IntegrationRuntimeListResponse & { +export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -5816,14 +8597,14 @@ export type IntegrationRuntimesListByWorkspaceNextResponse = IntegrationRuntimeL /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeListResponse; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByWorkspace operation. */ -export type IntegrationRuntimeNodeIpAddressGetResponse = IntegrationRuntimeNodeIpAddress & { +export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceResponse = ExtendedServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -5836,14 +8617,14 @@ export type IntegrationRuntimeNodeIpAddressGetResponse = IntegrationRuntimeNodeI /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeNodeIpAddress; + parsedBody: ExtendedServerBlobAuditingPolicyListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type IntegrationRuntimeObjectMetadataGetResponse = SsisObjectMetadataListResponse & { +export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ @@ -5856,14 +8637,14 @@ export type IntegrationRuntimeObjectMetadataGetResponse = SsisObjectMetadataList /** * The response body as parsed JSON or XML */ - parsedBody: SsisObjectMetadataListResponse; + parsedBody: ExtendedServerBlobAuditingPolicy; }; }; /** - * Contains response data for the refresh operation. + * Contains response data for the listByWorkspaceNext operation. */ -export type IntegrationRuntimeObjectMetadataRefreshResponse = SsisObjectMetadataStatusResponse & { +export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceNextResponse = ExtendedServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ @@ -5876,14 +8657,14 @@ export type IntegrationRuntimeObjectMetadataRefreshResponse = SsisObjectMetadata /** * The response body as parsed JSON or XML */ - parsedBody: SsisObjectMetadataStatusResponse; + parsedBody: ExtendedServerBlobAuditingPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type IntegrationRuntimeNodesGetResponse = SelfHostedIntegrationRuntimeNode & { +export type WorkspaceManagedSqlServerSecurityAlertPolicyGetResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -5896,14 +8677,14 @@ export type IntegrationRuntimeNodesGetResponse = SelfHostedIntegrationRuntimeNod /** * The response body as parsed JSON or XML */ - parsedBody: SelfHostedIntegrationRuntimeNode; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimeNodesUpdateResponse = SelfHostedIntegrationRuntimeNode & { +export type WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -5916,14 +8697,14 @@ export type IntegrationRuntimeNodesUpdateResponse = SelfHostedIntegrationRuntime /** * The response body as parsed JSON or XML */ - parsedBody: SelfHostedIntegrationRuntimeNode; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type IntegrationRuntimeConnectionInfosGetResponse = IntegrationRuntimeConnectionInfo & { +export type WorkspaceManagedSqlServerSecurityAlertPolicyListResponse = ServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -5936,14 +8717,14 @@ export type IntegrationRuntimeConnectionInfosGetResponse = IntegrationRuntimeCon /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeConnectionInfo; + parsedBody: ServerSecurityAlertPolicyListResult; }; }; /** - * Contains response data for the regenerate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type IntegrationRuntimeAuthKeysRegenerateResponse = IntegrationRuntimeAuthKeys & { +export type WorkspaceManagedSqlServerSecurityAlertPolicyBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ @@ -5956,14 +8737,14 @@ export type IntegrationRuntimeAuthKeysRegenerateResponse = IntegrationRuntimeAut /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeAuthKeys; + parsedBody: ServerSecurityAlertPolicy; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type IntegrationRuntimeAuthKeysListResponse = IntegrationRuntimeAuthKeys & { +export type WorkspaceManagedSqlServerSecurityAlertPolicyListNextResponse = ServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ @@ -5976,14 +8757,14 @@ export type IntegrationRuntimeAuthKeysListResponse = IntegrationRuntimeAuthKeys /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeAuthKeys; + parsedBody: ServerSecurityAlertPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type IntegrationRuntimeMonitoringDataGetResponse = IntegrationRuntimeMonitoringData & { +export type WorkspaceManagedSqlServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -5996,14 +8777,14 @@ export type IntegrationRuntimeMonitoringDataGetResponse = IntegrationRuntimeMoni /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeMonitoringData; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimeStatusGetResponse = IntegrationRuntimeStatusResponse & { +export type WorkspaceManagedSqlServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -6016,14 +8797,14 @@ export type IntegrationRuntimeStatusGetResponse = IntegrationRuntimeStatusRespon /** * The response body as parsed JSON or XML */ - parsedBody: IntegrationRuntimeStatusResponse; + parsedBody: ServerVulnerabilityAssessment; }; }; /** * Contains response data for the list operation. */ -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult & { +export type WorkspaceManagedSqlServerVulnerabilityAssessmentsListResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -6036,14 +8817,14 @@ export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { +export type WorkspaceManagedSqlServerVulnerabilityAssessmentsListNextResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ @@ -6056,14 +8837,14 @@ export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResource; + parsedBody: ServerVulnerabilityAssessmentListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type PrivateLinkResourcesListNextResponse = PrivateLinkResourceListResult & { +export type WorkspaceManagedSqlServerEncryptionProtectorGetResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -6076,14 +8857,14 @@ export type PrivateLinkResourcesListNextResponse = PrivateLinkResourceListResult /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkResourceListResult; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { +export type WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -6096,14 +8877,14 @@ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the create operation. + * Contains response data for the list operation. */ -export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection & { +export type WorkspaceManagedSqlServerEncryptionProtectorListResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -6116,14 +8897,14 @@ export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateEndpointConnectionsDeleteMethodResponse = OperationResource & { +export type WorkspaceManagedSqlServerEncryptionProtectorBeginCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ @@ -6136,14 +8917,14 @@ export type PrivateEndpointConnectionsDeleteMethodResponse = OperationResource & /** * The response body as parsed JSON or XML */ - parsedBody: OperationResource; + parsedBody: EncryptionProtector; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionList & { +export type WorkspaceManagedSqlServerEncryptionProtectorListNextResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ @@ -6156,14 +8937,14 @@ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionLi /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionList; + parsedBody: EncryptionProtectorListResult; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the list operation. */ -export type PrivateEndpointConnectionsBeginCreateResponse = PrivateEndpointConnection & { +export type WorkspaceManagedSqlServerUsagesListResponse = ServerUsageListResult & { /** * The underlying HTTP response. */ @@ -6176,14 +8957,14 @@ export type PrivateEndpointConnectionsBeginCreateResponse = PrivateEndpointConne /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnection; + parsedBody: ServerUsageListResult; }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the listNext operation. */ -export type PrivateEndpointConnectionsBeginDeleteMethodResponse = OperationResource & { +export type WorkspaceManagedSqlServerUsagesListNextResponse = ServerUsageListResult & { /** * The underlying HTTP response. */ @@ -6196,14 +8977,14 @@ export type PrivateEndpointConnectionsBeginDeleteMethodResponse = OperationResou /** * The response body as parsed JSON or XML */ - parsedBody: OperationResource; + parsedBody: ServerUsageListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type PrivateEndpointConnectionsListNextResponse = PrivateEndpointConnectionList & { +export type WorkspaceManagedSqlServerRecoverableSqlpoolsListResponse = RecoverableSqlPoolListResult & { /** * The underlying HTTP response. */ @@ -6216,14 +8997,14 @@ export type PrivateEndpointConnectionsListNextResponse = PrivateEndpointConnecti /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointConnectionList; + parsedBody: RecoverableSqlPoolListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type PrivateLinkHubsListByResourceGroupResponse = PrivateLinkHubInfoListResult & { +export type WorkspaceManagedSqlServerRecoverableSqlpoolsGetResponse = RecoverableSqlPool & { /** * The underlying HTTP response. */ @@ -6236,14 +9017,14 @@ export type PrivateLinkHubsListByResourceGroupResponse = PrivateLinkHubInfoListR /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkHubInfoListResult; + parsedBody: RecoverableSqlPool; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type PrivateLinkHubsGetResponse = PrivateLinkHub & { +export type WorkspaceManagedSqlServerRecoverableSqlpoolsListNextResponse = RecoverableSqlPoolListResult & { /** * The underlying HTTP response. */ @@ -6256,14 +9037,14 @@ export type PrivateLinkHubsGetResponse = PrivateLinkHub & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkHub; + parsedBody: RecoverableSqlPoolListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listByWorkspace operation. */ -export type PrivateLinkHubsUpdateResponse = PrivateLinkHub & { +export type KeysListByWorkspaceResponse = KeyInfoListResult & { /** * The underlying HTTP response. */ @@ -6276,14 +9057,14 @@ export type PrivateLinkHubsUpdateResponse = PrivateLinkHub & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkHub; + parsedBody: KeyInfoListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type PrivateLinkHubsCreateOrUpdateResponse = PrivateLinkHub & { +export type KeysGetResponse = Key & { /** * The underlying HTTP response. */ @@ -6296,14 +9077,14 @@ export type PrivateLinkHubsCreateOrUpdateResponse = PrivateLinkHub & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkHub; + parsedBody: Key; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateLinkHubsListResponse = PrivateLinkHubInfoListResult & { +export type KeysCreateOrUpdateResponse = Key & { /** * The underlying HTTP response. */ @@ -6316,14 +9097,14 @@ export type PrivateLinkHubsListResponse = PrivateLinkHubInfoListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkHubInfoListResult; + parsedBody: Key; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the deleteMethod operation. */ -export type PrivateLinkHubsListByResourceGroupNextResponse = PrivateLinkHubInfoListResult & { +export type KeysDeleteMethodResponse = Key & { /** * The underlying HTTP response. */ @@ -6336,14 +9117,14 @@ export type PrivateLinkHubsListByResourceGroupNextResponse = PrivateLinkHubInfoL /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkHubInfoListResult; + parsedBody: Key; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByWorkspaceNext operation. */ -export type PrivateLinkHubsListNextResponse = PrivateLinkHubInfoListResult & { +export type KeysListByWorkspaceNextResponse = KeyInfoListResult & { /** * The underlying HTTP response. */ @@ -6356,6 +9137,6 @@ export type PrivateLinkHubsListNextResponse = PrivateLinkHubInfoListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkHubInfoListResult; + parsedBody: KeyInfoListResult; }; }; diff --git a/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts b/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts index 7a7f6f73403d..f9991907e652 100644 --- a/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +43,7 @@ export { IntegrationRuntimeStatusResponse, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntime, LinkedIntegrationRuntimeKeyAuthorization, @@ -48,16 +57,21 @@ export { ManagedIntegrationRuntimeNode, ManagedIntegrationRuntimeOperationResult, ManagedIntegrationRuntimeStatus, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, @@ -65,6 +79,9 @@ export { SelfHostedIntegrationRuntimeNode, SelfHostedIntegrationRuntimeStatus, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -86,6 +103,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts b/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts index cdd2aeb1ab4e..5b336f4e7d50 100644 --- a/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts @@ -11,19 +11,26 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, - CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -37,6 +44,7 @@ export { IpFirewallRuleInfo, IpFirewallRuleInfoListResult, IpFirewallRuleProperties, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -45,23 +53,31 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplaceAllFirewallRulesOperationResponse, ReplaceAllIpFirewallRulesRequest, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -82,6 +98,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/keysMappers.ts b/sdk/synapse/arm-synapse/src/models/keysMappers.ts new file mode 100644 index 000000000000..ed57a1d11aeb --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/keysMappers.ts @@ -0,0 +1,104 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + KeyInfoListResult, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/mappers.ts b/sdk/synapse/arm-synapse/src/models/mappers.ts index 863c98c95ff4..3a4573f09653 100644 --- a/sdk/synapse/arm-synapse/src/models/mappers.ts +++ b/sdk/synapse/arm-synapse/src/models/mappers.ts @@ -209,6 +209,13 @@ export const BigDataPoolResourceInfo: msRest.CompositeMapper = { className: "LibraryRequirements" } }, + sparkConfigProperties: { + serializedName: "properties.sparkConfigProperties", + type: { + name: "Composite", + className: "LibraryRequirements" + } + }, sparkVersion: { serializedName: "properties.sparkVersion", type: { @@ -1071,6 +1078,12 @@ export const MetadataSyncConfig: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + syncIntervalInMinutes: { + serializedName: "properties.syncIntervalInMinutes", + type: { + name: "Number" + } } } } @@ -2275,82 +2288,96 @@ export const CreateSqlPoolRestorePointDefinition: msRest.CompositeMapper = { } }; -export const DataLakeStorageAccountDetails: msRest.CompositeMapper = { - serializedName: "DataLakeStorageAccountDetails", +export const WorkloadGroup: msRest.CompositeMapper = { + serializedName: "WorkloadGroup", type: { name: "Composite", - className: "DataLakeStorageAccountDetails", + className: "WorkloadGroup", modelProperties: { - accountUrl: { - serializedName: "accountUrl", + ...ProxyResource.type.modelProperties, + minResourcePercent: { + required: true, + serializedName: "properties.minResourcePercent", type: { - name: "String" + name: "Number" } }, - filesystem: { - serializedName: "filesystem", + maxResourcePercent: { + required: true, + serializedName: "properties.maxResourcePercent", + type: { + name: "Number" + } + }, + minResourcePercentPerRequest: { + required: true, + serializedName: "properties.minResourcePercentPerRequest", + type: { + name: "Number" + } + }, + maxResourcePercentPerRequest: { + serializedName: "properties.maxResourcePercentPerRequest", + type: { + name: "Number" + } + }, + importance: { + serializedName: "properties.importance", type: { name: "String" } + }, + queryExecutionTimeout: { + serializedName: "properties.queryExecutionTimeout", + type: { + name: "Number" + } } } } }; -export const VirtualNetworkProfile: msRest.CompositeMapper = { - serializedName: "VirtualNetworkProfile", +export const WorkloadClassifier: msRest.CompositeMapper = { + serializedName: "WorkloadClassifier", type: { name: "Composite", - className: "VirtualNetworkProfile", + className: "WorkloadClassifier", modelProperties: { - computeSubnetId: { - serializedName: "computeSubnetId", + ...ProxyResource.type.modelProperties, + memberName: { + required: true, + serializedName: "properties.memberName", type: { name: "String" } - } - } - } -}; - -export const PrivateEndpoint: msRest.CompositeMapper = { - serializedName: "PrivateEndpoint", - type: { - name: "Composite", - className: "PrivateEndpoint", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", + }, + label: { + serializedName: "properties.label", type: { name: "String" } - } - } - } -}; - -export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceConnectionState", - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState", - modelProperties: { - status: { - serializedName: "status", + }, + context: { + serializedName: "properties.context", type: { name: "String" } }, - description: { - serializedName: "description", + startTime: { + serializedName: "properties.startTime", type: { name: "String" } }, - actionsRequired: { - readOnly: true, - serializedName: "actionsRequired", + endTime: { + serializedName: "properties.endTime", + type: { + name: "String" + } + }, + importance: { + serializedName: "properties.importance", type: { name: "String" } @@ -2359,237 +2386,249 @@ export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { } }; -export const PrivateEndpointConnection: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnection", +export const DataMaskingPolicy: msRest.CompositeMapper = { + serializedName: "DataMaskingPolicy", type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "DataMaskingPolicy", modelProperties: { ...ProxyResource.type.modelProperties, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + dataMaskingState: { + required: true, + serializedName: "properties.dataMaskingState", type: { - name: "Composite", - className: "PrivateEndpoint" + name: "Enum", + allowedValues: [ + "Disabled", + "Enabled" + ] } }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + exemptPrincipals: { + serializedName: "properties.exemptPrincipals", type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState" + name: "String" } }, - provisioningState: { + applicationPrincipals: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "properties.applicationPrincipals", type: { name: "String" } - } - } - } -}; - -export const ManagedIdentity: msRest.CompositeMapper = { - serializedName: "ManagedIdentity", - type: { - name: "Composite", - className: "ManagedIdentity", - modelProperties: { - principalId: { + }, + maskingLevel: { readOnly: true, - serializedName: "principalId", + serializedName: "properties.maskingLevel", type: { name: "String" } }, - tenantId: { + location: { readOnly: true, - serializedName: "tenantId", + serializedName: "location", type: { name: "String" } }, - type: { - serializedName: "type", + kind: { + readOnly: true, + serializedName: "kind", type: { - name: "Enum", - allowedValues: [ - "None", - "SystemAssigned" - ] + name: "String" } } } } }; -export const Workspace: msRest.CompositeMapper = { - serializedName: "Workspace", +export const ExtendedSqlPoolBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedSqlPoolBlobAuditingPolicy", type: { name: "Composite", - className: "Workspace", + className: "ExtendedSqlPoolBlobAuditingPolicy", modelProperties: { - ...TrackedResource.type.modelProperties, - defaultDataLakeStorage: { - serializedName: "properties.defaultDataLakeStorage", - type: { - name: "Composite", - className: "DataLakeStorageAccountDetails" - } - }, - sqlAdministratorLoginPassword: { - serializedName: "properties.sqlAdministratorLoginPassword", + ...ProxyResource.type.modelProperties, + predicateExpression: { + serializedName: "properties.predicateExpression", type: { name: "String" } }, - managedResourceGroupName: { - serializedName: "properties.managedResourceGroupName", + state: { + required: true, + serializedName: "properties.state", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - sqlAdministratorLogin: { - serializedName: "properties.sqlAdministratorLogin", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - virtualNetworkProfile: { - serializedName: "properties.virtualNetworkProfile", + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "Composite", - className: "VirtualNetworkProfile" + name: "Number" } }, - connectivityEndpoints: { - serializedName: "properties.connectivityEndpoints", + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "String" } } } }, - managedVirtualNetwork: { - serializedName: "properties.managedVirtualNetwork", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", type: { - name: "String" + name: "Uuid" } }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } + name: "Boolean" } }, - extraProperties: { - readOnly: true, - serializedName: "properties.extraProperties", + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "Boolean" } }, - identity: { - serializedName: "identity", + queueDelayMs: { + serializedName: "properties.queueDelayMs", type: { - name: "Composite", - className: "ManagedIdentity" + name: "Number" } } } } }; -export const WorkspaceAadAdminInfo: msRest.CompositeMapper = { - serializedName: "WorkspaceAadAdminInfo", +export const DataMaskingRule: msRest.CompositeMapper = { + serializedName: "DataMaskingRule", type: { name: "Composite", - className: "WorkspaceAadAdminInfo", + className: "DataMaskingRule", modelProperties: { - tenantId: { - serializedName: "properties.tenantId", + ...ProxyResource.type.modelProperties, + dataMaskingRuleId: { + readOnly: true, + serializedName: "properties.id", type: { name: "String" } }, - login: { - serializedName: "properties.login", + aliasName: { + serializedName: "properties.aliasName", type: { name: "String" } }, - administratorType: { - serializedName: "properties.administratorType", + ruleState: { + serializedName: "properties.ruleState", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Disabled", + "Enabled" + ] } }, - sid: { - serializedName: "properties.sid", + schemaName: { + required: true, + serializedName: "properties.schemaName", type: { name: "String" } - } - } - } -}; - -export const WorkspacePatchInfo: msRest.CompositeMapper = { - serializedName: "WorkspacePatchInfo", - type: { - name: "Composite", - className: "WorkspacePatchInfo", - modelProperties: { - tags: { - serializedName: "tags", + }, + tableName: { + required: true, + serializedName: "properties.tableName", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } }, - identity: { - serializedName: "identity", + columnName: { + required: true, + serializedName: "properties.columnName", type: { - name: "Composite", - className: "ManagedIdentity" + name: "String" } }, - sqlAdministratorLoginPassword: { - serializedName: "properties.sqlAdministratorLoginPassword", + maskingFunction: { + required: true, + serializedName: "properties.maskingFunction", + type: { + name: "Enum", + allowedValues: [ + "Default", + "CCN", + "Email", + "Number", + "SSN", + "Text" + ] + } + }, + numberFrom: { + serializedName: "properties.numberFrom", type: { name: "String" } }, - provisioningState: { + 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: "properties.provisioningState", + serializedName: "location", + type: { + name: "String" + } + }, + kind: { + readOnly: true, + serializedName: "kind", type: { name: "String" } @@ -2598,21 +2637,20 @@ export const WorkspacePatchInfo: msRest.CompositeMapper = { } }; -export const ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity: msRest.CompositeMapper = { - serializedName: "ManagedIdentitySqlControlSettingsModel_properties_grantSqlControlToManagedIdentity", +export const DataLakeStorageAccountDetails: msRest.CompositeMapper = { + serializedName: "DataLakeStorageAccountDetails", type: { name: "Composite", - className: "ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity", + className: "DataLakeStorageAccountDetails", modelProperties: { - desiredState: { - serializedName: "desiredState", + accountUrl: { + serializedName: "accountUrl", type: { name: "String" } }, - actualState: { - readOnly: true, - serializedName: "actualState", + filesystem: { + serializedName: "filesystem", type: { name: "String" } @@ -2621,124 +2659,190 @@ export const ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToMa } }; -export const ManagedIdentitySqlControlSettingsModel: msRest.CompositeMapper = { - serializedName: "ManagedIdentitySqlControlSettingsModel", +export const VirtualNetworkProfile: msRest.CompositeMapper = { + serializedName: "VirtualNetworkProfile", type: { name: "Composite", - className: "ManagedIdentitySqlControlSettingsModel", + className: "VirtualNetworkProfile", modelProperties: { - ...ProxyResource.type.modelProperties, - grantSqlControlToManagedIdentity: { - serializedName: "properties.grantSqlControlToManagedIdentity", + computeSubnetId: { + serializedName: "computeSubnetId", type: { - name: "Composite", - className: "ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity" + name: "String" } } } } }; -export const SubResource: msRest.CompositeMapper = { - serializedName: "SubResource", +export const PrivateEndpoint: msRest.CompositeMapper = { + serializedName: "PrivateEndpoint", type: { name: "Composite", - className: "SubResource", + className: "PrivateEndpoint", modelProperties: { - ...AzureEntityResource.type.modelProperties + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } } } }; -export const IntegrationRuntime: msRest.CompositeMapper = { - serializedName: "IntegrationRuntime", +export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionState", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "IntegrationRuntime", - className: "IntegrationRuntime", + className: "PrivateLinkServiceConnectionState", modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" + } + }, description: { serializedName: "description", type: { name: "String" } }, - type: { - required: true, - serializedName: "type", + actionsRequired: { + readOnly: true, + serializedName: "actionsRequired", type: { name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" + } + } +}; + +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + ...ProxyResource.type.modelProperties, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint" + } + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } } } } }; -export const IntegrationRuntimeDataFlowProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeDataFlowProperties", +export const WorkspaceKeyDetails: msRest.CompositeMapper = { + serializedName: "WorkspaceKeyDetails", type: { name: "Composite", - className: "IntegrationRuntimeDataFlowProperties", + className: "WorkspaceKeyDetails", modelProperties: { - computeType: { - serializedName: "computeType", + name: { + serializedName: "name", type: { name: "String" } }, - coreCount: { - serializedName: "coreCount", + keyVaultUrl: { + serializedName: "keyVaultUrl", type: { - name: "Number" + name: "String" + } + } + } + } +}; + +export const CustomerManagedKeyDetails: msRest.CompositeMapper = { + serializedName: "CustomerManagedKeyDetails", + type: { + name: "Composite", + className: "CustomerManagedKeyDetails", + modelProperties: { + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" } }, - timeToLive: { - serializedName: "timeToLive", - constraints: { - InclusiveMinimum: 0 - }, + key: { + serializedName: "key", type: { - name: "Number" + name: "Composite", + className: "WorkspaceKeyDetails" } } - }, - additionalProperties: { - type: { - name: "Object" + } + } +}; + +export const EncryptionDetails: msRest.CompositeMapper = { + serializedName: "EncryptionDetails", + type: { + name: "Composite", + className: "EncryptionDetails", + modelProperties: { + doubleEncryptionEnabled: { + readOnly: true, + serializedName: "doubleEncryptionEnabled", + type: { + name: "Boolean" + } + }, + cmk: { + serializedName: "cmk", + type: { + name: "Composite", + className: "CustomerManagedKeyDetails" + } } } } }; -export const IntegrationRuntimeVNetProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeVNetProperties", +export const ManagedVirtualNetworkSettings: msRest.CompositeMapper = { + serializedName: "ManagedVirtualNetworkSettings", type: { name: "Composite", - className: "IntegrationRuntimeVNetProperties", + className: "ManagedVirtualNetworkSettings", modelProperties: { - vNetId: { - serializedName: "vNetId", + preventDataExfiltration: { + serializedName: "preventDataExfiltration", type: { - name: "String" + name: "Boolean" } }, - subnet: { - serializedName: "subnet", + linkedAccessCheckOnTargetResource: { + serializedName: "linkedAccessCheckOnTargetResource", type: { - name: "String" + name: "Boolean" } }, - publicIPs: { - serializedName: "publicIPs", + allowedAadTenantIdsForLinking: { + serializedName: "allowedAadTenantIdsForLinking", type: { name: "Sequence", element: { @@ -2748,98 +2852,54 @@ export const IntegrationRuntimeVNetProperties: msRest.CompositeMapper = { } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const IntegrationRuntimeComputeProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeComputeProperties", +export const WorkspaceRepositoryConfiguration: msRest.CompositeMapper = { + serializedName: "WorkspaceRepositoryConfiguration", type: { name: "Composite", - className: "IntegrationRuntimeComputeProperties", + className: "WorkspaceRepositoryConfiguration", modelProperties: { - location: { - serializedName: "location", + type: { + serializedName: "type", type: { name: "String" } }, - nodeSize: { - serializedName: "nodeSize", + hostName: { + serializedName: "hostName", type: { name: "String" } }, - numberOfNodes: { - serializedName: "numberOfNodes", - constraints: { - InclusiveMinimum: 1 - }, + accountName: { + serializedName: "accountName", type: { - name: "Number" + name: "String" } }, - maxParallelExecutionsPerNode: { - serializedName: "maxParallelExecutionsPerNode", - constraints: { - InclusiveMinimum: 1 - }, + projectName: { + serializedName: "projectName", type: { - name: "Number" + name: "String" } }, - dataFlowProperties: { - serializedName: "dataFlowProperties", + repositoryName: { + serializedName: "repositoryName", type: { - name: "Composite", - className: "IntegrationRuntimeDataFlowProperties", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" } }, - vNetProperties: { - serializedName: "vNetProperties", + collaborationBranch: { + serializedName: "collaborationBranch", type: { - name: "Composite", - className: "IntegrationRuntimeVNetProperties", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const SecretBase: msRest.CompositeMapper = { - serializedName: "SecretBase", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", - className: "SecretBase", - modelProperties: { - type: { - required: true, - serializedName: "type", + }, + rootFolder: { + serializedName: "rootFolder", type: { name: "String" } @@ -2848,18 +2908,14 @@ export const SecretBase: msRest.CompositeMapper = { } }; -export const SecureString: msRest.CompositeMapper = { - serializedName: "SecureString", +export const BabylonConfiguration: msRest.CompositeMapper = { + serializedName: "BabylonConfiguration", type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", - className: "SecureString", + className: "BabylonConfiguration", modelProperties: { - ...SecretBase.type.modelProperties, - value: { - required: true, - serializedName: "value", + babylonResourceId: { + serializedName: "babylonResourceId", type: { name: "String" } @@ -2868,311 +2924,261 @@ export const SecureString: msRest.CompositeMapper = { } }; -export const IntegrationRuntimeSsisCatalogInfo: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeSsisCatalogInfo", +export const ManagedIdentity: msRest.CompositeMapper = { + serializedName: "ManagedIdentity", type: { name: "Composite", - className: "IntegrationRuntimeSsisCatalogInfo", + className: "ManagedIdentity", modelProperties: { - catalogServerEndpoint: { - serializedName: "catalogServerEndpoint", - type: { - name: "String" - } - }, - catalogAdminUserName: { - serializedName: "catalogAdminUserName", - constraints: { - MaxLength: 128, - MinLength: 1 - }, + principalId: { + readOnly: true, + serializedName: "principalId", type: { name: "String" } }, - catalogAdminPassword: { - serializedName: "catalogAdminPassword", + tenantId: { + readOnly: true, + serializedName: "tenantId", type: { - name: "Composite", - className: "SecureString" + name: "Uuid" } }, - catalogPricingTier: { - serializedName: "catalogPricingTier", + type: { + serializedName: "type", type: { - name: "String" + name: "Enum", + allowedValues: [ + "None", + "SystemAssigned" + ] } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const IntegrationRuntimeCustomSetupScriptProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeCustomSetupScriptProperties", +export const Workspace: msRest.CompositeMapper = { + serializedName: "Workspace", type: { name: "Composite", - className: "IntegrationRuntimeCustomSetupScriptProperties", + className: "Workspace", modelProperties: { - blobContainerUri: { - serializedName: "blobContainerUri", + ...TrackedResource.type.modelProperties, + defaultDataLakeStorage: { + serializedName: "properties.defaultDataLakeStorage", + type: { + name: "Composite", + className: "DataLakeStorageAccountDetails" + } + }, + sqlAdministratorLoginPassword: { + serializedName: "properties.sqlAdministratorLoginPassword", type: { name: "String" } }, - sasToken: { - serializedName: "sasToken", + managedResourceGroupName: { + serializedName: "properties.managedResourceGroupName", type: { - name: "Composite", - className: "SecureString" + name: "String" } - } - } - } -}; - -export const EntityReference: msRest.CompositeMapper = { - serializedName: "EntityReference", - type: { - name: "Composite", - className: "EntityReference", - modelProperties: { - type: { - serializedName: "type", + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } }, - referenceName: { - serializedName: "referenceName", + sqlAdministratorLogin: { + serializedName: "properties.sqlAdministratorLogin", type: { name: "String" } - } - } - } -}; - -export const IntegrationRuntimeDataProxyProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeDataProxyProperties", - type: { - name: "Composite", - className: "IntegrationRuntimeDataProxyProperties", - modelProperties: { - connectVia: { - serializedName: "connectVia", + }, + virtualNetworkProfile: { + serializedName: "properties.virtualNetworkProfile", type: { name: "Composite", - className: "EntityReference" + className: "VirtualNetworkProfile" } }, - stagingLinkedService: { - serializedName: "stagingLinkedService", + connectivityEndpoints: { + serializedName: "properties.connectivityEndpoints", type: { - name: "Composite", - className: "EntityReference" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - path: { - serializedName: "path", + managedVirtualNetwork: { + serializedName: "properties.managedVirtualNetwork", type: { name: "String" } - } - } - } -}; - -export const CustomSetupBase: msRest.CompositeMapper = { - serializedName: "CustomSetupBase", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CustomSetupBase", - className: "CustomSetupBase", - modelProperties: { - type: { - required: true, - serializedName: "type", + }, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } } - } - } - } -}; - -export const IntegrationRuntimeSsisProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeSsisProperties", - type: { - name: "Composite", - className: "IntegrationRuntimeSsisProperties", - modelProperties: { - catalogInfo: { - serializedName: "catalogInfo", + }, + encryption: { + serializedName: "properties.encryption", type: { name: "Composite", - className: "IntegrationRuntimeSsisCatalogInfo", - additionalProperties: { + className: "EncryptionDetails" + } + }, + workspaceUID: { + readOnly: true, + serializedName: "properties.workspaceUID", + type: { + name: "Uuid" + } + }, + extraProperties: { + readOnly: true, + serializedName: "properties.extraProperties", + type: { + name: "Dictionary", + value: { type: { name: "Object" } } } }, - licenseType: { - serializedName: "licenseType", + managedVirtualNetworkSettings: { + serializedName: "properties.managedVirtualNetworkSettings", type: { - name: "String" + name: "Composite", + className: "ManagedVirtualNetworkSettings" } }, - customSetupScriptProperties: { - serializedName: "customSetupScriptProperties", + workspaceRepositoryConfiguration: { + serializedName: "properties.workspaceRepositoryConfiguration", type: { name: "Composite", - className: "IntegrationRuntimeCustomSetupScriptProperties" + className: "WorkspaceRepositoryConfiguration" } }, - dataProxyProperties: { - serializedName: "dataProxyProperties", + babylonConfiguration: { + serializedName: "properties.babylonConfiguration", type: { name: "Composite", - className: "IntegrationRuntimeDataProxyProperties" + className: "BabylonConfiguration" } }, - edition: { - serializedName: "edition", + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedIdentity" + } + } + } + } +}; + +export const WorkspaceAadAdminInfo: msRest.CompositeMapper = { + serializedName: "WorkspaceAadAdminInfo", + type: { + name: "Composite", + className: "WorkspaceAadAdminInfo", + modelProperties: { + tenantId: { + serializedName: "properties.tenantId", type: { name: "String" } }, - expressCustomSetupProperties: { - serializedName: "expressCustomSetupProperties", + login: { + serializedName: "properties.login", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CustomSetupBase" - } - } + name: "String" + } + }, + administratorType: { + serializedName: "properties.administratorType", + type: { + name: "String" + } + }, + sid: { + serializedName: "properties.sid", + type: { + name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const ManagedIntegrationRuntime: msRest.CompositeMapper = { - serializedName: "Managed", +export const WorkspacePatchInfo: msRest.CompositeMapper = { + serializedName: "WorkspacePatchInfo", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntime", - className: "ManagedIntegrationRuntime", + className: "WorkspacePatchInfo", modelProperties: { - ...IntegrationRuntime.type.modelProperties, - state: { - readOnly: true, - serializedName: "state", - type: { - name: "String" - } - }, - computeProperties: { - serializedName: "typeProperties.computeProperties", + tags: { + serializedName: "tags", type: { - name: "Composite", - className: "IntegrationRuntimeComputeProperties", - additionalProperties: { + name: "Dictionary", + value: { type: { - name: "Object" + name: "String" } } } }, - ssisProperties: { - serializedName: "typeProperties.ssisProperties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "IntegrationRuntimeSsisProperties", - additionalProperties: { - type: { - name: "Object" - } - } + className: "ManagedIdentity" } - } - }, - additionalProperties: IntegrationRuntime.type.additionalProperties - } -}; - -export const CmdkeySetup: msRest.CompositeMapper = { - serializedName: "CmdkeySetup", - type: { - name: "Composite", - polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, - uberParent: "CustomSetupBase", - className: "CmdkeySetup", - modelProperties: { - ...CustomSetupBase.type.modelProperties, - targetName: { - required: true, - serializedName: "typeProperties.targetName", + }, + sqlAdministratorLoginPassword: { + serializedName: "properties.sqlAdministratorLoginPassword", type: { - name: "Object" + name: "String" } }, - userName: { - required: true, - serializedName: "typeProperties.userName", + managedVirtualNetworkSettings: { + serializedName: "properties.managedVirtualNetworkSettings", type: { - name: "Object" + name: "Composite", + className: "ManagedVirtualNetworkSettings" } }, - password: { - required: true, - serializedName: "typeProperties.password", + workspaceRepositoryConfiguration: { + serializedName: "properties.workspaceRepositoryConfiguration", type: { name: "Composite", - className: "SecretBase" + className: "WorkspaceRepositoryConfiguration" } - } - } - } -}; - -export const EnvironmentVariableSetup: msRest.CompositeMapper = { - serializedName: "EnvironmentVariableSetup", - type: { - name: "Composite", - polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, - uberParent: "CustomSetupBase", - className: "EnvironmentVariableSetup", - modelProperties: { - ...CustomSetupBase.type.modelProperties, - variableName: { - required: true, - serializedName: "typeProperties.variableName", + }, + babylonConfiguration: { + serializedName: "properties.babylonConfiguration", type: { - name: "String" + name: "Composite", + className: "BabylonConfiguration" } }, - variableValue: { - required: true, - serializedName: "typeProperties.variableValue", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } @@ -3181,193 +3187,152 @@ export const EnvironmentVariableSetup: msRest.CompositeMapper = { } }; -export const ComponentSetup: msRest.CompositeMapper = { - serializedName: "ComponentSetup", +export const ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity: msRest.CompositeMapper = { + serializedName: "ManagedIdentitySqlControlSettingsModel_properties_grantSqlControlToManagedIdentity", type: { name: "Composite", - polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, - uberParent: "CustomSetupBase", - className: "ComponentSetup", + className: "ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity", modelProperties: { - ...CustomSetupBase.type.modelProperties, - componentName: { - required: true, - serializedName: "typeProperties.componentName", + desiredState: { + serializedName: "desiredState", type: { name: "String" } }, - licenseKey: { - serializedName: "typeProperties.licenseKey", + actualState: { + readOnly: true, + serializedName: "actualState", type: { - name: "Composite", - className: "SecretBase" + name: "String" } } } } }; -export const LinkedIntegrationRuntimeType: msRest.CompositeMapper = { - serializedName: "LinkedIntegrationRuntimeType", +export const ManagedIdentitySqlControlSettingsModel: msRest.CompositeMapper = { + serializedName: "ManagedIdentitySqlControlSettingsModel", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "authorizationType", - clientName: "authorizationType" - }, - uberParent: "LinkedIntegrationRuntimeType", - className: "LinkedIntegrationRuntimeType", + className: "ManagedIdentitySqlControlSettingsModel", modelProperties: { - authorizationType: { - required: true, - serializedName: "authorizationType", + ...ProxyResource.type.modelProperties, + grantSqlControlToManagedIdentity: { + serializedName: "properties.grantSqlControlToManagedIdentity", type: { - name: "String" + name: "Composite", + className: "ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity" } } } } }; -export const SelfHostedIntegrationRuntime: msRest.CompositeMapper = { - serializedName: "SelfHosted", +export const RestorableDroppedSqlPool: msRest.CompositeMapper = { + serializedName: "RestorableDroppedSqlPool", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntime", - className: "SelfHostedIntegrationRuntime", + className: "RestorableDroppedSqlPool", modelProperties: { - ...IntegrationRuntime.type.modelProperties, - linkedInfo: { - serializedName: "typeProperties.linkedInfo", + ...ProxyResource.type.modelProperties, + location: { + readOnly: true, + serializedName: "location", type: { - name: "Composite", - className: "LinkedIntegrationRuntimeType" + name: "String" } - } - }, - additionalProperties: IntegrationRuntime.type.additionalProperties - } -}; - -export const LinkedIntegrationRuntimeKeyAuthorization: msRest.CompositeMapper = { - serializedName: "Key", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, - uberParent: "LinkedIntegrationRuntimeType", - className: "LinkedIntegrationRuntimeKeyAuthorization", - modelProperties: { - ...LinkedIntegrationRuntimeType.type.modelProperties, - key: { - required: true, - serializedName: "key", + }, + databaseName: { + readOnly: true, + serializedName: "properties.databaseName", type: { - name: "Composite", - className: "SecureString" + name: "String" } - } - } - } -}; - -export const LinkedIntegrationRuntimeRbacAuthorization: msRest.CompositeMapper = { - serializedName: "RBAC", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, - uberParent: "LinkedIntegrationRuntimeType", - className: "LinkedIntegrationRuntimeRbacAuthorization", - modelProperties: { - ...LinkedIntegrationRuntimeType.type.modelProperties, - resourceId: { - required: true, - serializedName: "resourceId", + }, + edition: { + readOnly: true, + serializedName: "properties.edition", type: { name: "String" } - } - } - } -}; - -export const IntegrationRuntimeStatus: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeStatus", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "IntegrationRuntimeStatus", - className: "IntegrationRuntimeStatus", - modelProperties: { - dataFactoryName: { + }, + maxSizeBytes: { readOnly: true, - serializedName: "dataFactoryName", + serializedName: "properties.maxSizeBytes", type: { name: "String" } }, - state: { + serviceLevelObjective: { readOnly: true, - serializedName: "state", + serializedName: "properties.serviceLevelObjective", type: { name: "String" } }, - type: { - required: true, - serializedName: "type", + elasticPoolName: { + readOnly: true, + serializedName: "properties.elasticPoolName", type: { name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const ManagedIntegrationRuntimeError: msRest.CompositeMapper = { - serializedName: "ManagedIntegrationRuntimeError", - type: { - name: "Composite", - className: "ManagedIntegrationRuntimeError", - modelProperties: { - time: { + }, + creationDate: { readOnly: true, - serializedName: "time", + serializedName: "properties.creationDate", type: { name: "DateTime" } }, - code: { + deletionDate: { readOnly: true, - serializedName: "code", + serializedName: "properties.deletionDate", type: { - name: "String" + name: "DateTime" } }, - parameters: { + earliestRestoreDate: { readOnly: true, - serializedName: "parameters", + serializedName: "properties.earliestRestoreDate", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" + } + } + } + } +}; + +export const SubResource: msRest.CompositeMapper = { + serializedName: "SubResource", + type: { + name: "Composite", + className: "SubResource", + modelProperties: { + ...AzureEntityResource.type.modelProperties + } + } +}; + +export const IntegrationRuntime: msRest.CompositeMapper = { + serializedName: "IntegrationRuntime", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "IntegrationRuntime", + className: "IntegrationRuntime", + modelProperties: { + description: { + serializedName: "description", + type: { + name: "String" } }, - message: { - readOnly: true, - serializedName: "message", + type: { + required: true, + serializedName: "type", type: { name: "String" } @@ -3381,41 +3346,31 @@ export const ManagedIntegrationRuntimeError: msRest.CompositeMapper = { } }; -export const ManagedIntegrationRuntimeNode: msRest.CompositeMapper = { - serializedName: "ManagedIntegrationRuntimeNode", +export const IntegrationRuntimeDataFlowProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeDataFlowProperties", type: { name: "Composite", - className: "ManagedIntegrationRuntimeNode", + className: "IntegrationRuntimeDataFlowProperties", modelProperties: { - nodeId: { - readOnly: true, - serializedName: "nodeId", + computeType: { + serializedName: "computeType", type: { name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + coreCount: { + serializedName: "coreCount", type: { - name: "String" + name: "Number" } }, - errors: { - serializedName: "errors", + timeToLive: { + serializedName: "timeToLive", + constraints: { + InclusiveMinimum: 0 + }, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedIntegrationRuntimeError", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Number" } } }, @@ -3427,43 +3382,26 @@ export const ManagedIntegrationRuntimeNode: msRest.CompositeMapper = { } }; -export const ManagedIntegrationRuntimeOperationResult: msRest.CompositeMapper = { - serializedName: "ManagedIntegrationRuntimeOperationResult", +export const IntegrationRuntimeVNetProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeVNetProperties", type: { name: "Composite", - className: "ManagedIntegrationRuntimeOperationResult", + className: "IntegrationRuntimeVNetProperties", modelProperties: { - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - startTime: { - readOnly: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - result: { - readOnly: true, - serializedName: "result", + vNetId: { + serializedName: "vNetId", type: { name: "String" } }, - errorCode: { - readOnly: true, - serializedName: "errorCode", + subnet: { + serializedName: "subnet", type: { name: "String" } }, - parameters: { - readOnly: true, - serializedName: "parameters", + publicIPs: { + serializedName: "publicIPs", type: { name: "Sequence", element: { @@ -3472,13 +3410,6 @@ export const ManagedIntegrationRuntimeOperationResult: msRest.CompositeMapper = } } } - }, - activityId: { - readOnly: true, - serializedName: "activityId", - type: { - name: "String" - } } }, additionalProperties: { @@ -3489,64 +3420,59 @@ export const ManagedIntegrationRuntimeOperationResult: msRest.CompositeMapper = } }; -export const ManagedIntegrationRuntimeStatus: msRest.CompositeMapper = { - serializedName: "Managed", +export const IntegrationRuntimeComputeProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeComputeProperties", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntimeStatus", - className: "ManagedIntegrationRuntimeStatus", + className: "IntegrationRuntimeComputeProperties", modelProperties: { - ...IntegrationRuntimeStatus.type.modelProperties, - createTime: { - readOnly: true, - serializedName: "typeProperties.createTime", + location: { + serializedName: "location", type: { - name: "DateTime" + name: "String" } }, - nodes: { - readOnly: true, - serializedName: "typeProperties.nodes", + nodeSize: { + serializedName: "nodeSize", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedIntegrationRuntimeNode", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "String" } }, - otherErrors: { - readOnly: true, - serializedName: "typeProperties.otherErrors", + numberOfNodes: { + serializedName: "numberOfNodes", + constraints: { + InclusiveMinimum: 1 + }, type: { - name: "Sequence", - element: { + name: "Number" + } + }, + maxParallelExecutionsPerNode: { + serializedName: "maxParallelExecutionsPerNode", + constraints: { + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + dataFlowProperties: { + serializedName: "dataFlowProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeDataFlowProperties", + additionalProperties: { type: { - name: "Composite", - className: "ManagedIntegrationRuntimeError", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Object" } } } }, - lastOperation: { - readOnly: true, - serializedName: "typeProperties.lastOperation", + vNetProperties: { + serializedName: "vNetProperties", type: { name: "Composite", - className: "ManagedIntegrationRuntimeOperationResult", + className: "IntegrationRuntimeVNetProperties", additionalProperties: { type: { name: "Object" @@ -3555,291 +3481,1857 @@ export const ManagedIntegrationRuntimeStatus: msRest.CompositeMapper = { } } }, - additionalProperties: IntegrationRuntimeStatus.type.additionalProperties + additionalProperties: { + type: { + name: "Object" + } + } } }; -export const SelfHostedIntegrationRuntimeNode: msRest.CompositeMapper = { - serializedName: "SelfHostedIntegrationRuntimeNode", +export const SecretBase: msRest.CompositeMapper = { + serializedName: "SecretBase", type: { name: "Composite", - className: "SelfHostedIntegrationRuntimeNode", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", + className: "SecretBase", modelProperties: { - nodeName: { - readOnly: true, - serializedName: "nodeName", + type: { + required: true, + serializedName: "type", type: { name: "String" } - }, - machineName: { - readOnly: true, - serializedName: "machineName", - type: { + } + } + } +}; + +export const SecureString: msRest.CompositeMapper = { + serializedName: "SecureString", + type: { + name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", + className: "SecureString", + modelProperties: { + ...SecretBase.type.modelProperties, + value: { + required: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationRuntimeSsisCatalogInfo: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeSsisCatalogInfo", + type: { + name: "Composite", + className: "IntegrationRuntimeSsisCatalogInfo", + modelProperties: { + catalogServerEndpoint: { + serializedName: "catalogServerEndpoint", + type: { name: "String" } }, - hostServiceUri: { - readOnly: true, - serializedName: "hostServiceUri", + catalogAdminUserName: { + serializedName: "catalogAdminUserName", + constraints: { + MaxLength: 128, + MinLength: 1 + }, type: { name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + catalogAdminPassword: { + serializedName: "catalogAdminPassword", + type: { + name: "Composite", + className: "SecureString" + } + }, + catalogPricingTier: { + serializedName: "catalogPricingTier", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeCustomSetupScriptProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeCustomSetupScriptProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeCustomSetupScriptProperties", + modelProperties: { + blobContainerUri: { + serializedName: "blobContainerUri", type: { name: "String" } }, - capabilities: { - readOnly: true, - serializedName: "capabilities", + sasToken: { + serializedName: "sasToken", type: { - name: "Dictionary", - value: { + name: "Composite", + className: "SecureString" + } + } + } + } +}; + +export const EntityReference: msRest.CompositeMapper = { + serializedName: "EntityReference", + type: { + name: "Composite", + className: "EntityReference", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + }, + referenceName: { + serializedName: "referenceName", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationRuntimeDataProxyProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeDataProxyProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeDataProxyProperties", + modelProperties: { + connectVia: { + serializedName: "connectVia", + type: { + name: "Composite", + className: "EntityReference" + } + }, + stagingLinkedService: { + serializedName: "stagingLinkedService", + type: { + name: "Composite", + className: "EntityReference" + } + }, + path: { + serializedName: "path", + type: { + name: "String" + } + } + } + } +}; + +export const CustomSetupBase: msRest.CompositeMapper = { + serializedName: "CustomSetupBase", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "CustomSetupBase", + className: "CustomSetupBase", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationRuntimeSsisProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeSsisProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeSsisProperties", + modelProperties: { + catalogInfo: { + serializedName: "catalogInfo", + type: { + name: "Composite", + className: "IntegrationRuntimeSsisCatalogInfo", + additionalProperties: { type: { - name: "String" + name: "Object" } } } }, - versionStatus: { + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + }, + customSetupScriptProperties: { + serializedName: "customSetupScriptProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeCustomSetupScriptProperties" + } + }, + dataProxyProperties: { + serializedName: "dataProxyProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeDataProxyProperties" + } + }, + edition: { + serializedName: "edition", + type: { + name: "String" + } + }, + expressCustomSetupProperties: { + serializedName: "expressCustomSetupProperties", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomSetupBase" + } + } + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedIntegrationRuntime: msRest.CompositeMapper = { + serializedName: "Managed", + type: { + name: "Composite", + polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntime", + className: "ManagedIntegrationRuntime", + modelProperties: { + ...IntegrationRuntime.type.modelProperties, + state: { readOnly: true, - serializedName: "versionStatus", + serializedName: "state", type: { name: "String" } }, - version: { - readOnly: true, - serializedName: "version", + computeProperties: { + serializedName: "typeProperties.computeProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeComputeProperties", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + ssisProperties: { + serializedName: "typeProperties.ssisProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeSsisProperties", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: IntegrationRuntime.type.additionalProperties + } +}; + +export const CmdkeySetup: msRest.CompositeMapper = { + serializedName: "CmdkeySetup", + type: { + name: "Composite", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, + uberParent: "CustomSetupBase", + className: "CmdkeySetup", + modelProperties: { + ...CustomSetupBase.type.modelProperties, + targetName: { + required: true, + serializedName: "typeProperties.targetName", + type: { + name: "Object" + } + }, + userName: { + required: true, + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + required: true, + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + } + } + } +}; + +export const EnvironmentVariableSetup: msRest.CompositeMapper = { + serializedName: "EnvironmentVariableSetup", + type: { + name: "Composite", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, + uberParent: "CustomSetupBase", + className: "EnvironmentVariableSetup", + modelProperties: { + ...CustomSetupBase.type.modelProperties, + variableName: { + required: true, + serializedName: "typeProperties.variableName", + type: { + name: "String" + } + }, + variableValue: { + required: true, + serializedName: "typeProperties.variableValue", + type: { + name: "String" + } + } + } + } +}; + +export const ComponentSetup: msRest.CompositeMapper = { + serializedName: "ComponentSetup", + type: { + name: "Composite", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, + uberParent: "CustomSetupBase", + className: "ComponentSetup", + modelProperties: { + ...CustomSetupBase.type.modelProperties, + componentName: { + required: true, + serializedName: "typeProperties.componentName", + type: { + name: "String" + } + }, + licenseKey: { + serializedName: "typeProperties.licenseKey", + type: { + name: "Composite", + className: "SecretBase" + } + } + } + } +}; + +export const LinkedIntegrationRuntimeType: msRest.CompositeMapper = { + serializedName: "LinkedIntegrationRuntimeType", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "authorizationType", + clientName: "authorizationType" + }, + uberParent: "LinkedIntegrationRuntimeType", + className: "LinkedIntegrationRuntimeType", + modelProperties: { + authorizationType: { + required: true, + serializedName: "authorizationType", + type: { + name: "String" + } + } + } + } +}; + +export const SelfHostedIntegrationRuntime: msRest.CompositeMapper = { + serializedName: "SelfHosted", + type: { + name: "Composite", + polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntime", + className: "SelfHostedIntegrationRuntime", + modelProperties: { + ...IntegrationRuntime.type.modelProperties, + linkedInfo: { + serializedName: "typeProperties.linkedInfo", + type: { + name: "Composite", + className: "LinkedIntegrationRuntimeType" + } + } + }, + additionalProperties: IntegrationRuntime.type.additionalProperties + } +}; + +export const LinkedIntegrationRuntimeKeyAuthorization: msRest.CompositeMapper = { + serializedName: "Key", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, + uberParent: "LinkedIntegrationRuntimeType", + className: "LinkedIntegrationRuntimeKeyAuthorization", + modelProperties: { + ...LinkedIntegrationRuntimeType.type.modelProperties, + key: { + required: true, + serializedName: "key", + type: { + name: "Composite", + className: "SecureString" + } + } + } + } +}; + +export const LinkedIntegrationRuntimeRbacAuthorization: msRest.CompositeMapper = { + serializedName: "RBAC", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, + uberParent: "LinkedIntegrationRuntimeType", + className: "LinkedIntegrationRuntimeRbacAuthorization", + modelProperties: { + ...LinkedIntegrationRuntimeType.type.modelProperties, + resourceId: { + required: true, + serializedName: "resourceId", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationRuntimeStatus: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeStatus", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "IntegrationRuntimeStatus", + className: "IntegrationRuntimeStatus", + modelProperties: { + dataFactoryName: { + readOnly: true, + serializedName: "dataFactoryName", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "state", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedIntegrationRuntimeError: msRest.CompositeMapper = { + serializedName: "ManagedIntegrationRuntimeError", + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeError", + modelProperties: { + time: { + readOnly: true, + serializedName: "time", + type: { + name: "DateTime" + } + }, + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + parameters: { + readOnly: true, + serializedName: "parameters", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedIntegrationRuntimeNode: msRest.CompositeMapper = { + serializedName: "ManagedIntegrationRuntimeNode", + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeNode", + modelProperties: { + nodeId: { + readOnly: true, + serializedName: "nodeId", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + errors: { + serializedName: "errors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeError", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedIntegrationRuntimeOperationResult: msRest.CompositeMapper = { + serializedName: "ManagedIntegrationRuntimeOperationResult", + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeOperationResult", + modelProperties: { + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + result: { + readOnly: true, + serializedName: "result", + type: { + name: "String" + } + }, + errorCode: { + readOnly: true, + serializedName: "errorCode", + type: { + name: "String" + } + }, + parameters: { + readOnly: true, + serializedName: "parameters", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + activityId: { + readOnly: true, + serializedName: "activityId", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedIntegrationRuntimeStatus: msRest.CompositeMapper = { + serializedName: "Managed", + type: { + name: "Composite", + polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntimeStatus", + className: "ManagedIntegrationRuntimeStatus", + modelProperties: { + ...IntegrationRuntimeStatus.type.modelProperties, + createTime: { + readOnly: true, + serializedName: "typeProperties.createTime", + type: { + name: "DateTime" + } + }, + nodes: { + readOnly: true, + serializedName: "typeProperties.nodes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeNode", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + otherErrors: { + readOnly: true, + serializedName: "typeProperties.otherErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeError", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + lastOperation: { + readOnly: true, + serializedName: "typeProperties.lastOperation", + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeOperationResult", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: IntegrationRuntimeStatus.type.additionalProperties + } +}; + +export const SelfHostedIntegrationRuntimeNode: msRest.CompositeMapper = { + serializedName: "SelfHostedIntegrationRuntimeNode", + type: { + name: "Composite", + className: "SelfHostedIntegrationRuntimeNode", + modelProperties: { + nodeName: { + readOnly: true, + serializedName: "nodeName", + type: { + name: "String" + } + }, + machineName: { + readOnly: true, + serializedName: "machineName", + type: { + name: "String" + } + }, + hostServiceUri: { + readOnly: true, + serializedName: "hostServiceUri", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + capabilities: { + readOnly: true, + serializedName: "capabilities", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + versionStatus: { + readOnly: true, + serializedName: "versionStatus", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + registerTime: { + readOnly: true, + serializedName: "registerTime", + type: { + name: "DateTime" + } + }, + lastConnectTime: { + readOnly: true, + serializedName: "lastConnectTime", + type: { + name: "DateTime" + } + }, + expiryTime: { + readOnly: true, + serializedName: "expiryTime", + type: { + name: "DateTime" + } + }, + lastStartTime: { + readOnly: true, + serializedName: "lastStartTime", + type: { + name: "DateTime" + } + }, + lastStopTime: { + readOnly: true, + serializedName: "lastStopTime", + type: { + name: "DateTime" + } + }, + lastUpdateResult: { + readOnly: true, + serializedName: "lastUpdateResult", + type: { + name: "String" + } + }, + lastStartUpdateTime: { + readOnly: true, + serializedName: "lastStartUpdateTime", + type: { + name: "DateTime" + } + }, + lastEndUpdateTime: { + readOnly: true, + serializedName: "lastEndUpdateTime", + type: { + name: "DateTime" + } + }, + isActiveDispatcher: { + readOnly: true, + serializedName: "isActiveDispatcher", + type: { + name: "Boolean" + } + }, + concurrentJobsLimit: { + readOnly: true, + serializedName: "concurrentJobsLimit", + type: { + name: "Number" + } + }, + maxConcurrentJobs: { + readOnly: true, + serializedName: "maxConcurrentJobs", + type: { + name: "Number" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const LinkedIntegrationRuntime: msRest.CompositeMapper = { + serializedName: "LinkedIntegrationRuntime", + type: { + name: "Composite", + className: "LinkedIntegrationRuntime", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + subscriptionId: { + readOnly: true, + serializedName: "subscriptionId", + type: { + name: "String" + } + }, + dataFactoryName: { + readOnly: true, + serializedName: "dataFactoryName", + type: { + name: "String" + } + }, + dataFactoryLocation: { + readOnly: true, + serializedName: "dataFactoryLocation", + type: { + name: "String" + } + }, + createTime: { + readOnly: true, + serializedName: "createTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const SelfHostedIntegrationRuntimeStatus: msRest.CompositeMapper = { + serializedName: "SelfHosted", + type: { + name: "Composite", + polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntimeStatus", + className: "SelfHostedIntegrationRuntimeStatus", + modelProperties: { + ...IntegrationRuntimeStatus.type.modelProperties, + createTime: { + readOnly: true, + serializedName: "typeProperties.createTime", + type: { + name: "DateTime" + } + }, + taskQueueId: { + readOnly: true, + serializedName: "typeProperties.taskQueueId", + type: { + name: "String" + } + }, + nodeCommunicationChannelEncryptionMode: { + readOnly: true, + serializedName: "typeProperties.nodeCommunicationChannelEncryptionMode", + type: { + name: "String" + } + }, + internalChannelEncryption: { + readOnly: true, + serializedName: "typeProperties.internalChannelEncryption", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "typeProperties.version", + type: { + name: "String" + } + }, + nodes: { + serializedName: "typeProperties.nodes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SelfHostedIntegrationRuntimeNode", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + scheduledUpdateDate: { + readOnly: true, + serializedName: "typeProperties.scheduledUpdateDate", + type: { + name: "DateTime" + } + }, + updateDelayOffset: { + readOnly: true, + serializedName: "typeProperties.updateDelayOffset", + type: { + name: "String" + } + }, + localTimeZoneOffset: { + readOnly: true, + serializedName: "typeProperties.localTimeZoneOffset", + type: { + name: "String" + } + }, + capabilities: { + readOnly: true, + serializedName: "typeProperties.capabilities", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + serviceUrls: { + readOnly: true, + serializedName: "typeProperties.serviceUrls", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + autoUpdate: { + readOnly: true, + serializedName: "typeProperties.autoUpdate", + type: { + name: "String" + } + }, + versionStatus: { + readOnly: true, + serializedName: "typeProperties.versionStatus", + type: { + name: "String" + } + }, + links: { + serializedName: "typeProperties.links", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedIntegrationRuntime" + } + } + } + }, + pushedVersion: { + readOnly: true, + serializedName: "typeProperties.pushedVersion", + type: { + name: "String" + } + }, + latestVersion: { + readOnly: true, + serializedName: "typeProperties.latestVersion", + type: { + name: "String" + } + }, + autoUpdateETA: { + readOnly: true, + serializedName: "typeProperties.autoUpdateETA", + type: { + name: "DateTime" + } + } + }, + additionalProperties: IntegrationRuntimeStatus.type.additionalProperties + } +}; + +export const IntegrationRuntimeConnectionInfo: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeConnectionInfo", + type: { + name: "Composite", + className: "IntegrationRuntimeConnectionInfo", + modelProperties: { + serviceToken: { + readOnly: true, + serializedName: "serviceToken", + type: { + name: "String" + } + }, + identityCertThumbprint: { + readOnly: true, + serializedName: "identityCertThumbprint", + type: { + name: "String" + } + }, + hostServiceUri: { + readOnly: true, + serializedName: "hostServiceUri", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + publicKey: { + readOnly: true, + serializedName: "publicKey", + type: { + name: "String" + } + }, + isIdentityCertExprired: { + readOnly: true, + serializedName: "isIdentityCertExprired", + type: { + name: "Boolean" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeRegenerateKeyParameters: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeRegenerateKeyParameters", + type: { + name: "Composite", + className: "IntegrationRuntimeRegenerateKeyParameters", + modelProperties: { + keyName: { + serializedName: "keyName", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationRuntimeAuthKeys: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeAuthKeys", + type: { + name: "Composite", + className: "IntegrationRuntimeAuthKeys", + modelProperties: { + authKey1: { + serializedName: "authKey1", + type: { + name: "String" + } + }, + authKey2: { + serializedName: "authKey2", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationRuntimeNodeMonitoringData: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeNodeMonitoringData", + type: { + name: "Composite", + className: "IntegrationRuntimeNodeMonitoringData", + modelProperties: { + nodeName: { + readOnly: true, + serializedName: "nodeName", + type: { + name: "String" + } + }, + availableMemoryInMB: { + readOnly: true, + serializedName: "availableMemoryInMB", + type: { + name: "Number" + } + }, + cpuUtilization: { + readOnly: true, + serializedName: "cpuUtilization", + type: { + name: "Number" + } + }, + concurrentJobsLimit: { + readOnly: true, + serializedName: "concurrentJobsLimit", + type: { + name: "Number" + } + }, + concurrentJobsRunning: { + readOnly: true, + serializedName: "concurrentJobsRunning", + type: { + name: "Number" + } + }, + maxConcurrentJobs: { + readOnly: true, + serializedName: "maxConcurrentJobs", + type: { + name: "Number" + } + }, + sentBytes: { + readOnly: true, + serializedName: "sentBytes", + type: { + name: "Number" + } + }, + receivedBytes: { + readOnly: true, + serializedName: "receivedBytes", + type: { + name: "Number" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeMonitoringData: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeMonitoringData", + type: { + name: "Composite", + className: "IntegrationRuntimeMonitoringData", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + nodes: { + serializedName: "nodes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationRuntimeNodeMonitoringData", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } + } + } +}; + +export const IntegrationRuntimeNodeIpAddress: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeNodeIpAddress", + type: { + name: "Composite", + className: "IntegrationRuntimeNodeIpAddress", + modelProperties: { + ipAddress: { + readOnly: true, + serializedName: "ipAddress", + type: { + name: "String" + } + } + } + } +}; + +export const SsisObjectMetadata: msRest.CompositeMapper = { + serializedName: "SsisObjectMetadata", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SsisObjectMetadata", + className: "SsisObjectMetadata", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "Number" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const SsisObjectMetadataListResponse: msRest.CompositeMapper = { + serializedName: "SsisObjectMetadataListResponse", + type: { + name: "Composite", + className: "SsisObjectMetadataListResponse", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisObjectMetadata" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const SsisFolder: msRest.CompositeMapper = { + serializedName: "Folder", + type: { + name: "Composite", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + uberParent: "SsisObjectMetadata", + className: "SsisFolder", + modelProperties: { + ...SsisObjectMetadata.type.modelProperties + } + } +}; + +export const SsisEnvironmentReference: msRest.CompositeMapper = { + serializedName: "SsisEnvironmentReference", + type: { + name: "Composite", + className: "SsisEnvironmentReference", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "Number" + } + }, + environmentFolderName: { + serializedName: "environmentFolderName", + type: { + name: "String" + } + }, + environmentName: { + serializedName: "environmentName", + type: { + name: "String" + } + }, + referenceType: { + serializedName: "referenceType", + type: { + name: "String" + } + } + } + } +}; + +export const SsisParameter: msRest.CompositeMapper = { + serializedName: "SsisParameter", + type: { + name: "Composite", + className: "SsisParameter", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "Number" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + dataType: { + serializedName: "dataType", + type: { + name: "String" + } + }, + required: { + serializedName: "required", + type: { + name: "Boolean" + } + }, + sensitive: { + serializedName: "sensitive", + type: { + name: "Boolean" + } + }, + designDefaultValue: { + serializedName: "designDefaultValue", + type: { + name: "String" + } + }, + defaultValue: { + serializedName: "defaultValue", + type: { + name: "String" + } + }, + sensitiveDefaultValue: { + serializedName: "sensitiveDefaultValue", + type: { + name: "String" + } + }, + valueType: { + serializedName: "valueType", + type: { + name: "String" + } + }, + valueSet: { + serializedName: "valueSet", + type: { + name: "Boolean" + } + }, + variable: { + serializedName: "variable", + type: { + name: "String" + } + } + } + } +}; + +export const SsisProject: msRest.CompositeMapper = { + serializedName: "Project", + type: { + name: "Composite", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + uberParent: "SsisObjectMetadata", + className: "SsisProject", + modelProperties: { + ...SsisObjectMetadata.type.modelProperties, + folderId: { + serializedName: "folderId", + type: { + name: "Number" + } + }, + version: { + serializedName: "version", + type: { + name: "Number" + } + }, + environmentRefs: { + serializedName: "environmentRefs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisEnvironmentReference" + } + } + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisParameter" + } + } + } + } + } + } +}; + +export const SsisPackage: msRest.CompositeMapper = { + serializedName: "Package", + type: { + name: "Composite", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + uberParent: "SsisObjectMetadata", + className: "SsisPackage", + modelProperties: { + ...SsisObjectMetadata.type.modelProperties, + folderId: { + serializedName: "folderId", + type: { + name: "Number" + } + }, + projectVersion: { + serializedName: "projectVersion", type: { - name: "String" + name: "Number" } }, - registerTime: { - readOnly: true, - serializedName: "registerTime", + projectId: { + serializedName: "projectId", type: { - name: "DateTime" + name: "Number" } }, - lastConnectTime: { - readOnly: true, - serializedName: "lastConnectTime", + parameters: { + serializedName: "parameters", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisParameter" + } + } } - }, - expiryTime: { - readOnly: true, - serializedName: "expiryTime", + } + } + } +}; + +export const SsisVariable: msRest.CompositeMapper = { + serializedName: "SsisVariable", + type: { + name: "Composite", + className: "SsisVariable", + modelProperties: { + id: { + serializedName: "id", type: { - name: "DateTime" + name: "Number" } }, - lastStartTime: { - readOnly: true, - serializedName: "lastStartTime", + name: { + serializedName: "name", type: { - name: "DateTime" + name: "String" } }, - lastStopTime: { - readOnly: true, - serializedName: "lastStopTime", + description: { + serializedName: "description", type: { - name: "DateTime" + name: "String" } }, - lastUpdateResult: { - readOnly: true, - serializedName: "lastUpdateResult", + dataType: { + serializedName: "dataType", type: { name: "String" } }, - lastStartUpdateTime: { - readOnly: true, - serializedName: "lastStartUpdateTime", + sensitive: { + serializedName: "sensitive", type: { - name: "DateTime" + name: "Boolean" } }, - lastEndUpdateTime: { - readOnly: true, - serializedName: "lastEndUpdateTime", + value: { + serializedName: "value", type: { - name: "DateTime" + name: "String" } }, - isActiveDispatcher: { - readOnly: true, - serializedName: "isActiveDispatcher", + sensitiveValue: { + serializedName: "sensitiveValue", type: { - name: "Boolean" + name: "String" } - }, - concurrentJobsLimit: { - readOnly: true, - serializedName: "concurrentJobsLimit", + } + } + } +}; + +export const SsisEnvironment: msRest.CompositeMapper = { + serializedName: "Environment", + type: { + name: "Composite", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + uberParent: "SsisObjectMetadata", + className: "SsisEnvironment", + modelProperties: { + ...SsisObjectMetadata.type.modelProperties, + folderId: { + serializedName: "folderId", type: { name: "Number" } }, - maxConcurrentJobs: { - readOnly: true, - serializedName: "maxConcurrentJobs", + variables: { + serializedName: "variables", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisVariable" + } + } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const LinkedIntegrationRuntime: msRest.CompositeMapper = { - serializedName: "LinkedIntegrationRuntime", +export const UpdateIntegrationRuntimeRequest: msRest.CompositeMapper = { + serializedName: "UpdateIntegrationRuntimeRequest", type: { name: "Composite", - className: "LinkedIntegrationRuntime", + className: "UpdateIntegrationRuntimeRequest", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + autoUpdate: { + serializedName: "autoUpdate", type: { name: "String" } }, - subscriptionId: { - readOnly: true, - serializedName: "subscriptionId", + updateDelayOffset: { + serializedName: "updateDelayOffset", type: { name: "String" } - }, - dataFactoryName: { - readOnly: true, - serializedName: "dataFactoryName", + } + } + } +}; + +export const IntegrationRuntimeResource: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeResource", + type: { + name: "Composite", + className: "IntegrationRuntimeResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "IntegrationRuntime", + additionalProperties: { + type: { + name: "Object" + } + } } - }, - dataFactoryLocation: { - readOnly: true, - serializedName: "dataFactoryLocation", + } + } + } +}; + +export const GetSsisObjectMetadataRequest: msRest.CompositeMapper = { + serializedName: "GetSsisObjectMetadataRequest", + type: { + name: "Composite", + className: "GetSsisObjectMetadataRequest", + modelProperties: { + metadataPath: { + serializedName: "metadataPath", type: { name: "String" } - }, - createTime: { - readOnly: true, - serializedName: "createTime", - type: { - name: "DateTime" - } } } } }; -export const SelfHostedIntegrationRuntimeStatus: msRest.CompositeMapper = { - serializedName: "SelfHosted", +export const UpdateIntegrationRuntimeNodeRequest: msRest.CompositeMapper = { + serializedName: "UpdateIntegrationRuntimeNodeRequest", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntimeStatus", - className: "SelfHostedIntegrationRuntimeStatus", + className: "UpdateIntegrationRuntimeNodeRequest", modelProperties: { - ...IntegrationRuntimeStatus.type.modelProperties, - createTime: { - readOnly: true, - serializedName: "typeProperties.createTime", + concurrentJobsLimit: { + serializedName: "concurrentJobsLimit", + constraints: { + InclusiveMinimum: 1 + }, type: { - name: "DateTime" + name: "Number" } - }, - taskQueueId: { + } + } + } +}; + +export const IntegrationRuntimeStatusResponse: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeStatusResponse", + type: { + name: "Composite", + className: "IntegrationRuntimeStatusResponse", + modelProperties: { + name: { readOnly: true, - serializedName: "typeProperties.taskQueueId", + serializedName: "name", type: { name: "String" } }, - internalChannelEncryption: { - readOnly: true, - serializedName: "typeProperties.internalChannelEncryption", + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "IntegrationRuntimeStatus", + additionalProperties: { + type: { + name: "Object" + } + } } - }, - version: { - readOnly: true, - serializedName: "typeProperties.version", + } + } + } +}; + +export const SsisObjectMetadataStatusResponse: msRest.CompositeMapper = { + serializedName: "SsisObjectMetadataStatusResponse", + type: { + name: "Composite", + className: "SsisObjectMetadataStatusResponse", + modelProperties: { + status: { + serializedName: "status", type: { name: "String" } }, - nodes: { - serializedName: "typeProperties.nodes", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SelfHostedIntegrationRuntimeNode", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "String" } }, - scheduledUpdateDate: { - readOnly: true, - serializedName: "typeProperties.scheduledUpdateDate", + properties: { + serializedName: "properties", type: { - name: "DateTime" + name: "String" } }, - updateDelayOffset: { - readOnly: true, - serializedName: "typeProperties.updateDelayOffset", + error: { + serializedName: "error", type: { name: "String" } - }, - localTimeZoneOffset: { + } + } + } +}; + +export const PrivateLinkResourceProperties: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceProperties", + type: { + name: "Composite", + className: "PrivateLinkResourceProperties", + modelProperties: { + groupId: { readOnly: true, - serializedName: "typeProperties.localTimeZoneOffset", + serializedName: "groupId", type: { name: "String" } }, - capabilities: { + requiredMembers: { readOnly: true, - serializedName: "typeProperties.capabilities", + serializedName: "requiredMembers", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "String" } } } }, - serviceUrls: { + requiredZoneNames: { readOnly: true, - serializedName: "typeProperties.serviceUrls", + serializedName: "requiredZoneNames", type: { name: "Sequence", element: { @@ -3848,382 +5340,462 @@ export const SelfHostedIntegrationRuntimeStatus: msRest.CompositeMapper = { } } } - }, - autoUpdate: { + } + } + } +}; + +export const PrivateLinkResource: msRest.CompositeMapper = { + serializedName: "PrivateLinkResource", + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { readOnly: true, - serializedName: "typeProperties.autoUpdate", + serializedName: "properties", + type: { + name: "Composite", + className: "PrivateLinkResourceProperties" + } + } + } + } +}; + +export const PrivateEndpointConnectionForPrivateLinkHubBasic: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionForPrivateLinkHubBasic", + type: { + name: "Composite", + className: "PrivateEndpointConnectionForPrivateLinkHubBasic", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - versionStatus: { + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint" + } + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" + } + }, + provisioningState: { readOnly: true, - serializedName: "typeProperties.versionStatus", + serializedName: "properties.provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateLinkHub: msRest.CompositeMapper = { + serializedName: "PrivateLinkHub", + type: { + name: "Composite", + className: "PrivateLinkHub", + modelProperties: { + ...TrackedResource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", type: { name: "String" } }, - links: { - serializedName: "typeProperties.links", + privateEndpointConnections: { + readOnly: true, + serializedName: "properties.privateEndpointConnections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "LinkedIntegrationRuntime" + className: "PrivateEndpointConnectionForPrivateLinkHubBasic" } } } - }, - pushedVersion: { - readOnly: true, - serializedName: "typeProperties.pushedVersion", + } + } + } +}; + +export const PrivateLinkHubPatchInfo: msRest.CompositeMapper = { + serializedName: "PrivateLinkHubPatchInfo", + type: { + name: "Composite", + className: "PrivateLinkHubPatchInfo", + modelProperties: { + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } - }, - latestVersion: { - readOnly: true, - serializedName: "typeProperties.latestVersion", + } + } + } +}; + +export const PrivateEndpointConnectionForPrivateLinkHub: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionForPrivateLinkHub", + type: { + name: "Composite", + className: "PrivateEndpointConnectionForPrivateLinkHub", + modelProperties: { + ...PrivateEndpointConnectionForPrivateLinkHubBasic.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } }, - autoUpdateETA: { - readOnly: true, - serializedName: "typeProperties.autoUpdateETA", + type: { + serializedName: "type", type: { - name: "DateTime" + name: "String" } } - }, - additionalProperties: IntegrationRuntimeStatus.type.additionalProperties + } } }; -export const IntegrationRuntimeConnectionInfo: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeConnectionInfo", +export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ServerBlobAuditingPolicy", type: { name: "Composite", - className: "IntegrationRuntimeConnectionInfo", + className: "ServerBlobAuditingPolicy", modelProperties: { - serviceToken: { - readOnly: true, - serializedName: "serviceToken", + ...ProxyResource.type.modelProperties, + state: { + required: true, + serializedName: "properties.state", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - identityCertThumbprint: { - readOnly: true, - serializedName: "identityCertThumbprint", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - hostServiceUri: { - readOnly: true, - serializedName: "hostServiceUri", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - version: { - readOnly: true, - serializedName: "version", + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "String" + name: "Number" } }, - publicKey: { - readOnly: true, - serializedName: "publicKey", + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - isIdentityCertExprired: { - readOnly: true, - serializedName: "isIdentityCertExprired", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", + type: { + name: "Uuid" + } + }, + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { name: "Boolean" } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const IntegrationRuntimeRegenerateKeyParameters: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeRegenerateKeyParameters", - type: { - name: "Composite", - className: "IntegrationRuntimeRegenerateKeyParameters", - modelProperties: { - keyName: { - serializedName: "keyName", + }, + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { - name: "String" + name: "Boolean" + } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" } } } } }; -export const IntegrationRuntimeAuthKeys: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeAuthKeys", +export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedServerBlobAuditingPolicy", type: { name: "Composite", - className: "IntegrationRuntimeAuthKeys", + className: "ExtendedServerBlobAuditingPolicy", modelProperties: { - authKey1: { - serializedName: "authKey1", + ...ProxyResource.type.modelProperties, + predicateExpression: { + serializedName: "properties.predicateExpression", type: { name: "String" } }, - authKey2: { - serializedName: "authKey2", + state: { + required: true, + serializedName: "properties.state", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } - } - } - } -}; - -export const IntegrationRuntimeNodeMonitoringData: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeNodeMonitoringData", - type: { - name: "Composite", - className: "IntegrationRuntimeNodeMonitoringData", - modelProperties: { - nodeName: { - readOnly: true, - serializedName: "nodeName", + }, + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - availableMemoryInMB: { - readOnly: true, - serializedName: "availableMemoryInMB", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { - name: "Number" + name: "String" } }, - cpuUtilization: { - readOnly: true, - serializedName: "cpuUtilization", + retentionDays: { + serializedName: "properties.retentionDays", type: { name: "Number" } }, - concurrentJobsLimit: { - readOnly: true, - serializedName: "concurrentJobsLimit", + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - concurrentJobsRunning: { - readOnly: true, - serializedName: "concurrentJobsRunning", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", type: { - name: "Number" + name: "Uuid" } }, - maxConcurrentJobs: { - readOnly: true, - serializedName: "maxConcurrentJobs", + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { - name: "Number" + name: "Boolean" } }, - sentBytes: { - readOnly: true, - serializedName: "sentBytes", + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { - name: "Number" + name: "Boolean" } }, - receivedBytes: { - readOnly: true, - serializedName: "receivedBytes", + queueDelayMs: { + serializedName: "properties.queueDelayMs", type: { name: "Number" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const IntegrationRuntimeMonitoringData: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeMonitoringData", +export const ServerSecurityAlertPolicy: msRest.CompositeMapper = { + serializedName: "ServerSecurityAlertPolicy", type: { name: "Composite", - className: "IntegrationRuntimeMonitoringData", + className: "ServerSecurityAlertPolicy", modelProperties: { - name: { - serializedName: "name", + ...ProxyResource.type.modelProperties, + state: { + required: true, + serializedName: "properties.state", type: { - name: "String" + name: "Enum", + allowedValues: [ + "New", + "Enabled", + "Disabled" + ] } }, - nodes: { - serializedName: "nodes", + disabledAlerts: { + serializedName: "properties.disabledAlerts", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "IntegrationRuntimeNodeMonitoringData", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" } } } - } - } - } -}; - -export const IntegrationRuntimeNodeIpAddress: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeNodeIpAddress", - type: { - name: "Composite", - className: "IntegrationRuntimeNodeIpAddress", - modelProperties: { - ipAddress: { - readOnly: true, - serializedName: "ipAddress", + }, + emailAddresses: { + serializedName: "properties.emailAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + emailAccountAdmins: { + serializedName: "properties.emailAccountAdmins", + type: { + name: "Boolean" + } + }, + storageEndpoint: { + serializedName: "properties.storageEndpoint", + type: { + name: "String" + } + }, + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } + }, + retentionDays: { + serializedName: "properties.retentionDays", + type: { + name: "Number" + } + }, + creationTime: { + readOnly: true, + serializedName: "properties.creationTime", + type: { + name: "DateTime" + } } } } }; -export const SsisObjectMetadata: msRest.CompositeMapper = { - serializedName: "SsisObjectMetadata", +export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessment", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SsisObjectMetadata", - className: "SsisObjectMetadata", + className: "ServerVulnerabilityAssessment", modelProperties: { - id: { - serializedName: "id", + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", type: { - name: "Number" + name: "String" } }, - name: { - serializedName: "name", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { name: "String" } }, - description: { - serializedName: "description", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - type: { - required: true, - serializedName: "type", + recurringScans: { + serializedName: "properties.recurringScans", type: { - name: "String" + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" } } } } }; -export const SsisObjectMetadataListResponse: msRest.CompositeMapper = { - serializedName: "SsisObjectMetadataListResponse", +export const EncryptionProtector: msRest.CompositeMapper = { + serializedName: "EncryptionProtector", type: { name: "Composite", - className: "SsisObjectMetadataListResponse", + className: "EncryptionProtector", modelProperties: { - value: { - serializedName: "value", + ...ProxyResource.type.modelProperties, + kind: { + readOnly: true, + serializedName: "kind", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SsisObjectMetadata" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + location: { + readOnly: true, + serializedName: "location", type: { name: "String" } - } - } - } -}; - -export const SsisFolder: msRest.CompositeMapper = { - serializedName: "Folder", - type: { - name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisFolder", - modelProperties: { - ...SsisObjectMetadata.type.modelProperties - } - } -}; - -export const SsisEnvironmentReference: msRest.CompositeMapper = { - serializedName: "SsisEnvironmentReference", - type: { - name: "Composite", - className: "SsisEnvironmentReference", - modelProperties: { - id: { - serializedName: "id", + }, + subregion: { + readOnly: true, + serializedName: "properties.subregion", type: { - name: "Number" + name: "String" } }, - environmentFolderName: { - serializedName: "environmentFolderName", + serverKeyName: { + serializedName: "properties.serverKeyName", type: { name: "String" } }, - environmentName: { - serializedName: "environmentName", + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", type: { name: "String" } }, - referenceType: { - serializedName: "referenceType", + uri: { + readOnly: true, + serializedName: "properties.uri", + type: { + name: "String" + } + }, + thumbprint: { + readOnly: true, + serializedName: "properties.thumbprint", type: { name: "String" } @@ -4232,80 +5804,119 @@ export const SsisEnvironmentReference: msRest.CompositeMapper = { } }; -export const SsisParameter: msRest.CompositeMapper = { - serializedName: "SsisParameter", +export const ServerUsage: msRest.CompositeMapper = { + serializedName: "ServerUsage", type: { name: "Composite", - className: "SsisParameter", + className: "ServerUsage", modelProperties: { - id: { - serializedName: "id", - type: { - name: "Number" - } - }, name: { + readOnly: true, serializedName: "name", type: { name: "String" } }, - description: { - serializedName: "description", + resourceName: { + readOnly: true, + serializedName: "resourceName", type: { name: "String" } }, - dataType: { - serializedName: "dataType", + displayName: { + readOnly: true, + serializedName: "displayName", type: { name: "String" } }, - required: { - serializedName: "required", + currentValue: { + readOnly: true, + serializedName: "currentValue", type: { - name: "Boolean" + name: "Number" } }, - sensitive: { - serializedName: "sensitive", + limit: { + readOnly: true, + serializedName: "limit", type: { - name: "Boolean" + name: "Number" } }, - designDefaultValue: { - serializedName: "designDefaultValue", + unit: { + readOnly: true, + serializedName: "unit", type: { name: "String" } }, - defaultValue: { - serializedName: "defaultValue", + nextResetTime: { + readOnly: true, + serializedName: "nextResetTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const RecoverableSqlPool: msRest.CompositeMapper = { + serializedName: "RecoverableSqlPool", + type: { + name: "Composite", + className: "RecoverableSqlPool", + modelProperties: { + ...ProxyResource.type.modelProperties, + edition: { + readOnly: true, + serializedName: "properties.edition", type: { name: "String" } }, - sensitiveDefaultValue: { - serializedName: "sensitiveDefaultValue", + serviceLevelObjective: { + readOnly: true, + serializedName: "properties.serviceLevelObjective", type: { name: "String" } }, - valueType: { - serializedName: "valueType", + elasticPoolName: { + readOnly: true, + serializedName: "properties.elasticPoolName", type: { name: "String" } }, - valueSet: { - serializedName: "valueSet", + lastAvailableBackupDate: { + readOnly: true, + serializedName: "properties.lastAvailableBackupDate", + type: { + name: "DateTime" + } + } + } + } +}; + +export const Key: msRest.CompositeMapper = { + serializedName: "Key", + type: { + name: "Composite", + className: "Key", + modelProperties: { + ...ProxyResource.type.modelProperties, + isActiveCMK: { + serializedName: "properties.isActiveCMK", type: { name: "Boolean" } }, - variable: { - serializedName: "variable", + keyVaultUrl: { + serializedName: "properties.keyVaultUrl", type: { name: "String" } @@ -4314,47 +5925,54 @@ export const SsisParameter: msRest.CompositeMapper = { } }; -export const SsisProject: msRest.CompositeMapper = { - serializedName: "Project", +export const BigDataPoolResourceInfoListResult: msRest.CompositeMapper = { + serializedName: "BigDataPoolResourceInfoListResult", type: { name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisProject", + className: "BigDataPoolResourceInfoListResult", modelProperties: { - ...SsisObjectMetadata.type.modelProperties, - folderId: { - serializedName: "folderId", - type: { - name: "Number" - } - }, - version: { - serializedName: "version", + nextLink: { + serializedName: "nextLink", type: { - name: "Number" + name: "String" } }, - environmentRefs: { - serializedName: "environmentRefs", + value: { + serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SsisEnvironmentReference" + className: "BigDataPoolResourceInfo" } } } + } + } + } +}; + +export const IpFirewallRuleInfoListResult: msRest.CompositeMapper = { + serializedName: "IpFirewallRuleInfoListResult", + type: { + name: "Composite", + className: "IpFirewallRuleInfoListResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } }, - parameters: { - serializedName: "parameters", + value: { + serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SsisParameter" + className: "IpFirewallRuleInfo" } } } @@ -4363,41 +5981,48 @@ export const SsisProject: msRest.CompositeMapper = { } }; -export const SsisPackage: msRest.CompositeMapper = { - serializedName: "Package", +export const SqlPoolInfoListResult: msRest.CompositeMapper = { + serializedName: "SqlPoolInfoListResult", type: { name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisPackage", + className: "SqlPoolInfoListResult", modelProperties: { - ...SsisObjectMetadata.type.modelProperties, - folderId: { - serializedName: "folderId", - type: { - name: "Number" - } - }, - projectVersion: { - serializedName: "projectVersion", + nextLink: { + serializedName: "nextLink", type: { - name: "Number" + name: "String" } }, - projectId: { - serializedName: "projectId", + value: { + serializedName: "", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SqlPool" + } + } } - }, - parameters: { - serializedName: "parameters", + } + } + } +}; + +export const GeoBackupPolicyListResult: msRest.CompositeMapper = { + serializedName: "GeoBackupPolicyListResult", + type: { + name: "Composite", + className: "GeoBackupPolicyListResult", + modelProperties: { + value: { + serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SsisParameter" + className: "GeoBackupPolicy" } } } @@ -4406,50 +6031,117 @@ export const SsisPackage: msRest.CompositeMapper = { } }; -export const SsisVariable: msRest.CompositeMapper = { - serializedName: "SsisVariable", +export const RestorePointListResult: msRest.CompositeMapper = { + serializedName: "RestorePointListResult", type: { name: "Composite", - className: "SsisVariable", + className: "RestorePointListResult", modelProperties: { - id: { - serializedName: "id", + value: { + readOnly: true, + serializedName: "", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RestorePoint" + } + } } }, - name: { - serializedName: "name", + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } + } + } + } +}; + +export const ReplicationLinkListResult: msRest.CompositeMapper = { + serializedName: "ReplicationLinkListResult", + type: { + name: "Composite", + className: "ReplicationLinkListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ReplicationLink" + } + } + } }, - description: { - serializedName: "description", + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } - }, - dataType: { - serializedName: "dataType", + } + } + } +}; + +export const TransparentDataEncryptionListResult: msRest.CompositeMapper = { + serializedName: "TransparentDataEncryptionListResult", + type: { + name: "Composite", + className: "TransparentDataEncryptionListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TransparentDataEncryption" + } + } } }, - sensitive: { - serializedName: "sensitive", + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { - name: "Boolean" + name: "String" } - }, + } + } + } +}; + +export const SqlPoolBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "SqlPoolBlobAuditingPolicyListResult", + type: { + name: "Composite", + className: "SqlPoolBlobAuditingPolicyListResult", + modelProperties: { value: { - serializedName: "value", + readOnly: true, + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SqlPoolBlobAuditingPolicy" + } + } } }, - sensitiveValue: { - serializedName: "sensitiveValue", + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } @@ -4458,51 +6150,58 @@ export const SsisVariable: msRest.CompositeMapper = { } }; -export const SsisEnvironment: msRest.CompositeMapper = { - serializedName: "Environment", +export const SqlPoolBlobAuditingPolicySqlPoolOperationListResult: msRest.CompositeMapper = { + serializedName: "SqlPoolBlobAuditingPolicySqlPoolOperationListResult", type: { name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisEnvironment", + className: "SqlPoolBlobAuditingPolicySqlPoolOperationListResult", modelProperties: { - ...SsisObjectMetadata.type.modelProperties, - folderId: { - serializedName: "folderId", - type: { - name: "Number" - } - }, - variables: { - serializedName: "variables", + value: { + readOnly: true, + serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SsisVariable" + className: "SqlPoolOperation" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const UpdateIntegrationRuntimeRequest: msRest.CompositeMapper = { - serializedName: "UpdateIntegrationRuntimeRequest", +export const SqlPoolUsageListResult: msRest.CompositeMapper = { + serializedName: "SqlPoolUsageListResult", type: { name: "Composite", - className: "UpdateIntegrationRuntimeRequest", + className: "SqlPoolUsageListResult", modelProperties: { - autoUpdate: { - serializedName: "autoUpdate", + value: { + required: true, + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SqlPoolUsage" + } + } } }, - updateDelayOffset: { - serializedName: "updateDelayOffset", + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } @@ -4511,38 +6210,58 @@ export const UpdateIntegrationRuntimeRequest: msRest.CompositeMapper = { } }; -export const IntegrationRuntimeResource: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeResource", +export const SensitivityLabelListResult: msRest.CompositeMapper = { + serializedName: "SensitivityLabelListResult", type: { name: "Composite", - className: "IntegrationRuntimeResource", + className: "SensitivityLabelListResult", modelProperties: { - ...SubResource.type.modelProperties, - properties: { - required: true, - serializedName: "properties", + value: { + readOnly: true, + serializedName: "", type: { - name: "Composite", - className: "IntegrationRuntime", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "SensitivityLabel" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const GetSsisObjectMetadataRequest: msRest.CompositeMapper = { - serializedName: "GetSsisObjectMetadataRequest", +export const SqlPoolSchemaListResult: msRest.CompositeMapper = { + serializedName: "SqlPoolSchemaListResult", type: { name: "Composite", - className: "GetSsisObjectMetadataRequest", + className: "SqlPoolSchemaListResult", modelProperties: { - metadataPath: { - serializedName: "metadataPath", + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SqlPoolSchema" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } @@ -4551,81 +6270,118 @@ export const GetSsisObjectMetadataRequest: msRest.CompositeMapper = { } }; -export const UpdateIntegrationRuntimeNodeRequest: msRest.CompositeMapper = { - serializedName: "UpdateIntegrationRuntimeNodeRequest", +export const SqlPoolTableListResult: msRest.CompositeMapper = { + serializedName: "SqlPoolTableListResult", type: { name: "Composite", - className: "UpdateIntegrationRuntimeNodeRequest", + className: "SqlPoolTableListResult", modelProperties: { - concurrentJobsLimit: { - serializedName: "concurrentJobsLimit", - constraints: { - InclusiveMinimum: 1 - }, + value: { + readOnly: true, + serializedName: "", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SqlPoolTable" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" } } } } }; -export const IntegrationRuntimeStatusResponse: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeStatusResponse", +export const SqlPoolColumnListResult: msRest.CompositeMapper = { + serializedName: "SqlPoolColumnListResult", type: { name: "Composite", - className: "IntegrationRuntimeStatusResponse", + className: "SqlPoolColumnListResult", modelProperties: { - name: { + value: { readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - properties: { - required: true, - serializedName: "properties", + serializedName: "", type: { - name: "Composite", - className: "IntegrationRuntimeStatus", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "SqlPoolColumn" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const SsisObjectMetadataStatusResponse: msRest.CompositeMapper = { - serializedName: "SsisObjectMetadataStatusResponse", +export const SqlPoolVulnerabilityAssessmentListResult: msRest.CompositeMapper = { + serializedName: "SqlPoolVulnerabilityAssessmentListResult", type: { name: "Composite", - className: "SsisObjectMetadataStatusResponse", + className: "SqlPoolVulnerabilityAssessmentListResult", modelProperties: { - status: { - serializedName: "status", + value: { + readOnly: true, + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SqlPoolVulnerabilityAssessment" + } + } } }, - name: { - serializedName: "name", + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } - }, - properties: { - serializedName: "properties", + } + } + } +}; + +export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanRecordListResult", + type: { + name: "Composite", + className: "VulnerabilityAssessmentScanRecordListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VulnerabilityAssessmentScanRecord" + } + } } }, - error: { - serializedName: "error", + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } @@ -4634,76 +6390,58 @@ export const SsisObjectMetadataStatusResponse: msRest.CompositeMapper = { } }; -export const PrivateLinkResourceProperties: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceProperties", +export const ListSqlPoolSecurityAlertPolicies: msRest.CompositeMapper = { + serializedName: "ListSqlPoolSecurityAlertPolicies", type: { name: "Composite", - className: "PrivateLinkResourceProperties", + className: "ListSqlPoolSecurityAlertPolicies", modelProperties: { - groupId: { - readOnly: true, - serializedName: "groupId", - type: { - name: "String" - } - }, - requiredMembers: { + value: { readOnly: true, - serializedName: "requiredMembers", + serializedName: "", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SqlPoolSecurityAlertPolicy" } } } }, - requiredZoneNames: { + nextLink: { readOnly: true, - serializedName: "requiredZoneNames", + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const PrivateLinkResource: msRest.CompositeMapper = { - serializedName: "PrivateLinkResource", +export const ExtendedSqlPoolBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "ExtendedSqlPoolBlobAuditingPolicyListResult", type: { name: "Composite", - className: "PrivateLinkResource", + className: "ExtendedSqlPoolBlobAuditingPolicyListResult", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { + value: { readOnly: true, - serializedName: "properties", + serializedName: "", type: { - name: "Composite", - className: "PrivateLinkResourceProperties" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExtendedSqlPoolBlobAuditingPolicy" + } + } } - } - } - } -}; - -export const PrivateLinkHub: msRest.CompositeMapper = { - serializedName: "PrivateLinkHub", - type: { - name: "Composite", - className: "PrivateLinkHub", - modelProperties: { - ...TrackedResource.type.modelProperties, - provisioningState: { + }, + nextLink: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "nextLink", type: { name: "String" } @@ -4712,19 +6450,20 @@ export const PrivateLinkHub: msRest.CompositeMapper = { } }; -export const PrivateLinkHubPatchInfo: msRest.CompositeMapper = { - serializedName: "PrivateLinkHubPatchInfo", +export const DataMaskingRuleListResult: msRest.CompositeMapper = { + serializedName: "DataMaskingRuleListResult", type: { name: "Composite", - className: "PrivateLinkHubPatchInfo", + className: "DataMaskingRuleListResult", modelProperties: { - tags: { - serializedName: "tags", + value: { + serializedName: "", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "DataMaskingRule" } } } @@ -4733,67 +6472,71 @@ export const PrivateLinkHubPatchInfo: msRest.CompositeMapper = { } }; -export const BigDataPoolResourceInfoListResult: msRest.CompositeMapper = { - serializedName: "BigDataPoolResourceInfoListResult", +export const WorkloadGroupListResult: msRest.CompositeMapper = { + serializedName: "WorkloadGroupListResult", type: { name: "Composite", - className: "BigDataPoolResourceInfoListResult", + className: "WorkloadGroupListResult", modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - }, value: { + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "BigDataPoolResourceInfo" + className: "WorkloadGroup" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const IpFirewallRuleInfoListResult: msRest.CompositeMapper = { - serializedName: "IpFirewallRuleInfoListResult", +export const WorkloadClassifierListResult: msRest.CompositeMapper = { + serializedName: "WorkloadClassifierListResult", type: { name: "Composite", - className: "IpFirewallRuleInfoListResult", + className: "WorkloadClassifierListResult", modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - }, value: { + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IpFirewallRuleInfo" + className: "WorkloadClassifier" } } } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const SqlPoolInfoListResult: msRest.CompositeMapper = { - serializedName: "SqlPoolInfoListResult", +export const WorkspaceInfoListResult: msRest.CompositeMapper = { + serializedName: "WorkspaceInfoListResult", type: { name: "Composite", - className: "SqlPoolInfoListResult", + className: "WorkspaceInfoListResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -4808,7 +6551,7 @@ export const SqlPoolInfoListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SqlPool" + className: "Workspace" } } } @@ -4817,56 +6560,49 @@ export const SqlPoolInfoListResult: msRest.CompositeMapper = { } }; -export const RestorePointListResult: msRest.CompositeMapper = { - serializedName: "RestorePointListResult", +export const RestorableDroppedSqlPoolListResult: msRest.CompositeMapper = { + serializedName: "RestorableDroppedSqlPoolListResult", type: { name: "Composite", - className: "RestorePointListResult", + className: "RestorableDroppedSqlPoolListResult", modelProperties: { value: { - readOnly: true, + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RestorePoint" + className: "RestorableDroppedSqlPool" } } } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const ReplicationLinkListResult: msRest.CompositeMapper = { - serializedName: "ReplicationLinkListResult", +export const IntegrationRuntimeListResponse: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeListResponse", type: { name: "Composite", - className: "ReplicationLinkListResult", + className: "IntegrationRuntimeListResponse", modelProperties: { value: { + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ReplicationLink" + className: "IntegrationRuntimeResource" } } } }, nextLink: { - readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -4876,11 +6612,11 @@ export const ReplicationLinkListResult: msRest.CompositeMapper = { } }; -export const SqlPoolBlobAuditingPolicySqlPoolOperationListResult: msRest.CompositeMapper = { - serializedName: "SqlPoolBlobAuditingPolicySqlPoolOperationListResult", +export const PrivateLinkResourceListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceListResult", type: { name: "Composite", - className: "SqlPoolBlobAuditingPolicySqlPoolOperationListResult", + className: "PrivateLinkResourceListResult", modelProperties: { value: { readOnly: true, @@ -4890,7 +6626,7 @@ export const SqlPoolBlobAuditingPolicySqlPoolOperationListResult: msRest.Composi element: { type: { name: "Composite", - className: "SqlPoolOperation" + className: "PrivateLinkResource" } } } @@ -4906,21 +6642,21 @@ export const SqlPoolBlobAuditingPolicySqlPoolOperationListResult: msRest.Composi } }; -export const SqlPoolUsageListResult: msRest.CompositeMapper = { - serializedName: "SqlPoolUsageListResult", +export const PrivateEndpointConnectionList: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionList", type: { name: "Composite", - className: "SqlPoolUsageListResult", + className: "PrivateEndpointConnectionList", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SqlPoolUsage" + className: "PrivateEndpointConnection" } } } @@ -4936,57 +6672,53 @@ export const SqlPoolUsageListResult: msRest.CompositeMapper = { } }; -export const SensitivityLabelListResult: msRest.CompositeMapper = { - serializedName: "SensitivityLabelListResult", +export const PrivateLinkHubInfoListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkHubInfoListResult", type: { name: "Composite", - className: "SensitivityLabelListResult", + className: "PrivateLinkHubInfoListResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, value: { - readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SensitivityLabel" + className: "PrivateLinkHub" } } } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const SqlPoolSchemaListResult: msRest.CompositeMapper = { - serializedName: "SqlPoolSchemaListResult", +export const PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionForPrivateLinkHub_ResourceCollectionResponse", type: { name: "Composite", - className: "SqlPoolSchemaListResult", + className: "PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse", modelProperties: { value: { - readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SqlPoolSchema" + className: "PrivateEndpointConnectionForPrivateLinkHub" } } } }, nextLink: { - readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -4996,11 +6728,11 @@ export const SqlPoolSchemaListResult: msRest.CompositeMapper = { } }; -export const SqlPoolTableListResult: msRest.CompositeMapper = { - serializedName: "SqlPoolTableListResult", +export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "ServerBlobAuditingPolicyListResult", type: { name: "Composite", - className: "SqlPoolTableListResult", + className: "ServerBlobAuditingPolicyListResult", modelProperties: { value: { readOnly: true, @@ -5010,7 +6742,7 @@ export const SqlPoolTableListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SqlPoolTable" + className: "ServerBlobAuditingPolicy" } } } @@ -5026,11 +6758,11 @@ export const SqlPoolTableListResult: msRest.CompositeMapper = { } }; -export const SqlPoolColumnListResult: msRest.CompositeMapper = { - serializedName: "SqlPoolColumnListResult", +export const ExtendedServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { + serializedName: "ExtendedServerBlobAuditingPolicyListResult", type: { name: "Composite", - className: "SqlPoolColumnListResult", + className: "ExtendedServerBlobAuditingPolicyListResult", modelProperties: { value: { readOnly: true, @@ -5040,7 +6772,7 @@ export const SqlPoolColumnListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SqlPoolColumn" + className: "ExtendedServerBlobAuditingPolicy" } } } @@ -5056,11 +6788,11 @@ export const SqlPoolColumnListResult: msRest.CompositeMapper = { } }; -export const SqlPoolVulnerabilityAssessmentListResult: msRest.CompositeMapper = { - serializedName: "SqlPoolVulnerabilityAssessmentListResult", +export const ServerSecurityAlertPolicyListResult: msRest.CompositeMapper = { + serializedName: "ServerSecurityAlertPolicyListResult", type: { name: "Composite", - className: "SqlPoolVulnerabilityAssessmentListResult", + className: "ServerSecurityAlertPolicyListResult", modelProperties: { value: { readOnly: true, @@ -5070,7 +6802,7 @@ export const SqlPoolVulnerabilityAssessmentListResult: msRest.CompositeMapper = element: { type: { name: "Composite", - className: "SqlPoolVulnerabilityAssessment" + className: "ServerSecurityAlertPolicy" } } } @@ -5086,11 +6818,11 @@ export const SqlPoolVulnerabilityAssessmentListResult: msRest.CompositeMapper = } }; -export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanRecordListResult", +export const ServerVulnerabilityAssessmentListResult: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessmentListResult", type: { name: "Composite", - className: "VulnerabilityAssessmentScanRecordListResult", + className: "ServerVulnerabilityAssessmentListResult", modelProperties: { value: { readOnly: true, @@ -5100,7 +6832,7 @@ export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper element: { type: { name: "Composite", - className: "VulnerabilityAssessmentScanRecord" + className: "ServerVulnerabilityAssessment" } } } @@ -5116,54 +6848,27 @@ export const VulnerabilityAssessmentScanRecordListResult: msRest.CompositeMapper } }; -export const WorkspaceInfoListResult: msRest.CompositeMapper = { - serializedName: "WorkspaceInfoListResult", - type: { - name: "Composite", - className: "WorkspaceInfoListResult", - modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - }, - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Workspace" - } - } - } - } - } - } -}; - -export const IntegrationRuntimeListResponse: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeListResponse", +export const EncryptionProtectorListResult: msRest.CompositeMapper = { + serializedName: "EncryptionProtectorListResult", type: { name: "Composite", - className: "IntegrationRuntimeListResponse", + className: "EncryptionProtectorListResult", modelProperties: { value: { - required: true, + readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IntegrationRuntimeResource" + className: "EncryptionProtector" } } } }, nextLink: { + readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -5173,21 +6878,21 @@ export const IntegrationRuntimeListResponse: msRest.CompositeMapper = { } }; -export const PrivateLinkResourceListResult: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceListResult", +export const ServerUsageListResult: msRest.CompositeMapper = { + serializedName: "ServerUsageListResult", type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "ServerUsageListResult", modelProperties: { value: { - readOnly: true, + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PrivateLinkResource" + className: "ServerUsage" } } } @@ -5203,11 +6908,11 @@ export const PrivateLinkResourceListResult: msRest.CompositeMapper = { } }; -export const PrivateEndpointConnectionList: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionList", +export const RecoverableSqlPoolListResult: msRest.CompositeMapper = { + serializedName: "RecoverableSqlPoolListResult", type: { name: "Composite", - className: "PrivateEndpointConnectionList", + className: "RecoverableSqlPoolListResult", modelProperties: { value: { readOnly: true, @@ -5217,7 +6922,7 @@ export const PrivateEndpointConnectionList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateEndpointConnection" + className: "RecoverableSqlPool" } } } @@ -5233,11 +6938,11 @@ export const PrivateEndpointConnectionList: msRest.CompositeMapper = { } }; -export const PrivateLinkHubInfoListResult: msRest.CompositeMapper = { - serializedName: "PrivateLinkHubInfoListResult", +export const KeyInfoListResult: msRest.CompositeMapper = { + serializedName: "KeyInfoListResult", type: { name: "Composite", - className: "PrivateLinkHubInfoListResult", + className: "KeyInfoListResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -5252,7 +6957,7 @@ export const PrivateLinkHubInfoListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateLinkHub" + className: "Key" } } } diff --git a/sdk/synapse/arm-synapse/src/models/operationsMappers.ts b/sdk/synapse/arm-synapse/src/models/operationsMappers.ts index 879b08490b1d..d561d1e188c3 100644 --- a/sdk/synapse/arm-synapse/src/models/operationsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/operationsMappers.ts @@ -12,7 +12,6 @@ export { AvailableRpOperationDisplayInfo, CheckNameAvailabilityRequest, CheckNameAvailabilityResponse, - CloudError, ErrorAdditionalInfo, ErrorContract, ErrorDetail, diff --git a/sdk/synapse/arm-synapse/src/models/parameters.ts b/sdk/synapse/arm-synapse/src/models/parameters.ts index f59e5831730f..959f66005a77 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: { @@ -102,6 +124,18 @@ export const dataWarehouseUserActivityName: msRest.OperationURLParameter = { } } }; +export const encryptionProtectorName: msRest.OperationURLParameter = { + parameterPath: "encryptionProtectorName", + mapper: { + required: true, + isConstant: true, + serializedName: "encryptionProtectorName", + defaultValue: 'current', + type: { + name: "String" + } + } +}; export const filter: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -185,6 +219,26 @@ export const integrationRuntimeName: msRest.OperationURLParameter = { } } }; +export const keyName: msRest.OperationURLParameter = { + parameterPath: "keyName", + mapper: { + required: true, + serializedName: "keyName", + type: { + name: "String" + } + } +}; +export const linkId: msRest.OperationURLParameter = { + parameterPath: "linkId", + mapper: { + required: true, + serializedName: "linkId", + type: { + name: "String" + } + } +}; export const nextPageLink: msRest.OperationURLParameter = { parameterPath: "nextPageLink", mapper: { @@ -261,6 +315,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: { @@ -301,7 +375,7 @@ export const schemaName: msRest.OperationURLParameter = { } } }; -export const securityAlertPolicyName: msRest.OperationURLParameter = { +export const securityAlertPolicyName0: msRest.OperationURLParameter = { parameterPath: "securityAlertPolicyName", mapper: { required: true, @@ -313,6 +387,18 @@ export const securityAlertPolicyName: msRest.OperationURLParameter = { } } }; +export const securityAlertPolicyName1: msRest.OperationURLParameter = { + parameterPath: "securityAlertPolicyName", + mapper: { + required: true, + isConstant: true, + serializedName: "securityAlertPolicyName", + defaultValue: 'Default', + type: { + name: "String" + } + } +}; export const sensitivityLabelSource0: msRest.OperationURLParameter = { parameterPath: "sensitivityLabelSource", mapper: { @@ -326,6 +412,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, @@ -349,6 +449,16 @@ export const skipToken: msRest.OperationQueryParameter = { } } }; +export const sqlComputeName: msRest.OperationURLParameter = { + parameterPath: "sqlComputeName", + mapper: { + required: true, + serializedName: "sqlComputeName", + type: { + name: "String" + } + } +}; export const sqlPoolName: msRest.OperationURLParameter = { parameterPath: "sqlPoolName", mapper: { @@ -406,6 +516,26 @@ export const vulnerabilityAssessmentName: msRest.OperationURLParameter = { } } }; +export const workloadClassifierName: msRest.OperationURLParameter = { + parameterPath: "workloadClassifierName", + mapper: { + required: true, + serializedName: "workloadClassifierName", + type: { + name: "String" + } + } +}; +export const workloadGroupName: msRest.OperationURLParameter = { + parameterPath: "workloadGroupName", + mapper: { + required: true, + serializedName: "workloadGroupName", + type: { + name: "String" + } + } +}; export const workspaceName: msRest.OperationURLParameter = { parameterPath: "workspaceName", mapper: { diff --git a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts index 26864d10de7a..ddf73e946c13 100644 --- a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts @@ -11,19 +11,27 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorDetail, ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +43,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -43,23 +52,31 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, OperationResource, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateEndpointConnectionList, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -80,6 +97,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts new file mode 100644 index 000000000000..ddd0140e2ba5 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts @@ -0,0 +1,104 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts b/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts index eed25fd764c1..f3e7ae3b6b04 100644 --- a/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts @@ -11,19 +11,26 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, - CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +42,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -43,9 +51,12 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkHubInfoListResult, PrivateLinkHubPatchInfo, @@ -53,13 +64,18 @@ export { PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -80,6 +96,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts b/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts index 2cf3807756af..da24ff24d2da 100644 --- a/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts @@ -11,16 +11,26 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, - CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +42,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,22 +51,30 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceListResult, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -76,6 +95,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; 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..38211de3140d --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts @@ -0,0 +1,104 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorableDroppedSqlPoolListResult, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} 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..bcd0269ff279 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +40,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,24 +49,33 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, + SqlPoolBlobAuditingPolicyListResult, SqlPoolColumn, SqlPoolConnectionPolicy, SqlPoolOperation, @@ -75,6 +93,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; 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..5758b0b3c47a --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts @@ -0,0 +1,101 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} 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..6bba6c9dd4fc 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts @@ -11,16 +11,26 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, - CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +42,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +51,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -75,6 +94,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts index a6ea0a462b3d..5758b0b3c47a 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +40,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +49,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -75,6 +92,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts index a6ea0a462b3d..2d344d1c259d 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts @@ -11,17 +11,28 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, - CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, + GeoBackupPolicyListResult, IntegrationRuntime, IntegrationRuntimeComputeProperties, IntegrationRuntimeCustomSetupScriptProperties, @@ -32,6 +43,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +52,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -75,6 +95,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts index a7b37594f162..6bba6c9dd4fc 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts @@ -11,18 +11,26 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -34,6 +42,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -42,21 +51,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -77,6 +94,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolOperationResultsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolOperationResultsMappers.ts index 3c4862aa38f6..000ec0ea27c2 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolOperationResultsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolOperationResultsMappers.ts @@ -8,5 +8,7 @@ export { discriminators, - CloudError + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts index 6adb1684666e..52968827f9f3 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +40,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +49,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -76,6 +93,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts index c7330f3a9829..45b9e213472a 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts @@ -11,16 +11,26 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, - CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +42,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,22 +51,30 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, ReplicationLinkListResult, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -76,6 +95,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts index 9fd888c2ef9f..dbf981fc764b 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts @@ -11,17 +11,28 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, CreateSqlPoolRestorePointDefinition, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -33,6 +44,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -41,22 +53,30 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, RestorePointListResult, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -77,6 +97,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts index 2dd1feebdb92..6fa1cfd83274 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +40,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +49,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -76,6 +93,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts index a6ea0a462b3d..5c46075915bf 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,29 +40,39 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, + ListSqlPoolSecurityAlertPolicies, ManagedIdentity, ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -75,6 +93,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts index 2c72c61ace98..300f53812c36 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts @@ -11,16 +11,27 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +43,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,22 +52,30 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, SensitivityLabelListResult, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -76,6 +96,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts index 3b40d9ce477a..4d765b725025 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +40,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +49,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -76,6 +93,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts index bb2732885d25..4c5564228952 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +40,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +49,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -76,6 +93,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts index a6ea0a462b3d..c0937257e99e 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts @@ -11,16 +11,27 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +43,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +52,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -71,10 +91,15 @@ export { SubResource, TrackedResource, TransparentDataEncryption, + TransparentDataEncryptionListResult, VirtualNetworkProfile, VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolUsagesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolUsagesMappers.ts index 3001b1db4e00..309a6b0272fc 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolUsagesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolUsagesMappers.ts @@ -8,7 +8,9 @@ export { discriminators, - CloudError, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, SqlPoolUsage, SqlPoolUsageListResult } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts index a6ea0a462b3d..5758b0b3c47a 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +40,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +49,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -75,6 +92,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts index 826065648221..c78bc3f2011d 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +40,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +49,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -76,6 +93,10 @@ export { VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, VulnerabilityAssessmentScanRecordListResult, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts index 31e3bc22c2fe..2a3f2fb9eb1e 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts @@ -11,16 +11,24 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -32,6 +40,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -40,21 +49,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -76,6 +93,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts new file mode 100644 index 000000000000..5a031916abc9 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts @@ -0,0 +1,102 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadClassifierListResult, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts new file mode 100644 index 000000000000..7f3f9884783d --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts @@ -0,0 +1,102 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + WorkloadGroupListResult, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts index eefe3d11a4d3..d925f59f3d3e 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts @@ -11,19 +11,27 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +43,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -43,22 +52,30 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, ResourceMoveDefinition, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -81,6 +98,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts index a2df50e620d3..6bba6c9dd4fc 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts @@ -11,19 +11,26 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, - CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +42,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -43,21 +51,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -78,6 +94,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts index a7b37594f162..6bba6c9dd4fc 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts @@ -11,18 +11,26 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -34,6 +42,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -42,21 +51,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -77,6 +94,10 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, - WorkspaceAadAdminInfo + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts new file mode 100644 index 000000000000..52a43776f479 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts @@ -0,0 +1,102 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerBlobAuditingPolicyListResult, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts new file mode 100644 index 000000000000..2725b76dcac6 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts @@ -0,0 +1,102 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EncryptionProtectorListResult, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts new file mode 100644 index 000000000000..9fd58ebd3265 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts @@ -0,0 +1,102 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedServerBlobAuditingPolicyListResult, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlpoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlpoolsMappers.ts new file mode 100644 index 000000000000..6a2f284b4198 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlpoolsMappers.ts @@ -0,0 +1,102 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + RecoverableSqlPoolListResult, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts new file mode 100644 index 000000000000..6c47f76dd12d --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts @@ -0,0 +1,102 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerSecurityAlertPolicyListResult, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerUsagesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerUsagesMappers.ts new file mode 100644 index 000000000000..d16617ebc959 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerUsagesMappers.ts @@ -0,0 +1,14 @@ +/* + * 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, + CloudError, + ServerUsage, + ServerUsageListResult +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts new file mode 100644 index 000000000000..e844e9b2a9af --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts @@ -0,0 +1,102 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + ServerVulnerabilityAssessmentListResult, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedqlServerBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedqlServerBlobAuditingPoliciesMappers.ts new file mode 100644 index 000000000000..5758b0b3c47a --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedqlServerBlobAuditingPoliciesMappers.ts @@ -0,0 +1,101 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CloudError, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts new file mode 100644 index 000000000000..6bba6c9dd4fc --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts @@ -0,0 +1,103 @@ +/* + * 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, + BabylonConfiguration, + BaseResource, + BigDataPoolResourceInfo, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorContract, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryRequirements, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, + Sku, + SqlPool, + SqlPoolBlobAuditingPolicy, + SqlPoolColumn, + SqlPoolConnectionPolicy, + SqlPoolOperation, + SqlPoolSchema, + SqlPoolSecurityAlertPolicy, + SqlPoolTable, + SqlPoolVulnerabilityAssessment, + SqlPoolVulnerabilityAssessmentRuleBaseline, + SqlPoolVulnerabilityAssessmentRuleBaselineItem, + SqlPoolVulnerabilityAssessmentScansExport, + SubResource, + TrackedResource, + TransparentDataEncryption, + VirtualNetworkProfile, + VulnerabilityAssessmentRecurringScansProperties, + VulnerabilityAssessmentScanError, + VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, + Workspace, + WorkspaceAadAdminInfo, + WorkspaceKeyDetails, + WorkspaceRepositoryConfiguration +} from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts index 6580e9bfa9a0..1633b96e632d 100644 --- a/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts @@ -11,19 +11,26 @@ export { AutoPauseProperties, AutoScaleProperties, AzureEntityResource, + BabylonConfiguration, BaseResource, BigDataPoolResourceInfo, - CloudError, CmdkeySetup, ComponentSetup, + CustomerManagedKeyDetails, CustomSetupBase, DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, DataWarehouseUserActivities, + EncryptionDetails, + EncryptionProtector, EntityReference, EnvironmentVariableSetup, ErrorAdditionalInfo, ErrorContract, ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, GeoBackupPolicy, IntegrationRuntime, IntegrationRuntimeComputeProperties, @@ -35,6 +42,7 @@ export { IntegrationRuntimeSsisProperties, IntegrationRuntimeVNetProperties, IpFirewallRuleInfo, + Key, LibraryRequirements, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -43,21 +51,29 @@ export { ManagedIdentitySqlControlSettingsModel, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, MetadataSyncConfig, PrivateEndpoint, PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, PrivateLinkHub, PrivateLinkResource, PrivateLinkResourceProperties, PrivateLinkServiceConnectionState, ProxyResource, + RecoverableSqlPool, ReplicationLink, Resource, + RestorableDroppedSqlPool, RestorePoint, SecretBase, SecureString, SelfHostedIntegrationRuntime, SensitivityLabel, + ServerBlobAuditingPolicy, + ServerSecurityAlertPolicy, + ServerVulnerabilityAssessment, Sku, SqlPool, SqlPoolBlobAuditingPolicy, @@ -78,8 +94,12 @@ export { VulnerabilityAssessmentRecurringScansProperties, VulnerabilityAssessmentScanError, VulnerabilityAssessmentScanRecord, + WorkloadClassifier, + WorkloadGroup, Workspace, WorkspaceAadAdminInfo, WorkspaceInfoListResult, - WorkspacePatchInfo + WorkspaceKeyDetails, + WorkspacePatchInfo, + WorkspaceRepositoryConfiguration } from "../models/mappers"; diff --git a/sdk/synapse/arm-synapse/src/operations/bigDataPools.ts b/sdk/synapse/arm-synapse/src/operations/bigDataPools.ts index 8243653796e8..64d70c71f87a 100644 --- a/sdk/synapse/arm-synapse/src/operations/bigDataPools.ts +++ b/sdk/synapse/arm-synapse/src/operations/bigDataPools.ts @@ -320,7 +320,7 @@ const listByWorkspaceOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.BigDataPoolResourceInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -421,7 +421,7 @@ const listByWorkspaceNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.BigDataPoolResourceInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer 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..e609c3448a44 100644 --- a/sdk/synapse/arm-synapse/src/operations/index.ts +++ b/sdk/synapse/arm-synapse/src/operations/index.ts @@ -30,9 +30,17 @@ 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 "./sqlPoolWorkloadGroup"; +export * from "./sqlPoolWorkloadClassifier"; export * from "./workspaces"; export * from "./workspaceAadAdmins"; +export * from "./workspaceSqlAadAdmins"; export * from "./workspaceManagedIdentitySqlControlSettings"; +export * from "./restorableDroppedSqlPools"; export * from "./integrationRuntimes"; export * from "./integrationRuntimeNodeIpAddressOperations"; export * from "./integrationRuntimeObjectMetadata"; @@ -45,3 +53,13 @@ export * from "./integrationRuntimeStatusOperations"; export * from "./privateLinkResources"; export * from "./privateEndpointConnections"; export * from "./privateLinkHubs"; +export * from "./privateEndpointConnectionsPrivateLinkHub"; +export * from "./workspaceManagedSqlServerBlobAuditingPolicies"; +export * from "./workspaceManagedqlServerBlobAuditingPolicies"; +export * from "./workspaceManagedSqlServerExtendedBlobAuditingPolicies"; +export * from "./workspaceManagedSqlServerSecurityAlertPolicy"; +export * from "./workspaceManagedSqlServerVulnerabilityAssessments"; +export * from "./workspaceManagedSqlServerEncryptionProtector"; +export * from "./workspaceManagedSqlServerUsages"; +export * from "./workspaceManagedSqlServerRecoverableSqlpools"; +export * from "./keys"; diff --git a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeAuthKeysOperations.ts b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeAuthKeysOperations.ts index 3bdb331717ef..0aaa11060d87 100644 --- a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeAuthKeysOperations.ts +++ b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeAuthKeysOperations.ts @@ -29,7 +29,7 @@ export class IntegrationRuntimeAuthKeysOperations { * Regenerate the authentication key for an integration runtime * @summary Regenerate integration runtime authentication key * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param regenerateKeyParameters The parameters for regenerating integration runtime * authentication key. @@ -39,7 +39,7 @@ export class IntegrationRuntimeAuthKeysOperations { regenerate(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, regenerateKeyParameters: Models.IntegrationRuntimeRegenerateKeyParameters, 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param regenerateKeyParameters The parameters for regenerating integration runtime * authentication key. @@ -48,7 +48,7 @@ export class IntegrationRuntimeAuthKeysOperations { regenerate(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, regenerateKeyParameters: Models.IntegrationRuntimeRegenerateKeyParameters, 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param regenerateKeyParameters The parameters for regenerating integration runtime * authentication key. @@ -73,7 +73,7 @@ export class IntegrationRuntimeAuthKeysOperations { * List authentication keys in an integration runtime * @summary List integration runtime authentication keys * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters * @returns Promise @@ -81,14 +81,14 @@ export class IntegrationRuntimeAuthKeysOperations { list(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param callback The callback */ list(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param options The optional parameters * @param callback The callback diff --git a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeConnectionInfos.ts b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeConnectionInfos.ts index 185d4aee0383..7f8c9e6c29bc 100644 --- a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeConnectionInfos.ts +++ b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeConnectionInfos.ts @@ -29,7 +29,7 @@ export class IntegrationRuntimeConnectionInfos { * Get connection info for an integration runtime * @summary Get integration runtime connection info * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters * @returns Promise @@ -37,14 +37,14 @@ export class IntegrationRuntimeConnectionInfos { get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param options The optional parameters * @param callback The callback diff --git a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeCredentials.ts b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeCredentials.ts index e54b26a51b9e..acb5055e50e3 100644 --- a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeCredentials.ts +++ b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeCredentials.ts @@ -31,7 +31,7 @@ export class IntegrationRuntimeCredentials { * import it (preferred) on any self-hosted integration runtime node than using this API directly. * @summary Sync integration runtime credentials * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters * @returns Promise @@ -39,14 +39,14 @@ export class IntegrationRuntimeCredentials { sync(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param callback The callback */ sync(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param options The optional parameters * @param callback The callback diff --git a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeMonitoringDataOperations.ts b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeMonitoringDataOperations.ts index ddb220d73f36..903f193ca712 100644 --- a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeMonitoringDataOperations.ts +++ b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeMonitoringDataOperations.ts @@ -29,28 +29,28 @@ export class IntegrationRuntimeMonitoringDataOperations { * Get monitoring data for an integration runtime * @summary Get integration runtime monitoring data * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise; + list(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param callback The callback */ - get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -58,14 +58,14 @@ export class IntegrationRuntimeMonitoringDataOperations { integrationRuntimeName, options }, - getOperationSpec, - callback) as Promise; + listOperationSpec, + callback) as Promise; } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const getOperationSpec: msRest.OperationSpec = { +const listOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/monitoringData", urlParameters: [ diff --git a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeNodeIpAddressOperations.ts b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeNodeIpAddressOperations.ts index ecbcb6a3b814..455a675d936e 100644 --- a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeNodeIpAddressOperations.ts +++ b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeNodeIpAddressOperations.ts @@ -29,7 +29,7 @@ export class IntegrationRuntimeNodeIpAddressOperations { * Get the IP address of an integration runtime node * @summary Get integration runtime node IP address * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param [options] The optional parameters @@ -38,7 +38,7 @@ export class IntegrationRuntimeNodeIpAddressOperations { get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, nodeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param callback The callback @@ -46,7 +46,7 @@ export class IntegrationRuntimeNodeIpAddressOperations { get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, nodeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param options The optional parameters diff --git a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeNodes.ts b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeNodes.ts index c3b4f2653e98..a9d31a970baa 100644 --- a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeNodes.ts +++ b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeNodes.ts @@ -29,7 +29,7 @@ export class IntegrationRuntimeNodes { * Get an integration runtime node * @summary Get integration runtime node * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param [options] The optional parameters @@ -38,7 +38,7 @@ export class IntegrationRuntimeNodes { get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, nodeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param callback The callback @@ -46,7 +46,7 @@ export class IntegrationRuntimeNodes { get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, nodeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param options The optional parameters @@ -70,7 +70,7 @@ export class IntegrationRuntimeNodes { * Create an integration runtime node * @summary Create integration runtime node * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param updateIntegrationRuntimeNodeRequest The parameters for updating an integration runtime @@ -81,7 +81,7 @@ export class IntegrationRuntimeNodes { update(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, nodeName: string, updateIntegrationRuntimeNodeRequest: Models.UpdateIntegrationRuntimeNodeRequest, 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param updateIntegrationRuntimeNodeRequest The parameters for updating an integration runtime @@ -91,7 +91,7 @@ export class IntegrationRuntimeNodes { update(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, nodeName: string, updateIntegrationRuntimeNodeRequest: Models.UpdateIntegrationRuntimeNodeRequest, 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param updateIntegrationRuntimeNodeRequest The parameters for updating an integration runtime @@ -118,7 +118,7 @@ export class IntegrationRuntimeNodes { * Delete an integration runtime node * @summary Delete integration runtime node * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param [options] The optional parameters @@ -127,7 +127,7 @@ export class IntegrationRuntimeNodes { deleteMethod(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, nodeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param callback The callback @@ -135,7 +135,7 @@ export class IntegrationRuntimeNodes { deleteMethod(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, nodeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param nodeName Integration runtime node name * @param options The optional parameters diff --git a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeObjectMetadata.ts b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeObjectMetadata.ts index eeed1509a63a..3e04f627c407 100644 --- a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeObjectMetadata.ts +++ b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeObjectMetadata.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/integrationRuntimeObjectMetadataMappers"; import * as Parameters from "../models/parameters"; @@ -29,28 +30,28 @@ export class IntegrationRuntimeObjectMetadata { * Get object metadata from an integration runtime * @summary Get integration runtime object metadata * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimeObjectMetadataGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimeObjectMetadataListOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param callback The callback */ - get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options: Models.IntegrationRuntimeObjectMetadataGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimeObjectMetadataGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + list(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options: Models.IntegrationRuntimeObjectMetadataListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimeObjectMetadataListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -58,51 +59,49 @@ export class IntegrationRuntimeObjectMetadata { integrationRuntimeName, options }, - getOperationSpec, - callback) as Promise; + listOperationSpec, + callback) as Promise; } /** * Refresh the object metadata in an integration runtime * @summary Refresh integration runtime object metadata * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters * @returns Promise */ - refresh(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 integrationRuntimeName Integration runtime name - * @param callback The callback - */ - refresh(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; + refresh(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRefresh(resourceGroupName,workspaceName,integrationRuntimeName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** + * Refresh the object metadata in an integration runtime + * @summary Refresh integration runtime object metadata * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name - * @param options The optional parameters - * @param callback The callback + * @param [options] The optional parameters + * @returns Promise */ - refresh(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - refresh(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( + beginRefresh(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( { resourceGroupName, workspaceName, integrationRuntimeName, options }, - refreshOperationSpec, - callback) as Promise; + beginRefreshOperationSpec, + options); } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const getOperationSpec: msRest.OperationSpec = { +const listOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata", urlParameters: [ @@ -135,7 +134,7 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; -const refreshOperationSpec: msRest.OperationSpec = { +const beginRefreshOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata", urlParameters: [ diff --git a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeStatusOperations.ts b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeStatusOperations.ts index 9f9da084fa0a..019aac4babe6 100644 --- a/sdk/synapse/arm-synapse/src/operations/integrationRuntimeStatusOperations.ts +++ b/sdk/synapse/arm-synapse/src/operations/integrationRuntimeStatusOperations.ts @@ -29,7 +29,7 @@ export class IntegrationRuntimeStatusOperations { * Get the integration runtime status * @summary Get integration runtime status * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters * @returns Promise @@ -37,14 +37,14 @@ export class IntegrationRuntimeStatusOperations { get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param options The optional parameters * @param callback The callback diff --git a/sdk/synapse/arm-synapse/src/operations/integrationRuntimes.ts b/sdk/synapse/arm-synapse/src/operations/integrationRuntimes.ts index 21a0381bfdfc..aa2b87b82015 100644 --- a/sdk/synapse/arm-synapse/src/operations/integrationRuntimes.ts +++ b/sdk/synapse/arm-synapse/src/operations/integrationRuntimes.ts @@ -30,7 +30,7 @@ export class IntegrationRuntimes { * Update an integration runtime * @summary Update integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime. * @param [options] The optional parameters @@ -39,7 +39,7 @@ export class IntegrationRuntimes { update(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: Models.UpdateIntegrationRuntimeRequest, 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime. * @param callback The callback @@ -47,7 +47,7 @@ export class IntegrationRuntimes { update(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: Models.UpdateIntegrationRuntimeRequest, 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime. * @param options The optional parameters @@ -71,7 +71,7 @@ export class IntegrationRuntimes { * Get an integration runtime * @summary Get integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters * @returns Promise @@ -79,14 +79,14 @@ export class IntegrationRuntimes { get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimesGetOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param options The optional parameters * @param callback The callback @@ -108,7 +108,7 @@ export class IntegrationRuntimes { * Create an integration runtime * @summary Create integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param integrationRuntime Integration runtime resource definition. * @param [options] The optional parameters @@ -123,7 +123,7 @@ export class IntegrationRuntimes { * Delete an integration runtime * @summary Delete integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters * @returns Promise @@ -137,7 +137,7 @@ export class IntegrationRuntimes { * Upgrade an integration runtime * @summary Upgrade integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters * @returns Promise @@ -145,14 +145,14 @@ export class IntegrationRuntimes { upgrade(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param callback The callback */ upgrade(resourceGroupName: string, workspaceName: string, integrationRuntimeName: 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 workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param options The optional parameters * @param callback The callback @@ -174,20 +174,20 @@ export class IntegrationRuntimes { * List all integration runtimes * @summary List integration runtimes * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @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 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 workspaceName The name of the workspace. * @param options The optional parameters * @param callback The callback */ @@ -207,109 +207,171 @@ export class IntegrationRuntimes { * Start an integration runtime * @summary Start integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters * @returns Promise */ - start(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise; + start(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginStart(resourceGroupName,workspaceName,integrationRuntimeName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** + * Stop an integration runtime + * @summary Stop integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name - * @param callback The callback + * @param [options] The optional parameters + * @returns Promise */ - start(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; + stop(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginStop(resourceGroupName,workspaceName,integrationRuntimeName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** + * Enable interactive query in integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name - * @param options The optional parameters - * @param callback The callback + * @param [options] The optional parameters + * @returns Promise */ - start(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - start(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( + enableInteractiveQuery(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginEnableInteractiveQuery(resourceGroupName,workspaceName,integrationRuntimeName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Disable interactive query in integration runtime + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param integrationRuntimeName Integration runtime name + * @param [options] The optional parameters + * @returns Promise + */ + disableInteractiveQuery(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDisableInteractiveQuery(resourceGroupName,workspaceName,integrationRuntimeName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Create an integration runtime + * @summary Create integration runtime + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param integrationRuntimeName Integration runtime name + * @param integrationRuntime Integration runtime resource definition. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreate(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, options?: Models.IntegrationRuntimesBeginCreateOptionalParams): Promise { + return this.client.sendLRORequest( { resourceGroupName, workspaceName, integrationRuntimeName, + integrationRuntime, options }, - startOperationSpec, - callback) as Promise; + beginCreateOperationSpec, + options); } /** - * Stop an integration runtime - * @summary Stop integration runtime + * Delete an integration runtime + * @summary Delete integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - stop(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise; + beginDeleteMethod(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + integrationRuntimeName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + /** + * Start an integration runtime + * @summary Start integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name - * @param callback The callback + * @param [options] The optional parameters + * @returns Promise */ - stop(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; + beginStart(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + integrationRuntimeName, + options + }, + beginStartOperationSpec, + options); + } + /** + * Stop an integration runtime + * @summary Stop integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name - * @param options The optional parameters - * @param callback The callback + * @param [options] The optional parameters + * @returns Promise */ - stop(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - stop(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( + beginStop(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( { resourceGroupName, workspaceName, integrationRuntimeName, options }, - stopOperationSpec, - callback); + beginStopOperationSpec, + options); } /** - * Create an integration runtime - * @summary Create integration runtime + * Enable interactive query in integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name - * @param integrationRuntime Integration runtime resource definition. * @param [options] The optional parameters * @returns Promise */ - beginCreate(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, options?: Models.IntegrationRuntimesBeginCreateOptionalParams): Promise { + beginEnableInteractiveQuery(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, workspaceName, integrationRuntimeName, - integrationRuntime, options }, - beginCreateOperationSpec, + beginEnableInteractiveQueryOperationSpec, options); } /** - * Delete an integration runtime - * @summary Delete integration runtime + * Disable interactive query in integration runtime * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param integrationRuntimeName Integration runtime name * @param [options] The optional parameters * @returns Promise */ - beginDeleteMethod(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + beginDisableInteractiveQuery(resourceGroupName: string, workspaceName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -317,7 +379,7 @@ export class IntegrationRuntimes { integrationRuntimeName, options }, - beginDeleteMethodOperationSpec, + beginDisableInteractiveQueryOperationSpec, options); } @@ -463,7 +525,68 @@ const listByWorkspaceOperationSpec: msRest.OperationSpec = { serializer }; -const startOperationSpec: msRest.OperationSpec = { +const beginCreateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "integrationRuntime", + mapper: { + ...Mappers.IntegrationRuntimeResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeResource + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginStartOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/start", urlParameters: [ @@ -490,7 +613,7 @@ const startOperationSpec: msRest.OperationSpec = { serializer }; -const stopOperationSpec: msRest.OperationSpec = { +const beginStopOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/stop", urlParameters: [ @@ -515,9 +638,9 @@ const stopOperationSpec: msRest.OperationSpec = { serializer }; -const beginCreateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}", +const beginEnableInteractiveQueryOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/enableInteractiveQuery", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -528,20 +651,10 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.apiVersion ], headerParameters: [ - Parameters.ifMatch, Parameters.acceptLanguage ], - requestBody: { - parameterPath: "integrationRuntime", - mapper: { - ...Mappers.IntegrationRuntimeResource, - required: true - } - }, responses: { - 200: { - bodyMapper: Mappers.IntegrationRuntimeResource - }, + 200: {}, 202: {}, default: { bodyMapper: Mappers.CloudError @@ -550,9 +663,9 @@ const beginCreateOperationSpec: msRest.OperationSpec = { serializer }; -const beginDeleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}", +const beginDisableInteractiveQueryOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/disableInteractiveQuery", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -568,7 +681,6 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { responses: { 200: {}, 202: {}, - 204: {}, default: { bodyMapper: Mappers.CloudError } diff --git a/sdk/synapse/arm-synapse/src/operations/ipFirewallRules.ts b/sdk/synapse/arm-synapse/src/operations/ipFirewallRules.ts index 66de80dd18f8..ec6651cded51 100644 --- a/sdk/synapse/arm-synapse/src/operations/ipFirewallRules.ts +++ b/sdk/synapse/arm-synapse/src/operations/ipFirewallRules.ts @@ -246,7 +246,7 @@ const listByWorkspaceOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.IpFirewallRuleInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -341,7 +341,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -398,7 +398,7 @@ const listByWorkspaceNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.IpFirewallRuleInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer diff --git a/sdk/synapse/arm-synapse/src/operations/keys.ts b/sdk/synapse/arm-synapse/src/operations/keys.ts new file mode 100644 index 000000000000..8137cb6ac3d1 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/keys.ts @@ -0,0 +1,336 @@ +/* + * 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/keysMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a Keys. */ +export class Keys { + private readonly client: SynapseManagementClientContext; + + /** + * Create a Keys. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Returns a list of keys in a workspace + * @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; + } + + /** + * Gets a workspace key + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param keyName The name of the workspace key + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, keyName: 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 keyName The name of the workspace key + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, keyName: 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 keyName The name of the workspace key + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + keyName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a workspace key + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param keyName The name of the workspace key + * @param keyProperties Key put request properties + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, keyName: string, keyProperties: Models.Key, 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 keyName The name of the workspace key + * @param keyProperties Key put request properties + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, keyName: string, keyProperties: Models.Key, 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 keyName The name of the workspace key + * @param keyProperties Key put request properties + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, keyName: string, keyProperties: Models.Key, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, workspaceName: string, keyName: string, keyProperties: Models.Key, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + keyName, + keyProperties, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes a workspace key + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param keyName The name of the workspace key + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, workspaceName: string, keyName: 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 keyName The name of the workspace key + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, workspaceName: string, keyName: 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 keyName The name of the workspace key + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, workspaceName: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, workspaceName: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + keyName, + options + }, + deleteMethodOperationSpec, + callback) as Promise; + } + + /** + * Returns a list of keys in a workspace + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByWorkspaceNext(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 + */ + listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByWorkspaceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByWorkspaceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/keys", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.KeyInfoListResult + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/keys/{keyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.keyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Key + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/keys/{keyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.keyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "keyProperties", + mapper: { + ...Mappers.Key, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Key + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/keys/{keyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.keyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Key + }, + 204: {}, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + +const listByWorkspaceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.KeyInfoListResult + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/operations.ts b/sdk/synapse/arm-synapse/src/operations/operations.ts index 0002898a0ad1..0a192c27f844 100644 --- a/sdk/synapse/arm-synapse/src/operations/operations.ts +++ b/sdk/synapse/arm-synapse/src/operations/operations.ts @@ -132,7 +132,7 @@ export class Operations { * @param operationId Operation ID * @param callback The callback */ - getAzureAsyncHeaderResult(resourceGroupName: string, workspaceName: string, operationId: string, callback: msRest.ServiceCallback): void; + getAzureAsyncHeaderResult(resourceGroupName: string, workspaceName: string, operationId: 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 @@ -140,8 +140,8 @@ export class Operations { * @param options The optional parameters * @param callback The callback */ - getAzureAsyncHeaderResult(resourceGroupName: string, workspaceName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getAzureAsyncHeaderResult(resourceGroupName: string, workspaceName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getAzureAsyncHeaderResult(resourceGroupName: string, workspaceName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getAzureAsyncHeaderResult(resourceGroupName: string, workspaceName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -208,7 +208,7 @@ const listOperationSpec: msRest.OperationSpec = { } }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -231,6 +231,8 @@ const getLocationHeaderResultOperationSpec: msRest.OperationSpec = { ], responses: { 200: {}, + 201: {}, + 202: {}, 204: {}, default: { bodyMapper: Mappers.ErrorContract @@ -259,11 +261,8 @@ const getAzureAsyncHeaderResultOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.OperationResource }, 404: {}, - 500: { - bodyMapper: Mappers.ErrorContract - }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer diff --git a/sdk/synapse/arm-synapse/src/operations/privateEndpointConnections.ts b/sdk/synapse/arm-synapse/src/operations/privateEndpointConnections.ts index bfb07c33a309..8ec0070dd3e5 100644 --- a/sdk/synapse/arm-synapse/src/operations/privateEndpointConnections.ts +++ b/sdk/synapse/arm-synapse/src/operations/privateEndpointConnections.ts @@ -29,7 +29,7 @@ export class PrivateEndpointConnections { /** * Gets a private endpoint connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param [options] The optional parameters * @returns Promise @@ -37,14 +37,14 @@ export class PrivateEndpointConnections { get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: 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 workspaceName The name of the workspace. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param callback The callback */ get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: 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 workspaceName The name of the workspace. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The optional parameters * @param callback The callback @@ -64,21 +64,22 @@ export class PrivateEndpointConnections { /** * Approve or reject a private endpoint connection. + * @param request Request body of private endpoint connection to create. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param [options] The optional parameters * @returns Promise */ - create(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginCreate(resourceGroupName,workspaceName,privateEndpointConnectionName,options) + create(request: Models.PrivateEndpointConnection, resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(request,resourceGroupName,workspaceName,privateEndpointConnectionName,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** * Delete a private endpoint connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param [options] The optional parameters * @returns Promise @@ -91,20 +92,20 @@ export class PrivateEndpointConnections { /** * Lists private endpoint connection in workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param [options] The optional parameters * @returns Promise */ list(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 workspaceName The name of the workspace. * @param callback The callback */ list(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 workspaceName The name of the workspace. * @param options The optional parameters * @param callback The callback */ @@ -122,15 +123,17 @@ export class PrivateEndpointConnections { /** * Approve or reject a private endpoint connection. + * @param request Request body of private endpoint connection to create. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param [options] The optional parameters * @returns Promise */ - beginCreate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + beginCreate(request: Models.PrivateEndpointConnection, resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { + request, resourceGroupName, workspaceName, privateEndpointConnectionName, @@ -143,7 +146,7 @@ export class PrivateEndpointConnections { /** * Delete a private endpoint connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName The name of the workspace + * @param workspaceName The name of the workspace. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param [options] The optional parameters * @returns Promise @@ -257,6 +260,13 @@ const beginCreateOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "request", + mapper: { + ...Mappers.PrivateEndpointConnection, + required: true + } + }, responses: { 200: { bodyMapper: Mappers.PrivateEndpointConnection @@ -287,6 +297,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { + 200: {}, 202: { bodyMapper: Mappers.OperationResource }, diff --git a/sdk/synapse/arm-synapse/src/operations/privateEndpointConnectionsPrivateLinkHub.ts b/sdk/synapse/arm-synapse/src/operations/privateEndpointConnectionsPrivateLinkHub.ts new file mode 100644 index 000000000000..494cd5b14d62 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/privateEndpointConnectionsPrivateLinkHub.ts @@ -0,0 +1,138 @@ +/* + * 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/privateEndpointConnectionsPrivateLinkHubMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a PrivateEndpointConnectionsPrivateLinkHub. */ +export class PrivateEndpointConnectionsPrivateLinkHub { + private readonly client: SynapseManagementClientContext; + + /** + * Create a PrivateEndpointConnectionsPrivateLinkHub. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get all PrivateEndpointConnections in the PrivateLinkHub + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateLinkHubName Name of the privateLinkHub + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateLinkHubName Name of the privateLinkHub + * @param callback The callback + */ + list(resourceGroupName: string, privateLinkHubName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateLinkHubName Name of the privateLinkHub + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, privateLinkHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateLinkHubName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get all PrivateEndpointConnections in the PrivateLinkHub + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(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 + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}/privateEndpointConnections", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateLinkHubName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/privateLinkHubs.ts b/sdk/synapse/arm-synapse/src/operations/privateLinkHubs.ts index 1a58264c996b..f14e4667704d 100644 --- a/sdk/synapse/arm-synapse/src/operations/privateLinkHubs.ts +++ b/sdk/synapse/arm-synapse/src/operations/privateLinkHubs.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/privateLinkHubsMappers"; import * as Parameters from "../models/parameters"; @@ -56,20 +57,20 @@ export class PrivateLinkHubs { /** * Gets a privateLinkHub * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub + * @param privateLinkHubName Name of the privateLinkHub * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub + * @param privateLinkHubName Name of the privateLinkHub * @param callback The callback */ get(resourceGroupName: string, privateLinkHubName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub + * @param privateLinkHubName Name of the privateLinkHub * @param options The optional parameters * @param callback The callback */ @@ -87,34 +88,34 @@ export class PrivateLinkHubs { /** * Updates a privateLinkHub - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub * @param privateLinkHubPatchInfo PrivateLinkHub patch request properties + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateLinkHubName Name of the privateLinkHub * @param [options] The optional parameters * @returns Promise */ - update(resourceGroupName: string, privateLinkHubName: string, privateLinkHubPatchInfo: Models.PrivateLinkHubPatchInfo, options?: msRest.RequestOptionsBase): Promise; + update(privateLinkHubPatchInfo: Models.PrivateLinkHubPatchInfo, resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub * @param privateLinkHubPatchInfo PrivateLinkHub patch request properties + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateLinkHubName Name of the privateLinkHub * @param callback The callback */ - update(resourceGroupName: string, privateLinkHubName: string, privateLinkHubPatchInfo: Models.PrivateLinkHubPatchInfo, callback: msRest.ServiceCallback): void; + update(privateLinkHubPatchInfo: Models.PrivateLinkHubPatchInfo, resourceGroupName: string, privateLinkHubName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub * @param privateLinkHubPatchInfo PrivateLinkHub patch request properties + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateLinkHubName Name of the privateLinkHub * @param options The optional parameters * @param callback The callback */ - update(resourceGroupName: string, privateLinkHubName: string, privateLinkHubPatchInfo: Models.PrivateLinkHubPatchInfo, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, privateLinkHubName: string, privateLinkHubPatchInfo: Models.PrivateLinkHubPatchInfo, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(privateLinkHubPatchInfo: Models.PrivateLinkHubPatchInfo, resourceGroupName: string, privateLinkHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(privateLinkHubPatchInfo: Models.PrivateLinkHubPatchInfo, resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { + privateLinkHubPatchInfo, resourceGroupName, privateLinkHubName, - privateLinkHubPatchInfo, options }, updateOperationSpec, @@ -123,34 +124,34 @@ export class PrivateLinkHubs { /** * Creates or updates a privateLinkHub - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub * @param privateLinkHubInfo PrivateLinkHub create or update request properties + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateLinkHubName Name of the privateLinkHub * @param [options] The optional parameters * @returns Promise */ - createOrUpdate(resourceGroupName: string, privateLinkHubName: string, privateLinkHubInfo: Models.PrivateLinkHub, options?: msRest.RequestOptionsBase): Promise; + createOrUpdate(privateLinkHubInfo: Models.PrivateLinkHub, resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub * @param privateLinkHubInfo PrivateLinkHub create or update request properties + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateLinkHubName Name of the privateLinkHub * @param callback The callback */ - createOrUpdate(resourceGroupName: string, privateLinkHubName: string, privateLinkHubInfo: Models.PrivateLinkHub, callback: msRest.ServiceCallback): void; + createOrUpdate(privateLinkHubInfo: Models.PrivateLinkHub, resourceGroupName: string, privateLinkHubName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub * @param privateLinkHubInfo PrivateLinkHub create or update request properties + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateLinkHubName Name of the privateLinkHub * @param options The optional parameters * @param callback The callback */ - createOrUpdate(resourceGroupName: string, privateLinkHubName: string, privateLinkHubInfo: Models.PrivateLinkHub, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, privateLinkHubName: string, privateLinkHubInfo: Models.PrivateLinkHub, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(privateLinkHubInfo: Models.PrivateLinkHub, resourceGroupName: string, privateLinkHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(privateLinkHubInfo: Models.PrivateLinkHub, resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { + privateLinkHubInfo, resourceGroupName, privateLinkHubName, - privateLinkHubInfo, options }, createOrUpdateOperationSpec, @@ -160,33 +161,13 @@ export class PrivateLinkHubs { /** * Deletes a privateLinkHub * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub + * @param privateLinkHubName Name of the privateLinkHub * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, privateLinkHubName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateLinkHubName The name of the privateLinkHub - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, privateLinkHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - privateLinkHubName, - options - }, - deleteMethodOperationSpec, - callback); + deleteMethod(resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,privateLinkHubName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -213,6 +194,24 @@ export class PrivateLinkHubs { callback) as Promise; } + /** + * Deletes a privateLinkHub + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateLinkHubName Name of the privateLinkHub + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, privateLinkHubName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateLinkHubName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + /** * Returns a list of privateLinkHubs in a resource group * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -274,7 +273,7 @@ export class PrivateLinkHubs { const serializer = new msRest.Serializer(Mappers); const listByResourceGroupOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHub", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName @@ -290,7 +289,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateLinkHubInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -391,13 +390,11 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { serializer }; -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}", +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Synapse/privateLinkHubs", urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.privateLinkHubName + Parameters.subscriptionId ], queryParameters: [ Parameters.apiVersion @@ -406,8 +403,9 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { - 200: {}, - 204: {}, + 200: { + bodyMapper: Mappers.PrivateLinkHubInfoListResult + }, default: { bodyMapper: Mappers.ErrorContract } @@ -415,11 +413,13 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { serializer }; -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Synapse/privateLinkHubs", +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}", urlParameters: [ - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateLinkHubName ], queryParameters: [ Parameters.apiVersion @@ -428,11 +428,11 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: Mappers.PrivateLinkHubInfoListResult - }, + 200: {}, + 202: {}, + 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -456,7 +456,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateLinkHubInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -480,7 +480,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateLinkHubInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer diff --git a/sdk/synapse/arm-synapse/src/operations/privateLinkResources.ts b/sdk/synapse/arm-synapse/src/operations/privateLinkResources.ts index f2b790bb21c7..763c68208640 100644 --- a/sdk/synapse/arm-synapse/src/operations/privateLinkResources.ts +++ b/sdk/synapse/arm-synapse/src/operations/privateLinkResources.ts @@ -146,7 +146,7 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateLinkResourceListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -172,7 +172,7 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateLinkResource }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -196,7 +196,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateLinkResourceListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer 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/sqlPoolConnectionPolicies.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolConnectionPolicies.ts index 252b2dcb3e52..5372292181a7 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolConnectionPolicies.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolConnectionPolicies.ts @@ -89,7 +89,7 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.SqlPoolConnectionPolicy }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolGeoBackupPolicies.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolGeoBackupPolicies.ts index 7578f7b4c96c..5dbe3e5debcf 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolGeoBackupPolicies.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolGeoBackupPolicies.ts @@ -25,6 +25,43 @@ export class SqlPoolGeoBackupPolicies { this.client = client; } + /** + * Get list of SQL pool geo backup policies + * @summary List SQL pool geo backup policies + * @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 + */ + list(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 + */ + list(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 + */ + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + options + }, + listOperationSpec, + callback) as Promise; + } + /** * Get the specified SQL pool geo backup policy * @summary Get a SQL pool geo backup policy @@ -65,6 +102,32 @@ export class SqlPoolGeoBackupPolicies { // Operation Specifications const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GeoBackupPolicyListResult + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}", @@ -86,7 +149,7 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.GeoBackupPolicy }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolOperationResults.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolOperationResults.ts index 8b48649311e4..5d4e93a69e61 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolOperationResults.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolOperationResults.ts @@ -94,8 +94,16 @@ const getLocationHeaderResultOperationSpec: msRest.OperationSpec = { } } }, + 202: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Object" + } + } + }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolReplicationLinks.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolReplicationLinks.ts index d540e3b77081..e08b7f428b78 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolReplicationLinks.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolReplicationLinks.ts @@ -62,6 +62,47 @@ export class SqlPoolReplicationLinks { callback) as Promise; } + /** + * Get SQL pool replication link by name. + * @summary Get SQL pool replication link by name + * @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 linkId The ID of the replication link. + * @param [options] The optional parameters + * @returns Promise + */ + getByName(resourceGroupName: string, workspaceName: string, sqlPoolName: string, linkId: 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 linkId The ID of the replication link. + * @param callback The callback + */ + getByName(resourceGroupName: string, workspaceName: string, sqlPoolName: string, linkId: 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 linkId The ID of the replication link. + * @param options The optional parameters + * @param callback The callback + */ + getByName(resourceGroupName: string, workspaceName: string, sqlPoolName: string, linkId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getByName(resourceGroupName: string, workspaceName: string, sqlPoolName: string, linkId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + linkId, + options + }, + getByNameOperationSpec, + callback) as Promise; + } + /** * Lists a Sql pool's replication links. * @summary Get SQL pool replication links @@ -114,7 +155,34 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReplicationLinkListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + +const getByNameOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/replicationLinks/{linkId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.linkId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ReplicationLink + }, + default: { + bodyMapper: Mappers.ErrorContract } }, serializer @@ -138,7 +206,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ReplicationLinkListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolRestorePoints.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolRestorePoints.ts index 995564fc77f5..0ae61e26a4b8 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. @@ -150,6 +230,58 @@ const listOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.RestorePointListResult }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + 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 } @@ -212,7 +344,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.RestorePointListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer 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/sqlPoolSecurityAlertPolicies.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolSecurityAlertPolicies.ts index debb19e5c43a..51d9a77253d8 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolSecurityAlertPolicies.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolSecurityAlertPolicies.ts @@ -25,6 +25,43 @@ export class SqlPoolSecurityAlertPolicies { this.client = client; } + /** + * Get a list of Sql pool's security alert policies. + * @summary List Sql pool's security alert policies + * @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 + */ + list(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 + */ + list(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 + */ + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + options + }, + listOperationSpec, + callback) as Promise; + } + /** * Get a Sql pool's security alert policy. * @summary Get a Sql pool's security alert policy @@ -102,10 +139,65 @@ export class SqlPoolSecurityAlertPolicies { createOrUpdateOperationSpec, callback) as Promise; } + + /** + * Get a list of Sql pool's security alert policies. + * @summary List Sql pool's security alert policies + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(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 + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/securityAlertPolicies", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListSqlPoolSecurityAlertPolicies + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/securityAlertPolicies/{securityAlertPolicyName}", @@ -114,7 +206,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.sqlPoolName, - Parameters.securityAlertPolicyName + Parameters.securityAlertPolicyName0 ], queryParameters: [ Parameters.apiVersion @@ -141,7 +233,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName, Parameters.workspaceName, Parameters.sqlPoolName, - Parameters.securityAlertPolicyName + Parameters.securityAlertPolicyName0 ], queryParameters: [ Parameters.apiVersion @@ -169,3 +261,27 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListSqlPoolSecurityAlertPolicies + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolSensitivityLabels.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolSensitivityLabels.ts index bf45c7f0a2a8..c4e17253d046 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) @@ -378,7 +433,7 @@ const listCurrentOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.SensitivityLabelListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -474,6 +529,37 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], responses: { 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + 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 } @@ -492,7 +578,7 @@ const enableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.schemaName, Parameters.tableName, Parameters.columnName, - Parameters.sensitivityLabelSource1 + Parameters.sensitivityLabelSource2 ], queryParameters: [ Parameters.apiVersion @@ -520,7 +606,7 @@ const disableRecommendationOperationSpec: msRest.OperationSpec = { Parameters.schemaName, Parameters.tableName, Parameters.columnName, - Parameters.sensitivityLabelSource1 + Parameters.sensitivityLabelSource2 ], queryParameters: [ Parameters.apiVersion @@ -556,7 +642,7 @@ const listCurrentNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.SensitivityLabelListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer 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/sqlPoolTransparentDataEncryptions.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolTransparentDataEncryptions.ts index fef9140e03cb..4c67b9bbaf62 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolTransparentDataEncryptions.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolTransparentDataEncryptions.ts @@ -102,6 +102,72 @@ export class SqlPoolTransparentDataEncryptions { createOrUpdateOperationSpec, callback) as Promise; } + + /** + * Get list of SQL pool's transparent data encryption configurations. + * @summary SQL pool's transparent data encryption configurations + * @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 + */ + list(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 + */ + list(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 + */ + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get list of SQL pool's transparent data encryption configurations. + * @summary SQL pool's transparent data encryption configurations + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(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 + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -127,7 +193,7 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.TransparentDataEncryption }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -163,6 +229,56 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { 201: { bodyMapper: Mappers.TransparentDataEncryption }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/transparentDataEncryption", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TransparentDataEncryptionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TransparentDataEncryptionListResult + }, default: { bodyMapper: Mappers.CloudError } diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolUsages.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolUsages.ts index be999949fd03..deeefd3c3cb1 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolUsages.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolUsages.ts @@ -114,7 +114,7 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.SqlPoolUsageListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -138,7 +138,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.SqlPoolUsageListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.ts index d9d4dbfad084..2e0bec440b0e 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 @@ -188,6 +238,36 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], responses: { 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + 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 } 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/operations/sqlPoolVulnerabilityAssessments.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessments.ts index b20b973985e0..b8cb8095fdf4 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessments.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolVulnerabilityAssessments.ts @@ -317,6 +317,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], responses: { 200: {}, + 204: {}, default: { bodyMapper: Mappers.CloudError } diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolWorkloadClassifier.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolWorkloadClassifier.ts new file mode 100644 index 000000000000..0ec32f4da3c3 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolWorkloadClassifier.ts @@ -0,0 +1,376 @@ +/* + * 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 msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/sqlPoolWorkloadClassifierMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a SqlPoolWorkloadClassifier. */ +export class SqlPoolWorkloadClassifier { + private readonly client: SynapseManagementClientContext; + + /** + * Create a SqlPoolWorkloadClassifier. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get a workload classifier of Sql pool's workload group. + * @summary Get workload classifier + * @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 workloadGroupName The name of the workload group. + * @param workloadClassifierName The name of the workload classifier. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: 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 workloadGroupName The name of the workload group. + * @param workloadClassifierName The name of the workload classifier. + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: 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 workloadGroupName The name of the workload group. + * @param workloadClassifierName The name of the workload classifier. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + workloadGroupName, + workloadClassifierName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create Or Update workload classifier for a Sql pool's workload group. + * @summary Create Or Update workload classifier + * @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 workloadGroupName The name of the workload group. + * @param workloadClassifierName The name of the workload classifier. + * @param parameters The properties of the workload classifier. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, parameters: Models.WorkloadClassifier, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,workspaceName,sqlPoolName,workloadGroupName,workloadClassifierName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Remove workload classifier of a Sql pool's workload group. + * @summary Remove workload classifier + * @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 workloadGroupName The name of the workload group. + * @param workloadClassifierName The name of the workload classifier. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,workspaceName,sqlPoolName,workloadGroupName,workloadClassifierName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Get list of Sql pool's workload classifier for workload groups. + * @summary Sql pool's workload classifier + * @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 workloadGroupName The name of the workload group. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: 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 workloadGroupName The name of the workload group. + * @param callback The callback + */ + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: 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 workloadGroupName The name of the workload group. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + workloadGroupName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Create Or Update workload classifier for a Sql pool's workload group. + * @summary Create Or Update workload classifier + * @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 workloadGroupName The name of the workload group. + * @param workloadClassifierName The name of the workload classifier. + * @param parameters The properties of the workload classifier. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, parameters: Models.WorkloadClassifier, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + workloadGroupName, + workloadClassifierName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Remove workload classifier of a Sql pool's workload group. + * @summary Remove workload classifier + * @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 workloadGroupName The name of the workload group. + * @param workloadClassifierName The name of the workload classifier. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + workloadGroupName, + workloadClassifierName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Get list of Sql pool's workload classifier for workload groups. + * @summary Sql pool's workload classifier + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(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 + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + 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}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.workloadGroupName, + Parameters.workloadClassifierName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadClassifier + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.workloadGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadClassifierListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.workloadGroupName, + Parameters.workloadClassifierName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.WorkloadClassifier, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadClassifier + }, + 201: { + bodyMapper: Mappers.WorkloadClassifier + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.workloadGroupName, + Parameters.workloadClassifierName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadClassifierListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolWorkloadGroup.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolWorkloadGroup.ts new file mode 100644 index 000000000000..c608550377c9 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolWorkloadGroup.ts @@ -0,0 +1,358 @@ +/* + * 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 msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/sqlPoolWorkloadGroupMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a SqlPoolWorkloadGroup. */ +export class SqlPoolWorkloadGroup { + private readonly client: SynapseManagementClientContext; + + /** + * Create a SqlPoolWorkloadGroup. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get a Sql pool's workload group. + * @summary Sql pool's workload group + * @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 workloadGroupName The name of the workload group. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: 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 workloadGroupName The name of the workload group. + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: 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 workloadGroupName The name of the workload group. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + workloadGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create Or Update a Sql pool's workload group. + * @summary Create Or Update workload group + * @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 workloadGroupName The name of the workload group. + * @param parameters The requested workload group state. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, parameters: Models.WorkloadGroup, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,workspaceName,sqlPoolName,workloadGroupName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Remove Sql pool's workload group. + * @summary Remove workload group + * @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 workloadGroupName The name of the workload group. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,workspaceName,sqlPoolName,workloadGroupName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Get list of Sql pool's workload groups. + * @summary Sql pool's workload groups + * @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 + */ + list(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 + */ + list(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 + */ + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Create Or Update a Sql pool's workload group. + * @summary Create Or Update workload group + * @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 workloadGroupName The name of the workload group. + * @param parameters The requested workload group state. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, parameters: Models.WorkloadGroup, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + workloadGroupName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Remove Sql pool's workload group. + * @summary Remove workload group + * @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 workloadGroupName The name of the workload group. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + sqlPoolName, + workloadGroupName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Get list of Sql pool's workload groups. + * @summary Sql pool's workload groups + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(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 + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + 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}/workloadGroups/{workloadGroupName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.workloadGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.workloadGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.WorkloadGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadGroup + }, + 201: { + bodyMapper: Mappers.WorkloadGroup + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlPoolName, + Parameters.workloadGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPools.ts b/sdk/synapse/arm-synapse/src/operations/sqlPools.ts index b087675a9aca..4469cfc625c2 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPools.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPools.ts @@ -373,7 +373,7 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.SqlPool }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -405,9 +405,8 @@ const updateOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.SqlPool }, - 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -432,7 +431,7 @@ const listByWorkspaceOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.SqlPoolInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -570,7 +569,7 @@ const beginPauseOperationSpec: msRest.OperationSpec = { }, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -602,7 +601,7 @@ const beginResumeOperationSpec: msRest.OperationSpec = { }, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -626,7 +625,7 @@ const listByWorkspaceNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.SqlPoolInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceAadAdmins.ts b/sdk/synapse/arm-synapse/src/operations/workspaceAadAdmins.ts index c69662031214..e9b8181adf6f 100644 --- a/sdk/synapse/arm-synapse/src/operations/workspaceAadAdmins.ts +++ b/sdk/synapse/arm-synapse/src/operations/workspaceAadAdmins.ts @@ -143,7 +143,7 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.WorkspaceAadAdminInfo }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -201,6 +201,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { responses: { 200: {}, 202: {}, + 204: {}, default: { bodyMapper: Mappers.ErrorContract } diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerBlobAuditingPolicies.ts b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerBlobAuditingPolicies.ts new file mode 100644 index 000000000000..f91918528421 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerBlobAuditingPolicies.ts @@ -0,0 +1,200 @@ +/* + * 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/workspaceManagedSqlServerBlobAuditingPoliciesMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a WorkspaceManagedSqlServerBlobAuditingPolicies. */ +export class WorkspaceManagedSqlServerBlobAuditingPolicies { + private readonly client: SynapseManagementClientContext; + + /** + * Create a WorkspaceManagedSqlServerBlobAuditingPolicies. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get a workspace managed sql server's blob auditing policy. + * @summary Get server'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 [options] The optional parameters + * @returns Promise + */ + get(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 + */ + get(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 + */ + get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * List workspace managed sql server's blob auditing policies. + * @summary List workspace server's blob auditing policies. + * @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; + } + + /** + * List workspace managed sql server's blob auditing policies. + * @summary List workspace server's blob auditing policies. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByWorkspaceNext(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 + */ + listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByWorkspaceNextOperationSpec, + 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}/auditingSettings/{blobAuditingPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.blobAuditingPolicyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerBlobAuditingPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByWorkspaceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/auditingSettings", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByWorkspaceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerEncryptionProtector.ts b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerEncryptionProtector.ts new file mode 100644 index 000000000000..9c1101b749e0 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerEncryptionProtector.ts @@ -0,0 +1,326 @@ +/* + * 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 msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workspaceManagedSqlServerEncryptionProtectorMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a WorkspaceManagedSqlServerEncryptionProtector. */ +export class WorkspaceManagedSqlServerEncryptionProtector { + private readonly client: SynapseManagementClientContext; + + /** + * Create a WorkspaceManagedSqlServerEncryptionProtector. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get workspace managed sql server's encryption protector. + * @summary Get workspace server's encryption protector. + * @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 + */ + get(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 + */ + get(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 + */ + get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Updates workspace managed sql server's encryption protector. + * @summary Updates workspace server's encryption protector. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param parameters The requested encryption protector resource state. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.EncryptionProtector, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,workspaceName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Get list of encryption protectors for workspace managed sql server. + * @summary Get list of encryption protectors for the server. + * @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 + */ + list(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 + */ + list(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 + */ + list(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Revalidates workspace managed sql server's existing encryption protector. + * @summary Revalidates server's existing encryption protector. + * @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 + */ + revalidate(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRevalidate(resourceGroupName,workspaceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Updates workspace managed sql server's encryption protector. + * @summary Updates workspace server's encryption protector. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param parameters The requested encryption protector resource state. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.EncryptionProtector, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Revalidates workspace managed sql server's existing encryption protector. + * @summary Revalidates server's existing encryption protector. + * @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 + */ + beginRevalidate(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + options + }, + beginRevalidateOperationSpec, + options); + } + + /** + * Get list of encryption protectors for workspace managed sql server. + * @summary Get list of encryption protectors for the server. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(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 + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + 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}/encryptionProtector/{encryptionProtectorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.encryptionProtectorName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.EncryptionProtector + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.EncryptionProtectorListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector/{encryptionProtectorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.encryptionProtectorName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.EncryptionProtector, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.EncryptionProtector + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRevalidateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector/{encryptionProtectorName}/revalidate", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.encryptionProtectorName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.EncryptionProtectorListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.ts b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.ts new file mode 100644 index 000000000000..f3e2f450f135 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.ts @@ -0,0 +1,272 @@ +/* + * 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 msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a WorkspaceManagedSqlServerExtendedBlobAuditingPolicies. */ +export class WorkspaceManagedSqlServerExtendedBlobAuditingPolicies { + private readonly client: SynapseManagementClientContext; + + /** + * Create a WorkspaceManagedSqlServerExtendedBlobAuditingPolicies. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get a workspace SQL server's extended blob auditing policy. + * @summary Get server's extended blob auditing policy. + * @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 + */ + get(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 + */ + get(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 + */ + get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create or Update a workspace managed sql server's extended blob auditing policy. + * @summary Create or Update server's extended blob auditing policy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param parameters Properties of extended blob auditing policy. + * @param [options] The optional parameters + * @returns + * Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.ExtendedServerBlobAuditingPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,workspaceName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * List workspace managed sql server's extended blob auditing policies. + * @summary List server's extended blob auditing policies. + * @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; + } + + /** + * Create or Update a workspace managed sql server's extended blob auditing policy. + * @summary Create or Update server's extended blob auditing policy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param parameters Properties of extended blob auditing policy. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.ExtendedServerBlobAuditingPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * List workspace managed sql server's extended blob auditing policies. + * @summary List server's extended blob auditing policies. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByWorkspaceNext(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 + */ + listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByWorkspaceNextOperationSpec, + 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}/extendedAuditingSettings/{blobAuditingPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.blobAuditingPolicyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExtendedServerBlobAuditingPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByWorkspaceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/extendedAuditingSettings", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExtendedServerBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/extendedAuditingSettings/{blobAuditingPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.blobAuditingPolicyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ExtendedServerBlobAuditingPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ExtendedServerBlobAuditingPolicy + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByWorkspaceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExtendedServerBlobAuditingPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerRecoverableSqlpools.ts b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerRecoverableSqlpools.ts new file mode 100644 index 000000000000..15b23e62b471 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerRecoverableSqlpools.ts @@ -0,0 +1,203 @@ +/* + * 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/workspaceManagedSqlServerRecoverableSqlpoolsMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a WorkspaceManagedSqlServerRecoverableSqlpools. */ +export class WorkspaceManagedSqlServerRecoverableSqlpools { + private readonly client: SynapseManagementClientContext; + + /** + * Create a WorkspaceManagedSqlServerRecoverableSqlpools. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get list of recoverable sql pools for workspace managed sql server. + * @summary Get list of recoverable sql pools for the server. + * @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 + */ + list(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 + */ + list(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 + */ + list(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get recoverable sql pools for workspace managed sql server. + * @summary Get recoverable sql pools for the server. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param sqlComputeName The name of the sql compute + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, sqlComputeName: 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 sqlComputeName The name of the sql compute + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlComputeName: 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 sqlComputeName The name of the sql compute + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, sqlComputeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, sqlComputeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + sqlComputeName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Get list of recoverable sql pools for workspace managed sql server. + * @summary Get list of recoverable sql pools for the server. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(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 + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/recoverableSqlpools", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RecoverableSqlPoolListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/recoverableSqlPools/{sqlComputeName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.sqlComputeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RecoverableSqlPool + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RecoverableSqlPoolListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerSecurityAlertPolicy.ts b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerSecurityAlertPolicy.ts new file mode 100644 index 000000000000..24a3174b247b --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerSecurityAlertPolicy.ts @@ -0,0 +1,269 @@ +/* + * 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 msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workspaceManagedSqlServerSecurityAlertPolicyMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a WorkspaceManagedSqlServerSecurityAlertPolicy. */ +export class WorkspaceManagedSqlServerSecurityAlertPolicy { + private readonly client: SynapseManagementClientContext; + + /** + * Create a WorkspaceManagedSqlServerSecurityAlertPolicy. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get a workspace managed sql server's security alert policy. + * @summary Get server's security alert policy. + * @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 + */ + get(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 + */ + get(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 + */ + get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create or Update a workspace managed sql server's threat detection policy. + * @summary Create or Update server's threat detection policy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param parameters The workspace managed sql server security alert policy. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.ServerSecurityAlertPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,workspaceName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Get workspace managed sql server's threat detection policies. + * @summary Get server's threat detection policies. + * @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 + */ + list(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 + */ + list(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 + */ + list(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Create or Update a workspace managed sql server's threat detection policy. + * @summary Create or Update server's threat detection policy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param parameters The workspace managed sql server security alert policy. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.ServerSecurityAlertPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Get workspace managed sql server's threat detection policies. + * @summary Get server's threat detection policies. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(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 + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + 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}/securityAlertPolicies/{securityAlertPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.securityAlertPolicyName1 + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerSecurityAlertPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerSecurityAlertPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.securityAlertPolicyName1 + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ServerSecurityAlertPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ServerSecurityAlertPolicy + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerSecurityAlertPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerUsages.ts b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerUsages.ts new file mode 100644 index 000000000000..6397cbe02124 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerUsages.ts @@ -0,0 +1,140 @@ +/* + * 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/workspaceManagedSqlServerUsagesMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a WorkspaceManagedSqlServerUsages. */ +export class WorkspaceManagedSqlServerUsages { + private readonly client: SynapseManagementClientContext; + + /** + * Create a WorkspaceManagedSqlServerUsages. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get list of server usages metric for workspace managed sql server. + * @summary Get list of usages metric for the server. + * @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 + */ + list(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 + */ + list(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 + */ + list(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get list of server usages metric for workspace managed sql server. + * @summary Get list of usages metric for the server. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(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 + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlUsages", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerUsageListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerUsageListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerVulnerabilityAssessments.ts b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerVulnerabilityAssessments.ts new file mode 100644 index 000000000000..da0d0ece0be9 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerVulnerabilityAssessments.ts @@ -0,0 +1,330 @@ +/* + * 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/workspaceManagedSqlServerVulnerabilityAssessmentsMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a WorkspaceManagedSqlServerVulnerabilityAssessments. */ +export class WorkspaceManagedSqlServerVulnerabilityAssessments { + private readonly client: SynapseManagementClientContext; + + /** + * Create a WorkspaceManagedSqlServerVulnerabilityAssessments. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get workspace managed sql server's vulnerability assessment. + * @summary Get server's vulnerability assessment. + * @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 + */ + get(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 + */ + get(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 + */ + get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create or Update workspace managed sql server's vulnerability assessment. + * @summary Create or Update server's vulnerability assessment. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param parameters Properties for vulnerability assessment. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.ServerVulnerabilityAssessment, 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 parameters Properties for vulnerability assessment. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.ServerVulnerabilityAssessment, 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 parameters Properties for vulnerability assessment. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.ServerVulnerabilityAssessment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.ServerVulnerabilityAssessment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Remove workspace managed sql server's vulnerability assessment. + * @summary Remove server's vulnerability assessment. + * @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 + */ + deleteMethod(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 + */ + deleteMethod(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 + */ + deleteMethod(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * @summary Lists the vulnerability assessment policies associated with a server. + * @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 + */ + list(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 + */ + list(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 + */ + list(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * @summary Lists the vulnerability assessment policies associated with a server. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(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 + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + 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}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.vulnerabilityAssessmentName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerVulnerabilityAssessment + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.vulnerabilityAssessmentName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ServerVulnerabilityAssessment, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ServerVulnerabilityAssessment + }, + 201: { + bodyMapper: Mappers.ServerVulnerabilityAssessment + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.vulnerabilityAssessmentName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/vulnerabilityAssessments", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerVulnerabilityAssessmentListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ServerVulnerabilityAssessmentListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceManagedqlServerBlobAuditingPolicies.ts b/sdk/synapse/arm-synapse/src/operations/workspaceManagedqlServerBlobAuditingPolicies.ts new file mode 100644 index 000000000000..52f26b3f4a7f --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/workspaceManagedqlServerBlobAuditingPolicies.ts @@ -0,0 +1,99 @@ +/* + * 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 msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workspaceManagedqlServerBlobAuditingPoliciesMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a WorkspaceManagedqlServerBlobAuditingPolicies. */ +export class WorkspaceManagedqlServerBlobAuditingPolicies { + private readonly client: SynapseManagementClientContext; + + /** + * Create a WorkspaceManagedqlServerBlobAuditingPolicies. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Create or Update a workspace managed sql server's blob auditing policy. + * @summary Create or Update server'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 parameters Properties of extended blob auditing policy. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.ServerBlobAuditingPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,workspaceName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Create or Update a workspace managed sql server's blob auditing policy. + * @summary Create or Update server'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 parameters Properties of extended blob auditing policy. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Models.ServerBlobAuditingPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/auditingSettings/{blobAuditingPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.blobAuditingPolicyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ServerBlobAuditingPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ServerBlobAuditingPolicy + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceSqlAadAdmins.ts b/sdk/synapse/arm-synapse/src/operations/workspaceSqlAadAdmins.ts new file mode 100644 index 000000000000..0655373b710b --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/workspaceSqlAadAdmins.ts @@ -0,0 +1,210 @@ +/* + * 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 msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workspaceSqlAadAdminsMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a WorkspaceSqlAadAdmins. */ +export class WorkspaceSqlAadAdmins { + private readonly client: SynapseManagementClientContext; + + /** + * Create a WorkspaceSqlAadAdmins. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Gets a workspace SQL active directory admin + * @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 + */ + get(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 + */ + get(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 + */ + get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a workspace SQL active directory admin + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param aadAdminInfo Workspace active directory administrator properties + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workspaceName: string, aadAdminInfo: Models.WorkspaceAadAdminInfo, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,workspaceName,aadAdminInfo,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a workspace SQL active directory admin + * @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 + */ + deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,workspaceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Creates or updates a workspace SQL active directory admin + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace + * @param aadAdminInfo Workspace active directory administrator properties + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, aadAdminInfo: Models.WorkspaceAadAdminInfo, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + aadAdminInfo, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a workspace SQL active directory admin + * @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 + */ + beginDeleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + options + }, + beginDeleteMethodOperationSpec, + options); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlAdministrators/activeDirectory", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkspaceAadAdminInfo + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlAdministrators/activeDirectory", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "aadAdminInfo", + mapper: { + ...Mappers.WorkspaceAadAdminInfo, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkspaceAadAdminInfo + }, + 202: { + bodyMapper: Mappers.WorkspaceAadAdminInfo + }, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlAdministrators/activeDirectory", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorContract + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/workspaces.ts b/sdk/synapse/arm-synapse/src/operations/workspaces.ts index 27fda7fa3abb..b0a1948a1bb3 100644 --- a/sdk/synapse/arm-synapse/src/operations/workspaces.ts +++ b/sdk/synapse/arm-synapse/src/operations/workspaces.ts @@ -283,7 +283,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.WorkspaceInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -331,7 +331,7 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.WorkspaceInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -464,7 +464,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.WorkspaceInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer @@ -488,7 +488,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.WorkspaceInfoListResult }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorContract } }, serializer diff --git a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts index b9608bbd976f..49f9837e48b2 100644 --- a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts +++ b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts @@ -39,9 +39,17 @@ 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; + sqlPoolWorkloadGroup: operations.SqlPoolWorkloadGroup; + sqlPoolWorkloadClassifier: operations.SqlPoolWorkloadClassifier; workspaces: operations.Workspaces; workspaceAadAdmins: operations.WorkspaceAadAdmins; + workspaceSqlAadAdmins: operations.WorkspaceSqlAadAdmins; workspaceManagedIdentitySqlControlSettings: operations.WorkspaceManagedIdentitySqlControlSettings; + restorableDroppedSqlPools: operations.RestorableDroppedSqlPools; integrationRuntimes: operations.IntegrationRuntimes; integrationRuntimeNodeIpAddress: operations.IntegrationRuntimeNodeIpAddressOperations; integrationRuntimeObjectMetadata: operations.IntegrationRuntimeObjectMetadata; @@ -54,6 +62,16 @@ class SynapseManagementClient extends SynapseManagementClientContext { privateLinkResources: operations.PrivateLinkResources; privateEndpointConnections: operations.PrivateEndpointConnections; privateLinkHubs: operations.PrivateLinkHubs; + privateEndpointConnectionsPrivateLinkHub: operations.PrivateEndpointConnectionsPrivateLinkHub; + workspaceManagedSqlServerBlobAuditingPolicies: operations.WorkspaceManagedSqlServerBlobAuditingPolicies; + workspaceManagedqlServerBlobAuditingPolicies: operations.WorkspaceManagedqlServerBlobAuditingPolicies; + workspaceManagedSqlServerExtendedBlobAuditingPolicies: operations.WorkspaceManagedSqlServerExtendedBlobAuditingPolicies; + workspaceManagedSqlServerSecurityAlertPolicy: operations.WorkspaceManagedSqlServerSecurityAlertPolicy; + workspaceManagedSqlServerVulnerabilityAssessments: operations.WorkspaceManagedSqlServerVulnerabilityAssessments; + workspaceManagedSqlServerEncryptionProtector: operations.WorkspaceManagedSqlServerEncryptionProtector; + workspaceManagedSqlServerUsages: operations.WorkspaceManagedSqlServerUsages; + workspaceManagedSqlServerRecoverableSqlpools: operations.WorkspaceManagedSqlServerRecoverableSqlpools; + keys: operations.Keys; /** * Initializes a new instance of the SynapseManagementClient class. @@ -86,9 +104,17 @@ 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.sqlPoolWorkloadGroup = new operations.SqlPoolWorkloadGroup(this); + this.sqlPoolWorkloadClassifier = new operations.SqlPoolWorkloadClassifier(this); this.workspaces = new operations.Workspaces(this); this.workspaceAadAdmins = new operations.WorkspaceAadAdmins(this); + this.workspaceSqlAadAdmins = new operations.WorkspaceSqlAadAdmins(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); @@ -101,6 +127,16 @@ class SynapseManagementClient extends SynapseManagementClientContext { this.privateLinkResources = new operations.PrivateLinkResources(this); this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); this.privateLinkHubs = new operations.PrivateLinkHubs(this); + this.privateEndpointConnectionsPrivateLinkHub = new operations.PrivateEndpointConnectionsPrivateLinkHub(this); + this.workspaceManagedSqlServerBlobAuditingPolicies = new operations.WorkspaceManagedSqlServerBlobAuditingPolicies(this); + this.workspaceManagedqlServerBlobAuditingPolicies = new operations.WorkspaceManagedqlServerBlobAuditingPolicies(this); + this.workspaceManagedSqlServerExtendedBlobAuditingPolicies = new operations.WorkspaceManagedSqlServerExtendedBlobAuditingPolicies(this); + this.workspaceManagedSqlServerSecurityAlertPolicy = new operations.WorkspaceManagedSqlServerSecurityAlertPolicy(this); + this.workspaceManagedSqlServerVulnerabilityAssessments = new operations.WorkspaceManagedSqlServerVulnerabilityAssessments(this); + this.workspaceManagedSqlServerEncryptionProtector = new operations.WorkspaceManagedSqlServerEncryptionProtector(this); + this.workspaceManagedSqlServerUsages = new operations.WorkspaceManagedSqlServerUsages(this); + this.workspaceManagedSqlServerRecoverableSqlpools = new operations.WorkspaceManagedSqlServerRecoverableSqlpools(this); + this.keys = new operations.Keys(this); } }