From b3327dd4daf85e5ef7c5904bb1caaa53cc0bb27f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 25 Mar 2021 15:12:32 +0000 Subject: [PATCH] CodeGen from PR 13644 in Azure/azure-rest-api-specs Merge c81edae22fe92ec1678d5509fda035c0829c3e7e into f8e0dbd6ec8cc5c5bad8a79a584d197775fe94cc --- .../src/models/bigDataPoolsMappers.ts | 2 + .../src/models/dataMaskingPoliciesMappers.ts | 2 + .../src/models/dataMaskingRulesMappers.ts | 2 + ...endedSqlPoolBlobAuditingPoliciesMappers.ts | 2 + sdk/synapse/arm-synapse/src/models/index.ts | 9866 +++++++++-------- .../src/models/integrationRuntimesMappers.ts | 2 + .../src/models/ipFirewallRulesMappers.ts | 2 + .../arm-synapse/src/models/keysMappers.ts | 2 + .../src/models/librariesMappers.ts | 113 + .../arm-synapse/src/models/libraryMappers.ts | 112 + sdk/synapse/arm-synapse/src/models/mappers.ts | 6853 ++++++------ .../arm-synapse/src/models/parameters.ts | 10 + .../privateEndpointConnectionsMappers.ts | 2 + ...ndpointConnectionsPrivateLinkHubMappers.ts | 2 + ...ivateLinkHubPrivateLinkResourcesMappers.ts | 2 + .../src/models/privateLinkHubsMappers.ts | 2 + .../src/models/privateLinkResourcesMappers.ts | 2 + .../restorableDroppedSqlPoolsMappers.ts | 2 + .../sqlPoolBlobAuditingPoliciesMappers.ts | 2 + .../src/models/sqlPoolColumnsMappers.ts | 2 + .../sqlPoolConnectionPoliciesMappers.ts | 2 + ...lPoolDataWarehouseUserActivitiesMappers.ts | 2 + .../models/sqlPoolGeoBackupPoliciesMappers.ts | 2 + .../sqlPoolMaintenanceWindowOptionsMappers.ts | 2 + .../sqlPoolMaintenanceWindowsMappers.ts | 2 + .../sqlPoolMetadataSyncConfigsMappers.ts | 2 + .../src/models/sqlPoolOperationsMappers.ts | 2 + ...PoolRecommendedSensitivityLabelsMappers.ts | 2 + .../models/sqlPoolReplicationLinksMappers.ts | 2 + .../src/models/sqlPoolRestorePointsMappers.ts | 2 + .../src/models/sqlPoolSchemasMappers.ts | 2 + .../sqlPoolSecurityAlertPoliciesMappers.ts | 2 + .../models/sqlPoolSensitivityLabelsMappers.ts | 2 + .../src/models/sqlPoolTableColumnsMappers.ts | 2 + .../src/models/sqlPoolTablesMappers.ts | 2 + ...qlPoolTransparentDataEncryptionsMappers.ts | 2 + ...erabilityAssessmentRuleBaselinesMappers.ts | 2 + ...PoolVulnerabilityAssessmentScansMappers.ts | 2 + .../sqlPoolVulnerabilityAssessmentsMappers.ts | 2 + .../sqlPoolWorkloadClassifierMappers.ts | 2 + .../src/models/sqlPoolWorkloadGroupMappers.ts | 2 + .../arm-synapse/src/models/sqlPoolsMappers.ts | 2 + .../src/models/workspaceAadAdminsMappers.ts | 2 + ...anagedIdentitySqlControlSettingsMappers.ts | 2 + ...gedSqlServerBlobAuditingPoliciesMappers.ts | 2 + ...agedSqlServerEncryptionProtectorMappers.ts | 2 + ...rverExtendedBlobAuditingPoliciesMappers.ts | 2 + ...agedSqlServerRecoverableSqlPoolsMappers.ts | 2 + ...agedSqlServerSecurityAlertPolicyMappers.ts | 2 + ...qlServerVulnerabilityAssessmentsMappers.ts | 2 + .../models/workspaceSqlAadAdminsMappers.ts | 2 + .../src/models/workspacesMappers.ts | 2 + .../arm-synapse/src/operations/index.ts | 42 +- .../arm-synapse/src/operations/libraries.ts | 140 + .../arm-synapse/src/operations/library.ts | 92 + .../src/operations/sqlPoolRestorePoints.ts | 1 + .../src/synapseManagementClient.ts | 84 +- .../src/synapseManagementClientContext.ts | 8 +- 58 files changed, 9117 insertions(+), 8298 deletions(-) create mode 100644 sdk/synapse/arm-synapse/src/models/librariesMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/models/libraryMappers.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/libraries.ts create mode 100644 sdk/synapse/arm-synapse/src/operations/library.ts diff --git a/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts index 44f5b924d39e..43f8443198e1 100644 --- a/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/bigDataPoolsMappers.ts @@ -47,6 +47,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -59,6 +60,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts index 38c66f693fcd..be77ba540f28 100644 --- a/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/dataMaskingPoliciesMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts b/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts index fd0f546cb105..0fe0d56f9056 100644 --- a/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/dataMaskingRulesMappers.ts @@ -46,6 +46,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -58,6 +59,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts index e0d71fb671a9..43d7b13bb6f4 100644 --- a/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/extendedSqlPoolBlobAuditingPoliciesMappers.ts @@ -44,6 +44,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -56,6 +57,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/index.ts b/sdk/synapse/arm-synapse/src/models/index.ts index dd971b2afc02..ba3c0c214b3d 100644 --- a/sdk/synapse/arm-synapse/src/models/index.ts +++ b/sdk/synapse/arm-synapse/src/models/index.ts @@ -426,1654 +426,1568 @@ export interface ReplaceAllFirewallRulesOperationResponse { } /** - * Description of an available operation + * Azure Synapse nested resource, which belongs to a workspace. */ -export interface AvailableRpOperationDisplayInfo { - /** - * Operation description - */ - description?: 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 { /** - * Resource type + * Polymorphic Discriminator */ - resource?: string; + type: "IntegrationRuntime"; /** - * Resource provider name + * Integration runtime description. */ - provider?: string; + description?: string; /** - * Operation name + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - operation?: string; + [property: string]: any; } /** - * What is this? + * Data flow properties for managed integration runtime. */ -export interface OperationMetaMetricDimensionSpecification { +export interface IntegrationRuntimeDataFlowProperties { /** - * Dimension display name + * Compute type of the cluster which will execute data flow job. Possible values include: + * 'General', 'MemoryOptimized', 'ComputeOptimized' */ - displayName?: string; + computeType?: DataFlowComputeType; /** - * Dimension unique name + * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, + * 48, 80, 144 and 272. */ - name?: string; + coreCount?: number; /** - * Whether this metric should be exported for Shoebox + * Time to live (in minutes) setting of the cluster which will execute data flow job. */ - toBeExportedForShoebox?: boolean; + timeToLive?: number; + /** + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [property: string]: any; } /** - * What is this? + * VNet properties for managed integration runtime. */ -export interface OperationMetaMetricSpecification { +export interface IntegrationRuntimeVNetProperties { /** - * The source MDM namespace + * The ID of the VNet that this integration runtime will join. */ - sourceMdmNamespace?: string; + vNetId?: string; /** - * Metric display name + * The name of the subnet this integration runtime will join. */ - displayName?: string; + subnet?: string; /** - * Metric unique name + * Resource IDs of the public IP addresses that this integration runtime will use. */ - name?: string; + publicIPs?: string[]; /** - * Metric aggregation type + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - aggregationType?: string; + [property: string]: any; +} + +/** + * The compute resource properties for managed integration runtime. + */ +export interface IntegrationRuntimeComputeProperties { /** - * Metric description + * 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 */ - displayDescription?: string; + location?: string; /** - * The source MDM account + * The node size requirement to managed integration runtime. */ - sourceMdmAccount?: string; + nodeSize?: string; /** - * Whether the regional MDM account is enabled + * The required number of nodes for managed integration runtime. */ - enableRegionalMdmAccount?: boolean; + numberOfNodes?: number; /** - * Metric units + * Maximum parallel executions count per node for managed integration runtime. */ - unit?: string; + maxParallelExecutionsPerNode?: number; /** - * Metric dimensions + * Data flow properties for managed integration runtime. */ - dimensions?: OperationMetaMetricDimensionSpecification[]; + dataFlowProperties?: IntegrationRuntimeDataFlowProperties; /** - * Whether the metric supports instance-level aggregation + * VNet properties for managed integration runtime. */ - supportsInstanceLevelAggregation?: boolean; + vNetProperties?: IntegrationRuntimeVNetProperties; /** - * Metric filter + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - metricFilterPattern?: string; + [property: string]: any; } /** - * What is this? + * Contains the possible cases for SecretBase. */ -export interface OperationMetaLogSpecification { - /** - * Log display name - */ - displayName?: string; - /** - * Time range the log covers - */ - blobDuration?: string; +export type SecretBaseUnion = SecretBase | SecureString; + +/** + * The base definition of a secret type. + */ +export interface SecretBase { /** - * Log unique name + * Polymorphic Discriminator */ - name?: string; + type: "SecretBase"; } /** - * What is this? + * Azure Synapse secure string definition. The string value will be masked with asterisks '*' + * during Get or List API calls. */ -export interface OperationMetaServiceSpecification { +export interface SecureString { /** - * Service metric specifications + * Polymorphic Discriminator */ - metricSpecifications?: OperationMetaMetricSpecification[]; + type: "SecureString"; /** - * Service log specifications + * Value of secure string. */ - logSpecifications?: OperationMetaLogSpecification[]; + value: string; } /** - * An operation that is available in this resource provider + * Catalog information for managed dedicated integration runtime. */ -export interface AvailableRpOperation { +export interface IntegrationRuntimeSsisCatalogInfo { /** - * Display properties of the operation + * The catalog database server URL. */ - display?: AvailableRpOperationDisplayInfo; + catalogServerEndpoint?: string; /** - * Whether this operation is a data action + * The administrator user name of catalog database. */ - isDataAction?: string; + catalogAdminUserName?: string; /** - * Operation name + * The password of the administrator user account of the catalog database. */ - name?: string; + catalogAdminPassword?: SecureString; /** - * Operation service specification + * 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' */ - serviceSpecification?: OperationMetaServiceSpecification; + catalogPricingTier?: IntegrationRuntimeSsisCatalogPricingTier; /** - * Operation origin + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - origin?: string; + [property: string]: any; } /** - * An operation + * Custom setup script properties for a managed dedicated integration runtime. */ -export interface OperationResource { - /** - * Operation ID - */ - id?: string; +export interface IntegrationRuntimeCustomSetupScriptProperties { /** - * Operation name + * The URI of the Azure blob container that contains the custom setup script. */ - name?: string; + blobContainerUri?: string; /** - * Operation status. Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled' + * The SAS token of the Azure blob container. */ - status?: OperationStatus; + sasToken?: SecureString; +} + +/** + * The entity reference. + */ +export interface EntityReference { /** - * Operation properties + * The type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', + * 'LinkedServiceReference' */ - properties?: any; + type?: IntegrationRuntimeEntityReferenceType; /** - * Errors from the operation + * The name of this referenced entity. */ - error?: ErrorDetail; + referenceName?: string; +} + +/** + * Data proxy properties for a managed dedicated integration runtime. + */ +export interface IntegrationRuntimeDataProxyProperties { /** - * Operation start time + * The self-hosted integration runtime reference. */ - startTime?: Date; + connectVia?: EntityReference; /** - * Operation start time + * The staging linked service reference. */ - endTime?: Date; + stagingLinkedService?: EntityReference; /** - * Completion percentage of the operation + * The path to contain the staged data in the Blob storage. */ - percentComplete?: number; + path?: string; } /** - * SQL pool SKU - * @summary Sku + * Contains the possible cases for CustomSetupBase. */ -export interface Sku { - /** - * The service tier - */ - tier?: string; - /** - * The SKU name - */ - name?: string; +export type CustomSetupBaseUnion = CustomSetupBase | CmdkeySetup | EnvironmentVariableSetup | ComponentSetup; + +/** + * The base definition of the custom setup. + */ +export interface CustomSetupBase { /** - * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in - * is not possible for the resource this may be omitted. + * Polymorphic Discriminator */ - capacity?: number; + type: "CustomSetupBase"; } /** - * A SQL Analytics pool - * @summary SQL pool + * SSIS properties for managed integration runtime. */ -export interface SqlPool extends TrackedResource { +export interface IntegrationRuntimeSsisProperties { /** - * SQL pool SKU + * Catalog information for managed dedicated integration runtime. */ - sku?: Sku; + catalogInfo?: IntegrationRuntimeSsisCatalogInfo; /** - * Maximum size in bytes + * License type for bringing your own license scenario. Possible values include: 'BasePrice', + * 'LicenseIncluded' */ - maxSizeBytes?: number; + licenseType?: IntegrationRuntimeLicenseType; /** - * Collation mode + * Custom setup script properties for a managed dedicated integration runtime. */ - collation?: string; + customSetupScriptProperties?: IntegrationRuntimeCustomSetupScriptProperties; /** - * Source database to create from + * Data proxy properties for a managed dedicated integration runtime. */ - sourceDatabaseId?: string; + dataProxyProperties?: IntegrationRuntimeDataProxyProperties; /** - * Backup database to restore from + * The edition for the SSIS Integration Runtime. Possible values include: 'Standard', + * 'Enterprise' */ - recoverableDatabaseId?: string; + edition?: IntegrationRuntimeEdition; /** - * Resource state + * Custom setup without script properties for a SSIS integration runtime. */ - provisioningState?: string; + expressCustomSetupProperties?: CustomSetupBaseUnion[]; /** - * Resource status + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - status?: string; + [property: string]: any; +} + +/** + * Managed integration runtime, including managed elastic and managed dedicated integration + * runtimes. + */ +export interface ManagedIntegrationRuntime { /** - * Snapshot time to restore + * Polymorphic Discriminator */ - restorePointInTime?: string; + type: "Managed"; /** - * What is this? + * Integration runtime description. */ - createMode?: string; + description?: string; /** - * Date the SQL pool was created + * 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.** */ - creationDate?: Date; + readonly state?: IntegrationRuntimeState; /** - * The storage account type used to store backups for this sql pool. Possible values include: - * 'GRS', 'LRS', 'ZRS' + * The compute resource for managed integration runtime. */ - storageAccountType?: StorageAccountType; + computeProperties?: IntegrationRuntimeComputeProperties; + /** + * SSIS properties for managed integration runtime. + */ + ssisProperties?: IntegrationRuntimeSsisProperties; } /** - * A SQL Analytics pool patch info - * @summary SQL pool patch info + * The custom setup of running cmdkey commands. */ -export interface SqlPoolPatchInfo { - /** - * Resource tags. - */ - tags?: { [propertyName: string]: string }; - /** - * The geo-location where the resource lives - */ - location?: string; +export interface CmdkeySetup { /** - * SQL pool SKU + * Polymorphic Discriminator */ - sku?: Sku; + type: "CmdkeySetup"; /** - * Maximum size in bytes + * The server name of data source access. */ - maxSizeBytes?: number; + targetName: any; /** - * Collation mode + * The user name of data source access. */ - collation?: string; + userName: any; /** - * Source database to create from + * The password of data source access. */ - sourceDatabaseId?: string; + password: SecretBaseUnion; +} + +/** + * The custom setup of setting environment variable. + */ +export interface EnvironmentVariableSetup { /** - * Backup database to restore from + * Polymorphic Discriminator */ - recoverableDatabaseId?: string; + type: "EnvironmentVariableSetup"; /** - * Resource state + * The name of the environment variable. */ - provisioningState?: string; + variableName: string; /** - * Resource status + * The value of the environment variable. */ - status?: string; + variableValue: string; +} + +/** + * The custom setup of installing 3rd party components. + */ +export interface ComponentSetup { /** - * Snapshot time to restore + * Polymorphic Discriminator */ - restorePointInTime?: string; + type: "ComponentSetup"; /** - * What is this? + * The name of the 3rd party component. */ - createMode?: string; + componentName: string; /** - * Date the SQL pool was created + * The license key to activate the component. */ - creationDate?: Date; + 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 { /** - * The storage account type used to store backups for this sql pool. Possible values include: - * 'GRS', 'LRS', 'ZRS' + * Polymorphic Discriminator */ - storageAccountType?: StorageAccountType; + authorizationType: "LinkedIntegrationRuntimeType"; } /** - * Configuration for metadata sync - * @summary Metadata sync configuration + * Self-hosted integration runtime. */ -export interface MetadataSyncConfig extends BaseResource { +export interface SelfHostedIntegrationRuntime { /** - * Indicates whether the metadata sync is enabled or disabled + * Polymorphic Discriminator */ - enabled?: boolean; + type: "SelfHosted"; /** - * The Sync Interval in minutes. + * Integration runtime description. */ - syncIntervalInMinutes?: number; + description?: string; + /** + * Linked integration runtime type from data factory + */ + linkedInfo?: LinkedIntegrationRuntimeTypeUnion; } /** - * A database geo backup policy. + * The key authorization type integration runtime. */ -export interface GeoBackupPolicy extends ProxyResource { +export interface LinkedIntegrationRuntimeKeyAuthorization { /** - * The state of the geo backup policy. Possible values include: 'Disabled', 'Enabled' + * Polymorphic Discriminator */ - state: GeoBackupPolicyState; + authorizationType: "Key"; /** - * The storage type of the geo backup policy. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The key used for authorization. */ - readonly storageType?: string; + key: SecureString; +} + +/** + * The role based access control (RBAC) authorization type integration runtime. + */ +export interface LinkedIntegrationRuntimeRbacAuthorization { /** - * Kind of geo backup policy. This is metadata used for the Azure portal experience. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly kind?: string; + authorizationType: "RBAC"; /** - * Backup policy location. - * **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 location?: string; + resourceId: string; } /** - * A database query. + * Contains the possible cases for IntegrationRuntimeStatus. */ -export interface QueryMetric { +export type IntegrationRuntimeStatusUnion = IntegrationRuntimeStatus | ManagedIntegrationRuntimeStatus | SelfHostedIntegrationRuntimeStatus; + +/** + * Integration runtime status. + */ +export interface IntegrationRuntimeStatus { /** - * The name of the metric - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly name?: string; + type: "IntegrationRuntimeStatus"; /** - * The name of the metric for display in user interface + * 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 displayName?: string; + readonly dataFactoryName?: string; /** - * The unit of measurement. Possible values include: 'percentage', 'KB', 'microseconds' + * 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 unit?: QueryMetricUnit; + readonly state?: IntegrationRuntimeState; /** - * The measured value - * **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 value?: number; + [property: string]: any; } /** - * A database query. + * Error definition for managed integration runtime. */ -export interface QueryInterval { +export interface ManagedIntegrationRuntimeError { /** - * The start time of the measurement interval (ISO8601 format). + * The time when the error occurred. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly intervalStartTime?: Date; + readonly time?: Date; /** - * The number of times the query was executed during this interval. + * Error code. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly executionCount?: number; + readonly code?: string; /** - * The list of query metrics during this interval. + * Managed integration runtime error parameters. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly metrics?: QueryMetric[]; -} - -/** - * A database query. - */ -export interface QueryStatistic { + readonly parameters?: string[]; /** - * The id of the query + * Error message. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly queryId?: string; + readonly message?: string; /** - * The list of query intervals. - * **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 intervals?: QueryInterval[]; + [property: string]: any; } /** - * A database query. + * Properties of integration runtime node. */ -export interface TopQueries { +export interface ManagedIntegrationRuntimeNode { /** - * The function that is used to aggregate each query's metrics. Possible values include: 'min', - * 'max', 'avg', 'sum' + * The managed integration runtime node id. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly aggregationFunction?: QueryAggregationFunction; + readonly nodeId?: string; /** - * The execution type that is used to filter the query instances that are returned. Possible - * values include: 'any', 'regular', 'irregular', 'aborted', 'exception' + * 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.** */ - readonly executionType?: QueryExecutionType; + readonly status?: ManagedIntegrationRuntimeNodeStatus; /** - * The duration of the interval (ISO8601 duration format). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The errors that occurred on this integration runtime node. */ - readonly intervalType?: string; + errors?: ManagedIntegrationRuntimeError[]; /** - * The number of requested queries. - * **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 numberOfTopQueries?: number; + [property: string]: any; +} + +/** + * Properties of managed integration runtime operation result. + */ +export interface ManagedIntegrationRuntimeOperationResult { /** - * The start time for queries that are returned (ISO8601 format) + * The operation type. Could be start or stop. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly observationStartTime?: Date; + readonly type?: string; /** - * The end time for queries that are returned (ISO8601 format) + * The start time of the operation. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly observationEndTime?: Date; + readonly startTime?: Date; /** - * The type of metric to use for ordering the top metrics. Possible values include: 'cpu', 'io', - * 'logio', 'duration', 'executionCount' + * The operation result. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly observedMetric?: QueryObservedMetricType; + readonly result?: string; /** - * The list of queries. + * The error code. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly queries?: QueryStatistic[]; -} - -/** - * Represents the response to a get top queries request. - */ -export interface TopQueriesListResult { + readonly errorCode?: string; /** - * The list of top queries. + * Managed integration runtime error parameters. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value: TopQueries[]; -} - -/** - * User activities of a data warehouse - */ -export interface DataWarehouseUserActivities extends ProxyResource { + readonly parameters?: string[]; /** - * Count of running and suspended queries. + * The activity id for the operation request. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly activeQueriesCount?: number; + readonly activityId?: string; + /** + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [property: string]: any; } /** - * Database restore points. + * Managed integration runtime status. */ -export interface RestorePoint extends ProxyResource { +export interface ManagedIntegrationRuntimeStatus { /** - * Resource location. + * Polymorphic Discriminator + */ + type: "Managed"; + /** + * 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 location?: string; + readonly dataFactoryName?: string; /** - * The type of restore point. Possible values include: 'CONTINUOUS', 'DISCRETE' + * 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 restorePointType?: RestorePointType; + readonly state?: IntegrationRuntimeState; /** - * The earliest time to which this database can be restored + * 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.** */ - readonly earliestRestoreDate?: Date; + readonly createTime?: Date; /** - * The time the backup was taken + * The list of nodes for managed integration runtime. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly restorePointCreationDate?: Date; + readonly nodes?: ManagedIntegrationRuntimeNode[]; /** - * The label of restore point for backup request by user + * The errors that occurred on this integration runtime. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly restorePointLabel?: string; + readonly otherErrors?: ManagedIntegrationRuntimeError[]; + /** + * 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.** + */ + readonly lastOperation?: ManagedIntegrationRuntimeOperationResult; } /** - * Represents a Sql pool replication link. + * Properties of Self-hosted integration runtime node. */ -export interface ReplicationLink extends ProxyResource { +export interface SelfHostedIntegrationRuntimeNode { /** - * Location of the workspace that contains this firewall rule. + * Name of the integration runtime node. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly location?: string; + readonly nodeName?: string; /** - * Legacy value indicating whether termination is allowed. Currently always returns true. + * Machine name of the integration runtime node. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly isTerminationAllowed?: boolean; + readonly machineName?: string; /** - * Replication mode of this replication link. + * URI for the host machine of the integration runtime. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly replicationMode?: string; + readonly hostServiceUri?: string; /** - * The name of the workspace hosting the partner Sql pool. + * 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.** */ - readonly partnerServer?: string; + readonly status?: SelfHostedIntegrationRuntimeNodeStatus; /** - * The name of the partner Sql pool. + * The integration runtime capabilities dictionary * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly partnerDatabase?: string; + readonly capabilities?: { [propertyName: string]: string }; /** - * The Azure Region of the partner Sql pool. + * Status of the integration runtime node version. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly partnerLocation?: string; + readonly versionStatus?: string; /** - * The role of the Sql pool in the replication link. Possible values include: 'Primary', - * 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' + * Version of the integration runtime node. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly role?: ReplicationRole; + readonly version?: string; /** - * The role of the partner Sql pool in the replication link. Possible values include: 'Primary', - * 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' + * 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.** */ - readonly partnerRole?: ReplicationRole; + readonly registerTime?: Date; /** - * The start time for the replication link. + * 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.** */ - readonly startTime?: Date; + readonly lastConnectTime?: Date; /** - * The percentage of seeding complete for the replication link. + * 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.** */ - readonly percentComplete?: number; + readonly expiryTime?: Date; /** - * The replication state for the replication link. Possible values include: 'PENDING', 'SEEDING', - * 'CATCH_UP', 'SUSPENDED' + * The time the node last started up. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly replicationState?: ReplicationState; -} - -/** - * Maintenance window time range. - */ -export interface MaintenanceWindowTimeRange { - /** - * Day of maintenance window. Possible values include: 'Sunday', 'Monday', 'Tuesday', - * 'Wednesday', 'Thursday', 'Friday', 'Saturday' - */ - dayOfWeek?: DayOfWeek; - /** - * Start time minutes offset from 12am. - */ - startTime?: string; + readonly lastStartTime?: Date; /** - * Duration of maintenance window in minutes. + * The integration runtime node last stop time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - duration?: string; -} - -/** - * Maintenance window options. - */ -export interface MaintenanceWindowOptions extends ProxyResource { + readonly lastStopTime?: Date; /** - * Whether maintenance windows are enabled for the database. + * 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.** */ - isEnabled?: boolean; + readonly lastUpdateResult?: IntegrationRuntimeUpdateResult; /** - * Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}. + * 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.** */ - maintenanceWindowCycles?: MaintenanceWindowTimeRange[]; + readonly lastStartUpdateTime?: Date; /** - * Minimum duration of maintenance window. + * 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.** */ - minDurationInMinutes?: number; + readonly lastEndUpdateTime?: Date; /** - * Default duration for maintenance window. + * 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.** */ - defaultDurationInMinutes?: number; + readonly isActiveDispatcher?: boolean; /** - * Minimum number of maintenance windows cycles to be set on the database. + * Maximum concurrent jobs on the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - minCycles?: number; + readonly concurrentJobsLimit?: number; /** - * Time granularity in minutes for maintenance windows. + * The maximum concurrent jobs in this integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timeGranularityInMinutes?: number; + readonly maxConcurrentJobs?: number; /** - * Whether we allow multiple maintenance windows per cycle. + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - allowMultipleMaintenanceWindowsPerCycle?: boolean; -} - -/** - * Maintenance windows. - */ -export interface MaintenanceWindows extends ProxyResource { - timeRanges?: MaintenanceWindowTimeRange[]; + [property: string]: any; } /** - * Represents a Sql pool transparent data encryption configuration. + * The linked integration runtime information. */ -export interface TransparentDataEncryption extends ProxyResource { +export interface LinkedIntegrationRuntime { /** - * Resource location. + * The name of the linked integration runtime. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly location?: string; + readonly name?: string; /** - * The status of the database transparent data encryption. Possible values include: 'Enabled', - * 'Disabled' + * 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.** */ - status?: TransparentDataEncryptionStatus; -} - -/** - * A Sql pool blob auditing policy. - */ -export interface SqlPoolBlobAuditingPolicy extends ProxyResource { + readonly subscriptionId?: string; /** - * Resource kind. + * 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.** */ - readonly kind?: string; + readonly dataFactoryName?: string; /** - * Specifies the state of the policy. If state is Enabled, storageEndpoint or - * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' + * 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.** */ - state: BlobAuditingPolicyState; + readonly dataFactoryLocation?: string; /** - * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state - * is Enabled, storageEndpoint is required. + * The creating time of the linked integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageEndpoint?: string; + readonly createTime?: Date; +} + +/** + * Self-hosted integration runtime status. + */ +export interface SelfHostedIntegrationRuntimeStatus { /** - * Specifies the identifier key of the auditing storage account. If state is Enabled and - * storageEndpoint is specified, storageAccountAccessKey is required. + * Polymorphic Discriminator */ - storageAccountAccessKey?: string; + type: "SelfHosted"; /** - * Specifies the number of days to keep in the audit logs in the storage account. + * The workspace name which the integration runtime belong to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retentionDays?: number; + readonly dataFactoryName?: string; /** - * 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) + * 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.** */ - auditActionsAndGroups?: string[]; + readonly state?: IntegrationRuntimeState; /** - * Specifies the blob storage subscription Id. + * 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.** */ - storageAccountSubscriptionId?: string; + readonly createTime?: Date; /** - * Specifies whether storageAccountAccessKey value is the storage's secondary key. + * The task queue id of the integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isStorageSecondaryKeyInUse?: boolean; + readonly taskQueueId?: string; /** - * 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) + * The node communication Channel encryption mode + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isAzureMonitorTargetEnabled?: boolean; -} - -/** - * A Sql pool operation. - */ -export interface SqlPoolOperation extends ProxyResource { + readonly nodeCommunicationChannelEncryptionMode?: string; /** - * The name of the Sql pool the operation is being performed on. + * 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.** */ - readonly databaseName?: string; + readonly internalChannelEncryption?: IntegrationRuntimeInternalChannelEncryptionMode; /** - * The name of operation. + * Version of the integration runtime. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly operation?: string; + readonly version?: string; /** - * The friendly name of operation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The list of nodes for this integration runtime. */ - readonly operationFriendlyName?: string; + nodes?: SelfHostedIntegrationRuntimeNode[]; /** - * The percentage of the operation completed. + * 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.** */ - readonly percentComplete?: number; + readonly scheduledUpdateDate?: Date; /** - * The name of the server. + * 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.** */ - readonly serverName?: string; + readonly updateDelayOffset?: string; /** - * The operation start time. + * The local time zone offset in hours. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly startTime?: Date; + readonly localTimeZoneOffset?: string; /** - * The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', - * 'CancelInProgress', 'Cancelled' + * Object with additional information about integration runtime capabilities. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: ManagementOperationState; + readonly capabilities?: { [propertyName: string]: string }; /** - * The operation error code. + * 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.** */ - readonly errorCode?: number; + readonly serviceUrls?: string[]; /** - * The operation error description. + * 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.** */ - readonly errorDescription?: string; + readonly autoUpdate?: IntegrationRuntimeAutoUpdate; /** - * The operation error severity. + * Status of the integration runtime version. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly errorSeverity?: number; + readonly versionStatus?: string; /** - * Whether or not the error is a user error. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The list of linked integration runtimes that are created to share with this integration + * runtime. */ - readonly isUserError?: boolean; + links?: LinkedIntegrationRuntime[]; /** - * The estimated completion time of the operation. + * 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.** */ - readonly estimatedCompletionTime?: Date; + readonly pushedVersion?: string; /** - * The operation description. + * The latest version on download center. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly description?: string; + readonly latestVersion?: string; /** - * Whether the operation can be cancelled. + * 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.** */ - readonly isCancellable?: boolean; + readonly autoUpdateETA?: Date; } /** - * The Sql pool usages. + * Connection information for encrypting the on-premises data source credentials. */ -export interface SqlPoolUsage { +export interface IntegrationRuntimeConnectionInfo { /** - * The name of the usage metric. + * 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.** */ - readonly name?: string; + readonly serviceToken?: string; /** - * The name of the resource. + * 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.** */ - readonly resourceName?: string; + readonly identityCertThumbprint?: string; /** - * The usage metric display name. + * The on-premises integration runtime host URL. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly displayName?: string; + readonly hostServiceUri?: string; /** - * The current value of the usage metric. + * The integration runtime version. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly currentValue?: number; + readonly version?: string; /** - * The current limit of the usage metric. + * 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 limit?: number; + readonly publicKey?: string; /** - * The units of the usage metric. + * Whether the identity certificate is expired. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: string; + readonly isIdentityCertExprired?: boolean; /** - * The next reset time for the usage metric (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 nextResetTime?: Date; + [property: string]: any; } /** - * A sensitivity label. + * Parameters to regenerate the authentication key. */ -export interface SensitivityLabel extends ProxyResource { +export interface IntegrationRuntimeRegenerateKeyParameters { /** - * The schema name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The name of the authentication key to regenerate. Possible values include: 'authKey1', + * 'authKey2' */ - readonly schemaName?: string; + keyName?: IntegrationRuntimeAuthKeyName; +} + +/** + * The integration runtime authentication keys. + */ +export interface IntegrationRuntimeAuthKeys { /** - * The table name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The primary integration runtime authentication key. */ - readonly tableName?: string; + authKey1?: string; /** - * The column name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The secondary integration runtime authentication key. */ - readonly columnName?: string; + authKey2?: string; +} + +/** + * Monitoring data for integration runtime node. + */ +export interface IntegrationRuntimeNodeMonitoringData { /** - * The label name. + * Name of the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - labelName?: string; + readonly nodeName?: string; /** - * The label ID. + * Available memory (MB) on the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - labelId?: string; + readonly availableMemoryInMB?: number; /** - * The information type. + * CPU percentage on the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - informationType?: string; + readonly cpuUtilization?: number; /** - * The information type ID. + * Maximum concurrent jobs on the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - informationTypeId?: string; + readonly concurrentJobsLimit?: number; /** - * Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. - * Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or - * not. + * 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 isDisabled?: boolean; + readonly concurrentJobsRunning?: number; /** - * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical' + * The maximum concurrent jobs in this integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rank?: SensitivityLabelRank; + readonly maxConcurrentJobs?: number; /** - * managed by + * Sent bytes on the integration runtime node. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly managedBy?: string; -} - -/** - * A Sql pool schema resource. - */ -export interface SqlPoolSchema extends ProxyResource { -} - -/** - * A Sql pool table resource. - */ -export interface SqlPoolTable extends ProxyResource { + readonly sentBytes?: number; + /** + * Received bytes on the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly receivedBytes?: number; + /** + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [property: string]: any; } /** - * A Sql pool column resource. + * Get monitoring data response. */ -export interface SqlPoolColumn extends ProxyResource { +export interface IntegrationRuntimeMonitoringData { /** - * The column data type. 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' + * Integration runtime name. */ - columnType?: ColumnDataType; + name?: string; /** - * Indicates whether column value is computed or not - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Integration runtime node monitoring data. */ - readonly isComputed?: boolean; + nodes?: IntegrationRuntimeNodeMonitoringData[]; } /** - * A Sql pool connection policy. + * The IP address of self-hosted integration runtime node. */ -export interface SqlPoolConnectionPolicy extends ProxyResource { - /** - * Resource kind. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly kind?: string; +export interface IntegrationRuntimeNodeIpAddress { /** - * Resource location. + * The IP address of self-hosted integration runtime node. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly location?: string; - /** - * The state of security access. - */ - securityEnabledAccess?: string; + readonly ipAddress?: string; +} + +/** + * Contains the possible cases for SsisObjectMetadata. + */ +export type SsisObjectMetadataUnion = SsisObjectMetadata | SsisFolder | SsisProject | SsisPackage | SsisEnvironment; + +/** + * SSIS object metadata. + */ +export interface SsisObjectMetadata { /** - * The fully qualified host name of the auditing proxy. + * Polymorphic Discriminator */ - proxyDnsName?: string; + type: "SsisObjectMetadata"; /** - * The port number of the auditing proxy. + * Metadata id. */ - proxyPort?: string; + id?: number; /** - * The visibility of the auditing proxy. + * Metadata name. */ - visibility?: string; + name?: string; /** - * Whether server default is enabled or disabled. + * Metadata description. */ - useServerDefault?: string; + description?: string; +} + +/** + * A list of SSIS object metadata. + */ +export interface SsisObjectMetadataListResponse { /** - * The state of proxy redirection. + * List of SSIS object metadata. */ - redirectionState?: string; + value?: SsisObjectMetadataUnion[]; /** - * The connection policy state. + * The link to the next page of results, if any remaining results exist. */ - state?: string; + nextLink?: string; } /** - * Properties of a Vulnerability Assessment recurring scans. + * Ssis folder. */ -export interface VulnerabilityAssessmentRecurringScansProperties { +export interface SsisFolder { /** - * Recurring scans state. + * Polymorphic Discriminator */ - isEnabled?: boolean; + type: "Folder"; /** - * Specifies that the schedule scan notification will be is sent to the subscription - * administrators. Default value: true. + * Metadata id. */ - emailSubscriptionAdmins?: boolean; + id?: number; /** - * Specifies an array of e-mail addresses to which the scan notification is sent. + * Metadata name. */ - emails?: string[]; + name?: string; + /** + * Metadata description. + */ + description?: string; } /** - * A Sql pool vulnerability assessment. + * Ssis environment reference. */ -export interface SqlPoolVulnerabilityAssessment extends ProxyResource { +export interface SsisEnvironmentReference { /** - * A blob storage container path to hold the scan results (e.g. - * https://myStorage.blob.core.windows.net/VaScans/). It is required if server level - * vulnerability assessment policy doesn't set + * Environment reference id. */ - storageContainerPath?: string; + id?: number; /** - * A shared access signature (SAS Key) that has write access to the blob container specified in - * 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, - * StorageContainerSasKey is required. + * Environment folder name. */ - storageContainerSasKey?: string; + environmentFolderName?: string; /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + * Environment name. */ - storageAccountAccessKey?: string; + environmentName?: string; /** - * The recurring scans settings + * Reference type */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + referenceType?: string; } /** - * Properties of a vulnerability assessment scan error. + * Ssis parameter. */ -export interface VulnerabilityAssessmentScanError { +export interface SsisParameter { /** - * The error code. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Parameter id. */ - readonly code?: string; + id?: number; /** - * The error message. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Parameter name. */ - readonly message?: string; -} - -/** - * A vulnerability assessment scan record. - */ -export interface VulnerabilityAssessmentScanRecord extends ProxyResource { + name?: string; /** - * The scan ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Parameter description. */ - readonly scanId?: string; + description?: string; /** - * The scan trigger type. Possible values include: 'OnDemand', 'Recurring' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Parameter type. */ - readonly triggerType?: VulnerabilityAssessmentScanTriggerType; + dataType?: string; /** - * The scan status. Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether parameter is required. */ - readonly state?: VulnerabilityAssessmentScanState; + required?: boolean; /** - * The scan start time (UTC). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether parameter is sensitive. */ - readonly startTime?: Date; + sensitive?: boolean; /** - * The scan end time (UTC). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Design default value of parameter. */ - readonly endTime?: Date; + designDefaultValue?: string; /** - * The scan errors. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Default value of parameter. */ - readonly errors?: VulnerabilityAssessmentScanError[]; + defaultValue?: string; /** - * The scan results storage container path. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Default sensitive value of parameter. */ - readonly storageContainerPath?: string; + sensitiveDefaultValue?: string; /** - * The number of failed security checks. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Parameter value type. */ - readonly numberOfFailedSecurityChecks?: number; + valueType?: string; + /** + * Parameter value set. + */ + valueSet?: boolean; + /** + * Parameter reference variable. + */ + variable?: string; } /** - * A Sql pool security alert policy. + * Ssis project. */ -export interface SqlPoolSecurityAlertPolicy extends ProxyResource { +export interface SsisProject { /** - * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been - * applied yet on the specific Sql pool. Possible values include: 'New', 'Enabled', 'Disabled' + * Polymorphic Discriminator */ - state: SecurityAlertPolicyState; + type: "Project"; /** - * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action + * Metadata id. */ - disabledAlerts?: string[]; + id?: number; /** - * Specifies an array of e-mail addresses to which the alert is sent. + * Metadata name. */ - emailAddresses?: string[]; + name?: string; /** - * Specifies that the alert is sent to the account administrators. + * Metadata description. */ - emailAccountAdmins?: boolean; + description?: string; /** - * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob - * storage will hold all Threat Detection audit logs. + * Folder id which contains project. */ - storageEndpoint?: string; + folderId?: number; /** - * Specifies the identifier key of the Threat Detection audit storage account. + * Project version. */ - storageAccountAccessKey?: string; + version?: number; /** - * Specifies the number of days to keep in the Threat Detection audit logs. + * Environment reference in project */ - retentionDays?: number; + environmentRefs?: SsisEnvironmentReference[]; /** - * Specifies the UTC creation time of the policy. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Parameters in project */ - readonly creationTime?: Date; + parameters?: SsisParameter[]; } /** - * Properties for an Sql pool vulnerability assessment rule baseline's result. + * Ssis Package. */ -export interface SqlPoolVulnerabilityAssessmentRuleBaselineItem { +export interface SsisPackage { /** - * The rule baseline result + * Polymorphic Discriminator */ - result: 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[]; } /** - * A Sql pool vulnerability assessment rule baseline. + * Ssis variable. */ -export interface SqlPoolVulnerabilityAssessmentRuleBaseline extends ProxyResource { +export interface SsisVariable { /** - * The rule baseline result + * Variable id. */ - baselineResults: SqlPoolVulnerabilityAssessmentRuleBaselineItem[]; + 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; } /** - * A Sql pool Vulnerability Assessment scan export resource. + * Ssis environment. */ -export interface SqlPoolVulnerabilityAssessmentScansExport extends ProxyResource { +export interface SsisEnvironment { /** - * Location of the exported report (e.g. - * https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly exportedReportLocation?: 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[]; } /** - * Contains the information necessary to perform a resource move (rename). + * Update integration runtime request. */ -export interface ResourceMoveDefinition { +export interface UpdateIntegrationRuntimeRequest { /** - * The target ID for the resource + * 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' */ - id: 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; } /** - * Contains the information necessary to perform a create Sql pool restore point operation. + * Integration runtime resource type. */ -export interface CreateSqlPoolRestorePointDefinition { +export interface IntegrationRuntimeResource extends SubResource { /** - * The restore point label to apply + * Integration runtime properties. */ - restorePointLabel: string; + properties: IntegrationRuntimeUnion; } /** - * Workload group operations for a sql pool + * The request payload of get SSIS object metadata. */ -export interface WorkloadGroup extends ProxyResource { - /** - * The workload group minimum percentage resource. - */ - minResourcePercent: number; - /** - * The workload group cap percentage resource. - */ - maxResourcePercent: number; +export interface GetSsisObjectMetadataRequest { /** - * The workload group request minimum grant percentage. + * Metadata path. */ - minResourcePercentPerRequest: number; + metadataPath?: string; +} + +/** + * Update integration runtime node request. + */ +export interface UpdateIntegrationRuntimeNodeRequest { /** - * The workload group request maximum grant percentage. + * The number of concurrent jobs permitted to run on the integration runtime node. Values between + * 1 and maxConcurrentJobs(inclusive) are allowed. */ - maxResourcePercentPerRequest?: number; + concurrentJobsLimit?: number; +} + +/** + * Integration runtime status response. + */ +export interface IntegrationRuntimeStatusResponse { /** - * The workload group importance level. + * The integration runtime name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - importance?: string; + readonly name?: string; /** - * The workload group query execution timeout. + * Integration runtime properties. */ - queryExecutionTimeout?: number; + properties: IntegrationRuntimeStatusUnion; } /** - * Workload classifier operations for a data warehouse + * The status of the operation. */ -export interface WorkloadClassifier extends ProxyResource { +export interface SsisObjectMetadataStatusResponse { /** - * The workload classifier member name. + * The status of the operation. */ - memberName: string; + status?: string; /** - * The workload classifier label. + * The operation name. */ - label?: string; + name?: string; /** - * The workload classifier context. + * The operation properties. */ - context?: string; + properties?: string; /** - * The workload classifier start time for classification. + * The operation error message. */ - startTime?: string; + error?: string; +} + +/** + * A workspace key + */ +export interface Key extends ProxyResource { /** - * The workload classifier end time for classification. + * Used to activate the workspace after a customer managed key is provided. */ - endTime?: string; + isActiveCMK?: boolean; /** - * The workload classifier importance. + * The Key Vault Url of the workspace key. */ - importance?: string; + keyVaultUrl?: string; } /** - * An interface representing DataMaskingPolicy. + * Library response details */ -export interface DataMaskingPolicy extends ProxyResource { +export interface LibraryResource extends SubResource { /** - * The state of the data masking policy. Possible values include: 'Disabled', 'Enabled' + * Name of the library. */ - dataMaskingState: DataMaskingState; + libraryResourceName?: string; /** - * 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. + * Storage blob path of library. */ - exemptPrincipals?: string; + path?: string; /** - * The list of the application principals. This is a legacy parameter and is no longer used. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Storage blob container name. */ - readonly applicationPrincipals?: string; + containerName?: string; /** - * The masking level. This is a legacy parameter and is no longer used. + * The last update time of the library. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly maskingLevel?: string; + readonly uploadedTimestamp?: Date; /** - * The location of the data masking policy. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Type of the library. */ - readonly location?: string; + libraryResourceType?: string; /** - * The kind of data masking policy. Metadata, used for Azure portal. + * Provisioning status of the library/package. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly kind?: string; + readonly provisioningStatus?: string; /** - * Fully qualified resource ID of the sql pool + * Creator Id of the library/package. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly managedBy?: string; + readonly creatorId?: string; } /** - * An extended Sql pool blob auditing policy. + * Description of an available operation */ -export interface ExtendedSqlPoolBlobAuditingPolicy extends ProxyResource { +export interface AvailableRpOperationDisplayInfo { /** - * Specifies condition of where clause when creating an audit. + * Operation description */ - predicateExpression?: string; + description?: string; /** - * Specifies the state of the policy. If state is Enabled, storageEndpoint or - * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' + * Resource type */ - state: BlobAuditingPolicyState; + resource?: string; /** - * 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) + * Resource provider name */ - isAzureMonitorTargetEnabled?: boolean; + provider?: string; /** - * 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. + * Operation name */ - queueDelayMs?: number; + operation?: string; } /** - * Represents a Sql pool data masking rule. + * What is this? */ -export interface DataMaskingRule extends ProxyResource { +export interface OperationMetaMetricDimensionSpecification { /** - * The rule Id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Dimension display name */ - readonly dataMaskingRuleId?: string; + displayName?: string; /** - * The alias name. This is a legacy parameter and is no longer used. + * Dimension unique name */ - aliasName?: string; + name?: string; /** - * The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, - * tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the - * rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless - * of the provided value of ruleState. Possible values include: 'Disabled', 'Enabled' + * Whether this metric should be exported for Shoebox */ - ruleState?: DataMaskingRuleState; + toBeExportedForShoebox?: boolean; +} + +/** + * What is this? + */ +export interface OperationMetaMetricSpecification { /** - * The schema name on which the data masking rule is applied. + * The source MDM namespace */ - schemaName: string; + sourceMdmNamespace?: string; /** - * The table name on which the data masking rule is applied. + * Metric display name */ - tableName: string; + displayName?: string; /** - * The column name on which the data masking rule is applied. + * Metric unique name */ - columnName: string; + name?: string; /** - * The masking function that is used for the data masking rule. Possible values include: - * 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' + * Metric aggregation type */ - maskingFunction: DataMaskingFunction; + aggregationType?: string; /** - * The numberFrom property of the masking rule. Required if maskingFunction is set to Number, - * otherwise this parameter will be ignored. + * Metric description */ - numberFrom?: string; + displayDescription?: string; /** - * The numberTo property of the data masking rule. Required if maskingFunction is set to Number, - * otherwise this parameter will be ignored. + * The source MDM account */ - numberTo?: string; + sourceMdmAccount?: 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. + * Whether the regional MDM account is enabled */ - prefixSize?: string; + enableRegionalMdmAccount?: boolean; /** - * 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. + * Metric units */ - suffixSize?: string; + unit?: 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. + * Metric dimensions */ - replacementString?: string; + dimensions?: OperationMetaMetricDimensionSpecification[]; /** - * The location of the data masking rule. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Whether the metric supports instance-level aggregation */ - readonly location?: string; + supportsInstanceLevelAggregation?: boolean; /** - * 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.** + * Metric filter */ - readonly kind?: string; + metricFilterPattern?: string; } /** - * A sensitivity label update operation. + * What is this? */ -export interface SensitivityLabelUpdate extends ProxyResource { - /** - * Possible values include: 'set', 'remove' - */ - op: SensitivityLabelUpdateKind; - /** - * Schema name of the column to update. - */ - schema: string; +export interface OperationMetaLogSpecification { /** - * Table name of the column to update. + * Log display name */ - table: string; + displayName?: string; /** - * Column name to update. + * Time range the log covers */ - column: string; + blobDuration?: string; /** - * The sensitivity label information to apply on a column. + * Log unique name */ - sensitivityLabel?: SensitivityLabel; + name?: string; } /** - * A list of sensitivity label update operations. + * What is this? */ -export interface SensitivityLabelUpdateList { - operations?: SensitivityLabelUpdate[]; +export interface OperationMetaServiceSpecification { + /** + * Service metric specifications + */ + metricSpecifications?: OperationMetaMetricSpecification[]; + /** + * Service log specifications + */ + logSpecifications?: OperationMetaLogSpecification[]; } /** - * A recommended sensitivity label update operation. + * An operation that is available in this resource provider */ -export interface RecommendedSensitivityLabelUpdate extends ProxyResource { +export interface AvailableRpOperation { /** - * Possible values include: 'enable', 'disable' + * Display properties of the operation */ - op: RecommendedSensitivityLabelUpdateKind; + display?: AvailableRpOperationDisplayInfo; /** - * Schema name of the column to update. + * Whether this operation is a data action */ - schema: string; + isDataAction?: string; /** - * Table name of the column to update. + * Operation name */ - table: string; + name?: string; /** - * Column name to update. + * Operation service specification */ - column: string; -} - -/** - * A list of recommended sensitivity label update operations. - */ -export interface RecommendedSensitivityLabelUpdateList { - operations?: RecommendedSensitivityLabelUpdate[]; + serviceSpecification?: OperationMetaServiceSpecification; + /** + * Operation origin + */ + origin?: string; } /** - * Details of the data lake storage account associated with the workspace + * An operation */ -export interface DataLakeStorageAccountDetails { +export interface OperationResource { /** - * Account URL + * Operation ID */ - accountUrl?: string; + id?: string; /** - * Filesystem name + * Operation name */ - filesystem?: string; -} - -/** - * Virtual Network Profile - */ -export interface VirtualNetworkProfile { + name?: string; /** - * Subnet ID used for computes in workspace + * Operation status. Possible values include: 'InProgress', 'Succeeded', 'Failed', 'Canceled' */ - computeSubnetId?: string; -} - -/** - * Private endpoint details - */ -export interface PrivateEndpoint extends BaseResource { + status?: OperationStatus; /** - * Resource id of the private endpoint. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Operation properties */ - readonly id?: string; + properties?: any; + /** + * Errors from the operation + */ + error?: ErrorDetail; + /** + * Operation start time + */ + startTime?: Date; + /** + * Operation start time + */ + endTime?: Date; + /** + * Completion percentage of the operation + */ + percentComplete?: number; } /** @@ -2095,6 +2009,17 @@ export interface PrivateLinkServiceConnectionState { readonly actionsRequired?: string; } +/** + * Private endpoint details + */ +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; +} + /** * A private endpoint connection */ @@ -2115,2215 +2040,2350 @@ export interface PrivateEndpointConnection extends ProxyResource { } /** - * Details of the customer managed key associated with the workspace + * Properties of a private link resource. */ -export interface WorkspaceKeyDetails { +export interface PrivateLinkResourceProperties { /** - * Workspace Key sub-resource name + * The private link resource group id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly groupId?: string; /** - * Workspace Key sub-resource key vault url + * The private link resource required member names. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - keyVaultUrl?: string; + readonly requiredMembers?: string[]; + /** + * 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 requiredZoneNames?: string[]; } /** - * Details of the customer managed key associated with the workspace + * A private link resource */ -export interface CustomerManagedKeyDetails { +export interface PrivateLinkResource extends ProxyResource { /** - * The customer managed key status on the workspace + * The private link resource properties. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: string; - /** - * The key object of the workspace - */ - key?: WorkspaceKeyDetails; + readonly properties?: PrivateLinkResourceProperties; } /** - * Details of the encryption associated with the workspace + * Private Endpoint Connection For Private Link Hub - Basic */ -export interface EncryptionDetails { +export interface PrivateEndpointConnectionForPrivateLinkHubBasic { /** - * Double Encryption enabled + * identifier * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly doubleEncryptionEnabled?: boolean; + readonly id?: string; /** - * Customer Managed Key Details + * The private endpoint which the connection belongs to. */ - cmk?: CustomerManagedKeyDetails; + 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 provisioningState?: string; } /** - * Managed Virtual Network Settings + * A privateLinkHub */ -export interface ManagedVirtualNetworkSettings { +export interface PrivateLinkHub extends TrackedResource { /** - * Prevent Data Exfiltration + * PrivateLinkHub provisioning state */ - preventDataExfiltration?: boolean; + provisioningState?: string; /** - * Linked Access Check On Target Resource + * List of private endpoint connections + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - linkedAccessCheckOnTargetResource?: boolean; + readonly privateEndpointConnections?: PrivateEndpointConnectionForPrivateLinkHubBasic[]; +} + +/** + * PrivateLinkHub patch details + */ +export interface PrivateLinkHubPatchInfo { /** - * Allowed Aad Tenant Ids For Linking + * Resource tags */ - allowedAadTenantIdsForLinking?: string[]; + tags?: { [propertyName: string]: string }; } /** - * Git integration settings + * An interface representing PrivateEndpointConnectionForPrivateLinkHub. */ -export interface WorkspaceRepositoryConfiguration { +export interface PrivateEndpointConnectionForPrivateLinkHub extends PrivateEndpointConnectionForPrivateLinkHubBasic { + name?: string; + type?: string; +} + +/** + * SQL pool SKU + * @summary Sku + */ +export interface Sku { /** - * Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, - * WorkspaceGitHubConfiguration + * The service tier */ - type?: string; + tier?: string; /** - * GitHub Enterprise host name. For example: https://github.mydomain.com + * The SKU name */ - hostName?: string; + name?: string; /** - * Account name + * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in + * is not possible for the resource this may be omitted. */ - accountName?: string; + capacity?: number; +} + +/** + * A SQL Analytics pool + * @summary SQL pool + */ +export interface SqlPool extends TrackedResource { /** - * VSTS project name + * SQL pool SKU */ - projectName?: string; + sku?: Sku; /** - * Repository name + * Maximum size in bytes */ - repositoryName?: string; + maxSizeBytes?: number; /** - * Collaboration branch + * Collation mode */ - collaborationBranch?: string; + collation?: string; /** - * Root folder to use in the repository + * Source database to create from */ - rootFolder?: string; + sourceDatabaseId?: string; /** - * The last commit ID + * Backup database to restore from */ - lastCommitId?: string; + recoverableDatabaseId?: string; /** - * The VSTS tenant ID + * Resource state */ - tenantId?: string; -} - -/** - * Purview Configuration - */ -export interface PurviewConfiguration { + provisioningState?: string; /** - * Purview Resource ID + * Resource status */ - purviewResourceId?: string; -} - -/** - * The workspace managed identity - */ -export interface ManagedIdentity { + status?: string; /** - * The principal ID of the workspace managed identity - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Snapshot time to restore */ - readonly principalId?: string; + restorePointInTime?: Date; /** - * The tenant ID of the workspace managed identity - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * What is this? */ - readonly tenantId?: string; + createMode?: string; /** - * The type of managed identity for the workspace. Possible values include: 'None', - * 'SystemAssigned' + * Date the SQL pool was created */ - type?: ResourceIdentityType; + creationDate?: Date; + /** + * The storage account type used to store backups for this sql pool. Possible values include: + * 'GRS', 'LRS', 'ZRS' + */ + storageAccountType?: StorageAccountType; } /** - * A workspace + * A SQL Analytics pool patch info + * @summary SQL pool patch info */ -export interface Workspace extends TrackedResource { +export interface SqlPoolPatchInfo { /** - * Workspace default data lake storage account details + * Resource tags. */ - defaultDataLakeStorage?: DataLakeStorageAccountDetails; + tags?: { [propertyName: string]: string }; /** - * SQL administrator login password + * The geo-location where the resource lives */ - sqlAdministratorLoginPassword?: string; + location?: 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 '.' - */ - managedResourceGroupName?: string; - /** - * Resource provisioning state - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provisioningState?: string; - /** - * Login for workspace SQL active directory administrator - */ - sqlAdministratorLogin?: string; - /** - * Virtual Network profile - */ - virtualNetworkProfile?: VirtualNetworkProfile; - /** - * Connectivity endpoints + * SQL pool SKU */ - connectivityEndpoints?: { [propertyName: string]: string }; + sku?: Sku; /** - * Setting this to 'default' will ensure that all compute for this workspace is in a virtual - * network managed on behalf of the user. + * Maximum size in bytes */ - managedVirtualNetwork?: string; + maxSizeBytes?: number; /** - * Private endpoint connections to the workspace + * Collation mode */ - privateEndpointConnections?: PrivateEndpointConnection[]; + collation?: string; /** - * The encryption details of the workspace + * Source database to create from */ - encryption?: EncryptionDetails; + sourceDatabaseId?: string; /** - * The workspace unique identifier - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Backup database to restore from */ - readonly workspaceUID?: string; + recoverableDatabaseId?: string; /** - * Workspace level configs and feature flags - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource state */ - readonly extraProperties?: { [propertyName: string]: any }; + provisioningState?: string; /** - * Managed Virtual Network Settings + * Resource status */ - managedVirtualNetworkSettings?: ManagedVirtualNetworkSettings; + status?: string; /** - * Git integration settings + * Snapshot time to restore */ - workspaceRepositoryConfiguration?: WorkspaceRepositoryConfiguration; + restorePointInTime?: Date; /** - * Purview Configuration + * What is this? */ - purviewConfiguration?: PurviewConfiguration; + createMode?: string; /** - * The ADLA resource ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Date the SQL pool was created */ - readonly adlaResourceId?: string; + creationDate?: Date; /** - * Identity of the workspace + * The storage account type used to store backups for this sql pool. Possible values include: + * 'GRS', 'LRS', 'ZRS' */ - identity?: ManagedIdentity; + storageAccountType?: StorageAccountType; } /** - * Workspace active directory administrator + * Configuration for metadata sync + * @summary Metadata sync configuration */ -export interface WorkspaceAadAdminInfo extends BaseResource { - /** - * Tenant ID of the workspace active directory administrator - */ - tenantId?: string; - /** - * Login of the workspace active directory administrator - */ - login?: string; +export interface MetadataSyncConfig extends BaseResource { /** - * Workspace active directory administrator type + * Indicates whether the metadata sync is enabled or disabled */ - administratorType?: string; + enabled?: boolean; /** - * Object ID of the workspace active directory administrator + * The Sync Interval in minutes. */ - sid?: string; + syncIntervalInMinutes?: number; } /** - * Workspace patch details + * A database geo backup policy. */ -export interface WorkspacePatchInfo { +export interface GeoBackupPolicy extends ProxyResource { /** - * Resource tags + * The state of the geo backup policy. Possible values include: 'Disabled', 'Enabled' */ - tags?: { [propertyName: string]: string }; + state: GeoBackupPolicyState; /** - * The identity of the workspace + * The storage type of the geo backup policy. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - identity?: ManagedIdentity; + readonly storageType?: string; /** - * SQL administrator login password + * Kind of geo backup policy. This is metadata used for the Azure portal experience. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - sqlAdministratorLoginPassword?: string; + readonly kind?: string; /** - * Managed Virtual Network Settings + * Backup policy location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - managedVirtualNetworkSettings?: ManagedVirtualNetworkSettings; + readonly location?: string; +} + +/** + * A database query. + */ +export interface QueryMetric { /** - * Git integration settings + * The name of the metric + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - workspaceRepositoryConfiguration?: WorkspaceRepositoryConfiguration; + readonly name?: string; /** - * Purview Configuration + * The name of the metric for display in user interface + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - purviewConfiguration?: PurviewConfiguration; + readonly displayName?: string; /** - * Resource provisioning state + * The unit of measurement. Possible values include: 'percentage', 'KB', 'microseconds' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly provisioningState?: string; + readonly unit?: QueryMetricUnit; /** - * The encryption details of the workspace + * The measured value + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - encryption?: EncryptionDetails; + readonly value?: number; } /** - * Grant sql control to managed identity + * A database query. */ -export interface ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity { +export interface QueryInterval { /** - * Desired state. Possible values include: 'Enabled', 'Disabled' + * The start time of the measurement interval (ISO8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - desiredState?: DesiredState; + readonly intervalStartTime?: Date; /** - * Actual state. Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', - * 'Unknown' + * The number of times the query was executed during this interval. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly actualState?: ActualState; + readonly executionCount?: number; + /** + * The list of query metrics during this interval. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly metrics?: QueryMetric[]; } /** - * Sql Control Settings for workspace managed identity - * @summary Managed Identity Sql Control Settings + * A database query. */ -export interface ManagedIdentitySqlControlSettingsModel extends ProxyResource { +export interface QueryStatistic { /** - * Grant sql control to managed identity + * The id of the query + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - grantSqlControlToManagedIdentity?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; + readonly queryId?: string; + /** + * The list of query intervals. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly intervals?: QueryInterval[]; } /** - * A restorable dropped Sql pool + * A database query. */ -export interface RestorableDroppedSqlPool extends ProxyResource { - /** - * The geo-location where the resource lives - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly location?: string; +export interface TopQueries { /** - * The name of the database + * The function that is used to aggregate each query's metrics. Possible values include: 'min', + * 'max', 'avg', 'sum' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly databaseName?: string; + readonly aggregationFunction?: QueryAggregationFunction; /** - * The edition of the database + * The execution type that is used to filter the query instances that are returned. Possible + * values include: 'any', 'regular', 'irregular', 'aborted', 'exception' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly edition?: string; + readonly executionType?: QueryExecutionType; /** - * The max size in bytes of the database + * The duration of the interval (ISO8601 duration format). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly maxSizeBytes?: string; + readonly intervalType?: string; /** - * The service level objective name of the database + * The number of requested queries. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly serviceLevelObjective?: string; + readonly numberOfTopQueries?: number; /** - * The elastic pool name of the database + * The start time for queries that are returned (ISO8601 format) * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly elasticPoolName?: string; + readonly observationStartTime?: Date; /** - * The creation date of the database (ISO8601 format) + * The end time for queries that are returned (ISO8601 format) * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly creationDate?: Date; + readonly observationEndTime?: Date; /** - * The deletion date of the database (ISO8601 format) + * The type of metric to use for ordering the top metrics. Possible values include: 'cpu', 'io', + * 'logio', 'duration', 'executionCount' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly deletionDate?: Date; + readonly observedMetric?: QueryObservedMetricType; /** - * The earliest restore date of the database (ISO8601 format) + * The list of queries. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly earliestRestoreDate?: Date; + readonly queries?: QueryStatistic[]; } /** - * Azure Synapse nested resource, which belongs to a workspace. + * Represents the response to a get top queries request. */ -export interface SubResource extends AzureEntityResource { +export interface TopQueriesListResult { + /** + * The list of top queries. + */ + value: TopQueries[]; } /** - * Contains the possible cases for IntegrationRuntime. - */ -export type IntegrationRuntimeUnion = IntegrationRuntime | ManagedIntegrationRuntime | SelfHostedIntegrationRuntime; - -/** - * Azure Synapse nested object which serves as a compute resource for activities. + * User activities of a data warehouse */ -export interface IntegrationRuntime { - /** - * Polymorphic Discriminator - */ - type: "IntegrationRuntime"; - /** - * Integration runtime description. - */ - description?: string; +export interface DataWarehouseUserActivities extends ProxyResource { /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * Count of running and suspended queries. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; + readonly activeQueriesCount?: number; } /** - * Data flow properties for managed integration runtime. + * Database restore points. */ -export interface IntegrationRuntimeDataFlowProperties { +export interface RestorePoint extends ProxyResource { /** - * Compute type of the cluster which will execute data flow job. Possible values include: - * 'General', 'MemoryOptimized', 'ComputeOptimized' + * Resource location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - computeType?: DataFlowComputeType; + readonly location?: string; /** - * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, - * 48, 80, 144 and 272. + * The type of restore point. Possible values include: 'CONTINUOUS', 'DISCRETE' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - coreCount?: number; + readonly restorePointType?: RestorePointType; /** - * Time to live (in minutes) setting of the cluster which will execute data flow job. + * The earliest time to which this database can be restored + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - timeToLive?: number; + readonly earliestRestoreDate?: Date; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The time the backup was taken + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; + readonly restorePointCreationDate?: Date; + /** + * The label of restore point for backup request by user + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly restorePointLabel?: string; } /** - * VNet properties for managed integration runtime. + * Represents a Sql pool replication link. */ -export interface IntegrationRuntimeVNetProperties { +export interface ReplicationLink extends ProxyResource { /** - * The ID of the VNet that this integration runtime will join. + * Location of the workspace that contains this firewall rule. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vNetId?: string; + readonly location?: string; /** - * The name of the subnet this integration runtime will join. + * Legacy value indicating whether termination is allowed. Currently always returns true. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - subnet?: string; + readonly isTerminationAllowed?: boolean; /** - * Resource IDs of the public IP addresses that this integration runtime will use. + * Replication mode of this replication link. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publicIPs?: string[]; + readonly replicationMode?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The name of the workspace hosting the partner Sql pool. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; -} - -/** - * The compute resource properties for managed integration runtime. - */ -export interface IntegrationRuntimeComputeProperties { + readonly partnerServer?: string; /** - * 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 + * The name of the partner Sql pool. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - location?: string; + readonly partnerDatabase?: string; /** - * The node size requirement to managed integration runtime. + * The Azure Region of the partner Sql pool. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nodeSize?: string; + readonly partnerLocation?: string; /** - * The required number of nodes for managed integration runtime. + * The role of the Sql pool in the replication link. Possible values include: 'Primary', + * 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - numberOfNodes?: number; + readonly role?: ReplicationRole; /** - * Maximum parallel executions count per node for managed integration runtime. + * The role of the partner Sql pool in the replication link. Possible values include: 'Primary', + * 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - maxParallelExecutionsPerNode?: number; + readonly partnerRole?: ReplicationRole; /** - * Data flow properties for managed integration runtime. + * The start time for the replication link. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dataFlowProperties?: IntegrationRuntimeDataFlowProperties; + readonly startTime?: Date; /** - * VNet properties for managed integration runtime. + * The percentage of seeding complete for the replication link. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - vNetProperties?: IntegrationRuntimeVNetProperties; + readonly percentComplete?: number; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The replication state for the replication link. Possible values include: 'PENDING', 'SEEDING', + * 'CATCH_UP', 'SUSPENDED' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; + readonly replicationState?: ReplicationState; } /** - * Contains the possible cases for SecretBase. - */ -export type SecretBaseUnion = SecretBase | SecureString; - -/** - * The base definition of a secret type. + * Maintenance window time range. */ -export interface SecretBase { +export interface MaintenanceWindowTimeRange { /** - * Polymorphic Discriminator + * Day of maintenance window. Possible values include: 'Sunday', 'Monday', 'Tuesday', + * 'Wednesday', 'Thursday', 'Friday', 'Saturday' */ - type: "SecretBase"; -} - -/** - * Azure Synapse secure string definition. The string value will be masked with asterisks '*' - * during Get or List API calls. - */ -export interface SecureString { + dayOfWeek?: DayOfWeek; /** - * Polymorphic Discriminator + * Start time minutes offset from 12am. */ - type: "SecureString"; + startTime?: string; /** - * Value of secure string. + * Duration of maintenance window in minutes. */ - value: string; + duration?: string; } /** - * Catalog information for managed dedicated integration runtime. + * Maintenance window options. */ -export interface IntegrationRuntimeSsisCatalogInfo { +export interface MaintenanceWindowOptions extends ProxyResource { /** - * The catalog database server URL. + * Whether maintenance windows are enabled for the database. */ - catalogServerEndpoint?: string; + isEnabled?: boolean; /** - * The administrator user name of catalog database. + * Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}. */ - catalogAdminUserName?: string; + maintenanceWindowCycles?: MaintenanceWindowTimeRange[]; /** - * The password of the administrator user account of the catalog database. + * Minimum duration of maintenance window. */ - catalogAdminPassword?: SecureString; + minDurationInMinutes?: number; /** - * 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' + * Default duration for maintenance window. */ - catalogPricingTier?: IntegrationRuntimeSsisCatalogPricingTier; + defaultDurationInMinutes?: number; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * Minimum number of maintenance windows cycles to be set on the database. */ - [property: string]: any; -} - -/** - * Custom setup script properties for a managed dedicated integration runtime. - */ -export interface IntegrationRuntimeCustomSetupScriptProperties { + minCycles?: number; /** - * The URI of the Azure blob container that contains the custom setup script. + * Time granularity in minutes for maintenance windows. */ - blobContainerUri?: string; + timeGranularityInMinutes?: number; /** - * The SAS token of the Azure blob container. + * Whether we allow multiple maintenance windows per cycle. */ - sasToken?: SecureString; + allowMultipleMaintenanceWindowsPerCycle?: boolean; } /** - * The entity reference. + * Maintenance windows. */ -export interface EntityReference { - /** - * The type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', - * 'LinkedServiceReference' - */ - type?: IntegrationRuntimeEntityReferenceType; - /** - * The name of this referenced entity. - */ - referenceName?: string; +export interface MaintenanceWindows extends ProxyResource { + timeRanges?: MaintenanceWindowTimeRange[]; } /** - * Data proxy properties for a managed dedicated integration runtime. + * Represents a Sql pool transparent data encryption configuration. */ -export interface IntegrationRuntimeDataProxyProperties { - /** - * The self-hosted integration runtime reference. - */ - connectVia?: EntityReference; - /** - * The staging linked service reference. - */ - stagingLinkedService?: EntityReference; +export interface TransparentDataEncryption extends ProxyResource { /** - * The path to contain the staged data in the Blob storage. + * Resource location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - 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 { + readonly location?: string; /** - * Polymorphic Discriminator + * The status of the database transparent data encryption. Possible values include: 'Enabled', + * 'Disabled' */ - type: "CustomSetupBase"; + status?: TransparentDataEncryptionStatus; } /** - * SSIS properties for managed integration runtime. + * A Sql pool blob auditing policy. */ -export interface IntegrationRuntimeSsisProperties { - /** - * Catalog information for managed dedicated integration runtime. - */ - catalogInfo?: IntegrationRuntimeSsisCatalogInfo; - /** - * License type for bringing your own license scenario. Possible values include: 'BasePrice', - * 'LicenseIncluded' - */ - licenseType?: IntegrationRuntimeLicenseType; - /** - * Custom setup script properties for a managed dedicated integration runtime. - */ - customSetupScriptProperties?: IntegrationRuntimeCustomSetupScriptProperties; +export interface SqlPoolBlobAuditingPolicy extends ProxyResource { /** - * Data proxy properties for a managed dedicated integration runtime. + * Resource kind. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - dataProxyProperties?: IntegrationRuntimeDataProxyProperties; + readonly kind?: string; /** - * The edition for the SSIS Integration Runtime. Possible values include: 'Standard', - * 'Enterprise' + * Specifies the state of the policy. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' */ - edition?: IntegrationRuntimeEdition; + state: BlobAuditingPolicyState; /** - * Custom setup without script properties for a SSIS integration runtime. + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state + * is Enabled, storageEndpoint is required. */ - expressCustomSetupProperties?: CustomSetupBaseUnion[]; + storageEndpoint?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * Specifies the identifier key of the auditing storage account. If state is Enabled and + * storageEndpoint is specified, storageAccountAccessKey is required. */ - [property: string]: any; -} - -/** - * Managed integration runtime, including managed elastic and managed dedicated integration - * runtimes. - */ -export interface ManagedIntegrationRuntime { + storageAccountAccessKey?: string; /** - * Polymorphic Discriminator + * Specifies the number of days to keep in the audit logs in the storage account. */ - type: "Managed"; + retentionDays?: number; /** - * Integration runtime description. - */ - description?: string; + * 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[]; /** - * 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.** + * Specifies the blob storage subscription Id. */ - readonly state?: IntegrationRuntimeState; + storageAccountSubscriptionId?: string; /** - * The compute resource for managed integration runtime. + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ - computeProperties?: IntegrationRuntimeComputeProperties; + isStorageSecondaryKeyInUse?: boolean; /** - * SSIS properties for managed integration runtime. + * 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) */ - ssisProperties?: IntegrationRuntimeSsisProperties; + isAzureMonitorTargetEnabled?: boolean; } /** - * The custom setup of running cmdkey commands. + * A Sql pool operation. */ -export interface CmdkeySetup { +export interface SqlPoolOperation extends ProxyResource { /** - * Polymorphic Discriminator + * The name of the Sql pool the operation is being performed on. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: "CmdkeySetup"; + readonly databaseName?: string; /** - * The server name of data source access. + * The name of operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - targetName: any; + readonly operation?: string; /** - * The user name of data source access. + * The friendly name of operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - userName: any; + readonly operationFriendlyName?: string; /** - * The password of data source access. + * The percentage of the operation completed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - password: SecretBaseUnion; -} - -/** - * The custom setup of setting environment variable. - */ -export interface EnvironmentVariableSetup { + readonly percentComplete?: number; /** - * Polymorphic Discriminator + * The name of the server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: "EnvironmentVariableSetup"; + readonly serverName?: string; /** - * The name of the environment variable. + * The operation start time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - variableName: string; + readonly startTime?: Date; /** - * The value of the environment variable. + * The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', + * 'CancelInProgress', 'Cancelled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - variableValue: string; -} - -/** - * The custom setup of installing 3rd party components. - */ -export interface ComponentSetup { + readonly state?: ManagementOperationState; /** - * Polymorphic Discriminator + * The operation error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: "ComponentSetup"; + readonly errorCode?: number; /** - * The name of the 3rd party component. + * The operation error description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - componentName: string; + readonly errorDescription?: string; /** - * The license key to activate the component. + * The operation error severity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - 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 { + readonly errorSeverity?: number; /** - * Polymorphic Discriminator + * Whether or not the error is a user error. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - authorizationType: "LinkedIntegrationRuntimeType"; -} - -/** - * Self-hosted integration runtime. - */ -export interface SelfHostedIntegrationRuntime { + readonly isUserError?: boolean; /** - * Polymorphic Discriminator + * The estimated completion time of the operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: "SelfHosted"; + readonly estimatedCompletionTime?: Date; /** - * Integration runtime description. + * The operation description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: string; + readonly description?: string; /** - * Linked integration runtime type from data factory + * Whether the operation can be cancelled. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - linkedInfo?: LinkedIntegrationRuntimeTypeUnion; + readonly isCancellable?: boolean; } /** - * The key authorization type integration runtime. + * The Sql pool usages. */ -export interface LinkedIntegrationRuntimeKeyAuthorization { +export interface SqlPoolUsage { /** - * Polymorphic Discriminator + * The name of the usage metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - authorizationType: "Key"; + readonly name?: string; /** - * The key used for authorization. + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - key: SecureString; -} - -/** - * The role based access control (RBAC) authorization type integration runtime. - */ -export interface LinkedIntegrationRuntimeRbacAuthorization { + readonly resourceName?: string; /** - * Polymorphic Discriminator + * The usage metric display name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - authorizationType: "RBAC"; + readonly displayName?: string; /** - * The resource identifier of the integration runtime to be shared. + * The current value of the usage metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - resourceId: string; -} - -/** - * Contains the possible cases for IntegrationRuntimeStatus. - */ -export type IntegrationRuntimeStatusUnion = IntegrationRuntimeStatus | ManagedIntegrationRuntimeStatus | SelfHostedIntegrationRuntimeStatus; - -/** - * Integration runtime status. - */ -export interface IntegrationRuntimeStatus { + readonly currentValue?: number; /** - * Polymorphic Discriminator + * The current limit of the usage metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type: "IntegrationRuntimeStatus"; + readonly limit?: number; /** - * The workspace name which the integration runtime belong to. + * The units of the usage metric. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dataFactoryName?: string; + readonly unit?: string; /** - * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', - * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' + * The next reset time for the usage metric (ISO8601 format). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: IntegrationRuntimeState; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; + readonly nextResetTime?: Date; } /** - * Error definition for managed integration runtime. + * A sensitivity label. */ -export interface ManagedIntegrationRuntimeError { +export interface SensitivityLabel extends ProxyResource { /** - * The time when the error occurred. + * The schema name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly time?: Date; + readonly schemaName?: string; /** - * Error code. + * The table name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly code?: string; + readonly tableName?: string; /** - * Managed integration runtime error parameters. + * The column name. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly parameters?: string[]; + readonly columnName?: string; /** - * Error message. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The label name. */ - readonly message?: string; + labelName?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The label ID. */ - [property: string]: any; -} - -/** - * Properties of integration runtime node. - */ -export interface ManagedIntegrationRuntimeNode { + labelId?: string; /** - * The managed integration runtime node id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The information type. */ - readonly nodeId?: string; + informationType?: string; /** - * The managed integration runtime node status. Possible values include: 'Starting', 'Available', - * 'Recycling', 'Unavailable' + * The information type ID. + */ + informationTypeId?: string; + /** + * Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. + * Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or + * not. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly status?: ManagedIntegrationRuntimeNodeStatus; + readonly isDisabled?: boolean; /** - * The errors that occurred on this integration runtime node. + * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical' */ - errors?: ManagedIntegrationRuntimeError[]; + rank?: SensitivityLabelRank; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * managed by + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; + readonly managedBy?: string; } /** - * Properties of managed integration runtime operation result. + * A Sql pool schema resource. */ -export interface ManagedIntegrationRuntimeOperationResult { +export interface SqlPoolSchema extends ProxyResource { +} + +/** + * A Sql pool table resource. + */ +export interface SqlPoolTable extends ProxyResource { +} + +/** + * A Sql pool column resource. + */ +export interface SqlPoolColumn extends ProxyResource { /** - * The operation type. Could be start or stop. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The column data type. 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 type?: string; + columnType?: ColumnDataType; /** - * The start time of the operation. + * Indicates whether column value is computed or not * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly startTime?: Date; + readonly isComputed?: boolean; +} + +/** + * A Sql pool connection policy. + */ +export interface SqlPoolConnectionPolicy extends ProxyResource { /** - * The operation result. + * Resource kind. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly result?: string; + readonly kind?: string; /** - * The error code. + * Resource location. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly errorCode?: string; + readonly location?: string; /** - * Managed integration runtime error parameters. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The state of security access. */ - readonly parameters?: string[]; + securityEnabledAccess?: string; /** - * The activity id for the operation request. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The fully qualified host name of the auditing proxy. */ - readonly activityId?: string; + proxyDnsName?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The port number of the auditing proxy. */ - [property: string]: any; -} - -/** - * Managed integration runtime status. - */ -export interface ManagedIntegrationRuntimeStatus { + proxyPort?: string; /** - * Polymorphic Discriminator + * The visibility of the auditing proxy. */ - type: "Managed"; + visibility?: 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.** + * Whether server default is enabled or disabled. */ - readonly dataFactoryName?: string; + useServerDefault?: 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 state of proxy redirection. */ - readonly state?: IntegrationRuntimeState; + redirectionState?: string; /** - * 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 connection policy state. */ - readonly createTime?: Date; + state?: string; +} + +/** + * Properties of a Vulnerability Assessment recurring scans. + */ +export interface VulnerabilityAssessmentRecurringScansProperties { /** - * The list of nodes for managed integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Recurring scans state. */ - readonly nodes?: ManagedIntegrationRuntimeNode[]; + isEnabled?: boolean; /** - * The errors that occurred on this integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies that the schedule scan notification will be is sent to the subscription + * administrators. Default value: true. */ - readonly otherErrors?: ManagedIntegrationRuntimeError[]; + emailSubscriptionAdmins?: boolean; /** - * 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.** + * Specifies an array of e-mail addresses to which the scan notification is sent. */ - readonly lastOperation?: ManagedIntegrationRuntimeOperationResult; + emails?: string[]; } /** - * Properties of Self-hosted integration runtime node. + * A Sql pool vulnerability assessment. */ -export interface SelfHostedIntegrationRuntimeNode { - /** - * Name of the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nodeName?: string; +export interface SqlPoolVulnerabilityAssessment extends ProxyResource { /** - * Machine name of the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A blob storage container path to hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). It is required if server level + * vulnerability assessment policy doesn't set */ - readonly machineName?: string; + storageContainerPath?: string; /** - * URI for the host machine of the integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A shared access signature (SAS Key) that has write access to the blob container specified in + * 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, + * StorageContainerSasKey is required. */ - readonly hostServiceUri?: string; + storageContainerSasKey?: string; /** - * 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.** + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. */ - readonly status?: SelfHostedIntegrationRuntimeNodeStatus; + storageAccountAccessKey?: string; /** - * The integration runtime capabilities dictionary - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The recurring scans settings */ - readonly capabilities?: { [propertyName: string]: string }; + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; +} + +/** + * Properties of a vulnerability assessment scan error. + */ +export interface VulnerabilityAssessmentScanError { /** - * Status of the integration runtime node version. + * The error code. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly versionStatus?: string; + readonly code?: string; /** - * Version of the integration runtime node. + * The error message. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly version?: string; + readonly message?: string; +} + +/** + * A vulnerability assessment scan record. + */ +export interface VulnerabilityAssessmentScanRecord extends ProxyResource { /** - * The time at which the integration runtime node was registered in ISO8601 format. + * The scan ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly registerTime?: Date; + readonly scanId?: string; /** - * The most recent time at which the integration runtime was connected in ISO8601 format. + * The scan trigger type. Possible values include: 'OnDemand', 'Recurring' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastConnectTime?: Date; + readonly triggerType?: VulnerabilityAssessmentScanTriggerType; /** - * The time at which the integration runtime will expire in ISO8601 format. + * The scan status. Possible values include: 'Passed', 'Failed', 'FailedToRun', 'InProgress' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly expiryTime?: Date; + readonly state?: VulnerabilityAssessmentScanState; /** - * The time the node last started up. + * The scan start time (UTC). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastStartTime?: Date; + readonly startTime?: Date; /** - * The integration runtime node last stop time. + * The scan end time (UTC). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastStopTime?: Date; + readonly endTime?: Date; /** - * The result of the last integration runtime node update. Possible values include: 'None', - * 'Succeed', 'Fail' + * The scan errors. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastUpdateResult?: IntegrationRuntimeUpdateResult; + readonly errors?: VulnerabilityAssessmentScanError[]; /** - * The last time for the integration runtime node update start. + * The scan results storage container path. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastStartUpdateTime?: Date; + readonly storageContainerPath?: string; /** - * The last time for the integration runtime node update end. + * The number of failed security checks. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly lastEndUpdateTime?: Date; - /** - * 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.** - */ - readonly isActiveDispatcher?: boolean; - /** - * Maximum concurrent jobs on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly concurrentJobsLimit?: number; - /** - * The maximum concurrent jobs in this integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly maxConcurrentJobs?: number; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; + readonly numberOfFailedSecurityChecks?: number; } /** - * The linked integration runtime information. + * A Sql pool security alert policy. */ -export interface LinkedIntegrationRuntime { +export interface SqlPoolSecurityAlertPolicy extends ProxyResource { /** - * The name of the linked integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been + * applied yet on the specific Sql pool. Possible values include: 'New', 'Enabled', 'Disabled' */ - readonly name?: string; + state: SecurityAlertPolicyState; /** - * 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.** + * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action */ - readonly subscriptionId?: string; + disabledAlerts?: string[]; /** - * 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.** + * Specifies an array of e-mail addresses to which the alert is sent. */ - readonly dataFactoryName?: string; + emailAddresses?: string[]; /** - * 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.** + * Specifies that the alert is sent to the account administrators. */ - readonly dataFactoryLocation?: string; + emailAccountAdmins?: boolean; /** - * The creating time of the linked integration runtime. - * **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). This blob + * storage will hold all Threat Detection audit logs. */ - readonly createTime?: Date; -} - -/** - * Self-hosted integration runtime status. - */ -export interface SelfHostedIntegrationRuntimeStatus { + storageEndpoint?: string; /** - * Polymorphic Discriminator + * Specifies the identifier key of the Threat Detection audit storage account. */ - type: "SelfHosted"; + storageAccountAccessKey?: 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.** + * Specifies the number of days to keep in the Threat Detection audit logs. */ - readonly dataFactoryName?: string; + retentionDays?: number; /** - * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', - * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' + * Specifies the UTC creation time of the policy. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: IntegrationRuntimeState; + readonly creationTime?: Date; +} + +/** + * Properties for an Sql pool vulnerability assessment rule baseline's result. + */ +export interface SqlPoolVulnerabilityAssessmentRuleBaselineItem { /** - * 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 rule baseline result */ - readonly createTime?: Date; + result: string[]; +} + +/** + * A Sql pool vulnerability assessment rule baseline. + */ +export interface SqlPoolVulnerabilityAssessmentRuleBaseline extends ProxyResource { /** - * The task queue id of the integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The rule baseline result */ - readonly taskQueueId?: string; + baselineResults: SqlPoolVulnerabilityAssessmentRuleBaselineItem[]; +} + +/** + * A Sql pool Vulnerability Assessment scan export resource. + */ +export interface SqlPoolVulnerabilityAssessmentScansExport extends ProxyResource { /** - * The node communication Channel encryption mode + * Location of the exported report (e.g. + * https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nodeCommunicationChannelEncryptionMode?: string; + readonly exportedReportLocation?: string; +} + +/** + * Contains the information necessary to perform a resource move (rename). + */ +export interface ResourceMoveDefinition { /** - * 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 target ID for the resource */ - readonly internalChannelEncryption?: IntegrationRuntimeInternalChannelEncryptionMode; + id: string; +} + +/** + * Contains the information necessary to perform a create Sql pool restore point operation. + */ +export interface CreateSqlPoolRestorePointDefinition { /** - * Version of the integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The restore point label to apply */ - readonly version?: string; + restorePointLabel: string; +} + +/** + * Workload group operations for a sql pool + */ +export interface WorkloadGroup extends ProxyResource { /** - * The list of nodes for this integration runtime. + * The workload group minimum percentage resource. */ - nodes?: SelfHostedIntegrationRuntimeNode[]; + minResourcePercent: number; /** - * 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.** + * The workload group cap percentage resource. */ - readonly scheduledUpdateDate?: Date; + maxResourcePercent: number; /** - * 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 workload group request minimum grant percentage. */ - readonly updateDelayOffset?: string; + minResourcePercentPerRequest: number; /** - * The local time zone offset in hours. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload group request maximum grant percentage. */ - readonly localTimeZoneOffset?: string; + maxResourcePercentPerRequest?: number; /** - * Object with additional information about integration runtime capabilities. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload group importance level. */ - readonly capabilities?: { [propertyName: string]: string }; + importance?: string; /** - * 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.** + * The workload group query execution timeout. */ - readonly serviceUrls?: string[]; + queryExecutionTimeout?: number; +} + +/** + * Workload classifier operations for a data warehouse + */ +export interface WorkloadClassifier extends ProxyResource { /** - * 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.** + * The workload classifier member name. */ - readonly autoUpdate?: IntegrationRuntimeAutoUpdate; + memberName: string; /** - * Status of the integration runtime version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload classifier label. */ - readonly versionStatus?: string; + label?: string; /** - * The list of linked integration runtimes that are created to share with this integration - * runtime. + * The workload classifier context. */ - links?: LinkedIntegrationRuntime[]; + context?: string; /** - * 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 workload classifier start time for classification. */ - readonly pushedVersion?: string; + startTime?: string; /** - * The latest version on download center. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The workload classifier end time for classification. */ - readonly latestVersion?: string; + endTime?: string; /** - * 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 workload classifier importance. */ - readonly autoUpdateETA?: Date; + importance?: string; } /** - * Connection information for encrypting the on-premises data source credentials. + * An interface representing DataMaskingPolicy. */ -export interface IntegrationRuntimeConnectionInfo { +export interface DataMaskingPolicy extends ProxyResource { /** - * 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.** + * The state of the data masking policy. Possible values include: 'Disabled', 'Enabled' */ - readonly serviceToken?: string; + dataMaskingState: DataMaskingState; /** - * 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.** + * 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. */ - readonly identityCertThumbprint?: string; + exemptPrincipals?: string; /** - * The on-premises integration runtime host URL. + * 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 hostServiceUri?: string; + readonly applicationPrincipals?: string; /** - * The integration runtime version. + * 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 version?: string; + readonly maskingLevel?: string; /** - * The public key for encrypting a credential when transferring the credential to the integration - * runtime. + * The location of the data masking policy. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly publicKey?: string; + readonly location?: string; /** - * Whether the identity certificate is expired. + * The kind of data masking policy. Metadata, used for Azure portal. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly isIdentityCertExprired?: boolean; + readonly kind?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * Fully qualified resource ID of the sql pool + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - [property: string]: any; + readonly managedBy?: string; } /** - * Parameters to regenerate the authentication key. + * An extended Sql pool blob auditing policy. */ -export interface IntegrationRuntimeRegenerateKeyParameters { +export interface ExtendedSqlPoolBlobAuditingPolicy extends ProxyResource { /** - * The name of the authentication key to regenerate. Possible values include: 'authKey1', - * 'authKey2' + * Specifies condition of where clause when creating an audit. */ - keyName?: IntegrationRuntimeAuthKeyName; -} - -/** - * The integration runtime authentication keys. - */ -export interface IntegrationRuntimeAuthKeys { + predicateExpression?: string; /** - * The primary integration runtime authentication key. - */ - authKey1?: string; - /** - * The secondary integration runtime authentication key. - */ - authKey2?: string; -} - -/** - * Monitoring data for integration runtime node. - */ -export interface IntegrationRuntimeNodeMonitoringData { - /** - * Name of the integration runtime node. - * **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 nodeName?: string; + state: BlobAuditingPolicyState; /** - * Available memory (MB) on the integration runtime node. - * **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 availableMemoryInMB?: number; + storageEndpoint?: string; /** - * CPU percentage on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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) */ - readonly cpuUtilization?: number; + storageAccountAccessKey?: string; /** - * Maximum concurrent jobs on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the number of days to keep in the audit logs in the storage account. */ - readonly concurrentJobsLimit?: number; + retentionDays?: number; /** - * 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.** + * 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) */ - readonly concurrentJobsRunning?: number; + auditActionsAndGroups?: string[]; /** - * The maximum concurrent jobs in this integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies the blob storage subscription Id. */ - readonly maxConcurrentJobs?: number; + storageAccountSubscriptionId?: string; /** - * Sent bytes on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ - readonly sentBytes?: number; + isStorageSecondaryKeyInUse?: boolean; /** - * Received bytes on the integration runtime node. - * **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 receivedBytes?: number; + isAzureMonitorTargetEnabled?: boolean; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * 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. */ - [property: string]: any; + queueDelayMs?: number; } /** - * Get monitoring data response. + * Represents a Sql pool data masking rule. */ -export interface IntegrationRuntimeMonitoringData { +export interface DataMaskingRule extends ProxyResource { /** - * Integration runtime name. + * The rule Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly dataMaskingRuleId?: string; /** - * Integration runtime node monitoring data. + * The alias name. This is a legacy parameter and is no longer used. */ - nodes?: IntegrationRuntimeNodeMonitoringData[]; -} - -/** - * The IP address of self-hosted integration runtime node. - */ -export interface IntegrationRuntimeNodeIpAddress { + aliasName?: string; /** - * The IP address of self-hosted integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * 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' */ - readonly ipAddress?: string; -} - -/** - * Contains the possible cases for SsisObjectMetadata. - */ -export type SsisObjectMetadataUnion = SsisObjectMetadata | SsisFolder | SsisProject | SsisPackage | SsisEnvironment; - -/** - * SSIS object metadata. - */ -export interface SsisObjectMetadata { + ruleState?: DataMaskingRuleState; /** - * Polymorphic Discriminator + * The schema name on which the data masking rule is applied. */ - type: "SsisObjectMetadata"; + schemaName: string; /** - * Metadata id. + * The table name on which the data masking rule is applied. */ - id?: number; + tableName: string; /** - * Metadata name. + * The column name on which the data masking rule is applied. */ - name?: string; + columnName: string; /** - * Metadata description. + * The masking function that is used for the data masking rule. Possible values include: + * 'Default', 'CCN', 'Email', 'Number', 'SSN', 'Text' */ - description?: string; -} - -/** - * A list of SSIS object metadata. - */ -export interface SsisObjectMetadataListResponse { + maskingFunction: DataMaskingFunction; /** - * List of SSIS object metadata. + * The numberFrom property of the masking rule. Required if maskingFunction is set to Number, + * otherwise this parameter will be ignored. */ - value?: SsisObjectMetadataUnion[]; + numberFrom?: string; /** - * The link to the next page of results, if any remaining results exist. + * The numberTo property of the data masking rule. Required if maskingFunction is set to Number, + * otherwise this parameter will be ignored. */ - nextLink?: string; -} - -/** - * Ssis folder. - */ -export interface SsisFolder { + numberTo?: string; /** - * Polymorphic Discriminator + * 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. */ - type: "Folder"; + prefixSize?: string; /** - * Metadata id. + * 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. */ - id?: number; + suffixSize?: string; /** - * Metadata name. + * If maskingFunction is set to Text, the character to use for masking the unexposed part of the + * string. Otherwise, this parameter will be ignored. */ - name?: string; + replacementString?: string; /** - * Metadata description. + * The location of the data masking rule. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - description?: 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; } /** - * Ssis environment reference. + * A sensitivity label update operation. */ -export interface SsisEnvironmentReference { +export interface SensitivityLabelUpdate extends ProxyResource { /** - * Environment reference id. + * Possible values include: 'set', 'remove' */ - id?: number; + op: SensitivityLabelUpdateKind; /** - * Environment folder name. + * Schema name of the column to update. */ - environmentFolderName?: string; + schema: string; /** - * Environment name. + * Table name of the column to update. */ - environmentName?: string; + table: string; /** - * Reference type + * Column name to update. */ - referenceType?: string; + column: string; + /** + * The sensitivity label information to apply on a column. + */ + sensitivityLabel?: SensitivityLabel; } /** - * Ssis parameter. + * A list of sensitivity label update operations. */ -export interface SsisParameter { - /** - * Parameter id. - */ - 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; +export interface SensitivityLabelUpdateList { + operations?: SensitivityLabelUpdate[]; +} + +/** + * A recommended sensitivity label update operation. + */ +export interface RecommendedSensitivityLabelUpdate extends ProxyResource { /** - * Default sensitive value of parameter. + * Possible values include: 'enable', 'disable' */ - sensitiveDefaultValue?: string; + op: RecommendedSensitivityLabelUpdateKind; /** - * Parameter value type. + * Schema name of the column to update. */ - valueType?: string; + schema: string; /** - * Parameter value set. + * Table name of the column to update. */ - valueSet?: boolean; + table: string; /** - * Parameter reference variable. + * Column name to update. */ - variable?: string; + column: string; } /** - * Ssis project. + * A list of recommended sensitivity label update operations. */ -export interface SsisProject { +export interface RecommendedSensitivityLabelUpdateList { + operations?: RecommendedSensitivityLabelUpdate[]; +} + +/** + * A server blob auditing policy. + */ +export interface ServerBlobAuditingPolicy extends ProxyResource { /** - * Polymorphic Discriminator + * Specifies the state of the policy. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' */ - type: "Project"; + state: BlobAuditingPolicyState; /** - * Metadata id. + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state + * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ - id?: number; + storageEndpoint?: string; /** - * Metadata name. + * 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) */ - name?: string; + storageAccountAccessKey?: string; /** - * Metadata description. + * Specifies the number of days to keep in the audit logs in the storage account. */ - description?: string; + retentionDays?: number; /** - * Folder id which contains project. + * 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) */ - folderId?: number; + auditActionsAndGroups?: string[]; /** - * Project version. + * Specifies the blob storage subscription Id. */ - version?: number; + storageAccountSubscriptionId?: string; /** - * Environment reference in project + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ - environmentRefs?: SsisEnvironmentReference[]; + isStorageSecondaryKeyInUse?: boolean; /** - * Parameters in project + * 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) */ - parameters?: SsisParameter[]; + 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; } /** - * Ssis Package. + * An extended server blob auditing policy. */ -export interface SsisPackage { +export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { /** - * Polymorphic Discriminator + * Specifies condition of where clause when creating an audit. */ - type: "Package"; + predicateExpression?: string; /** - * Metadata id. + * Specifies the state of the policy. If state is Enabled, storageEndpoint or + * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' */ - id?: number; + state: BlobAuditingPolicyState; /** - * Metadata name. + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state + * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ - name?: string; + storageEndpoint?: string; /** - * Metadata description. + * 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) */ - description?: string; + storageAccountAccessKey?: string; /** - * Folder id which contains package. + * Specifies the number of days to keep in the audit logs in the storage account. */ - folderId?: number; + retentionDays?: number; /** - * Project version which contains package. + * 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) */ - projectVersion?: number; + auditActionsAndGroups?: string[]; /** - * Project id which contains package. + * Specifies the blob storage subscription Id. */ - projectId?: number; + storageAccountSubscriptionId?: string; /** - * Parameters in package + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ - parameters?: SsisParameter[]; + 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; } /** - * Ssis variable. + * Workspace managed Sql server security alert policy. */ -export interface SsisVariable { +export interface ServerSecurityAlertPolicy extends ProxyResource { /** - * Variable id. + * 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' */ - id?: number; + state: SecurityAlertPolicyState; /** - * Variable name. + * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action */ - name?: string; + disabledAlerts?: string[]; /** - * Variable description. + * Specifies an array of e-mail addresses to which the alert is sent. */ - description?: string; + emailAddresses?: string[]; /** - * Variable type. + * Specifies that the alert is sent to the account administrators. */ - dataType?: string; + emailAccountAdmins?: boolean; /** - * Whether variable is sensitive. + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob + * storage will hold all Threat Detection audit logs. */ - sensitive?: boolean; + storageEndpoint?: string; /** - * Variable value. + * Specifies the identifier key of the Threat Detection audit storage account. */ - value?: string; + storageAccountAccessKey?: string; /** - * Variable sensitive value. + * Specifies the number of days to keep in the Threat Detection audit logs. */ - sensitiveValue?: string; + 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; } /** - * Ssis environment. + * A server vulnerability assessment. */ -export interface SsisEnvironment { - /** - * Polymorphic Discriminator - */ - type: "Environment"; - /** - * Metadata id. - */ - id?: number; +export interface ServerVulnerabilityAssessment extends ProxyResource { /** - * Metadata name. + * A blob storage container path to hold the scan results (e.g. + * https://myStorage.blob.core.windows.net/VaScans/). */ - name?: string; + storageContainerPath: string; /** - * Metadata description. + * 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. */ - description?: string; + storageContainerSasKey?: string; /** - * Folder id which contains environment. + * Specifies the identifier key of the storage account for vulnerability assessment scan results. + * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. */ - folderId?: number; + storageAccountAccessKey?: string; /** - * Variable in environment + * The recurring scans settings */ - variables?: SsisVariable[]; + recurringScans?: VulnerabilityAssessmentRecurringScansProperties; } /** - * Update integration runtime request. + * The server encryption protector. */ -export interface UpdateIntegrationRuntimeRequest { +export interface EncryptionProtector extends ProxyResource { /** - * 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' + * 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.** */ - autoUpdate?: IntegrationRuntimeAutoUpdate; + readonly kind?: 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. + * Resource location. + * **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 location?: string; /** - * Integration runtime properties. + * Subregion of the encryption protector. + * **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 subregion?: string; /** - * Metadata path. + * The name of the server key. */ - metadataPath?: string; -} - -/** - * Update integration runtime node request. - */ -export interface UpdateIntegrationRuntimeNodeRequest { + serverKeyName?: string; /** - * The number of concurrent jobs permitted to run on the integration runtime node. Values between - * 1 and maxConcurrentJobs(inclusive) are allowed. + * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: + * 'ServiceManaged', 'AzureKeyVault' */ - concurrentJobsLimit?: number; -} - -/** - * Integration runtime status response. - */ -export interface IntegrationRuntimeStatusResponse { + serverKeyType: ServerKeyType; /** - * The integration runtime name. + * The URI of the server key. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly uri?: string; /** - * Integration runtime properties. + * Thumbprint of the server key. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties: IntegrationRuntimeStatusUnion; + readonly thumbprint?: string; } /** - * The status of the operation. + * Represents server metrics. */ -export interface SsisObjectMetadataStatusResponse { +export interface ServerUsage { /** - * The status of the operation. + * Name of the server usage metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - status?: string; + readonly name?: string; /** - * The operation name. + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - name?: string; + readonly resourceName?: string; /** - * The operation properties. + * The metric display name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - properties?: string; + readonly displayName?: string; /** - * The operation error message. + * The current value of the metric. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - error?: string; + 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; } /** - * Properties of a private link resource. + * A recoverable sql pool */ -export interface PrivateLinkResourceProperties { +export interface RecoverableSqlPool extends ProxyResource { /** - * The private link resource group id. + * The edition of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly groupId?: string; + readonly edition?: string; /** - * The private link resource required member names. + * The service level objective name of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requiredMembers?: string[]; + readonly serviceLevelObjective?: string; /** - * Required DNS zone names of the the private link resource. + * The elastic pool name of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requiredZoneNames?: string[]; + 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 private link resource + * Details of the data lake storage account associated with the workspace */ -export interface PrivateLinkResource extends ProxyResource { +export interface DataLakeStorageAccountDetails { /** - * The private link resource properties. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Account URL */ - readonly properties?: PrivateLinkResourceProperties; + accountUrl?: string; + /** + * Filesystem name + */ + filesystem?: string; } /** - * Private Endpoint Connection For Private Link Hub - Basic + * Virtual Network Profile */ -export interface PrivateEndpointConnectionForPrivateLinkHubBasic { - /** - * identifier - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; +export interface VirtualNetworkProfile { /** - * The private endpoint which the connection belongs to. + * Subnet ID used for computes in workspace */ - privateEndpoint?: PrivateEndpoint; + computeSubnetId?: string; +} + +/** + * Details of the customer managed key associated with the workspace + */ +export interface WorkspaceKeyDetails { /** - * Connection state of the private endpoint connection. + * Workspace Key sub-resource name */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + name?: string; /** - * Provisioning state of the private endpoint connection. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Workspace Key sub-resource key vault url */ - readonly provisioningState?: string; + keyVaultUrl?: string; } /** - * A privateLinkHub + * Details of the customer managed key associated with the workspace */ -export interface PrivateLinkHub extends TrackedResource { +export interface CustomerManagedKeyDetails { /** - * PrivateLinkHub provisioning state + * The customer managed key status on the workspace + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - provisioningState?: string; + readonly status?: string; /** - * List of private endpoint connections - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The key object of the workspace */ - readonly privateEndpointConnections?: PrivateEndpointConnectionForPrivateLinkHubBasic[]; + key?: WorkspaceKeyDetails; } /** - * PrivateLinkHub patch details + * Details of the encryption associated with the workspace */ -export interface PrivateLinkHubPatchInfo { +export interface EncryptionDetails { /** - * Resource tags + * Double Encryption enabled + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - tags?: { [propertyName: string]: string }; + readonly doubleEncryptionEnabled?: boolean; + /** + * Customer Managed Key Details + */ + cmk?: CustomerManagedKeyDetails; } /** - * An interface representing PrivateEndpointConnectionForPrivateLinkHub. + * Managed Virtual Network Settings */ -export interface PrivateEndpointConnectionForPrivateLinkHub extends PrivateEndpointConnectionForPrivateLinkHubBasic { - name?: string; - type?: string; +export interface ManagedVirtualNetworkSettings { + /** + * Prevent Data Exfiltration + */ + preventDataExfiltration?: boolean; + /** + * Linked Access Check On Target Resource + */ + linkedAccessCheckOnTargetResource?: boolean; + /** + * Allowed Aad Tenant Ids For Linking + */ + allowedAadTenantIdsForLinking?: string[]; } /** - * A server blob auditing policy. + * Git integration settings */ -export interface ServerBlobAuditingPolicy extends ProxyResource { +export interface WorkspaceRepositoryConfiguration { /** - * Specifies the state of the policy. If state is Enabled, storageEndpoint or - * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' + * Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, + * WorkspaceGitHubConfiguration */ - state: BlobAuditingPolicyState; + type?: string; /** - * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state - * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. + * GitHub Enterprise host name. For example: https://github.mydomain.com */ - storageEndpoint?: string; + hostName?: 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) + * Account name */ - storageAccountAccessKey?: string; + accountName?: string; /** - * Specifies the number of days to keep in the audit logs in the storage account. + * VSTS project name */ - retentionDays?: number; + projectName?: string; /** - * 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) + * Repository name */ - auditActionsAndGroups?: string[]; + repositoryName?: string; /** - * Specifies the blob storage subscription Id. + * Collaboration branch */ - storageAccountSubscriptionId?: string; + collaborationBranch?: string; /** - * Specifies whether storageAccountAccessKey value is the storage's secondary key. + * Root folder to use in the repository */ - isStorageSecondaryKeyInUse?: boolean; + rootFolder?: string; /** - * 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) + * The last commit ID */ - isAzureMonitorTargetEnabled?: boolean; + lastCommitId?: string; /** - * 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. + * The VSTS tenant ID */ - queueDelayMs?: number; + tenantId?: string; } /** - * An extended server blob auditing policy. + * Purview Configuration */ -export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { +export interface PurviewConfiguration { /** - * Specifies condition of where clause when creating an audit. + * Purview Resource ID */ - predicateExpression?: string; + purviewResourceId?: string; +} + +/** + * Network Settings + */ +export interface NetworkSettings { /** - * Specifies the state of the policy. If state is Enabled, storageEndpoint or - * isAzureMonitorTargetEnabled are required. Possible values include: 'Enabled', 'Disabled' + * Enable or Disable pubic network access to workspace. Possible values include: 'Enabled', + * 'Disabled' */ - state: BlobAuditingPolicyState; + publicNetworkAccess?: WorkspacePublicNetworkAccess; +} + +/** + * The workspace managed identity + */ +export interface ManagedIdentity { /** - * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state - * is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. + * The principal ID of the workspace managed identity + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageEndpoint?: string; + readonly principalId?: 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) + * The tenant ID of the workspace managed identity + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageAccountAccessKey?: string; + readonly tenantId?: string; /** - * Specifies the number of days to keep in the audit logs in the storage account. + * The type of managed identity for the workspace. Possible values include: 'None', + * 'SystemAssigned' */ - retentionDays?: number; + type?: ResourceIdentityType; +} + +/** + * A workspace + */ +export interface Workspace extends TrackedResource { /** - * 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) + * Workspace default data lake storage account details */ - auditActionsAndGroups?: string[]; + defaultDataLakeStorage?: DataLakeStorageAccountDetails; /** - * Specifies the blob storage subscription Id. + * SQL administrator login password */ - storageAccountSubscriptionId?: string; + sqlAdministratorLoginPassword?: string; /** - * Specifies whether storageAccountAccessKey value is the storage's secondary key. + * 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 '.' */ - isStorageSecondaryKeyInUse?: boolean; + managedResourceGroupName?: string; /** - * 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) + * Resource provisioning state + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isAzureMonitorTargetEnabled?: boolean; + readonly provisioningState?: string; /** - * 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. + * Login for workspace SQL active directory administrator */ - queueDelayMs?: number; -} - -/** - * Workspace managed Sql server security alert policy. - */ -export interface ServerSecurityAlertPolicy extends ProxyResource { + sqlAdministratorLogin?: string; + /** + * Virtual Network profile + */ + virtualNetworkProfile?: VirtualNetworkProfile; + /** + * Connectivity endpoints + */ + connectivityEndpoints?: { [propertyName: string]: string }; + /** + * Setting this to 'default' will ensure that all compute for this workspace is in a virtual + * network managed on behalf of the user. + */ + managedVirtualNetwork?: string; + /** + * Private endpoint connections to the workspace + */ + privateEndpointConnections?: PrivateEndpointConnection[]; + /** + * The encryption details of the workspace + */ + encryption?: EncryptionDetails; /** - * 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' + * The workspace unique identifier + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - state: SecurityAlertPolicyState; + readonly workspaceUID?: string; /** - * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action + * Workspace level configs and feature flags + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - disabledAlerts?: string[]; + readonly extraProperties?: { [propertyName: string]: any }; /** - * Specifies an array of e-mail addresses to which the alert is sent. + * Managed Virtual Network Settings */ - emailAddresses?: string[]; + managedVirtualNetworkSettings?: ManagedVirtualNetworkSettings; /** - * Specifies that the alert is sent to the account administrators. + * Git integration settings */ - emailAccountAdmins?: boolean; + workspaceRepositoryConfiguration?: WorkspaceRepositoryConfiguration; /** - * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob - * storage will hold all Threat Detection audit logs. + * Purview Configuration */ - storageEndpoint?: string; + purviewConfiguration?: PurviewConfiguration; /** - * Specifies the identifier key of the Threat Detection audit storage account. + * The ADLA resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - storageAccountAccessKey?: string; + readonly adlaResourceId?: string; /** - * Specifies the number of days to keep in the Threat Detection audit logs. + * Network Settings */ - retentionDays?: number; + networkSettings?: NetworkSettings; /** - * Specifies the UTC creation time of the policy. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Identity of the workspace */ - readonly creationTime?: Date; + identity?: ManagedIdentity; } /** - * A server vulnerability assessment. + * Workspace active directory administrator */ -export interface ServerVulnerabilityAssessment extends ProxyResource { +export interface WorkspaceAadAdminInfo extends BaseResource { /** - * A blob storage container path to hold the scan results (e.g. - * https://myStorage.blob.core.windows.net/VaScans/). + * Tenant ID of the workspace active directory administrator */ - storageContainerPath: string; + tenantId?: 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. + * Login of the workspace active directory administrator */ - storageContainerSasKey?: string; + login?: string; /** - * Specifies the identifier key of the storage account for vulnerability assessment scan results. - * If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. + * Workspace active directory administrator type */ - storageAccountAccessKey?: string; + administratorType?: string; /** - * The recurring scans settings + * Object ID of the workspace active directory administrator */ - recurringScans?: VulnerabilityAssessmentRecurringScansProperties; + sid?: string; } /** - * The server encryption protector. + * Workspace patch details */ -export interface EncryptionProtector extends ProxyResource { +export interface WorkspacePatchInfo { /** - * 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.** + * Resource tags */ - readonly kind?: string; + tags?: { [propertyName: string]: string }; /** - * Resource location. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The identity of the workspace */ - readonly location?: string; + identity?: ManagedIdentity; /** - * Subregion of the encryption protector. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * SQL administrator login password */ - readonly subregion?: string; + sqlAdministratorLoginPassword?: string; /** - * The name of the server key. + * Managed Virtual Network Settings */ - serverKeyName?: string; + managedVirtualNetworkSettings?: ManagedVirtualNetworkSettings; /** - * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: - * 'ServiceManaged', 'AzureKeyVault' + * Git integration settings */ - serverKeyType: ServerKeyType; + workspaceRepositoryConfiguration?: WorkspaceRepositoryConfiguration; /** - * The URI of the server key. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Purview Configuration */ - readonly uri?: string; + purviewConfiguration?: PurviewConfiguration; /** - * Thumbprint of the server key. + * Resource provisioning state * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly thumbprint?: string; + readonly provisioningState?: string; + /** + * The encryption details of the workspace + */ + encryption?: EncryptionDetails; + /** + * Network Settings + */ + networkSettings?: NetworkSettings; } /** - * Represents server metrics. + * Grant sql control to managed identity */ -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; +export interface ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity { /** - * The name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Desired state. Possible values include: 'Enabled', 'Disabled' */ - readonly resourceName?: string; + desiredState?: DesiredState; /** - * The metric display name. + * 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.** */ - readonly displayName?: string; + readonly actualState?: ActualState; +} + +/** + * Sql Control Settings for workspace managed identity + * @summary Managed Identity Sql Control Settings + */ +export interface ManagedIdentitySqlControlSettingsModel extends ProxyResource { /** - * The current value of the metric. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Grant sql control to managed identity */ - readonly currentValue?: number; + grantSqlControlToManagedIdentity?: ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; +} + +/** + * A restorable dropped Sql pool + */ +export interface RestorableDroppedSqlPool extends ProxyResource { /** - * The current limit of the metric. + * The geo-location where the resource lives * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly limit?: number; + readonly location?: string; /** - * The units of the metric. + * The name of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: string; + readonly databaseName?: string; /** - * The next reset time for the metric (ISO8601 format). + * The edition of the database * **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 { + readonly edition?: string; /** - * The edition of the database + * The max size in bytes of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly edition?: string; + readonly maxSizeBytes?: string; /** * The service level objective name of the database * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -4335,24 +4395,20 @@ export interface RecoverableSqlPool extends ProxyResource { */ readonly elasticPoolName?: string; /** - * The last available backup date of the database (ISO8601 format) + * The creation 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 { + readonly creationDate?: Date; /** - * Used to activate the workspace after a customer managed key is provided. + * The deletion date of the database (ISO8601 format) + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - isActiveCMK?: boolean; + readonly deletionDate?: Date; /** - * The Key Vault Url of the workspace key. + * The earliest restore date of the database (ISO8601 format) + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - keyVaultUrl?: string; + readonly earliestRestoreDate?: Date; } /** @@ -4375,6 +4431,49 @@ export interface BigDataPoolsBeginCreateOrUpdateOptionalParams extends msRest.Re force?: boolean; } +/** + * 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; +} + /** * Optional Parameters. */ @@ -4474,80 +4573,123 @@ export interface SqlPoolTablesListBySchemaNextOptionalParams extends msRest.Requ /** * Optional Parameters. */ -export interface SqlPoolTableColumnsListByTableNameOptionalParams extends msRest.RequestOptionsBase { +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; +} + +/** + * 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 { /** - * An OData filter expression that filters elements in the collection. + * Link to the next page of results */ - filter?: string; + nextLink?: string; } /** - * Optional Parameters. + * @interface + * List of IP firewall rules + * @extends Array */ -export interface SqlPoolTableColumnsListByTableNameNextOptionalParams extends msRest.RequestOptionsBase { +export interface IpFirewallRuleInfoListResult extends Array { /** - * An OData filter expression that filters elements in the collection. + * Link to next page of results */ - filter?: string; + nextLink?: string; } /** - * Optional Parameters. + * @interface + * A list of integration runtime resources. + * @extends Array */ -export interface IntegrationRuntimesGetOptionalParams extends msRest.RequestOptionsBase { +export interface IntegrationRuntimeListResponse extends Array { /** - * 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. + * The link to the next page of results, if any remaining results exist. */ - ifNoneMatch?: string; + nextLink?: string; } /** - * Optional Parameters. + * @interface + * List of keys + * @extends Array */ -export interface IntegrationRuntimesCreateOptionalParams extends msRest.RequestOptionsBase { +export interface KeyInfoListResult extends Array { /** - * 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. + * Link to the next page of results */ - ifMatch?: string; + nextLink?: string; } /** - * Optional Parameters. + * @interface + * A list of Library resources. + * @extends Array */ -export interface IntegrationRuntimesBeginCreateOptionalParams extends msRest.RequestOptionsBase { +export interface LibraryListResponse extends Array { /** - * 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. + * The link to the next page of results, if any remaining results exist. */ - ifMatch?: string; + nextLink?: string; } /** - * Optional Parameters. + * @interface + * A list of private endpoint connections + * @extends Array */ -export interface IntegrationRuntimeObjectMetadataListOptionalParams extends msRest.RequestOptionsBase { +export interface PrivateEndpointConnectionList extends Array { /** - * The parameters for getting a SSIS object metadata. + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - getMetadataRequest?: GetSsisObjectMetadataRequest; + readonly nextLink?: string; } /** - * An interface representing SynapseManagementClientOptions. + * @interface + * A list of private link resources + * @extends Array */ -export interface SynapseManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; +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 - * Collection of Big Data pool information - * @summary Collection of Big Data pools - * @extends Array + * List of privateLinkHubs + * @extends Array */ -export interface BigDataPoolResourceInfoListResult extends Array { +export interface PrivateLinkHubInfoListResult extends Array { /** * Link to the next page of results */ @@ -4556,13 +4698,11 @@ export interface BigDataPoolResourceInfoListResult extends Array + * An interface representing the + * PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse. + * @extends Array */ -export interface IpFirewallRuleInfoListResult extends Array { - /** - * Link to next page of results - */ +export interface PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse extends Array { nextLink?: string; } @@ -4805,42 +4945,36 @@ export interface WorkloadClassifierListResult extends Array /** * @interface - * List of workspaces - * @extends Array + * A list of server auditing settings. + * @extends Array */ -export interface WorkspaceInfoListResult extends Array { +export interface ServerBlobAuditingPolicyListResult extends Array { /** - * Link to the next page of results + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * The response to a list restorable dropped Sql pools request - * @extends Array - */ -export interface RestorableDroppedSqlPoolListResult extends Array { + readonly nextLink?: string; } /** * @interface - * A list of integration runtime resources. - * @extends Array + * A list of server extended auditing settings. + * @extends Array */ -export interface IntegrationRuntimeListResponse extends Array { +export interface ExtendedServerBlobAuditingPolicyListResult extends Array { /** - * The link to the next page of results, if any remaining results exist. + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; + readonly nextLink?: string; } /** * @interface - * A list of private link resources - * @extends Array + * A list of the workspace managed sql server's security alert policies. + * @extends Array */ -export interface PrivateLinkResourceListResult 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.** @@ -4850,10 +4984,10 @@ export interface PrivateLinkResourceListResult extends Array + * A list of the server's vulnerability assessments. + * @extends Array */ -export interface PrivateEndpointConnectionList 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.** @@ -4863,32 +4997,23 @@ export interface PrivateEndpointConnectionList extends Array + * A list of server encryption protectors. + * @extends Array */ -export interface PrivateLinkHubInfoListResult extends Array { +export interface EncryptionProtectorListResult extends Array { /** - * Link to the next page of results + * Link to retrieve next page of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the - * PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse. - * @extends Array - */ -export interface PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse extends Array { - nextLink?: string; + readonly nextLink?: string; } /** * @interface - * A list of server auditing settings. - * @extends Array + * Represents the response to a list server metrics request. + * @extends Array */ -export interface ServerBlobAuditingPolicyListResult 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.** @@ -4898,10 +5023,10 @@ export interface ServerBlobAuditingPolicyListResult extends Array + * The response to a list recoverable sql pools request + * @extends Array */ -export interface ExtendedServerBlobAuditingPolicyListResult 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.** @@ -4911,104 +5036,161 @@ export interface ExtendedServerBlobAuditingPolicyListResult extends Array + * List of workspaces + * @extends Array */ -export interface ServerSecurityAlertPolicyListResult extends Array { +export interface WorkspaceInfoListResult extends Array { /** - * Link to retrieve next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Link to the next page of results */ - readonly nextLink?: string; + nextLink?: string; } /** * @interface - * A list of the server's vulnerability assessments. - * @extends Array + * The response to a list restorable dropped Sql pools request + * @extends Array + */ +export interface RestorableDroppedSqlPoolListResult extends Array { +} + +/** + * 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 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 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; -} +export type IntegrationRuntimeEdition = 'Standard' | 'Enterprise'; /** - * @interface - * A list of server encryption protectors. - * @extends Array + * Defines values for ManagedIntegrationRuntimeNodeStatus. + * Possible values include: 'Starting', 'Available', 'Recycling', 'Unavailable' + * @readonly + * @enum {string} */ -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; -} +export type ManagedIntegrationRuntimeNodeStatus = 'Starting' | 'Available' | 'Recycling' | 'Unavailable'; /** - * @interface - * Represents the response to a list server metrics request. - * @extends Array + * Defines values for IntegrationRuntimeInternalChannelEncryptionMode. + * Possible values include: 'NotSet', 'SslEncrypted', 'NotEncrypted' + * @readonly + * @enum {string} */ -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; -} +export type IntegrationRuntimeInternalChannelEncryptionMode = 'NotSet' | 'SslEncrypted' | 'NotEncrypted'; /** - * @interface - * The response to a list recoverable sql pools request - * @extends Array + * Defines values for SelfHostedIntegrationRuntimeNodeStatus. + * Possible values include: 'NeedRegistration', 'Online', 'Limited', 'Offline', 'Upgrading', + * 'Initializing', 'InitializeFailed' + * @readonly + * @enum {string} */ -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; -} +export type SelfHostedIntegrationRuntimeNodeStatus = 'NeedRegistration' | 'Online' | 'Limited' | 'Offline' | 'Upgrading' | 'Initializing' | 'InitializeFailed'; /** - * @interface - * List of keys - * @extends Array + * Defines values for IntegrationRuntimeUpdateResult. + * Possible values include: 'None', 'Succeed', 'Fail' + * @readonly + * @enum {string} */ -export interface KeyInfoListResult extends Array { - /** - * Link to the next page of results - */ - nextLink?: string; -} +export type IntegrationRuntimeUpdateResult = 'None' | 'Succeed' | 'Fail'; /** - * Defines values for NodeSize. - * Possible values include: 'None', 'Small', 'Medium', 'Large', 'XLarge', 'XXLarge', 'XXXLarge' + * Defines values for IntegrationRuntimeAutoUpdate. + * Possible values include: 'On', 'Off' * @readonly * @enum {string} */ -export type NodeSize = 'None' | 'Small' | 'Medium' | 'Large' | 'XLarge' | 'XXLarge' | 'XXXLarge'; +export type IntegrationRuntimeAutoUpdate = 'On' | 'Off'; /** - * Defines values for NodeSizeFamily. - * Possible values include: 'None', 'MemoryOptimized' + * Defines values for IntegrationRuntimeAuthKeyName. + * Possible values include: 'authKey1', 'authKey2' * @readonly * @enum {string} */ -export type NodeSizeFamily = 'None' | 'MemoryOptimized'; +export type IntegrationRuntimeAuthKeyName = 'authKey1' | 'authKey2'; /** - * Defines values for ProvisioningState. - * Possible values include: 'Provisioning', 'Succeeded', 'Deleting', 'Failed', 'DeleteError' + * Defines values for SsisObjectMetadataType. + * Possible values include: 'Folder', 'Project', 'Package', 'Environment' * @readonly * @enum {string} */ -export type ProvisioningState = 'Provisioning' | 'Succeeded' | 'Deleting' | 'Failed' | 'DeleteError'; +export type SsisObjectMetadataType = 'Folder' | 'Project' | 'Package' | 'Environment'; /** * Defines values for OperationStatus. @@ -5209,134 +5391,28 @@ export type SensitivityLabelUpdateKind = 'set' | 'remove'; export type RecommendedSensitivityLabelUpdateKind = 'enable' | 'disable'; /** - * 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' + * Defines values for ServerKeyType. + * Possible values include: 'ServiceManaged', 'AzureKeyVault' * @readonly * @enum {string} */ -export type IntegrationRuntimeAuthKeyName = 'authKey1' | 'authKey2'; +export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault'; /** - * Defines values for SsisObjectMetadataType. - * Possible values include: 'Folder', 'Project', 'Package', 'Environment' + * Defines values for WorkspacePublicNetworkAccess. + * Possible values include: 'Enabled', 'Disabled' * @readonly * @enum {string} */ -export type SsisObjectMetadataType = 'Folder' | 'Project' | 'Package' | 'Environment'; +export type WorkspacePublicNetworkAccess = 'Enabled' | 'Disabled'; /** - * Defines values for ServerKeyType. - * Possible values include: 'ServiceManaged', 'AzureKeyVault' + * Defines values for ResourceIdentityType. + * Possible values include: 'None', 'SystemAssigned' * @readonly * @enum {string} */ -export type ServerKeyType = 'ServiceManaged' | 'AzureKeyVault'; +export type ResourceIdentityType = 'None' | 'SystemAssigned'; /** * Defines values for SensitivityLabelSource. @@ -5378,16 +5454,16 @@ export type BigDataPoolsGetResponse = BigDataPoolResourceInfo & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: BigDataPoolResourceInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BigDataPoolResourceInfo; + }; }; /** @@ -5398,16 +5474,16 @@ export type BigDataPoolsUpdateResponse = BigDataPoolResourceInfo & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: BigDataPoolResourceInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BigDataPoolResourceInfo; + }; }; /** @@ -5418,16 +5494,16 @@ export type BigDataPoolsCreateOrUpdateResponse = BigDataPoolResourceInfo & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: BigDataPoolResourceInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BigDataPoolResourceInfo; + }; }; /** @@ -5443,16 +5519,16 @@ export type BigDataPoolsDeleteMethodResponse = { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** @@ -5463,16 +5539,16 @@ export type BigDataPoolsListByWorkspaceResponse = BigDataPoolResourceInfoListRes * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: BigDataPoolResourceInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BigDataPoolResourceInfoListResult; + }; }; /** @@ -5483,16 +5559,16 @@ export type BigDataPoolsBeginCreateOrUpdateResponse = BigDataPoolResourceInfo & * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: BigDataPoolResourceInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BigDataPoolResourceInfo; + }; }; /** @@ -5508,16 +5584,16 @@ export type BigDataPoolsBeginDeleteMethodResponse = { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** @@ -5528,16 +5604,16 @@ export type BigDataPoolsListByWorkspaceNextResponse = BigDataPoolResourceInfoLis * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: BigDataPoolResourceInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BigDataPoolResourceInfoListResult; + }; }; /** @@ -5548,16 +5624,16 @@ export type OperationsCheckNameAvailabilityResponse = CheckNameAvailabilityRespo * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: CheckNameAvailabilityResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CheckNameAvailabilityResponse; + }; }; /** @@ -5568,16 +5644,16 @@ export type OperationsListResponse = Array & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AvailableRpOperation[]; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AvailableRpOperation[]; + }; }; /** @@ -5588,16 +5664,16 @@ export type OperationsGetAzureAsyncHeaderResultResponse = OperationResource & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationResource; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationResource; + }; }; /** @@ -5608,16 +5684,16 @@ export type IpFirewallRulesListByWorkspaceResponse = IpFirewallRuleInfoListResul * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFirewallRuleInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IpFirewallRuleInfoListResult; + }; }; /** @@ -5628,16 +5704,16 @@ export type IpFirewallRulesCreateOrUpdateResponse = IpFirewallRuleInfo & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFirewallRuleInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IpFirewallRuleInfo; + }; }; /** @@ -5653,16 +5729,16 @@ export type IpFirewallRulesDeleteMethodResponse = { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** @@ -5673,16 +5749,16 @@ export type IpFirewallRulesGetResponse = IpFirewallRuleInfo & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFirewallRuleInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IpFirewallRuleInfo; + }; }; /** @@ -5693,16 +5769,16 @@ export type IpFirewallRulesReplaceAllResponse = ReplaceAllFirewallRulesOperation * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ReplaceAllFirewallRulesOperationResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplaceAllFirewallRulesOperationResponse; + }; }; /** @@ -5713,16 +5789,16 @@ export type IpFirewallRulesBeginCreateOrUpdateResponse = IpFirewallRuleInfo & { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFirewallRuleInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IpFirewallRuleInfo; + }; }; /** @@ -5738,16 +5814,16 @@ export type IpFirewallRulesBeginDeleteMethodResponse = { * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** @@ -5758,16 +5834,16 @@ export type IpFirewallRulesBeginReplaceAllResponse = ReplaceAllFirewallRulesOper * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ReplaceAllFirewallRulesOperationResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplaceAllFirewallRulesOperationResponse; + }; }; /** @@ -5778,3799 +5854,3859 @@ export type IpFirewallRulesListByWorkspaceNextResponse = IpFirewallRuleInfoListR * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IpFirewallRuleInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IpFirewallRuleInfoListResult; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type SqlPoolsGetResponse = SqlPool & { +export type IntegrationRuntimesUpdateResponse = IntegrationRuntimeResource & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPool; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeResource; + }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type SqlPoolsUpdateResponse = SqlPool & { +export type IntegrationRuntimesGetResponse = IntegrationRuntimeResource & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPool; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeResource; + }; }; /** * Contains response data for the create operation. */ -export type SqlPoolsCreateResponse = SqlPool & { +export type IntegrationRuntimesCreateResponse = IntegrationRuntimeResource & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPool; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeResource; + }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the listByWorkspace operation. */ -export type SqlPoolsDeleteMethodResponse = { - /** - * The parsed response body. - */ - body: any; - +export type IntegrationRuntimesListByWorkspaceResponse = IntegrationRuntimeListResponse & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeListResponse; + }; }; /** - * Contains response data for the listByWorkspace operation. + * Contains response data for the start operation. */ -export type SqlPoolsListByWorkspaceResponse = SqlPoolInfoListResult & { +export type IntegrationRuntimesStartResponse = IntegrationRuntimeStatusResponse & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeStatusResponse; + }; }; /** - * Contains response data for the pause operation. + * Contains response data for the beginCreate operation. */ -export type SqlPoolsPauseResponse = { - /** - * The parsed response body. - */ - body: any; - +export type IntegrationRuntimesBeginCreateResponse = IntegrationRuntimeResource & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeResource; + }; }; /** - * Contains response data for the resume operation. + * Contains response data for the beginStart operation. */ -export type SqlPoolsResumeResponse = { +export type IntegrationRuntimesBeginStartResponse = IntegrationRuntimeStatusResponse & { /** - * 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: IntegrationRuntimeStatusResponse; + }; +}; +/** + * Contains response data for the listByWorkspaceNext operation. + */ +export type IntegrationRuntimesListByWorkspaceNextResponse = IntegrationRuntimeListResponse & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeListResponse; + }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the get operation. */ -export type SqlPoolsBeginCreateResponse = SqlPool & { +export type IntegrationRuntimeNodeIpAddressGetResponse = IntegrationRuntimeNodeIpAddress & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPool; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeNodeIpAddress; + }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the list operation. */ -export type SqlPoolsBeginDeleteMethodResponse = { - /** - * The parsed response body. - */ - body: any; - +export type IntegrationRuntimeObjectMetadataListResponse = SsisObjectMetadataListResponse & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SsisObjectMetadataListResponse; + }; }; /** - * Contains response data for the beginPause operation. + * Contains response data for the refresh operation. */ -export type SqlPoolsBeginPauseResponse = { - /** - * The parsed response body. - */ - body: any; - +export type IntegrationRuntimeObjectMetadataRefreshResponse = SsisObjectMetadataStatusResponse & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SsisObjectMetadataStatusResponse; + }; }; /** - * Contains response data for the beginResume operation. + * Contains response data for the beginRefresh operation. */ -export type SqlPoolsBeginResumeResponse = { +export type IntegrationRuntimeObjectMetadataBeginRefreshResponse = SsisObjectMetadataStatusResponse & { /** - * 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: SsisObjectMetadataStatusResponse; + }; +}; +/** + * Contains response data for the get operation. + */ +export type IntegrationRuntimeNodesGetResponse = SelfHostedIntegrationRuntimeNode & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SelfHostedIntegrationRuntimeNode; + }; }; /** - * Contains response data for the listByWorkspaceNext operation. + * Contains response data for the update operation. */ -export type SqlPoolsListByWorkspaceNextResponse = SqlPoolInfoListResult & { +export type IntegrationRuntimeNodesUpdateResponse = SelfHostedIntegrationRuntimeNode & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SelfHostedIntegrationRuntimeNode; + }; }; /** * Contains response data for the get operation. */ -export type SqlPoolMetadataSyncConfigsGetResponse = MetadataSyncConfig & { +export type IntegrationRuntimeConnectionInfosGetResponse = IntegrationRuntimeConnectionInfo & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: MetadataSyncConfig; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeConnectionInfo; + }; }; /** - * Contains response data for the create operation. + * Contains response data for the regenerate operation. */ -export type SqlPoolMetadataSyncConfigsCreateResponse = MetadataSyncConfig & { +export type IntegrationRuntimeAuthKeysRegenerateResponse = IntegrationRuntimeAuthKeys & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: MetadataSyncConfig; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeAuthKeys; + }; }; /** - * Contains response data for the getLocationHeaderResult operation. + * Contains response data for the list operation. */ -export type SqlPoolOperationResultsGetLocationHeaderResultResponse = { - /** - * The parsed response body. - */ - body: any; - +export type IntegrationRuntimeAuthKeysListResponse = IntegrationRuntimeAuthKeys & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeAuthKeys; + }; }; /** * Contains response data for the list operation. */ -export type SqlPoolGeoBackupPoliciesListResponse = GeoBackupPolicyListResult & { +export type IntegrationRuntimeMonitoringDataListResponse = IntegrationRuntimeMonitoringData & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: GeoBackupPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeMonitoringData; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type SqlPoolGeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { +export type IntegrationRuntimeStatusGetResponse = IntegrationRuntimeStatusResponse & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: GeoBackupPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationRuntimeStatusResponse; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByWorkspace operation. */ -export type SqlPoolGeoBackupPoliciesGetResponse = GeoBackupPolicy & { +export type KeysListByWorkspaceResponse = KeyInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: GeoBackupPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: KeyInfoListResult; + }; }; /** * Contains response data for the get operation. */ -export type SqlPoolDataWarehouseUserActivitiesGetResponse = DataWarehouseUserActivities & { +export type KeysGetResponse = Key & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataWarehouseUserActivities; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Key; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type SqlPoolRestorePointsListResponse = RestorePointListResult & { +export type KeysCreateOrUpdateResponse = Key & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RestorePointListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Key; + }; }; /** - * Contains response data for the create operation. + * Contains response data for the deleteMethod operation. */ -export type SqlPoolRestorePointsCreateResponse = RestorePoint & { +export type KeysDeleteMethodResponse = Key & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RestorePoint; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Key; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByWorkspaceNext operation. */ -export type SqlPoolRestorePointsGetResponse = RestorePoint & { +export type KeysListByWorkspaceNextResponse = KeyInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RestorePoint; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: KeyInfoListResult; + }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the get operation. */ -export type SqlPoolRestorePointsBeginCreateResponse = RestorePoint & { +export type LibraryGetResponse = LibraryResource & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RestorePoint; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: LibraryResource; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByWorkspace operation. */ -export type SqlPoolRestorePointsListNextResponse = RestorePointListResult & { +export type LibrariesListByWorkspaceResponse = LibraryListResponse & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RestorePointListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: LibraryListResponse; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByWorkspaceNext operation. */ -export type SqlPoolReplicationLinksListResponse = ReplicationLinkListResult & { +export type LibrariesListByWorkspaceNextResponse = LibraryListResponse & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ReplicationLinkListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: LibraryListResponse; + }; }; /** - * Contains response data for the getByName operation. + * Contains response data for the get operation. */ -export type SqlPoolReplicationLinksGetByNameResponse = ReplicationLink & { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ReplicationLink; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnection; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the create operation. */ -export type SqlPoolReplicationLinksListNextResponse = ReplicationLinkListResult & { +export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ReplicationLinkListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnection; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the deleteMethod operation. */ -export type SqlPoolMaintenanceWindowsGetResponse = MaintenanceWindows & { +export type PrivateEndpointConnectionsDeleteMethodResponse = OperationResource & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: MaintenanceWindows; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationResource; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type SqlPoolMaintenanceWindowOptionsGetResponse = MaintenanceWindowOptions & { +export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionList & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: MaintenanceWindowOptions; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnectionList; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreate operation. */ -export type SqlPoolTransparentDataEncryptionsGetResponse = TransparentDataEncryption & { +export type PrivateEndpointConnectionsBeginCreateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: TransparentDataEncryption; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnection; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginDeleteMethod operation. */ -export type SqlPoolTransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { +export type PrivateEndpointConnectionsBeginDeleteMethodResponse = OperationResource & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: TransparentDataEncryption; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationResource; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type SqlPoolTransparentDataEncryptionsListResponse = TransparentDataEncryptionListResult & { +export type PrivateEndpointConnectionsListNextResponse = PrivateEndpointConnectionList & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: TransparentDataEncryptionListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnectionList; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type SqlPoolTransparentDataEncryptionsListNextResponse = TransparentDataEncryptionListResult & { +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: TransparentDataEncryptionListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkResourceListResult; + }; }; /** * Contains response data for the get operation. */ -export type SqlPoolBlobAuditingPoliciesGetResponse = SqlPoolBlobAuditingPolicy & { +export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolBlobAuditingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkResource; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type SqlPoolBlobAuditingPoliciesCreateOrUpdateResponse = SqlPoolBlobAuditingPolicy & { +export type PrivateLinkResourcesListNextResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolBlobAuditingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkResourceListResult; + }; }; /** - * Contains response data for the listBySqlPool operation. + * Contains response data for the list operation. */ -export type SqlPoolBlobAuditingPoliciesListBySqlPoolResponse = SqlPoolBlobAuditingPolicyListResult & { +export type PrivateLinkHubPrivateLinkResourcesListResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolBlobAuditingPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkResourceListResult; + }; }; /** - * Contains response data for the listBySqlPoolNext operation. + * Contains response data for the get operation. */ -export type SqlPoolBlobAuditingPoliciesListBySqlPoolNextResponse = SqlPoolBlobAuditingPolicyListResult & { +export type PrivateLinkHubPrivateLinkResourcesGetResponse = PrivateLinkResource & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolBlobAuditingPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkResource; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type SqlPoolOperationsListResponse = SqlPoolBlobAuditingPolicySqlPoolOperationListResult & { +export type PrivateLinkHubPrivateLinkResourcesListNextResponse = PrivateLinkResourceListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolBlobAuditingPolicySqlPoolOperationListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkResourceListResult; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type SqlPoolOperationsListNextResponse = SqlPoolBlobAuditingPolicySqlPoolOperationListResult & { +export type PrivateLinkHubsListByResourceGroupResponse = PrivateLinkHubInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolBlobAuditingPolicySqlPoolOperationListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkHubInfoListResult; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type SqlPoolUsagesListResponse = SqlPoolUsageListResult & { +export type PrivateLinkHubsGetResponse = PrivateLinkHub & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolUsageListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkHub; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the update operation. */ -export type SqlPoolUsagesListNextResponse = SqlPoolUsageListResult & { +export type PrivateLinkHubsUpdateResponse = PrivateLinkHub & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolUsageListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkHub; + }; }; /** - * Contains response data for the listCurrent operation. + * Contains response data for the createOrUpdate operation. */ -export type SqlPoolSensitivityLabelsListCurrentResponse = SensitivityLabelListResult & { +export type PrivateLinkHubsCreateOrUpdateResponse = PrivateLinkHub & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SensitivityLabelListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkHub; + }; }; /** - * Contains response data for the listRecommended operation. + * Contains response data for the list operation. */ -export type SqlPoolSensitivityLabelsListRecommendedResponse = SensitivityLabelListResult & { +export type PrivateLinkHubsListResponse = PrivateLinkHubInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SensitivityLabelListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkHubInfoListResult; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type SqlPoolSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { +export type PrivateLinkHubsListByResourceGroupNextResponse = PrivateLinkHubInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SensitivityLabel; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkHubInfoListResult; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type SqlPoolSensitivityLabelsGetResponse = SensitivityLabel & { +export type PrivateLinkHubsListNextResponse = PrivateLinkHubInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SensitivityLabel; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkHubInfoListResult; + }; }; /** - * Contains response data for the listCurrentNext operation. + * Contains response data for the list operation. */ -export type SqlPoolSensitivityLabelsListCurrentNextResponse = SensitivityLabelListResult & { +export type PrivateEndpointConnectionsPrivateLinkHubListResponse = PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SensitivityLabelListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse; + }; }; /** - * Contains response data for the listRecommendedNext operation. + * Contains response data for the listNext operation. */ -export type SqlPoolSensitivityLabelsListRecommendedNextResponse = SensitivityLabelListResult & { +export type PrivateEndpointConnectionsPrivateLinkHubListNextResponse = PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SensitivityLabelListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type SqlPoolSchemasListResponse = SqlPoolSchemaListResult & { +export type SqlPoolsGetResponse = SqlPool & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolSchemaListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPool; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type SqlPoolSchemasGetResponse = SqlPoolSchema & { +export type SqlPoolsUpdateResponse = SqlPool & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolSchema; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPool; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the create operation. */ -export type SqlPoolSchemasListNextResponse = SqlPoolSchemaListResult & { +export type SqlPoolsCreateResponse = SqlPool & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolSchemaListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPool; + }; }; /** - * Contains response data for the listBySchema operation. + * Contains response data for the deleteMethod operation. */ -export type SqlPoolTablesListBySchemaResponse = SqlPoolTableListResult & { +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 text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolTableListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByWorkspace operation. */ -export type SqlPoolTablesGetResponse = SqlPoolTable & { +export type SqlPoolsListByWorkspaceResponse = SqlPoolInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolTable; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolInfoListResult; + }; }; /** - * Contains response data for the listBySchemaNext operation. + * Contains response data for the pause operation. */ -export type SqlPoolTablesListBySchemaNextResponse = SqlPoolTableListResult & { +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 text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolTableListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** - * Contains response data for the listByTableName operation. + * Contains response data for the resume operation. */ -export type SqlPoolTableColumnsListByTableNameResponse = SqlPoolColumnListResult & { +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 text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolColumnListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** - * Contains response data for the listByTableNameNext operation. + * Contains response data for the beginCreate operation. */ -export type SqlPoolTableColumnsListByTableNameNextResponse = SqlPoolColumnListResult & { +export type SqlPoolsBeginCreateResponse = SqlPool & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolColumnListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPool; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginDeleteMethod operation. */ -export type SqlPoolConnectionPoliciesGetResponse = SqlPoolConnectionPolicy & { +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 text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolConnectionPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginPause operation. */ -export type SqlPoolVulnerabilityAssessmentsListResponse = SqlPoolVulnerabilityAssessmentListResult & { +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 text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolVulnerabilityAssessmentListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginResume operation. */ -export type SqlPoolVulnerabilityAssessmentsGetResponse = SqlPoolVulnerabilityAssessment & { +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 text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolVulnerabilityAssessment; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByWorkspaceNext operation. */ -export type SqlPoolVulnerabilityAssessmentsCreateOrUpdateResponse = SqlPoolVulnerabilityAssessment & { +export type SqlPoolsListByWorkspaceNextResponse = SqlPoolInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolVulnerabilityAssessment; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolInfoListResult; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type SqlPoolVulnerabilityAssessmentsListNextResponse = SqlPoolVulnerabilityAssessmentListResult & { +export type SqlPoolMetadataSyncConfigsGetResponse = MetadataSyncConfig & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolVulnerabilityAssessmentListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: MetadataSyncConfig; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the create operation. */ -export type SqlPoolVulnerabilityAssessmentScansListResponse = VulnerabilityAssessmentScanRecordListResult & { +export type SqlPoolMetadataSyncConfigsCreateResponse = MetadataSyncConfig & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: MetadataSyncConfig; + }; }; /** - * Contains response data for the exportMethod operation. + * Contains response data for the getLocationHeaderResult operation. */ -export type SqlPoolVulnerabilityAssessmentScansExportMethodResponse = SqlPoolVulnerabilityAssessmentScansExport & { +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 text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolVulnerabilityAssessmentScansExport; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type SqlPoolVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { +export type SqlPoolGeoBackupPoliciesListResponse = GeoBackupPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VulnerabilityAssessmentScanRecord; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: GeoBackupPolicyListResult; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SqlPoolVulnerabilityAssessmentScansListNextResponse = VulnerabilityAssessmentScanRecordListResult & { +export type SqlPoolGeoBackupPoliciesCreateOrUpdateResponse = GeoBackupPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: VulnerabilityAssessmentScanRecordListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: GeoBackupPolicy; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type SqlPoolSecurityAlertPoliciesListResponse = ListSqlPoolSecurityAlertPolicies & { +export type SqlPoolGeoBackupPoliciesGetResponse = GeoBackupPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ListSqlPoolSecurityAlertPolicies; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: GeoBackupPolicy; + }; }; /** * Contains response data for the get operation. */ -export type SqlPoolSecurityAlertPoliciesGetResponse = SqlPoolSecurityAlertPolicy & { +export type SqlPoolDataWarehouseUserActivitiesGetResponse = DataWarehouseUserActivities & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolSecurityAlertPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataWarehouseUserActivities; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type SqlPoolSecurityAlertPoliciesCreateOrUpdateResponse = SqlPoolSecurityAlertPolicy & { +export type SqlPoolRestorePointsListResponse = RestorePointListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolSecurityAlertPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorePointListResult; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the create operation. */ -export type SqlPoolSecurityAlertPoliciesListNextResponse = ListSqlPoolSecurityAlertPolicies & { +export type SqlPoolRestorePointsCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ListSqlPoolSecurityAlertPolicies; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorePoint; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = SqlPoolVulnerabilityAssessmentRuleBaseline & { +export type SqlPoolRestorePointsGetResponse = RestorePoint & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolVulnerabilityAssessmentRuleBaseline; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorePoint; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreate operation. */ -export type SqlPoolVulnerabilityAssessmentRuleBaselinesGetResponse = SqlPoolVulnerabilityAssessmentRuleBaseline & { +export type SqlPoolRestorePointsBeginCreateResponse = RestorePoint & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolVulnerabilityAssessmentRuleBaseline; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorePoint; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type ExtendedSqlPoolBlobAuditingPoliciesGetResponse = ExtendedSqlPoolBlobAuditingPolicy & { +export type SqlPoolRestorePointsListNextResponse = RestorePointListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExtendedSqlPoolBlobAuditingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorePointListResult; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type ExtendedSqlPoolBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedSqlPoolBlobAuditingPolicy & { +export type SqlPoolReplicationLinksListResponse = ReplicationLinkListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExtendedSqlPoolBlobAuditingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationLinkListResult; + }; }; /** - * Contains response data for the listBySqlPool operation. + * Contains response data for the getByName operation. */ -export type ExtendedSqlPoolBlobAuditingPoliciesListBySqlPoolResponse = ExtendedSqlPoolBlobAuditingPolicyListResult & { +export type SqlPoolReplicationLinksGetByNameResponse = ReplicationLink & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExtendedSqlPoolBlobAuditingPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationLink; + }; }; /** - * Contains response data for the listBySqlPoolNext operation. + * Contains response data for the listNext operation. */ -export type ExtendedSqlPoolBlobAuditingPoliciesListBySqlPoolNextResponse = ExtendedSqlPoolBlobAuditingPolicyListResult & { +export type SqlPoolReplicationLinksListNextResponse = ReplicationLinkListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExtendedSqlPoolBlobAuditingPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationLinkListResult; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { +export type SqlPoolMaintenanceWindowsGetResponse = MaintenanceWindows & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataMaskingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: MaintenanceWindows; + }; }; /** * Contains response data for the get operation. */ -export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { +export type SqlPoolMaintenanceWindowOptionsGetResponse = MaintenanceWindowOptions & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataMaskingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: MaintenanceWindowOptions; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { +export type SqlPoolTransparentDataEncryptionsGetResponse = TransparentDataEncryption & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataMaskingRule; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: TransparentDataEncryption; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type DataMaskingRulesGetResponse = DataMaskingRule & { +export type SqlPoolTransparentDataEncryptionsCreateOrUpdateResponse = TransparentDataEncryption & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataMaskingRule; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: TransparentDataEncryption; + }; }; /** - * Contains response data for the listBySqlPool operation. + * Contains response data for the list operation. */ -export type DataMaskingRulesListBySqlPoolResponse = DataMaskingRuleListResult & { +export type SqlPoolTransparentDataEncryptionsListResponse = TransparentDataEncryptionListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataMaskingRuleListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: TransparentDataEncryptionListResult; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type SqlPoolColumnsGetResponse = SqlPoolColumn & { +export type SqlPoolTransparentDataEncryptionsListNextResponse = TransparentDataEncryptionListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SqlPoolColumn; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: TransparentDataEncryptionListResult; + }; }; /** * Contains response data for the get operation. */ -export type SqlPoolWorkloadGroupGetResponse = WorkloadGroup & { +export type SqlPoolBlobAuditingPoliciesGetResponse = SqlPoolBlobAuditingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkloadGroup; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolBlobAuditingPolicy; + }; }; /** * Contains response data for the createOrUpdate operation. */ -export type SqlPoolWorkloadGroupCreateOrUpdateResponse = WorkloadGroup & { +export type SqlPoolBlobAuditingPoliciesCreateOrUpdateResponse = SqlPoolBlobAuditingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkloadGroup; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolBlobAuditingPolicy; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the listBySqlPool operation. */ -export type SqlPoolWorkloadGroupListResponse = WorkloadGroupListResult & { +export type SqlPoolBlobAuditingPoliciesListBySqlPoolResponse = SqlPoolBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkloadGroupListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolBlobAuditingPolicyListResult; + }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listBySqlPoolNext operation. */ -export type SqlPoolWorkloadGroupBeginCreateOrUpdateResponse = WorkloadGroup & { +export type SqlPoolBlobAuditingPoliciesListBySqlPoolNextResponse = SqlPoolBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkloadGroup; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolBlobAuditingPolicyListResult; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type SqlPoolWorkloadGroupListNextResponse = WorkloadGroupListResult & { +export type SqlPoolOperationsListResponse = SqlPoolBlobAuditingPolicySqlPoolOperationListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkloadGroupListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolBlobAuditingPolicySqlPoolOperationListResult; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type SqlPoolWorkloadClassifierGetResponse = WorkloadClassifier & { +export type SqlPoolOperationsListNextResponse = SqlPoolBlobAuditingPolicySqlPoolOperationListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkloadClassifier; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolBlobAuditingPolicySqlPoolOperationListResult; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type SqlPoolWorkloadClassifierCreateOrUpdateResponse = WorkloadClassifier & { +export type SqlPoolUsagesListResponse = SqlPoolUsageListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkloadClassifier; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolUsageListResult; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type SqlPoolWorkloadClassifierListResponse = WorkloadClassifierListResult & { +export type SqlPoolUsagesListNextResponse = SqlPoolUsageListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkloadClassifierListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolUsageListResult; + }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listCurrent operation. */ -export type SqlPoolWorkloadClassifierBeginCreateOrUpdateResponse = WorkloadClassifier & { +export type SqlPoolSensitivityLabelsListCurrentResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkloadClassifier; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SensitivityLabelListResult; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listRecommended operation. */ -export type SqlPoolWorkloadClassifierListNextResponse = WorkloadClassifierListResult & { +export type SqlPoolSensitivityLabelsListRecommendedResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkloadClassifierListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SensitivityLabelListResult; + }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the createOrUpdate operation. */ -export type WorkspacesListByResourceGroupResponse = WorkspaceInfoListResult & { +export type SqlPoolSensitivityLabelsCreateOrUpdateResponse = SensitivityLabel & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkspaceInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SensitivityLabel; + }; }; /** * Contains response data for the get operation. */ -export type WorkspacesGetResponse = Workspace & { +export type SqlPoolSensitivityLabelsGetResponse = SensitivityLabel & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: Workspace; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SensitivityLabel; + }; }; /** - * Contains response data for the update operation. + * Contains response data for the listCurrentNext operation. */ -export type WorkspacesUpdateResponse = Workspace & { +export type SqlPoolSensitivityLabelsListCurrentNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: Workspace; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SensitivityLabelListResult; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listRecommendedNext operation. */ -export type WorkspacesCreateOrUpdateResponse = Workspace & { +export type SqlPoolSensitivityLabelsListRecommendedNextResponse = SensitivityLabelListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: Workspace; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SensitivityLabelListResult; + }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the list operation. */ -export type WorkspacesDeleteMethodResponse = { - /** - * The parsed response body. - */ - body: any; - +export type SqlPoolSchemasListResponse = SqlPoolSchemaListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolSchemaListResult; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type WorkspacesListResponse = WorkspaceInfoListResult & { +export type SqlPoolSchemasGetResponse = SqlPoolSchema & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkspaceInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolSchema; + }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspacesBeginUpdateResponse = Workspace & { +export type SqlPoolSchemasListNextResponse = SqlPoolSchemaListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: Workspace; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolSchemaListResult; + }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listBySchema operation. */ -export type WorkspacesBeginCreateOrUpdateResponse = Workspace & { +export type SqlPoolTablesListBySchemaResponse = SqlPoolTableListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: Workspace; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolTableListResult; + }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the get operation. */ -export type WorkspacesBeginDeleteMethodResponse = { +export type SqlPoolTablesGetResponse = SqlPoolTable & { /** - * 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: SqlPoolTable; + }; +}; + +/** + * Contains response data for the listBySchemaNext operation. + */ +export type SqlPoolTablesListBySchemaNextResponse = SqlPoolTableListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolTableListResult; + }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByTableName operation. */ -export type WorkspacesListByResourceGroupNextResponse = WorkspaceInfoListResult & { +export type SqlPoolTableColumnsListByTableNameResponse = SqlPoolColumnListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkspaceInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolColumnListResult; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByTableNameNext operation. */ -export type WorkspacesListNextResponse = WorkspaceInfoListResult & { +export type SqlPoolTableColumnsListByTableNameNextResponse = SqlPoolColumnListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkspaceInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolColumnListResult; + }; }; /** * Contains response data for the get operation. */ -export type WorkspaceAadAdminsGetResponse = WorkspaceAadAdminInfo & { +export type SqlPoolConnectionPoliciesGetResponse = SqlPoolConnectionPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkspaceAadAdminInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolConnectionPolicy; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type WorkspaceAadAdminsCreateOrUpdateResponse = WorkspaceAadAdminInfo & { +export type SqlPoolVulnerabilityAssessmentsListResponse = SqlPoolVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkspaceAadAdminInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolVulnerabilityAssessmentListResult; + }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type WorkspaceAadAdminsBeginCreateOrUpdateResponse = WorkspaceAadAdminInfo & { +export type SqlPoolVulnerabilityAssessmentsGetResponse = SqlPoolVulnerabilityAssessment & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkspaceAadAdminInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolVulnerabilityAssessment; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type WorkspaceSqlAadAdminsGetResponse = WorkspaceAadAdminInfo & { +export type SqlPoolVulnerabilityAssessmentsCreateOrUpdateResponse = SqlPoolVulnerabilityAssessment & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkspaceAadAdminInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolVulnerabilityAssessment; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspaceSqlAadAdminsCreateOrUpdateResponse = WorkspaceAadAdminInfo & { +export type SqlPoolVulnerabilityAssessmentsListNextResponse = SqlPoolVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkspaceAadAdminInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolVulnerabilityAssessmentListResult; + }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the list operation. */ -export type WorkspaceSqlAadAdminsBeginCreateOrUpdateResponse = WorkspaceAadAdminInfo & { +export type SqlPoolVulnerabilityAssessmentScansListResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: WorkspaceAadAdminInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: VulnerabilityAssessmentScanRecordListResult; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the exportMethod operation. */ -export type WorkspaceManagedIdentitySqlControlSettingsGetResponse = ManagedIdentitySqlControlSettingsModel & { +export type SqlPoolVulnerabilityAssessmentScansExportMethodResponse = SqlPoolVulnerabilityAssessmentScansExport & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedIdentitySqlControlSettingsModel; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolVulnerabilityAssessmentScansExport; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateResponse = ManagedIdentitySqlControlSettingsModel & { +export type SqlPoolVulnerabilityAssessmentScansGetResponse = VulnerabilityAssessmentScanRecord & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedIdentitySqlControlSettingsModel; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: VulnerabilityAssessmentScanRecord; + }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspaceManagedIdentitySqlControlSettingsBeginCreateOrUpdateResponse = ManagedIdentitySqlControlSettingsModel & { +export type SqlPoolVulnerabilityAssessmentScansListNextResponse = VulnerabilityAssessmentScanRecordListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedIdentitySqlControlSettingsModel; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: VulnerabilityAssessmentScanRecordListResult; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type RestorableDroppedSqlPoolsGetResponse = RestorableDroppedSqlPool & { +export type SqlPoolSecurityAlertPoliciesListResponse = ListSqlPoolSecurityAlertPolicies & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RestorableDroppedSqlPool; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ListSqlPoolSecurityAlertPolicies; + }; }; /** - * Contains response data for the listByWorkspace operation. + * Contains response data for the get operation. */ -export type RestorableDroppedSqlPoolsListByWorkspaceResponse = RestorableDroppedSqlPoolListResult & { +export type SqlPoolSecurityAlertPoliciesGetResponse = SqlPoolSecurityAlertPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RestorableDroppedSqlPoolListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolSecurityAlertPolicy; + }; }; /** - * Contains response data for the update operation. + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimesUpdateResponse = IntegrationRuntimeResource & { +export type SqlPoolSecurityAlertPoliciesCreateOrUpdateResponse = SqlPoolSecurityAlertPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeResource; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolSecurityAlertPolicy; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type IntegrationRuntimesGetResponse = IntegrationRuntimeResource & { +export type SqlPoolSecurityAlertPoliciesListNextResponse = ListSqlPoolSecurityAlertPolicies & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeResource; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ListSqlPoolSecurityAlertPolicies; + }; }; /** - * Contains response data for the create operation. + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimesCreateResponse = IntegrationRuntimeResource & { +export type SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateResponse = SqlPoolVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeResource; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolVulnerabilityAssessmentRuleBaseline; + }; }; /** - * Contains response data for the listByWorkspace operation. + * Contains response data for the get operation. */ -export type IntegrationRuntimesListByWorkspaceResponse = IntegrationRuntimeListResponse & { +export type SqlPoolVulnerabilityAssessmentRuleBaselinesGetResponse = SqlPoolVulnerabilityAssessmentRuleBaseline & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeListResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolVulnerabilityAssessmentRuleBaseline; + }; }; /** - * Contains response data for the start operation. + * Contains response data for the get operation. */ -export type IntegrationRuntimesStartResponse = IntegrationRuntimeStatusResponse & { +export type ExtendedSqlPoolBlobAuditingPoliciesGetResponse = ExtendedSqlPoolBlobAuditingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeStatusResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExtendedSqlPoolBlobAuditingPolicy; + }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimesBeginCreateResponse = IntegrationRuntimeResource & { +export type ExtendedSqlPoolBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedSqlPoolBlobAuditingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeResource; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExtendedSqlPoolBlobAuditingPolicy; + }; }; /** - * Contains response data for the beginStart operation. + * Contains response data for the listBySqlPool operation. */ -export type IntegrationRuntimesBeginStartResponse = IntegrationRuntimeStatusResponse & { +export type ExtendedSqlPoolBlobAuditingPoliciesListBySqlPoolResponse = ExtendedSqlPoolBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeStatusResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExtendedSqlPoolBlobAuditingPolicyListResult; + }; }; /** - * Contains response data for the listByWorkspaceNext operation. + * Contains response data for the listBySqlPoolNext operation. */ -export type IntegrationRuntimesListByWorkspaceNextResponse = IntegrationRuntimeListResponse & { +export type ExtendedSqlPoolBlobAuditingPoliciesListBySqlPoolNextResponse = ExtendedSqlPoolBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeListResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExtendedSqlPoolBlobAuditingPolicyListResult; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimeNodeIpAddressGetResponse = IntegrationRuntimeNodeIpAddress & { +export type DataMaskingPoliciesCreateOrUpdateResponse = DataMaskingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeNodeIpAddress; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingPolicy; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type IntegrationRuntimeObjectMetadataListResponse = SsisObjectMetadataListResponse & { +export type DataMaskingPoliciesGetResponse = DataMaskingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SsisObjectMetadataListResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingPolicy; + }; }; /** - * Contains response data for the refresh operation. + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimeObjectMetadataRefreshResponse = SsisObjectMetadataStatusResponse & { +export type DataMaskingRulesCreateOrUpdateResponse = DataMaskingRule & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SsisObjectMetadataStatusResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRule; + }; }; /** - * Contains response data for the beginRefresh operation. + * Contains response data for the get operation. */ -export type IntegrationRuntimeObjectMetadataBeginRefreshResponse = SsisObjectMetadataStatusResponse & { +export type DataMaskingRulesGetResponse = DataMaskingRule & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SsisObjectMetadataStatusResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRule; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySqlPool operation. */ -export type IntegrationRuntimeNodesGetResponse = SelfHostedIntegrationRuntimeNode & { +export type DataMaskingRulesListBySqlPoolResponse = DataMaskingRuleListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SelfHostedIntegrationRuntimeNode; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: DataMaskingRuleListResult; + }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type IntegrationRuntimeNodesUpdateResponse = SelfHostedIntegrationRuntimeNode & { +export type SqlPoolColumnsGetResponse = SqlPoolColumn & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SelfHostedIntegrationRuntimeNode; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SqlPoolColumn; + }; }; /** * Contains response data for the get operation. */ -export type IntegrationRuntimeConnectionInfosGetResponse = IntegrationRuntimeConnectionInfo & { +export type SqlPoolWorkloadGroupGetResponse = WorkloadGroup & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeConnectionInfo; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadGroup; + }; }; /** - * Contains response data for the regenerate operation. + * Contains response data for the createOrUpdate operation. */ -export type IntegrationRuntimeAuthKeysRegenerateResponse = IntegrationRuntimeAuthKeys & { +export type SqlPoolWorkloadGroupCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeAuthKeys; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadGroup; + }; }; /** * Contains response data for the list operation. */ -export type IntegrationRuntimeAuthKeysListResponse = IntegrationRuntimeAuthKeys & { +export type SqlPoolWorkloadGroupListResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeAuthKeys; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadGroupListResult; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type IntegrationRuntimeMonitoringDataListResponse = IntegrationRuntimeMonitoringData & { +export type SqlPoolWorkloadGroupBeginCreateOrUpdateResponse = WorkloadGroup & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeMonitoringData; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadGroup; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type IntegrationRuntimeStatusGetResponse = IntegrationRuntimeStatusResponse & { +export type SqlPoolWorkloadGroupListNextResponse = WorkloadGroupListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeStatusResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadGroupListResult; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult & { +export type SqlPoolWorkloadClassifierGetResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkResourceListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadClassifier; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { +export type SqlPoolWorkloadClassifierCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkResource; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadClassifier; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type PrivateLinkResourcesListNextResponse = PrivateLinkResourceListResult & { +export type SqlPoolWorkloadClassifierListResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkResourceListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadClassifierListResult; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateLinkHubPrivateLinkResourcesListResponse = PrivateLinkResourceListResult & { +export type SqlPoolWorkloadClassifierBeginCreateOrUpdateResponse = WorkloadClassifier & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkResourceListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadClassifier; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type PrivateLinkHubPrivateLinkResourcesGetResponse = PrivateLinkResource & { +export type SqlPoolWorkloadClassifierListNextResponse = WorkloadClassifierListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkResource; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadClassifierListResult; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type PrivateLinkHubPrivateLinkResourcesListNextResponse = PrivateLinkResourceListResult & { +export type WorkspaceManagedSqlServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkResourceListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerBlobAuditingPolicy; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { +export type WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnection; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerBlobAuditingPolicy; + }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByWorkspace operation. */ -export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection & { +export type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnection; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerBlobAuditingPolicyListResult; + }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateEndpointConnectionsDeleteMethodResponse = OperationResource & { +export type WorkspaceManagedSqlServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationResource; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerBlobAuditingPolicy; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByWorkspaceNext operation. */ -export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionList & { +export type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceNextResponse = ServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnectionList; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerBlobAuditingPolicyListResult; + }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the get operation. */ -export type PrivateEndpointConnectionsBeginCreateResponse = PrivateEndpointConnection & { +export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnection; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExtendedServerBlobAuditingPolicy; + }; }; /** - * Contains response data for the beginDeleteMethod operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsBeginDeleteMethodResponse = OperationResource & { +export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationResource; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExtendedServerBlobAuditingPolicy; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByWorkspace operation. */ -export type PrivateEndpointConnectionsListNextResponse = PrivateEndpointConnectionList & { +export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceResponse = ExtendedServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnectionList; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExtendedServerBlobAuditingPolicyListResult; + }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateLinkHubsListByResourceGroupResponse = PrivateLinkHubInfoListResult & { +export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkHubInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExtendedServerBlobAuditingPolicy; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByWorkspaceNext operation. */ -export type PrivateLinkHubsGetResponse = PrivateLinkHub & { +export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceNextResponse = ExtendedServerBlobAuditingPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkHub; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExtendedServerBlobAuditingPolicyListResult; + }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type PrivateLinkHubsUpdateResponse = PrivateLinkHub & { +export type WorkspaceManagedSqlServerSecurityAlertPolicyGetResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkHub; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerSecurityAlertPolicy; + }; }; /** * Contains response data for the createOrUpdate operation. */ -export type PrivateLinkHubsCreateOrUpdateResponse = PrivateLinkHub & { +export type WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkHub; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerSecurityAlertPolicy; + }; }; /** * Contains response data for the list operation. */ -export type PrivateLinkHubsListResponse = PrivateLinkHubInfoListResult & { +export type WorkspaceManagedSqlServerSecurityAlertPolicyListResponse = ServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkHubInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerSecurityAlertPolicyListResult; + }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateLinkHubsListByResourceGroupNextResponse = PrivateLinkHubInfoListResult & { +export type WorkspaceManagedSqlServerSecurityAlertPolicyBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkHubInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerSecurityAlertPolicy; + }; }; /** * Contains response data for the listNext operation. */ -export type PrivateLinkHubsListNextResponse = PrivateLinkHubInfoListResult & { +export type WorkspaceManagedSqlServerSecurityAlertPolicyListNextResponse = ServerSecurityAlertPolicyListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkHubInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerSecurityAlertPolicyListResult; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type PrivateEndpointConnectionsPrivateLinkHubListResponse = PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse & { +export type WorkspaceManagedSqlServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerVulnerabilityAssessment; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsPrivateLinkHubListNextResponse = PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse & { +export type WorkspaceManagedSqlServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerVulnerabilityAssessment; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type WorkspaceManagedSqlServerBlobAuditingPoliciesGetResponse = ServerBlobAuditingPolicy & { +export type WorkspaceManagedSqlServerVulnerabilityAssessmentsListResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerBlobAuditingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerVulnerabilityAssessmentListResult; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type WorkspaceManagedSqlServerVulnerabilityAssessmentsListNextResponse = ServerVulnerabilityAssessmentListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerBlobAuditingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerVulnerabilityAssessmentListResult; + }; }; /** - * Contains response data for the listByWorkspace operation. + * Contains response data for the get operation. */ -export type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceResponse = ServerBlobAuditingPolicyListResult & { +export type WorkspaceManagedSqlServerEncryptionProtectorGetResponse = EncryptionProtector & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerBlobAuditingPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: EncryptionProtector; + }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type WorkspaceManagedSqlServerBlobAuditingPoliciesBeginCreateOrUpdateResponse = ServerBlobAuditingPolicy & { +export type WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerBlobAuditingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: EncryptionProtector; + }; }; /** - * Contains response data for the listByWorkspaceNext operation. + * Contains response data for the list operation. */ -export type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceNextResponse = ServerBlobAuditingPolicyListResult & { +export type WorkspaceManagedSqlServerEncryptionProtectorListResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerBlobAuditingPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: EncryptionProtectorListResult; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGetResponse = ExtendedServerBlobAuditingPolicy & { +export type WorkspaceManagedSqlServerEncryptionProtectorBeginCreateOrUpdateResponse = EncryptionProtector & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExtendedServerBlobAuditingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: EncryptionProtector; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type WorkspaceManagedSqlServerEncryptionProtectorListNextResponse = EncryptionProtectorListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExtendedServerBlobAuditingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: EncryptionProtectorListResult; + }; }; /** - * Contains response data for the listByWorkspace operation. + * Contains response data for the list operation. */ -export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceResponse = ExtendedServerBlobAuditingPolicyListResult & { +export type WorkspaceManagedSqlServerUsagesListResponse = ServerUsageListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExtendedServerBlobAuditingPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerUsageListResult; + }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesBeginCreateOrUpdateResponse = ExtendedServerBlobAuditingPolicy & { +export type WorkspaceManagedSqlServerUsagesListNextResponse = ServerUsageListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExtendedServerBlobAuditingPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ServerUsageListResult; + }; }; /** - * Contains response data for the listByWorkspaceNext operation. + * Contains response data for the list operation. */ -export type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceNextResponse = ExtendedServerBlobAuditingPolicyListResult & { +export type WorkspaceManagedSqlServerRecoverableSqlPoolsListResponse = RecoverableSqlPoolListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExtendedServerBlobAuditingPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoverableSqlPoolListResult; + }; }; /** * Contains response data for the get operation. */ -export type WorkspaceManagedSqlServerSecurityAlertPolicyGetResponse = ServerSecurityAlertPolicy & { +export type WorkspaceManagedSqlServerRecoverableSqlPoolsGetResponse = RecoverableSqlPool & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerSecurityAlertPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoverableSqlPool; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type WorkspaceManagedSqlServerRecoverableSqlPoolsListNextResponse = RecoverableSqlPoolListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerSecurityAlertPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoverableSqlPoolListResult; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroup operation. */ -export type WorkspaceManagedSqlServerSecurityAlertPolicyListResponse = ServerSecurityAlertPolicyListResult & { +export type WorkspacesListByResourceGroupResponse = WorkspaceInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerSecurityAlertPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceInfoListResult; + }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type WorkspaceManagedSqlServerSecurityAlertPolicyBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & { +export type WorkspacesGetResponse = Workspace & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerSecurityAlertPolicy; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the update operation. */ -export type WorkspaceManagedSqlServerSecurityAlertPolicyListNextResponse = ServerSecurityAlertPolicyListResult & { +export type WorkspacesUpdateResponse = Workspace & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerSecurityAlertPolicyListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type WorkspaceManagedSqlServerVulnerabilityAssessmentsGetResponse = ServerVulnerabilityAssessment & { +export type WorkspacesCreateOrUpdateResponse = Workspace & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerVulnerabilityAssessment; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the deleteMethod operation. */ -export type WorkspaceManagedSqlServerVulnerabilityAssessmentsCreateOrUpdateResponse = ServerVulnerabilityAssessment & { +export type WorkspacesDeleteMethodResponse = { + /** + * 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 text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerVulnerabilityAssessment; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** * Contains response data for the list operation. */ -export type WorkspaceManagedSqlServerVulnerabilityAssessmentsListResponse = ServerVulnerabilityAssessmentListResult & { +export type WorkspacesListResponse = WorkspaceInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerVulnerabilityAssessmentListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceInfoListResult; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginUpdate operation. */ -export type WorkspaceManagedSqlServerVulnerabilityAssessmentsListNextResponse = ServerVulnerabilityAssessmentListResult & { +export type WorkspacesBeginUpdateResponse = Workspace & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerVulnerabilityAssessmentListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type WorkspaceManagedSqlServerEncryptionProtectorGetResponse = EncryptionProtector & { +export type WorkspacesBeginCreateOrUpdateResponse = Workspace & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: EncryptionProtector; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginDeleteMethod operation. */ -export type WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateResponse = EncryptionProtector & { +export type WorkspacesBeginDeleteMethodResponse = { + /** + * 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 text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: EncryptionProtector; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type WorkspaceManagedSqlServerEncryptionProtectorListResponse = EncryptionProtectorListResult & { +export type WorkspacesListByResourceGroupNextResponse = WorkspaceInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: EncryptionProtectorListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceInfoListResult; + }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspaceManagedSqlServerEncryptionProtectorBeginCreateOrUpdateResponse = EncryptionProtector & { +export type WorkspacesListNextResponse = WorkspaceInfoListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: EncryptionProtector; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceInfoListResult; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type WorkspaceManagedSqlServerEncryptionProtectorListNextResponse = EncryptionProtectorListResult & { +export type WorkspaceAadAdminsGetResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: EncryptionProtectorListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceAadAdminInfo; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type WorkspaceManagedSqlServerUsagesListResponse = ServerUsageListResult & { +export type WorkspaceAadAdminsCreateOrUpdateResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerUsageListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceAadAdminInfo; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type WorkspaceManagedSqlServerUsagesListNextResponse = ServerUsageListResult & { +export type WorkspaceAadAdminsBeginCreateOrUpdateResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServerUsageListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceAadAdminInfo; + }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type WorkspaceManagedSqlServerRecoverableSqlPoolsListResponse = RecoverableSqlPoolListResult & { +export type WorkspaceSqlAadAdminsGetResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RecoverableSqlPoolListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceAadAdminInfo; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type WorkspaceManagedSqlServerRecoverableSqlPoolsGetResponse = RecoverableSqlPool & { +export type WorkspaceSqlAadAdminsCreateOrUpdateResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RecoverableSqlPool; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceAadAdminInfo; + }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type WorkspaceManagedSqlServerRecoverableSqlPoolsListNextResponse = RecoverableSqlPoolListResult & { +export type WorkspaceSqlAadAdminsBeginCreateOrUpdateResponse = WorkspaceAadAdminInfo & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: RecoverableSqlPoolListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceAadAdminInfo; + }; }; /** - * Contains response data for the listByWorkspace operation. + * Contains response data for the get operation. */ -export type KeysListByWorkspaceResponse = KeyInfoListResult & { +export type WorkspaceManagedIdentitySqlControlSettingsGetResponse = ManagedIdentitySqlControlSettingsModel & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: KeyInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedIdentitySqlControlSettingsModel; + }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type KeysGetResponse = Key & { +export type WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateResponse = ManagedIdentitySqlControlSettingsModel & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: Key; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedIdentitySqlControlSettingsModel; + }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type KeysCreateOrUpdateResponse = Key & { +export type WorkspaceManagedIdentitySqlControlSettingsBeginCreateOrUpdateResponse = ManagedIdentitySqlControlSettingsModel & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: Key; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ManagedIdentitySqlControlSettingsModel; + }; }; /** - * Contains response data for the deleteMethod operation. + * Contains response data for the get operation. */ -export type KeysDeleteMethodResponse = Key & { +export type RestorableDroppedSqlPoolsGetResponse = RestorableDroppedSqlPool & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: Key; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorableDroppedSqlPool; + }; }; /** - * Contains response data for the listByWorkspaceNext operation. + * Contains response data for the listByWorkspace operation. */ -export type KeysListByWorkspaceNextResponse = KeyInfoListResult & { +export type RestorableDroppedSqlPoolsListByWorkspaceResponse = RestorableDroppedSqlPoolListResult & { /** * The underlying HTTP response. */ _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + /** + * The response body as text (string format) + */ + bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: KeyInfoListResult; - }; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RestorableDroppedSqlPoolListResult; + }; }; diff --git a/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts b/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts index 4488d32ca6d5..237d9955b8d3 100644 --- a/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/integrationRuntimesMappers.ts @@ -48,6 +48,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntime, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, @@ -65,6 +66,7 @@ export { ManagedIntegrationRuntimeStatus, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts b/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts index 8ba4d34ca072..efd674e732d8 100644 --- a/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/ipFirewallRulesMappers.ts @@ -47,6 +47,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -59,6 +60,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/keysMappers.ts b/sdk/synapse/arm-synapse/src/models/keysMappers.ts index f96b9ba4a23d..775076232111 100644 --- a/sdk/synapse/arm-synapse/src/models/keysMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/keysMappers.ts @@ -46,6 +46,7 @@ export { KeyInfoListResult, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -58,6 +59,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/librariesMappers.ts b/sdk/synapse/arm-synapse/src/models/librariesMappers.ts new file mode 100644 index 000000000000..d323422dc131 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/librariesMappers.ts @@ -0,0 +1,113 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AutoPauseProperties, + AutoScaleProperties, + AzureEntityResource, + BaseResource, + BigDataPoolResourceInfo, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + DynamicExecutorAllocation, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorDetail, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryInfo, + LibraryListResponse, + LibraryRequirements, + LibraryResource, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + MaintenanceWindowOptions, + MaintenanceWindows, + MaintenanceWindowTimeRange, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + NetworkSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + PurviewConfiguration, + RecommendedSensitivityLabelUpdate, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + SensitivityLabelUpdate, + 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/libraryMappers.ts b/sdk/synapse/arm-synapse/src/models/libraryMappers.ts new file mode 100644 index 000000000000..be77ba540f28 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/models/libraryMappers.ts @@ -0,0 +1,112 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AutoPauseProperties, + AutoScaleProperties, + AzureEntityResource, + BaseResource, + BigDataPoolResourceInfo, + CmdkeySetup, + ComponentSetup, + CustomerManagedKeyDetails, + CustomSetupBase, + DataLakeStorageAccountDetails, + DataMaskingPolicy, + DataMaskingRule, + DataWarehouseUserActivities, + DynamicExecutorAllocation, + EncryptionDetails, + EncryptionProtector, + EntityReference, + EnvironmentVariableSetup, + ErrorAdditionalInfo, + ErrorDetail, + ErrorResponse, + ExtendedServerBlobAuditingPolicy, + ExtendedSqlPoolBlobAuditingPolicy, + GeoBackupPolicy, + IntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeCustomSetupScriptProperties, + IntegrationRuntimeDataFlowProperties, + IntegrationRuntimeDataProxyProperties, + IntegrationRuntimeResource, + IntegrationRuntimeSsisCatalogInfo, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeVNetProperties, + IpFirewallRuleInfo, + Key, + LibraryInfo, + LibraryRequirements, + LibraryResource, + LinkedIntegrationRuntimeKeyAuthorization, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeType, + MaintenanceWindowOptions, + MaintenanceWindows, + MaintenanceWindowTimeRange, + ManagedIdentity, + ManagedIdentitySqlControlSettingsModel, + ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity, + ManagedIntegrationRuntime, + ManagedVirtualNetworkSettings, + MetadataSyncConfig, + NetworkSettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionForPrivateLinkHub, + PrivateEndpointConnectionForPrivateLinkHubBasic, + PrivateLinkHub, + PrivateLinkResource, + PrivateLinkResourceProperties, + PrivateLinkServiceConnectionState, + ProxyResource, + PurviewConfiguration, + RecommendedSensitivityLabelUpdate, + RecoverableSqlPool, + ReplicationLink, + Resource, + RestorableDroppedSqlPool, + RestorePoint, + SecretBase, + SecureString, + SelfHostedIntegrationRuntime, + SensitivityLabel, + SensitivityLabelUpdate, + 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 daa0a6b7c53d..dff65f86c245 100644 --- a/sdk/synapse/arm-synapse/src/models/mappers.ts +++ b/sdk/synapse/arm-synapse/src/models/mappers.ts @@ -653,11 +653,27 @@ export const ReplaceAllFirewallRulesOperationResponse: msRest.CompositeMapper = } }; -export const AvailableRpOperationDisplayInfo: msRest.CompositeMapper = { - serializedName: "AvailableRpOperationDisplayInfo", +export const SubResource: msRest.CompositeMapper = { + serializedName: "SubResource", type: { name: "Composite", - className: "AvailableRpOperationDisplayInfo", + 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", @@ -665,130 +681,199 @@ export const AvailableRpOperationDisplayInfo: msRest.CompositeMapper = { name: "String" } }, - resource: { - serializedName: "resource", - type: { - name: "String" - } - }, - provider: { - serializedName: "provider", - type: { - name: "String" - } - }, - operation: { - serializedName: "operation", + type: { + required: true, + serializedName: "type", type: { name: "String" } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const OperationMetaMetricDimensionSpecification: msRest.CompositeMapper = { - serializedName: "OperationMetaMetricDimensionSpecification", +export const IntegrationRuntimeDataFlowProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeDataFlowProperties", type: { name: "Composite", - className: "OperationMetaMetricDimensionSpecification", + className: "IntegrationRuntimeDataFlowProperties", modelProperties: { - displayName: { - serializedName: "displayName", + computeType: { + serializedName: "computeType", type: { name: "String" } }, - name: { - serializedName: "name", + coreCount: { + serializedName: "coreCount", type: { - name: "String" + name: "Number" } }, - toBeExportedForShoebox: { - serializedName: "toBeExportedForShoebox", + timeToLive: { + serializedName: "timeToLive", + constraints: { + InclusiveMinimum: 0 + }, type: { - name: "Boolean" + name: "Number" } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const OperationMetaMetricSpecification: msRest.CompositeMapper = { - serializedName: "OperationMetaMetricSpecification", +export const IntegrationRuntimeVNetProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeVNetProperties", type: { name: "Composite", - className: "OperationMetaMetricSpecification", + className: "IntegrationRuntimeVNetProperties", modelProperties: { - sourceMdmNamespace: { - serializedName: "sourceMdmNamespace", + vNetId: { + serializedName: "vNetId", type: { name: "String" } }, - displayName: { - serializedName: "displayName", + subnet: { + serializedName: "subnet", type: { name: "String" } }, - name: { - serializedName: "name", + publicIPs: { + serializedName: "publicIPs", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - aggregationType: { - serializedName: "aggregationType", + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeComputeProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeComputeProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeComputeProperties", + modelProperties: { + location: { + serializedName: "location", type: { name: "String" } }, - displayDescription: { - serializedName: "displayDescription", + nodeSize: { + serializedName: "nodeSize", type: { name: "String" } }, - sourceMdmAccount: { - serializedName: "sourceMdmAccount", + numberOfNodes: { + serializedName: "numberOfNodes", + constraints: { + InclusiveMinimum: 1 + }, type: { - name: "String" + name: "Number" } }, - enableRegionalMdmAccount: { - serializedName: "enableRegionalMdmAccount", + maxParallelExecutionsPerNode: { + serializedName: "maxParallelExecutionsPerNode", + constraints: { + InclusiveMinimum: 1 + }, type: { - name: "Boolean" + name: "Number" } }, - unit: { - serializedName: "unit", + dataFlowProperties: { + serializedName: "dataFlowProperties", type: { - name: "String" + name: "Composite", + className: "IntegrationRuntimeDataFlowProperties", + additionalProperties: { + type: { + name: "Object" + } + } } }, - dimensions: { - serializedName: "dimensions", + vNetProperties: { + serializedName: "vNetProperties", type: { - name: "Sequence", - element: { + name: "Composite", + className: "IntegrationRuntimeVNetProperties", + additionalProperties: { type: { - name: "Composite", - className: "OperationMetaMetricDimensionSpecification" + name: "Object" } } } - }, - supportsInstanceLevelAggregation: { - serializedName: "supportsInstanceLevelAggregation", + } + }, + 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", type: { - name: "Boolean" + name: "String" } - }, - metricFilterPattern: { - serializedName: "metricFilterPattern", + } + } + } +}; + +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" } @@ -797,102 +882,117 @@ export const OperationMetaMetricSpecification: msRest.CompositeMapper = { } }; -export const OperationMetaLogSpecification: msRest.CompositeMapper = { - serializedName: "OperationMetaLogSpecification", +export const IntegrationRuntimeSsisCatalogInfo: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeSsisCatalogInfo", type: { name: "Composite", - className: "OperationMetaLogSpecification", + className: "IntegrationRuntimeSsisCatalogInfo", modelProperties: { - displayName: { - serializedName: "displayName", + catalogServerEndpoint: { + serializedName: "catalogServerEndpoint", type: { name: "String" } }, - blobDuration: { - serializedName: "blobDuration", + catalogAdminUserName: { + serializedName: "catalogAdminUserName", + constraints: { + MaxLength: 128, + MinLength: 1 + }, type: { name: "String" } }, - name: { - serializedName: "name", + catalogAdminPassword: { + serializedName: "catalogAdminPassword", + type: { + name: "Composite", + className: "SecureString" + } + }, + catalogPricingTier: { + serializedName: "catalogPricingTier", type: { name: "String" } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const OperationMetaServiceSpecification: msRest.CompositeMapper = { - serializedName: "OperationMetaServiceSpecification", +export const IntegrationRuntimeCustomSetupScriptProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeCustomSetupScriptProperties", type: { name: "Composite", - className: "OperationMetaServiceSpecification", + className: "IntegrationRuntimeCustomSetupScriptProperties", modelProperties: { - metricSpecifications: { - serializedName: "metricSpecifications", + blobContainerUri: { + serializedName: "blobContainerUri", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationMetaMetricSpecification" - } - } + name: "String" } }, - logSpecifications: { - serializedName: "logSpecifications", + sasToken: { + serializedName: "sasToken", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationMetaLogSpecification" - } - } + name: "Composite", + className: "SecureString" } } } } }; -export const AvailableRpOperation: msRest.CompositeMapper = { - serializedName: "AvailableRpOperation", +export const EntityReference: msRest.CompositeMapper = { + serializedName: "EntityReference", type: { name: "Composite", - className: "AvailableRpOperation", + className: "EntityReference", modelProperties: { - display: { - serializedName: "display", + type: { + serializedName: "type", type: { - name: "Composite", - className: "AvailableRpOperationDisplayInfo" + name: "String" } }, - isDataAction: { - serializedName: "isDataAction", + referenceName: { + serializedName: "referenceName", type: { name: "String" } - }, - name: { - serializedName: "name", + } + } + } +}; + +export const IntegrationRuntimeDataProxyProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeDataProxyProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeDataProxyProperties", + modelProperties: { + connectVia: { + serializedName: "connectVia", type: { - name: "String" + name: "Composite", + className: "EntityReference" } }, - serviceSpecification: { - serializedName: "properties.serviceSpecification", + stagingLinkedService: { + serializedName: "stagingLinkedService", type: { name: "Composite", - className: "OperationMetaServiceSpecification" + className: "EntityReference" } }, - origin: { - serializedName: "origin", + path: { + serializedName: "path", type: { name: "String" } @@ -901,163 +1001,192 @@ export const AvailableRpOperation: msRest.CompositeMapper = { } }; -export const OperationResource: msRest.CompositeMapper = { - serializedName: "OperationResource", +export const CustomSetupBase: msRest.CompositeMapper = { + serializedName: "CustomSetupBase", type: { name: "Composite", - className: "OperationResource", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "CustomSetupBase", + className: "CustomSetupBase", modelProperties: { - id: { - serializedName: "id", + type: { + required: true, + serializedName: "type", type: { name: "String" } - }, - name: { - serializedName: "name", + } + } + } +}; + +export const IntegrationRuntimeSsisProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeSsisProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeSsisProperties", + modelProperties: { + catalogInfo: { + serializedName: "catalogInfo", type: { - name: "String" + name: "Composite", + className: "IntegrationRuntimeSsisCatalogInfo", + additionalProperties: { + type: { + name: "Object" + } + } } }, - status: { - serializedName: "status", + licenseType: { + serializedName: "licenseType", type: { name: "String" } }, - properties: { - serializedName: "properties", - type: { - name: "Object" - } - }, - error: { - serializedName: "error", + customSetupScriptProperties: { + serializedName: "customSetupScriptProperties", type: { name: "Composite", - className: "ErrorDetail" + className: "IntegrationRuntimeCustomSetupScriptProperties" } }, - startTime: { - serializedName: "startTime", + dataProxyProperties: { + serializedName: "dataProxyProperties", type: { - name: "DateTime" + name: "Composite", + className: "IntegrationRuntimeDataProxyProperties" } }, - endTime: { - serializedName: "endTime", + edition: { + serializedName: "edition", type: { - name: "DateTime" + name: "String" } }, - percentComplete: { - serializedName: "percentComplete", + expressCustomSetupProperties: { + serializedName: "expressCustomSetupProperties", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomSetupBase" + } + } } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const Sku: msRest.CompositeMapper = { - serializedName: "Sku", +export const ManagedIntegrationRuntime: msRest.CompositeMapper = { + serializedName: "Managed", type: { name: "Composite", - className: "Sku", + polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntime", + className: "ManagedIntegrationRuntime", modelProperties: { - tier: { - serializedName: "tier", + ...IntegrationRuntime.type.modelProperties, + state: { + readOnly: true, + serializedName: "state", type: { name: "String" } }, - name: { - serializedName: "name", + computeProperties: { + serializedName: "typeProperties.computeProperties", type: { - name: "String" + name: "Composite", + className: "IntegrationRuntimeComputeProperties", + additionalProperties: { + type: { + name: "Object" + } + } } }, - capacity: { - serializedName: "capacity", + ssisProperties: { + serializedName: "typeProperties.ssisProperties", type: { - name: "Number" + name: "Composite", + className: "IntegrationRuntimeSsisProperties", + additionalProperties: { + type: { + name: "Object" + } + } } } - } + }, + additionalProperties: IntegrationRuntime.type.additionalProperties } }; -export const SqlPool: msRest.CompositeMapper = { - serializedName: "SqlPool", +export const CmdkeySetup: msRest.CompositeMapper = { + serializedName: "CmdkeySetup", type: { name: "Composite", - className: "SqlPool", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, + uberParent: "CustomSetupBase", + className: "CmdkeySetup", modelProperties: { - ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + ...CustomSetupBase.type.modelProperties, + targetName: { + required: true, + serializedName: "typeProperties.targetName", type: { - name: "Composite", - className: "Sku" + name: "Object" } }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", + userName: { + required: true, + serializedName: "typeProperties.userName", type: { - name: "Number" + name: "Object" } }, - collation: { - serializedName: "properties.collation", + password: { + required: true, + serializedName: "typeProperties.password", type: { - name: "String" + name: "Composite", + className: "SecretBase" } - }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", + } + } + } +}; + +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" } }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - status: { - serializedName: "properties.status", - type: { - name: "String" - } - }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", - type: { - name: "String" - } - }, - createMode: { - serializedName: "properties.createMode", - type: { - name: "String" - } - }, - creationDate: { - serializedName: "properties.creationDate", - type: { - name: "DateTime" - } - }, - storageAccountType: { - serializedName: "properties.storageAccountType", + variableValue: { + required: true, + serializedName: "typeProperties.variableValue", type: { name: "String" } @@ -1066,92 +1195,47 @@ export const SqlPool: msRest.CompositeMapper = { } }; -export const SqlPoolPatchInfo: msRest.CompositeMapper = { - serializedName: "SqlPoolPatchInfo", +export const ComponentSetup: msRest.CompositeMapper = { + serializedName: "ComponentSetup", type: { name: "Composite", - className: "SqlPoolPatchInfo", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, + uberParent: "CustomSetupBase", + className: "ComponentSetup", modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - location: { - serializedName: "location", + ...CustomSetupBase.type.modelProperties, + componentName: { + required: true, + serializedName: "typeProperties.componentName", type: { name: "String" } }, - sku: { - serializedName: "sku", + licenseKey: { + serializedName: "typeProperties.licenseKey", type: { name: "Composite", - className: "Sku" - } - }, - maxSizeBytes: { - serializedName: "properties.maxSizeBytes", - type: { - name: "Number" - } - }, - collation: { - serializedName: "properties.collation", - type: { - name: "String" - } - }, - sourceDatabaseId: { - serializedName: "properties.sourceDatabaseId", - type: { - name: "String" - } - }, - recoverableDatabaseId: { - serializedName: "properties.recoverableDatabaseId", - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - status: { - serializedName: "properties.status", - type: { - name: "String" - } - }, - restorePointInTime: { - serializedName: "properties.restorePointInTime", - type: { - name: "String" - } - }, - createMode: { - serializedName: "properties.createMode", - type: { - name: "String" - } - }, - creationDate: { - serializedName: "properties.creationDate", - type: { - name: "DateTime" + className: "SecretBase" } - }, - storageAccountType: { - serializedName: "properties.storageAccountType", + } + } + } +}; + +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" } @@ -1160,63 +1244,60 @@ export const SqlPoolPatchInfo: msRest.CompositeMapper = { } }; -export const MetadataSyncConfig: msRest.CompositeMapper = { - serializedName: "MetadataSyncConfig", +export const SelfHostedIntegrationRuntime: msRest.CompositeMapper = { + serializedName: "SelfHosted", type: { name: "Composite", - className: "MetadataSyncConfig", + polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntime", + className: "SelfHostedIntegrationRuntime", modelProperties: { - enabled: { - serializedName: "properties.enabled", + ...IntegrationRuntime.type.modelProperties, + linkedInfo: { + serializedName: "typeProperties.linkedInfo", type: { - name: "Boolean" + name: "Composite", + className: "LinkedIntegrationRuntimeType" } - }, - syncIntervalInMinutes: { - serializedName: "properties.syncIntervalInMinutes", + } + }, + 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: "Number" + name: "Composite", + className: "SecureString" } } } } }; -export const GeoBackupPolicy: msRest.CompositeMapper = { - serializedName: "GeoBackupPolicy", +export const LinkedIntegrationRuntimeRbacAuthorization: msRest.CompositeMapper = { + serializedName: "RBAC", type: { name: "Composite", - className: "GeoBackupPolicy", + polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, + uberParent: "LinkedIntegrationRuntimeType", + className: "LinkedIntegrationRuntimeRbacAuthorization", modelProperties: { - ...ProxyResource.type.modelProperties, - state: { + ...LinkedIntegrationRuntimeType.type.modelProperties, + resourceId: { required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "Disabled", - "Enabled" - ] - } - }, - storageType: { - readOnly: true, - serializedName: "properties.storageType", - type: { - name: "String" - } - }, - kind: { - readOnly: true, - serializedName: "kind", - type: { - name: "String" - } - }, - location: { - readOnly: true, - serializedName: "location", + serializedName: "resourceId", type: { name: "String" } @@ -1225,858 +1306,898 @@ export const GeoBackupPolicy: msRest.CompositeMapper = { } }; -export const QueryMetric: msRest.CompositeMapper = { - serializedName: "QueryMetric", +export const IntegrationRuntimeStatus: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeStatus", type: { name: "Composite", - className: "QueryMetric", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "IntegrationRuntimeStatus", + className: "IntegrationRuntimeStatus", modelProperties: { - name: { + dataFactoryName: { readOnly: true, - serializedName: "name", + serializedName: "dataFactoryName", type: { name: "String" } }, - displayName: { + state: { readOnly: true, - serializedName: "displayName", + serializedName: "state", type: { name: "String" } }, - unit: { - readOnly: true, - serializedName: "unit", - type: { - name: "Enum", - allowedValues: [ - "percentage", - "KB", - "microseconds" - ] - } - }, - value: { - readOnly: true, - serializedName: "value", + type: { + required: true, + serializedName: "type", type: { - name: "Number" + name: "String" } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const QueryInterval: msRest.CompositeMapper = { - serializedName: "QueryInterval", +export const ManagedIntegrationRuntimeError: msRest.CompositeMapper = { + serializedName: "ManagedIntegrationRuntimeError", type: { name: "Composite", - className: "QueryInterval", + className: "ManagedIntegrationRuntimeError", modelProperties: { - intervalStartTime: { + time: { readOnly: true, - serializedName: "intervalStartTime", + serializedName: "time", type: { name: "DateTime" } }, - executionCount: { + code: { readOnly: true, - serializedName: "executionCount", + serializedName: "code", type: { - name: "Number" + name: "String" } }, - metrics: { + parameters: { readOnly: true, - serializedName: "metrics", + serializedName: "parameters", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "QueryMetric" + name: "String" } } } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" } } } }; -export const QueryStatistic: msRest.CompositeMapper = { - serializedName: "QueryStatistic", +export const ManagedIntegrationRuntimeNode: msRest.CompositeMapper = { + serializedName: "ManagedIntegrationRuntimeNode", type: { name: "Composite", - className: "QueryStatistic", + className: "ManagedIntegrationRuntimeNode", modelProperties: { - queryId: { + nodeId: { readOnly: true, - serializedName: "queryId", + serializedName: "nodeId", type: { name: "String" } }, - intervals: { + status: { readOnly: true, - serializedName: "intervals", + serializedName: "status", + type: { + name: "String" + } + }, + errors: { + serializedName: "errors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "QueryInterval" + className: "ManagedIntegrationRuntimeError", + additionalProperties: { + type: { + name: "Object" + } + } } } } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const TopQueries: msRest.CompositeMapper = { - serializedName: "TopQueries", +export const ManagedIntegrationRuntimeOperationResult: msRest.CompositeMapper = { + serializedName: "ManagedIntegrationRuntimeOperationResult", type: { name: "Composite", - className: "TopQueries", + className: "ManagedIntegrationRuntimeOperationResult", modelProperties: { - aggregationFunction: { - readOnly: true, - serializedName: "aggregationFunction", - type: { - name: "Enum", - allowedValues: [ - "min", - "max", - "avg", - "sum" - ] - } - }, - executionType: { - readOnly: true, - serializedName: "executionType", - type: { - name: "Enum", - allowedValues: [ - "any", - "regular", - "irregular", - "aborted", - "exception" - ] - } - }, - intervalType: { + type: { readOnly: true, - serializedName: "intervalType", + serializedName: "type", type: { name: "String" } }, - numberOfTopQueries: { - readOnly: true, - serializedName: "numberOfTopQueries", - type: { - name: "Number" - } - }, - observationStartTime: { - readOnly: true, - serializedName: "observationStartTime", - type: { - name: "DateTime" - } - }, - observationEndTime: { + startTime: { readOnly: true, - serializedName: "observationEndTime", + serializedName: "startTime", type: { name: "DateTime" } }, - observedMetric: { + result: { readOnly: true, - serializedName: "observedMetric", + serializedName: "result", type: { - name: "Enum", - allowedValues: [ - "cpu", - "io", - "logio", - "duration", - "executionCount" - ] + name: "String" } }, - queries: { - readOnly: true, - serializedName: "queries", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "QueryStatistic" - } - } - } - } - } - } -}; - -export const TopQueriesListResult: msRest.CompositeMapper = { - serializedName: "TopQueriesListResult", - type: { - name: "Composite", - className: "TopQueriesListResult", - modelProperties: { - value: { - required: true, - serializedName: "value", + errorCode: { + readOnly: true, + serializedName: "errorCode", + type: { + name: "String" + } + }, + parameters: { + readOnly: true, + serializedName: "parameters", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "TopQueries" + name: "String" } } } - } - } - } -}; - -export const DataWarehouseUserActivities: msRest.CompositeMapper = { - serializedName: "DataWarehouseUserActivities", - type: { - name: "Composite", - className: "DataWarehouseUserActivities", - modelProperties: { - ...ProxyResource.type.modelProperties, - activeQueriesCount: { + }, + activityId: { readOnly: true, - serializedName: "properties.activeQueriesCount", + serializedName: "activityId", type: { - name: "Number" + name: "String" } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const RestorePoint: msRest.CompositeMapper = { - serializedName: "RestorePoint", +export const ManagedIntegrationRuntimeStatus: msRest.CompositeMapper = { + serializedName: "Managed", type: { name: "Composite", - className: "RestorePoint", + polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntimeStatus", + className: "ManagedIntegrationRuntimeStatus", modelProperties: { - ...ProxyResource.type.modelProperties, - location: { - readOnly: true, - serializedName: "location", - type: { - name: "String" - } - }, - restorePointType: { + ...IntegrationRuntimeStatus.type.modelProperties, + createTime: { readOnly: true, - serializedName: "properties.restorePointType", + serializedName: "typeProperties.createTime", type: { - name: "Enum", - allowedValues: [ - "CONTINUOUS", - "DISCRETE" - ] + name: "DateTime" } }, - earliestRestoreDate: { + nodes: { readOnly: true, - serializedName: "properties.earliestRestoreDate", + serializedName: "typeProperties.nodes", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeNode", + additionalProperties: { + type: { + name: "Object" + } + } + } + } } }, - restorePointCreationDate: { + otherErrors: { readOnly: true, - serializedName: "properties.restorePointCreationDate", + serializedName: "typeProperties.otherErrors", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeError", + additionalProperties: { + type: { + name: "Object" + } + } + } + } } }, - restorePointLabel: { + lastOperation: { readOnly: true, - serializedName: "properties.restorePointLabel", + serializedName: "typeProperties.lastOperation", type: { - name: "String" + name: "Composite", + className: "ManagedIntegrationRuntimeOperationResult", + additionalProperties: { + type: { + name: "Object" + } + } } } - } + }, + additionalProperties: IntegrationRuntimeStatus.type.additionalProperties } }; -export const ReplicationLink: msRest.CompositeMapper = { - serializedName: "ReplicationLink", +export const SelfHostedIntegrationRuntimeNode: msRest.CompositeMapper = { + serializedName: "SelfHostedIntegrationRuntimeNode", type: { name: "Composite", - className: "ReplicationLink", + className: "SelfHostedIntegrationRuntimeNode", modelProperties: { - ...ProxyResource.type.modelProperties, - location: { + nodeName: { readOnly: true, - serializedName: "location", + serializedName: "nodeName", type: { name: "String" } }, - isTerminationAllowed: { + machineName: { readOnly: true, - serializedName: "properties.isTerminationAllowed", + serializedName: "machineName", type: { - name: "Boolean" + name: "String" } }, - replicationMode: { + hostServiceUri: { readOnly: true, - serializedName: "properties.replicationMode", + serializedName: "hostServiceUri", type: { name: "String" } }, - partnerServer: { + status: { readOnly: true, - serializedName: "properties.partnerServer", + serializedName: "status", type: { name: "String" } }, - partnerDatabase: { + capabilities: { readOnly: true, - serializedName: "properties.partnerDatabase", + serializedName: "capabilities", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - partnerLocation: { + versionStatus: { readOnly: true, - serializedName: "properties.partnerLocation", + serializedName: "versionStatus", type: { name: "String" } }, - role: { + version: { readOnly: true, - serializedName: "properties.role", + serializedName: "version", type: { - name: "Enum", - allowedValues: [ - "Primary", - "Secondary", - "NonReadableSecondary", - "Source", - "Copy" - ] + name: "String" } }, - partnerRole: { + registerTime: { readOnly: true, - serializedName: "properties.partnerRole", + serializedName: "registerTime", type: { - name: "Enum", - allowedValues: [ - "Primary", - "Secondary", - "NonReadableSecondary", - "Source", - "Copy" - ] + name: "DateTime" } }, - startTime: { + lastConnectTime: { readOnly: true, - serializedName: "properties.startTime", + serializedName: "lastConnectTime", type: { name: "DateTime" } }, - percentComplete: { + expiryTime: { readOnly: true, - serializedName: "properties.percentComplete", + serializedName: "expiryTime", type: { - name: "Number" + name: "DateTime" } }, - replicationState: { + lastStartTime: { readOnly: true, - serializedName: "properties.replicationState", - type: { - name: "String" - } - } - } - } -}; - -export const MaintenanceWindowTimeRange: msRest.CompositeMapper = { - serializedName: "MaintenanceWindowTimeRange", - type: { - name: "Composite", - className: "MaintenanceWindowTimeRange", - modelProperties: { - dayOfWeek: { - serializedName: "dayOfWeek", + serializedName: "lastStartTime", type: { - name: "String" + name: "DateTime" } }, - startTime: { - serializedName: "startTime", + lastStopTime: { + readOnly: true, + serializedName: "lastStopTime", type: { - name: "String" + name: "DateTime" } }, - duration: { - serializedName: "duration", + lastUpdateResult: { + readOnly: true, + serializedName: "lastUpdateResult", type: { name: "String" } - } - } - } -}; - -export const MaintenanceWindowOptions: msRest.CompositeMapper = { - serializedName: "MaintenanceWindowOptions", - type: { - name: "Composite", - className: "MaintenanceWindowOptions", - modelProperties: { - ...ProxyResource.type.modelProperties, - isEnabled: { - serializedName: "properties.isEnabled", - type: { - name: "Boolean" - } }, - maintenanceWindowCycles: { - serializedName: "properties.maintenanceWindowCycles", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaintenanceWindowTimeRange" - } - } - } - }, - minDurationInMinutes: { - serializedName: "properties.minDurationInMinutes", + lastStartUpdateTime: { + readOnly: true, + serializedName: "lastStartUpdateTime", type: { - name: "Number" + name: "DateTime" } }, - defaultDurationInMinutes: { - serializedName: "properties.defaultDurationInMinutes", + lastEndUpdateTime: { + readOnly: true, + serializedName: "lastEndUpdateTime", type: { - name: "Number" + name: "DateTime" } }, - minCycles: { - serializedName: "properties.minCycles", + isActiveDispatcher: { + readOnly: true, + serializedName: "isActiveDispatcher", type: { - name: "Number" + name: "Boolean" } }, - timeGranularityInMinutes: { - serializedName: "properties.timeGranularityInMinutes", + concurrentJobsLimit: { + readOnly: true, + serializedName: "concurrentJobsLimit", type: { name: "Number" } }, - allowMultipleMaintenanceWindowsPerCycle: { - serializedName: "properties.allowMultipleMaintenanceWindowsPerCycle", + maxConcurrentJobs: { + readOnly: true, + serializedName: "maxConcurrentJobs", type: { - name: "Boolean" + name: "Number" } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const MaintenanceWindows: msRest.CompositeMapper = { - serializedName: "MaintenanceWindows", +export const LinkedIntegrationRuntime: msRest.CompositeMapper = { + serializedName: "LinkedIntegrationRuntime", type: { name: "Composite", - className: "MaintenanceWindows", + className: "LinkedIntegrationRuntime", modelProperties: { - ...ProxyResource.type.modelProperties, - timeRanges: { - serializedName: "properties.timeRanges", + name: { + readOnly: true, + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MaintenanceWindowTimeRange" - } - } + name: "String" } - } - } - } -}; - -export const TransparentDataEncryption: msRest.CompositeMapper = { - serializedName: "TransparentDataEncryption", - type: { - name: "Composite", - className: "TransparentDataEncryption", - modelProperties: { - ...ProxyResource.type.modelProperties, - location: { + }, + subscriptionId: { readOnly: true, - serializedName: "location", + serializedName: "subscriptionId", type: { name: "String" } }, - status: { - serializedName: "properties.status", + dataFactoryName: { + readOnly: true, + serializedName: "dataFactoryName", type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] + name: "String" + } + }, + dataFactoryLocation: { + readOnly: true, + serializedName: "dataFactoryLocation", + type: { + name: "String" + } + }, + createTime: { + readOnly: true, + serializedName: "createTime", + type: { + name: "DateTime" } } } } }; -export const SqlPoolBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "SqlPoolBlobAuditingPolicy", +export const SelfHostedIntegrationRuntimeStatus: msRest.CompositeMapper = { + serializedName: "SelfHosted", type: { name: "Composite", - className: "SqlPoolBlobAuditingPolicy", + polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntimeStatus", + className: "SelfHostedIntegrationRuntimeStatus", modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { + ...IntegrationRuntimeStatus.type.modelProperties, + createTime: { readOnly: true, - serializedName: "kind", + serializedName: "typeProperties.createTime", type: { - name: "String" + name: "DateTime" } }, - state: { - required: true, - serializedName: "properties.state", + taskQueueId: { + readOnly: true, + serializedName: "typeProperties.taskQueueId", type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] + name: "String" } }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + nodeCommunicationChannelEncryptionMode: { + readOnly: true, + serializedName: "typeProperties.nodeCommunicationChannelEncryptionMode", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + internalChannelEncryption: { + readOnly: true, + serializedName: "typeProperties.internalChannelEncryption", type: { name: "String" } }, - retentionDays: { - serializedName: "properties.retentionDays", + version: { + readOnly: true, + serializedName: "typeProperties.version", type: { - name: "Number" + name: "String" } }, - auditActionsAndGroups: { - serializedName: "properties.auditActionsAndGroups", + nodes: { + serializedName: "typeProperties.nodes", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SelfHostedIntegrationRuntimeNode", + additionalProperties: { + type: { + name: "Object" + } + } } } } }, - storageAccountSubscriptionId: { - serializedName: "properties.storageAccountSubscriptionId", + scheduledUpdateDate: { + readOnly: true, + serializedName: "typeProperties.scheduledUpdateDate", type: { - name: "Uuid" + name: "DateTime" } }, - isStorageSecondaryKeyInUse: { - serializedName: "properties.isStorageSecondaryKeyInUse", + updateDelayOffset: { + readOnly: true, + serializedName: "typeProperties.updateDelayOffset", type: { - name: "Boolean" + name: "String" } }, - isAzureMonitorTargetEnabled: { - serializedName: "properties.isAzureMonitorTargetEnabled", + localTimeZoneOffset: { + readOnly: true, + serializedName: "typeProperties.localTimeZoneOffset", type: { - name: "Boolean" + name: "String" } - } - } - } -}; - -export const SqlPoolOperation: msRest.CompositeMapper = { - serializedName: "SqlPoolOperation", - type: { - name: "Composite", - className: "SqlPoolOperation", - modelProperties: { - ...ProxyResource.type.modelProperties, - databaseName: { + }, + capabilities: { readOnly: true, - serializedName: "properties.databaseName", + 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" } }, - operation: { + versionStatus: { readOnly: true, - serializedName: "properties.operation", + serializedName: "typeProperties.versionStatus", type: { name: "String" } }, - operationFriendlyName: { + links: { + serializedName: "typeProperties.links", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedIntegrationRuntime" + } + } + } + }, + pushedVersion: { readOnly: true, - serializedName: "properties.operationFriendlyName", + serializedName: "typeProperties.pushedVersion", type: { name: "String" } }, - percentComplete: { + latestVersion: { readOnly: true, - serializedName: "properties.percentComplete", + serializedName: "typeProperties.latestVersion", type: { - name: "Number" + name: "String" } }, - serverName: { + 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: "properties.serverName", + serializedName: "serviceToken", type: { name: "String" } }, - startTime: { - readOnly: true, - serializedName: "properties.startTime", - type: { - name: "DateTime" - } - }, - state: { + identityCertThumbprint: { readOnly: true, - serializedName: "properties.state", + serializedName: "identityCertThumbprint", type: { name: "String" } }, - errorCode: { + hostServiceUri: { readOnly: true, - serializedName: "properties.errorCode", + serializedName: "hostServiceUri", type: { - name: "Number" + name: "String" } }, - errorDescription: { + version: { readOnly: true, - serializedName: "properties.errorDescription", + serializedName: "version", type: { name: "String" } }, - errorSeverity: { + publicKey: { readOnly: true, - serializedName: "properties.errorSeverity", + serializedName: "publicKey", type: { - name: "Number" + name: "String" } }, - isUserError: { + isIdentityCertExprired: { readOnly: true, - serializedName: "properties.isUserError", + serializedName: "isIdentityCertExprired", type: { name: "Boolean" } - }, - estimatedCompletionTime: { - readOnly: true, - serializedName: "properties.estimatedCompletionTime", + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeRegenerateKeyParameters: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeRegenerateKeyParameters", + type: { + name: "Composite", + className: "IntegrationRuntimeRegenerateKeyParameters", + modelProperties: { + keyName: { + serializedName: "keyName", type: { - name: "DateTime" + name: "String" } - }, - description: { - readOnly: true, - serializedName: "properties.description", + } + } + } +}; + +export const IntegrationRuntimeAuthKeys: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeAuthKeys", + type: { + name: "Composite", + className: "IntegrationRuntimeAuthKeys", + modelProperties: { + authKey1: { + serializedName: "authKey1", type: { name: "String" } }, - isCancellable: { - readOnly: true, - serializedName: "properties.isCancellable", + authKey2: { + serializedName: "authKey2", type: { - name: "Boolean" + name: "String" } } } } }; -export const SqlPoolUsage: msRest.CompositeMapper = { - serializedName: "SqlPoolUsage", +export const IntegrationRuntimeNodeMonitoringData: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeNodeMonitoringData", type: { name: "Composite", - className: "SqlPoolUsage", + className: "IntegrationRuntimeNodeMonitoringData", modelProperties: { - name: { + nodeName: { readOnly: true, - serializedName: "name", + serializedName: "nodeName", type: { name: "String" } }, - resourceName: { + availableMemoryInMB: { readOnly: true, - serializedName: "resourceName", + serializedName: "availableMemoryInMB", type: { - name: "String" + name: "Number" } }, - displayName: { + cpuUtilization: { readOnly: true, - serializedName: "displayName", + serializedName: "cpuUtilization", type: { - name: "String" + name: "Number" } }, - currentValue: { + concurrentJobsLimit: { readOnly: true, - serializedName: "currentValue", + serializedName: "concurrentJobsLimit", type: { name: "Number" } }, - limit: { + concurrentJobsRunning: { readOnly: true, - serializedName: "limit", + serializedName: "concurrentJobsRunning", type: { name: "Number" } }, - unit: { + maxConcurrentJobs: { readOnly: true, - serializedName: "unit", + serializedName: "maxConcurrentJobs", type: { - name: "String" + name: "Number" } }, - nextResetTime: { + sentBytes: { readOnly: true, - serializedName: "nextResetTime", + serializedName: "sentBytes", type: { - name: "DateTime" + name: "Number" } + }, + receivedBytes: { + readOnly: true, + serializedName: "receivedBytes", + type: { + name: "Number" + } + } + }, + additionalProperties: { + type: { + name: "Object" } } } }; -export const SensitivityLabel: msRest.CompositeMapper = { - serializedName: "SensitivityLabel", +export const IntegrationRuntimeMonitoringData: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeMonitoringData", type: { name: "Composite", - className: "SensitivityLabel", + className: "IntegrationRuntimeMonitoringData", modelProperties: { - ...ProxyResource.type.modelProperties, - schemaName: { - readOnly: true, - serializedName: "properties.schemaName", + name: { + serializedName: "name", type: { name: "String" } }, - tableName: { - readOnly: true, - serializedName: "properties.tableName", + nodes: { + serializedName: "nodes", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationRuntimeNodeMonitoringData", + additionalProperties: { + type: { + name: "Object" + } + } + } + } } - }, - columnName: { + } + } + } +}; + +export const IntegrationRuntimeNodeIpAddress: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeNodeIpAddress", + type: { + name: "Composite", + className: "IntegrationRuntimeNodeIpAddress", + modelProperties: { + ipAddress: { readOnly: true, - serializedName: "properties.columnName", + serializedName: "ipAddress", type: { name: "String" } - }, - labelName: { - serializedName: "properties.labelName", + } + } + } +}; + +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: "String" + name: "Number" } }, - labelId: { - serializedName: "properties.labelId", + name: { + serializedName: "name", type: { name: "String" } }, - informationType: { - serializedName: "properties.informationType", + description: { + serializedName: "description", type: { name: "String" } }, - informationTypeId: { - serializedName: "properties.informationTypeId", + type: { + required: true, + serializedName: "type", type: { name: "String" } - }, - isDisabled: { - readOnly: true, - serializedName: "properties.isDisabled", - type: { - name: "Boolean" - } - }, - rank: { - serializedName: "properties.rank", + } + } + } +}; + +export const SsisObjectMetadataListResponse: msRest.CompositeMapper = { + serializedName: "SsisObjectMetadataListResponse", + type: { + name: "Composite", + className: "SsisObjectMetadataListResponse", + modelProperties: { + value: { + serializedName: "value", type: { - name: "Enum", - allowedValues: [ - "None", - "Low", - "Medium", - "High", - "Critical" - ] + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisObjectMetadata" + } + } } }, - managedBy: { - readOnly: true, - serializedName: "managedBy", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -2085,111 +2206,127 @@ export const SensitivityLabel: msRest.CompositeMapper = { } }; -export const SqlPoolSchema: msRest.CompositeMapper = { - serializedName: "SqlPoolSchema", - type: { - name: "Composite", - className: "SqlPoolSchema", - modelProperties: { - ...ProxyResource.type.modelProperties - } - } -}; - -export const SqlPoolTable: msRest.CompositeMapper = { - serializedName: "SqlPoolTable", +export const SsisFolder: msRest.CompositeMapper = { + serializedName: "Folder", type: { name: "Composite", - className: "SqlPoolTable", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + uberParent: "SsisObjectMetadata", + className: "SsisFolder", modelProperties: { - ...ProxyResource.type.modelProperties + ...SsisObjectMetadata.type.modelProperties } } }; -export const SqlPoolColumn: msRest.CompositeMapper = { - serializedName: "SqlPoolColumn", +export const SsisEnvironmentReference: msRest.CompositeMapper = { + serializedName: "SsisEnvironmentReference", type: { name: "Composite", - className: "SqlPoolColumn", + className: "SsisEnvironmentReference", modelProperties: { - ...ProxyResource.type.modelProperties, - columnType: { - serializedName: "properties.columnType", + id: { + serializedName: "id", + type: { + name: "Number" + } + }, + environmentFolderName: { + serializedName: "environmentFolderName", type: { name: "String" } }, - isComputed: { - readOnly: true, - serializedName: "properties.isComputed", + environmentName: { + serializedName: "environmentName", type: { - name: "Boolean" + name: "String" + } + }, + referenceType: { + serializedName: "referenceType", + type: { + name: "String" } } } } }; -export const SqlPoolConnectionPolicy: msRest.CompositeMapper = { - serializedName: "SqlPoolConnectionPolicy", +export const SsisParameter: msRest.CompositeMapper = { + serializedName: "SsisParameter", type: { name: "Composite", - className: "SqlPoolConnectionPolicy", + className: "SsisParameter", modelProperties: { - ...ProxyResource.type.modelProperties, - kind: { - readOnly: true, - serializedName: "kind", + id: { + serializedName: "id", type: { - name: "String" + name: "Number" } }, - location: { - readOnly: true, - serializedName: "location", + name: { + serializedName: "name", type: { name: "String" } }, - securityEnabledAccess: { - serializedName: "properties.securityEnabledAccess", + description: { + serializedName: "description", type: { name: "String" } }, - proxyDnsName: { - serializedName: "properties.proxyDnsName", + dataType: { + serializedName: "dataType", type: { name: "String" } }, - proxyPort: { - serializedName: "properties.proxyPort", + required: { + serializedName: "required", + type: { + name: "Boolean" + } + }, + sensitive: { + serializedName: "sensitive", + type: { + name: "Boolean" + } + }, + designDefaultValue: { + serializedName: "designDefaultValue", type: { name: "String" } }, - visibility: { - serializedName: "properties.visibility", + defaultValue: { + serializedName: "defaultValue", type: { name: "String" } }, - useServerDefault: { - serializedName: "properties.useServerDefault", + sensitiveDefaultValue: { + serializedName: "sensitiveDefaultValue", type: { name: "String" } }, - redirectionState: { - serializedName: "properties.redirectionState", + valueType: { + serializedName: "valueType", type: { name: "String" } }, - state: { - serializedName: "properties.state", + valueSet: { + serializedName: "valueSet", + type: { + name: "Boolean" + } + }, + variable: { + serializedName: "variable", type: { name: "String" } @@ -2198,32 +2335,47 @@ export const SqlPoolConnectionPolicy: msRest.CompositeMapper = { } }; -export const VulnerabilityAssessmentRecurringScansProperties: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentRecurringScansProperties", +export const SsisProject: msRest.CompositeMapper = { + serializedName: "Project", type: { name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + uberParent: "SsisObjectMetadata", + className: "SsisProject", modelProperties: { - isEnabled: { - serializedName: "isEnabled", + ...SsisObjectMetadata.type.modelProperties, + folderId: { + serializedName: "folderId", type: { - name: "Boolean" + name: "Number" } }, - emailSubscriptionAdmins: { - serializedName: "emailSubscriptionAdmins", - defaultValue: true, + version: { + serializedName: "version", type: { - name: "Boolean" + name: "Number" } }, - emails: { - serializedName: "emails", + environmentRefs: { + serializedName: "environmentRefs", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SsisEnvironmentReference" + } + } + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisParameter" } } } @@ -2232,229 +2384,170 @@ export const VulnerabilityAssessmentRecurringScansProperties: msRest.CompositeMa } }; -export const SqlPoolVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "SqlPoolVulnerabilityAssessment", +export const SsisPackage: msRest.CompositeMapper = { + serializedName: "Package", type: { name: "Composite", - className: "SqlPoolVulnerabilityAssessment", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + uberParent: "SsisObjectMetadata", + className: "SsisPackage", modelProperties: { - ...ProxyResource.type.modelProperties, - storageContainerPath: { - serializedName: "properties.storageContainerPath", - type: { - name: "String" - } - }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + ...SsisObjectMetadata.type.modelProperties, + folderId: { + serializedName: "folderId", type: { - name: "String" + name: "Number" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + projectVersion: { + serializedName: "projectVersion", type: { - name: "String" + name: "Number" } }, - recurringScans: { - serializedName: "properties.recurringScans", - type: { - name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" - } - } - } - } -}; - -export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanError", - type: { - name: "Composite", - className: "VulnerabilityAssessmentScanError", - modelProperties: { - code: { - readOnly: true, - serializedName: "code", + projectId: { + serializedName: "projectId", type: { - name: "String" + name: "Number" } }, - message: { - readOnly: true, - serializedName: "message", + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisParameter" + } + } } } } } }; -export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = { - serializedName: "VulnerabilityAssessmentScanRecord", +export const SsisVariable: msRest.CompositeMapper = { + serializedName: "SsisVariable", type: { name: "Composite", - className: "VulnerabilityAssessmentScanRecord", + className: "SsisVariable", modelProperties: { - ...ProxyResource.type.modelProperties, - scanId: { - readOnly: true, - serializedName: "properties.scanId", - type: { - name: "String" - } - }, - triggerType: { - readOnly: true, - serializedName: "properties.triggerType", + id: { + serializedName: "id", type: { - name: "String" + name: "Number" } - }, - state: { - readOnly: true, - serializedName: "properties.state", + }, + name: { + serializedName: "name", type: { name: "String" } }, - startTime: { - readOnly: true, - serializedName: "properties.startTime", + description: { + serializedName: "description", type: { - name: "DateTime" + name: "String" } }, - endTime: { - readOnly: true, - serializedName: "properties.endTime", + dataType: { + serializedName: "dataType", type: { - name: "DateTime" + name: "String" } }, - errors: { - readOnly: true, - serializedName: "properties.errors", + sensitive: { + serializedName: "sensitive", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VulnerabilityAssessmentScanError" - } - } + name: "Boolean" } }, - storageContainerPath: { - readOnly: true, - serializedName: "properties.storageContainerPath", + value: { + serializedName: "value", type: { name: "String" } }, - numberOfFailedSecurityChecks: { - readOnly: true, - serializedName: "properties.numberOfFailedSecurityChecks", + sensitiveValue: { + serializedName: "sensitiveValue", type: { - name: "Number" + name: "String" } } } } }; -export const SqlPoolSecurityAlertPolicy: msRest.CompositeMapper = { - serializedName: "SqlPoolSecurityAlertPolicy", +export const SsisEnvironment: msRest.CompositeMapper = { + serializedName: "Environment", type: { name: "Composite", - className: "SqlPoolSecurityAlertPolicy", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + uberParent: "SsisObjectMetadata", + className: "SsisEnvironment", modelProperties: { - ...ProxyResource.type.modelProperties, - state: { - required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "New", - "Enabled", - "Disabled" - ] - } - }, - disabledAlerts: { - serializedName: "properties.disabledAlerts", + ...SsisObjectMetadata.type.modelProperties, + folderId: { + serializedName: "folderId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - emailAddresses: { - serializedName: "properties.emailAddresses", + variables: { + serializedName: "variables", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SsisVariable" } } } - }, - emailAccountAdmins: { - serializedName: "properties.emailAccountAdmins", - type: { - name: "Boolean" - } - }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + } + } + } +}; + +export const UpdateIntegrationRuntimeRequest: msRest.CompositeMapper = { + serializedName: "UpdateIntegrationRuntimeRequest", + type: { + name: "Composite", + className: "UpdateIntegrationRuntimeRequest", + modelProperties: { + autoUpdate: { + serializedName: "autoUpdate", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + updateDelayOffset: { + serializedName: "updateDelayOffset", type: { name: "String" } - }, - retentionDays: { - serializedName: "properties.retentionDays", - type: { - name: "Number" - } - }, - creationTime: { - readOnly: true, - serializedName: "properties.creationTime", - type: { - name: "DateTime" - } } } } }; -export const SqlPoolVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMapper = { - serializedName: "SqlPoolVulnerabilityAssessmentRuleBaselineItem", +export const IntegrationRuntimeResource: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeResource", type: { name: "Composite", - className: "SqlPoolVulnerabilityAssessmentRuleBaselineItem", + className: "IntegrationRuntimeResource", modelProperties: { - result: { + ...SubResource.type.modelProperties, + properties: { required: true, - serializedName: "result", + serializedName: "properties", type: { - name: "Sequence", - element: { + name: "Composite", + className: "IntegrationRuntime", + additionalProperties: { type: { - name: "String" + name: "Object" } } } @@ -2463,74 +2556,97 @@ export const SqlPoolVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMap } }; -export const SqlPoolVulnerabilityAssessmentRuleBaseline: msRest.CompositeMapper = { - serializedName: "SqlPoolVulnerabilityAssessmentRuleBaseline", +export const GetSsisObjectMetadataRequest: msRest.CompositeMapper = { + serializedName: "GetSsisObjectMetadataRequest", type: { name: "Composite", - className: "SqlPoolVulnerabilityAssessmentRuleBaseline", + className: "GetSsisObjectMetadataRequest", modelProperties: { - ...ProxyResource.type.modelProperties, - baselineResults: { - required: true, - serializedName: "properties.baselineResults", + metadataPath: { + serializedName: "metadataPath", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SqlPoolVulnerabilityAssessmentRuleBaselineItem" - } - } + name: "String" } } } } }; -export const SqlPoolVulnerabilityAssessmentScansExport: msRest.CompositeMapper = { - serializedName: "SqlPoolVulnerabilityAssessmentScansExport", +export const UpdateIntegrationRuntimeNodeRequest: msRest.CompositeMapper = { + serializedName: "UpdateIntegrationRuntimeNodeRequest", type: { name: "Composite", - className: "SqlPoolVulnerabilityAssessmentScansExport", + className: "UpdateIntegrationRuntimeNodeRequest", modelProperties: { - ...ProxyResource.type.modelProperties, - exportedReportLocation: { - readOnly: true, - serializedName: "properties.exportedReportLocation", + concurrentJobsLimit: { + serializedName: "concurrentJobsLimit", + constraints: { + InclusiveMinimum: 1 + }, type: { - name: "String" + name: "Number" } } } } }; -export const ResourceMoveDefinition: msRest.CompositeMapper = { - serializedName: "ResourceMoveDefinition", +export const IntegrationRuntimeStatusResponse: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeStatusResponse", type: { name: "Composite", - className: "ResourceMoveDefinition", + className: "IntegrationRuntimeStatusResponse", modelProperties: { - id: { - required: true, - serializedName: "id", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } + }, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "IntegrationRuntimeStatus", + additionalProperties: { + type: { + name: "Object" + } + } + } } } } }; -export const CreateSqlPoolRestorePointDefinition: msRest.CompositeMapper = { - serializedName: "CreateSqlPoolRestorePointDefinition", +export const SsisObjectMetadataStatusResponse: msRest.CompositeMapper = { + serializedName: "SsisObjectMetadataStatusResponse", type: { name: "Composite", - className: "CreateSqlPoolRestorePointDefinition", + className: "SsisObjectMetadataStatusResponse", modelProperties: { - restorePointLabel: { - required: true, - serializedName: "restorePointLabel", + status: { + serializedName: "status", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "String" + } + }, + error: { + serializedName: "error", type: { name: "String" } @@ -2539,159 +2655,221 @@ export const CreateSqlPoolRestorePointDefinition: msRest.CompositeMapper = { } }; -export const WorkloadGroup: msRest.CompositeMapper = { - serializedName: "WorkloadGroup", +export const Key: msRest.CompositeMapper = { + serializedName: "Key", type: { name: "Composite", - className: "WorkloadGroup", + className: "Key", modelProperties: { ...ProxyResource.type.modelProperties, - minResourcePercent: { - required: true, - serializedName: "properties.minResourcePercent", + isActiveCMK: { + serializedName: "properties.isActiveCMK", + type: { + name: "Boolean" + } + }, + keyVaultUrl: { + serializedName: "properties.keyVaultUrl", + type: { + name: "String" + } + } + } + } +}; + +export const LibraryResource: msRest.CompositeMapper = { + serializedName: "LibraryResource", + type: { + name: "Composite", + className: "LibraryResource", + modelProperties: { + ...SubResource.type.modelProperties, + libraryResourceName: { + serializedName: "properties.name", type: { - name: "Number" + name: "String" } }, - maxResourcePercent: { - required: true, - serializedName: "properties.maxResourcePercent", + path: { + serializedName: "properties.path", type: { - name: "Number" + name: "String" } }, - minResourcePercentPerRequest: { - required: true, - serializedName: "properties.minResourcePercentPerRequest", + containerName: { + serializedName: "properties.containerName", type: { - name: "Number" + name: "String" } }, - maxResourcePercentPerRequest: { - serializedName: "properties.maxResourcePercentPerRequest", + uploadedTimestamp: { + readOnly: true, + serializedName: "properties.uploadedTimestamp", type: { - name: "Number" + name: "DateTime" } }, - importance: { - serializedName: "properties.importance", + libraryResourceType: { + serializedName: "properties.type", type: { name: "String" } }, - queryExecutionTimeout: { - serializedName: "properties.queryExecutionTimeout", + provisioningStatus: { + readOnly: true, + serializedName: "properties.provisioningStatus", type: { - name: "Number" + name: "String" + } + }, + creatorId: { + readOnly: true, + serializedName: "properties.creatorId", + type: { + name: "String" } } } } }; -export const WorkloadClassifier: msRest.CompositeMapper = { - serializedName: "WorkloadClassifier", +export const AvailableRpOperationDisplayInfo: msRest.CompositeMapper = { + serializedName: "AvailableRpOperationDisplayInfo", type: { name: "Composite", - className: "WorkloadClassifier", + className: "AvailableRpOperationDisplayInfo", modelProperties: { - ...ProxyResource.type.modelProperties, - memberName: { - required: true, - serializedName: "properties.memberName", + description: { + serializedName: "description", type: { name: "String" } }, - label: { - serializedName: "properties.label", + resource: { + serializedName: "resource", type: { name: "String" } }, - context: { - serializedName: "properties.context", + provider: { + serializedName: "provider", type: { name: "String" } }, - startTime: { - serializedName: "properties.startTime", + operation: { + serializedName: "operation", type: { name: "String" } - }, - endTime: { - serializedName: "properties.endTime", + } + } + } +}; + +export const OperationMetaMetricDimensionSpecification: msRest.CompositeMapper = { + serializedName: "OperationMetaMetricDimensionSpecification", + type: { + name: "Composite", + className: "OperationMetaMetricDimensionSpecification", + modelProperties: { + displayName: { + serializedName: "displayName", type: { name: "String" } }, - importance: { - serializedName: "properties.importance", + name: { + serializedName: "name", type: { name: "String" } + }, + toBeExportedForShoebox: { + serializedName: "toBeExportedForShoebox", + type: { + name: "Boolean" + } } } } }; -export const DataMaskingPolicy: msRest.CompositeMapper = { - serializedName: "DataMaskingPolicy", +export const OperationMetaMetricSpecification: msRest.CompositeMapper = { + serializedName: "OperationMetaMetricSpecification", type: { name: "Composite", - className: "DataMaskingPolicy", + className: "OperationMetaMetricSpecification", modelProperties: { - ...ProxyResource.type.modelProperties, - dataMaskingState: { - required: true, - serializedName: "properties.dataMaskingState", + sourceMdmNamespace: { + serializedName: "sourceMdmNamespace", type: { - name: "Enum", - allowedValues: [ - "Disabled", - "Enabled" - ] + name: "String" } }, - exemptPrincipals: { - serializedName: "properties.exemptPrincipals", + displayName: { + serializedName: "displayName", type: { name: "String" } }, - applicationPrincipals: { - readOnly: true, - serializedName: "properties.applicationPrincipals", + name: { + serializedName: "name", type: { name: "String" } }, - maskingLevel: { - readOnly: true, - serializedName: "properties.maskingLevel", + aggregationType: { + serializedName: "aggregationType", type: { name: "String" } }, - location: { - readOnly: true, - serializedName: "location", + displayDescription: { + serializedName: "displayDescription", type: { name: "String" } }, - kind: { - readOnly: true, - serializedName: "kind", + sourceMdmAccount: { + serializedName: "sourceMdmAccount", type: { name: "String" } }, - managedBy: { - readOnly: true, - serializedName: "managedBy", + enableRegionalMdmAccount: { + serializedName: "enableRegionalMdmAccount", + type: { + name: "Boolean" + } + }, + unit: { + serializedName: "unit", + type: { + name: "String" + } + }, + dimensions: { + serializedName: "dimensions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationMetaMetricDimensionSpecification" + } + } + } + }, + supportsInstanceLevelAggregation: { + serializedName: "supportsInstanceLevelAggregation", + type: { + name: "Boolean" + } + }, + metricFilterPattern: { + serializedName: "metricFilterPattern", type: { name: "String" } @@ -2700,193 +2878,207 @@ export const DataMaskingPolicy: msRest.CompositeMapper = { } }; -export const ExtendedSqlPoolBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ExtendedSqlPoolBlobAuditingPolicy", +export const OperationMetaLogSpecification: msRest.CompositeMapper = { + serializedName: "OperationMetaLogSpecification", type: { name: "Composite", - className: "ExtendedSqlPoolBlobAuditingPolicy", + className: "OperationMetaLogSpecification", modelProperties: { - ...ProxyResource.type.modelProperties, - predicateExpression: { - serializedName: "properties.predicateExpression", + displayName: { + serializedName: "displayName", type: { name: "String" } }, - state: { - required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] - } - }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + blobDuration: { + serializedName: "blobDuration", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + name: { + serializedName: "name", type: { name: "String" } - }, - retentionDays: { - serializedName: "properties.retentionDays", + } + } + } +}; + +export const OperationMetaServiceSpecification: msRest.CompositeMapper = { + serializedName: "OperationMetaServiceSpecification", + type: { + name: "Composite", + className: "OperationMetaServiceSpecification", + modelProperties: { + metricSpecifications: { + serializedName: "metricSpecifications", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationMetaMetricSpecification" + } + } } }, - auditActionsAndGroups: { - serializedName: "properties.auditActionsAndGroups", + logSpecifications: { + serializedName: "logSpecifications", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "OperationMetaLogSpecification" } } } + } + } + } +}; + +export const AvailableRpOperation: msRest.CompositeMapper = { + serializedName: "AvailableRpOperation", + type: { + name: "Composite", + className: "AvailableRpOperation", + modelProperties: { + display: { + serializedName: "display", + type: { + name: "Composite", + className: "AvailableRpOperationDisplayInfo" + } }, - storageAccountSubscriptionId: { - serializedName: "properties.storageAccountSubscriptionId", + isDataAction: { + serializedName: "isDataAction", type: { - name: "Uuid" + name: "String" } }, - isStorageSecondaryKeyInUse: { - serializedName: "properties.isStorageSecondaryKeyInUse", + name: { + serializedName: "name", type: { - name: "Boolean" + name: "String" } }, - isAzureMonitorTargetEnabled: { - serializedName: "properties.isAzureMonitorTargetEnabled", + serviceSpecification: { + serializedName: "properties.serviceSpecification", type: { - name: "Boolean" + name: "Composite", + className: "OperationMetaServiceSpecification" } }, - queueDelayMs: { - serializedName: "properties.queueDelayMs", + origin: { + serializedName: "origin", type: { - name: "Number" + name: "String" } } } } }; -export const DataMaskingRule: msRest.CompositeMapper = { - serializedName: "DataMaskingRule", +export const OperationResource: msRest.CompositeMapper = { + serializedName: "OperationResource", type: { name: "Composite", - className: "DataMaskingRule", + className: "OperationResource", modelProperties: { - ...ProxyResource.type.modelProperties, - dataMaskingRuleId: { - readOnly: true, - serializedName: "properties.id", - type: { - name: "String" - } - }, - aliasName: { - serializedName: "properties.aliasName", + id: { + serializedName: "id", type: { name: "String" } }, - ruleState: { - serializedName: "properties.ruleState", - type: { - name: "Enum", - allowedValues: [ - "Disabled", - "Enabled" - ] - } - }, - schemaName: { - required: true, - serializedName: "properties.schemaName", + name: { + serializedName: "name", type: { name: "String" } }, - tableName: { - required: true, - serializedName: "properties.tableName", + status: { + serializedName: "status", type: { name: "String" } }, - columnName: { - required: true, - serializedName: "properties.columnName", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Object" } }, - maskingFunction: { - required: true, - serializedName: "properties.maskingFunction", + error: { + serializedName: "error", type: { - name: "Enum", - allowedValues: [ - "Default", - "CCN", - "Email", - "Number", - "SSN", - "Text" - ] + name: "Composite", + className: "ErrorDetail" } }, - numberFrom: { - serializedName: "properties.numberFrom", + startTime: { + serializedName: "startTime", type: { - name: "String" + name: "DateTime" } }, - numberTo: { - serializedName: "properties.numberTo", + endTime: { + serializedName: "endTime", type: { - name: "String" + name: "DateTime" } }, - prefixSize: { - serializedName: "properties.prefixSize", + percentComplete: { + serializedName: "percentComplete", type: { - name: "String" + name: "Number" } - }, - suffixSize: { - serializedName: "properties.suffixSize", + } + } + } +}; + +export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + modelProperties: { + status: { + serializedName: "status", type: { name: "String" } }, - replacementString: { - serializedName: "properties.replacementString", + description: { + serializedName: "description", type: { name: "String" } }, - location: { + actionsRequired: { readOnly: true, - serializedName: "location", + serializedName: "actionsRequired", type: { name: "String" } - }, - kind: { + } + } + } +}; + +export const PrivateEndpoint: msRest.CompositeMapper = { + serializedName: "PrivateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint", + modelProperties: { + id: { readOnly: true, - serializedName: "kind", + serializedName: "id", type: { name: "String" } @@ -2895,70 +3087,71 @@ export const DataMaskingRule: msRest.CompositeMapper = { } }; -export const SensitivityLabelUpdate: msRest.CompositeMapper = { - serializedName: "SensitivityLabelUpdate", +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", type: { name: "Composite", - className: "SensitivityLabelUpdate", + className: "PrivateEndpointConnection", modelProperties: { ...ProxyResource.type.modelProperties, - op: { - required: true, - serializedName: "properties.op", - type: { - name: "Enum", - allowedValues: [ - "set", - "remove" - ] - } - }, - schema: { - required: true, - serializedName: "properties.schema", + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "String" + name: "Composite", + className: "PrivateEndpoint" } }, - table: { - required: true, - serializedName: "properties.table", + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { - name: "String" + name: "Composite", + className: "PrivateLinkServiceConnectionState" } }, - column: { - required: true, - serializedName: "properties.column", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } - }, - sensitivityLabel: { - serializedName: "properties.sensitivityLabel", - type: { - name: "Composite", - className: "SensitivityLabel" - } } } } }; -export const SensitivityLabelUpdateList: msRest.CompositeMapper = { - serializedName: "SensitivityLabelUpdateList", +export const PrivateLinkResourceProperties: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceProperties", type: { name: "Composite", - className: "SensitivityLabelUpdateList", + className: "PrivateLinkResourceProperties", modelProperties: { - operations: { - serializedName: "operations", + groupId: { + readOnly: true, + serializedName: "groupId", + type: { + name: "String" + } + }, + requiredMembers: { + readOnly: true, + serializedName: "requiredMembers", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SensitivityLabelUpdate" + name: "String" + } + } + } + }, + requiredZoneNames: { + readOnly: true, + serializedName: "requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" } } } @@ -2967,41 +3160,55 @@ export const SensitivityLabelUpdateList: msRest.CompositeMapper = { } }; -export const RecommendedSensitivityLabelUpdate: msRest.CompositeMapper = { - serializedName: "RecommendedSensitivityLabelUpdate", +export const PrivateLinkResource: msRest.CompositeMapper = { + serializedName: "PrivateLinkResource", type: { name: "Composite", - className: "RecommendedSensitivityLabelUpdate", + className: "PrivateLinkResource", modelProperties: { ...ProxyResource.type.modelProperties, - op: { - required: true, - serializedName: "properties.op", + properties: { + readOnly: true, + serializedName: "properties", type: { - name: "Enum", - allowedValues: [ - "enable", - "disable" - ] + name: "Composite", + className: "PrivateLinkResourceProperties" } - }, - schema: { - required: true, - serializedName: "properties.schema", + } + } + } +}; + +export const PrivateEndpointConnectionForPrivateLinkHubBasic: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionForPrivateLinkHubBasic", + type: { + name: "Composite", + className: "PrivateEndpointConnectionForPrivateLinkHubBasic", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - table: { - required: true, - serializedName: "properties.table", + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint" + } + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { - name: "String" + name: "Composite", + className: "PrivateLinkServiceConnectionState" } }, - column: { - required: true, - serializedName: "properties.column", + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String" } @@ -3010,20 +3217,28 @@ export const RecommendedSensitivityLabelUpdate: msRest.CompositeMapper = { } }; -export const RecommendedSensitivityLabelUpdateList: msRest.CompositeMapper = { - serializedName: "RecommendedSensitivityLabelUpdateList", +export const PrivateLinkHub: msRest.CompositeMapper = { + serializedName: "PrivateLinkHub", type: { name: "Composite", - className: "RecommendedSensitivityLabelUpdateList", + className: "PrivateLinkHub", modelProperties: { - operations: { - serializedName: "operations", + ...TrackedResource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + privateEndpointConnections: { + readOnly: true, + serializedName: "properties.privateEndpointConnections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RecommendedSensitivityLabelUpdate" + className: "PrivateEndpointConnectionForPrivateLinkHubBasic" } } } @@ -3032,53 +3247,42 @@ export const RecommendedSensitivityLabelUpdateList: msRest.CompositeMapper = { } }; -export const DataLakeStorageAccountDetails: msRest.CompositeMapper = { - serializedName: "DataLakeStorageAccountDetails", +export const PrivateLinkHubPatchInfo: msRest.CompositeMapper = { + serializedName: "PrivateLinkHubPatchInfo", type: { name: "Composite", - className: "DataLakeStorageAccountDetails", + className: "PrivateLinkHubPatchInfo", modelProperties: { - accountUrl: { - serializedName: "accountUrl", - type: { - name: "String" - } - }, - filesystem: { - serializedName: "filesystem", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } } }; -export const VirtualNetworkProfile: msRest.CompositeMapper = { - serializedName: "VirtualNetworkProfile", +export const PrivateEndpointConnectionForPrivateLinkHub: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionForPrivateLinkHub", type: { name: "Composite", - className: "VirtualNetworkProfile", + className: "PrivateEndpointConnectionForPrivateLinkHub", modelProperties: { - computeSubnetId: { - serializedName: "computeSubnetId", + ...PrivateEndpointConnectionForPrivateLinkHubBasic.type.modelProperties, + name: { + serializedName: "name", type: { name: "String" } - } - } - } -}; - -export const PrivateEndpoint: msRest.CompositeMapper = { - serializedName: "PrivateEndpoint", - type: { - name: "Composite", - className: "PrivateEndpoint", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", + }, + type: { + serializedName: "type", type: { name: "String" } @@ -3087,242 +3291,198 @@ export const PrivateEndpoint: msRest.CompositeMapper = { } }; -export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceConnectionState", +export const Sku: msRest.CompositeMapper = { + serializedName: "Sku", type: { name: "Composite", - className: "PrivateLinkServiceConnectionState", + className: "Sku", modelProperties: { - status: { - serializedName: "status", + tier: { + serializedName: "tier", type: { name: "String" } }, - description: { - serializedName: "description", + name: { + serializedName: "name", type: { name: "String" } }, - actionsRequired: { - readOnly: true, - serializedName: "actionsRequired", + capacity: { + serializedName: "capacity", type: { - name: "String" + name: "Number" } } } } }; -export const PrivateEndpointConnection: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnection", +export const SqlPool: msRest.CompositeMapper = { + serializedName: "SqlPool", type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "SqlPool", modelProperties: { - ...ProxyResource.type.modelProperties, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + ...TrackedResource.type.modelProperties, + sku: { + serializedName: "sku", type: { name: "Composite", - className: "PrivateEndpoint" + className: "Sku" } }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState" + name: "Number" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + collation: { + serializedName: "properties.collation", type: { name: "String" } - } - } - } -}; - -export const WorkspaceKeyDetails: msRest.CompositeMapper = { - serializedName: "WorkspaceKeyDetails", - type: { - name: "Composite", - className: "WorkspaceKeyDetails", - modelProperties: { - name: { - serializedName: "name", + }, + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", type: { name: "String" } }, - keyVaultUrl: { - serializedName: "keyVaultUrl", + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", type: { name: "String" } - } - } - } -}; - -export const CustomerManagedKeyDetails: msRest.CompositeMapper = { - serializedName: "CustomerManagedKeyDetails", - type: { - name: "Composite", - className: "CustomerManagedKeyDetails", - modelProperties: { + }, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, status: { - readOnly: true, - serializedName: "status", + serializedName: "properties.status", type: { name: "String" } }, - key: { - serializedName: "key", + restorePointInTime: { + serializedName: "properties.restorePointInTime", type: { - name: "Composite", - className: "WorkspaceKeyDetails" + name: "DateTime" } - } - } - } -}; - -export const EncryptionDetails: msRest.CompositeMapper = { - serializedName: "EncryptionDetails", - type: { - name: "Composite", - className: "EncryptionDetails", - modelProperties: { - doubleEncryptionEnabled: { - readOnly: true, - serializedName: "doubleEncryptionEnabled", + }, + createMode: { + serializedName: "properties.createMode", type: { - name: "Boolean" + name: "String" } }, - cmk: { - serializedName: "cmk", + creationDate: { + serializedName: "properties.creationDate", type: { - name: "Composite", - className: "CustomerManagedKeyDetails" + name: "DateTime" + } + }, + storageAccountType: { + serializedName: "properties.storageAccountType", + type: { + name: "String" } } } } }; -export const ManagedVirtualNetworkSettings: msRest.CompositeMapper = { - serializedName: "ManagedVirtualNetworkSettings", +export const SqlPoolPatchInfo: msRest.CompositeMapper = { + serializedName: "SqlPoolPatchInfo", type: { name: "Composite", - className: "ManagedVirtualNetworkSettings", + className: "SqlPoolPatchInfo", modelProperties: { - preventDataExfiltration: { - serializedName: "preventDataExfiltration", + tags: { + serializedName: "tags", type: { - name: "Boolean" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - linkedAccessCheckOnTargetResource: { - serializedName: "linkedAccessCheckOnTargetResource", + location: { + serializedName: "location", type: { - name: "Boolean" + name: "String" } }, - allowedAadTenantIdsForLinking: { - serializedName: "allowedAadTenantIdsForLinking", + sku: { + serializedName: "sku", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const WorkspaceRepositoryConfiguration: msRest.CompositeMapper = { - serializedName: "WorkspaceRepositoryConfiguration", - type: { - name: "Composite", - className: "WorkspaceRepositoryConfiguration", - modelProperties: { - type: { - serializedName: "type", + name: "Composite", + className: "Sku" + } + }, + maxSizeBytes: { + serializedName: "properties.maxSizeBytes", type: { - name: "String" + name: "Number" } }, - hostName: { - serializedName: "hostName", + collation: { + serializedName: "properties.collation", type: { name: "String" } }, - accountName: { - serializedName: "accountName", + sourceDatabaseId: { + serializedName: "properties.sourceDatabaseId", type: { name: "String" } }, - projectName: { - serializedName: "projectName", + recoverableDatabaseId: { + serializedName: "properties.recoverableDatabaseId", type: { name: "String" } }, - repositoryName: { - serializedName: "repositoryName", + provisioningState: { + serializedName: "properties.provisioningState", type: { name: "String" } }, - collaborationBranch: { - serializedName: "collaborationBranch", + status: { + serializedName: "properties.status", type: { name: "String" } }, - rootFolder: { - serializedName: "rootFolder", + restorePointInTime: { + serializedName: "properties.restorePointInTime", type: { - name: "String" + name: "DateTime" } }, - lastCommitId: { - serializedName: "lastCommitId", + createMode: { + serializedName: "properties.createMode", type: { name: "String" } }, - tenantId: { - serializedName: "tenantId", + creationDate: { + serializedName: "properties.creationDate", type: { - name: "Uuid" + name: "DateTime" } - } - } - } -}; - -export const PurviewConfiguration: msRest.CompositeMapper = { - serializedName: "PurviewConfiguration", - type: { - name: "Composite", - className: "PurviewConfiguration", - modelProperties: { - purviewResourceId: { - serializedName: "purviewResourceId", + }, + storageAccountType: { + serializedName: "properties.storageAccountType", type: { name: "String" } @@ -3331,329 +3491,369 @@ export const PurviewConfiguration: msRest.CompositeMapper = { } }; -export const ManagedIdentity: msRest.CompositeMapper = { - serializedName: "ManagedIdentity", +export const MetadataSyncConfig: msRest.CompositeMapper = { + serializedName: "MetadataSyncConfig", type: { name: "Composite", - className: "ManagedIdentity", + className: "MetadataSyncConfig", modelProperties: { - principalId: { - readOnly: true, - serializedName: "principalId", - type: { - name: "String" - } - }, - tenantId: { - readOnly: true, - serializedName: "tenantId", + enabled: { + serializedName: "properties.enabled", type: { - name: "Uuid" + name: "Boolean" } }, - type: { - serializedName: "type", + syncIntervalInMinutes: { + serializedName: "properties.syncIntervalInMinutes", type: { - name: "Enum", - allowedValues: [ - "None", - "SystemAssigned" - ] + name: "Number" } } } } }; -export const Workspace: msRest.CompositeMapper = { - serializedName: "Workspace", +export const GeoBackupPolicy: msRest.CompositeMapper = { + serializedName: "GeoBackupPolicy", type: { name: "Composite", - className: "Workspace", + className: "GeoBackupPolicy", modelProperties: { - ...TrackedResource.type.modelProperties, - defaultDataLakeStorage: { - serializedName: "properties.defaultDataLakeStorage", + ...ProxyResource.type.modelProperties, + state: { + required: true, + serializedName: "properties.state", type: { - name: "Composite", - className: "DataLakeStorageAccountDetails" + name: "Enum", + allowedValues: [ + "Disabled", + "Enabled" + ] } }, - sqlAdministratorLoginPassword: { - serializedName: "properties.sqlAdministratorLoginPassword", + storageType: { + readOnly: true, + serializedName: "properties.storageType", type: { name: "String" } }, - managedResourceGroupName: { - serializedName: "properties.managedResourceGroupName", + kind: { + readOnly: true, + serializedName: "kind", type: { name: "String" } }, - provisioningState: { + location: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "location", type: { name: "String" } - }, - sqlAdministratorLogin: { - serializedName: "properties.sqlAdministratorLogin", + } + } + } +}; + +export const QueryMetric: msRest.CompositeMapper = { + serializedName: "QueryMetric", + type: { + name: "Composite", + className: "QueryMetric", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - virtualNetworkProfile: { - serializedName: "properties.virtualNetworkProfile", - type: { - name: "Composite", - className: "VirtualNetworkProfile" - } - }, - connectivityEndpoints: { - serializedName: "properties.connectivityEndpoints", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - managedVirtualNetwork: { - serializedName: "properties.managedVirtualNetwork", + displayName: { + readOnly: true, + serializedName: "displayName", type: { name: "String" } }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } - } - }, - encryption: { - serializedName: "properties.encryption", - type: { - name: "Composite", - className: "EncryptionDetails" - } - }, - workspaceUID: { + unit: { readOnly: true, - serializedName: "properties.workspaceUID", + serializedName: "unit", type: { - name: "Uuid" + name: "Enum", + allowedValues: [ + "percentage", + "KB", + "microseconds" + ] } }, - extraProperties: { + value: { readOnly: true, - serializedName: "properties.extraProperties", - type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } - } - }, - managedVirtualNetworkSettings: { - serializedName: "properties.managedVirtualNetworkSettings", - type: { - name: "Composite", - className: "ManagedVirtualNetworkSettings" - } - }, - workspaceRepositoryConfiguration: { - serializedName: "properties.workspaceRepositoryConfiguration", + serializedName: "value", type: { - name: "Composite", - className: "WorkspaceRepositoryConfiguration" + name: "Number" } - }, - purviewConfiguration: { - serializedName: "properties.purviewConfiguration", + } + } + } +}; + +export const QueryInterval: msRest.CompositeMapper = { + serializedName: "QueryInterval", + type: { + name: "Composite", + className: "QueryInterval", + modelProperties: { + intervalStartTime: { + readOnly: true, + serializedName: "intervalStartTime", type: { - name: "Composite", - className: "PurviewConfiguration" + name: "DateTime" } }, - adlaResourceId: { + executionCount: { readOnly: true, - serializedName: "properties.adlaResourceId", + serializedName: "executionCount", type: { - name: "String" + name: "Number" } }, - identity: { - serializedName: "identity", + metrics: { + readOnly: true, + serializedName: "metrics", type: { - name: "Composite", - className: "ManagedIdentity" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QueryMetric" + } + } } } } } }; -export const WorkspaceAadAdminInfo: msRest.CompositeMapper = { - serializedName: "WorkspaceAadAdminInfo", +export const QueryStatistic: msRest.CompositeMapper = { + serializedName: "QueryStatistic", type: { name: "Composite", - className: "WorkspaceAadAdminInfo", + className: "QueryStatistic", modelProperties: { - tenantId: { - serializedName: "properties.tenantId", - type: { - name: "String" - } - }, - login: { - serializedName: "properties.login", - type: { - name: "String" - } - }, - administratorType: { - serializedName: "properties.administratorType", + queryId: { + readOnly: true, + serializedName: "queryId", type: { name: "String" } }, - sid: { - serializedName: "properties.sid", + intervals: { + readOnly: true, + serializedName: "intervals", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QueryInterval" + } + } } } } } }; -export const WorkspacePatchInfo: msRest.CompositeMapper = { - serializedName: "WorkspacePatchInfo", +export const TopQueries: msRest.CompositeMapper = { + serializedName: "TopQueries", type: { name: "Composite", - className: "WorkspacePatchInfo", + className: "TopQueries", modelProperties: { - tags: { - serializedName: "tags", + aggregationFunction: { + readOnly: true, + serializedName: "aggregationFunction", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Enum", + allowedValues: [ + "min", + "max", + "avg", + "sum" + ] } }, - identity: { - serializedName: "identity", + executionType: { + readOnly: true, + serializedName: "executionType", type: { - name: "Composite", - className: "ManagedIdentity" + name: "Enum", + allowedValues: [ + "any", + "regular", + "irregular", + "aborted", + "exception" + ] } }, - sqlAdministratorLoginPassword: { - serializedName: "properties.sqlAdministratorLoginPassword", + intervalType: { + readOnly: true, + serializedName: "intervalType", type: { name: "String" } }, - managedVirtualNetworkSettings: { - serializedName: "properties.managedVirtualNetworkSettings", + numberOfTopQueries: { + readOnly: true, + serializedName: "numberOfTopQueries", type: { - name: "Composite", - className: "ManagedVirtualNetworkSettings" + name: "Number" } }, - workspaceRepositoryConfiguration: { - serializedName: "properties.workspaceRepositoryConfiguration", + observationStartTime: { + readOnly: true, + serializedName: "observationStartTime", type: { - name: "Composite", - className: "WorkspaceRepositoryConfiguration" + name: "DateTime" } }, - purviewConfiguration: { - serializedName: "properties.purviewConfiguration", + observationEndTime: { + readOnly: true, + serializedName: "observationEndTime", type: { - name: "Composite", - className: "PurviewConfiguration" + name: "DateTime" } }, - provisioningState: { + observedMetric: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "observedMetric", type: { - name: "String" + name: "Enum", + allowedValues: [ + "cpu", + "io", + "logio", + "duration", + "executionCount" + ] } }, - encryption: { - serializedName: "properties.encryption", + queries: { + readOnly: true, + serializedName: "queries", type: { - name: "Composite", - className: "EncryptionDetails" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QueryStatistic" + } + } } } } } }; -export const ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity: msRest.CompositeMapper = { - serializedName: "ManagedIdentitySqlControlSettingsModel_properties_grantSqlControlToManagedIdentity", +export const TopQueriesListResult: msRest.CompositeMapper = { + serializedName: "TopQueriesListResult", type: { name: "Composite", - className: "ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity", + className: "TopQueriesListResult", modelProperties: { - desiredState: { - serializedName: "desiredState", + value: { + required: true, + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TopQueries" + } + } } - }, - actualState: { + } + } + } +}; + +export const DataWarehouseUserActivities: msRest.CompositeMapper = { + serializedName: "DataWarehouseUserActivities", + type: { + name: "Composite", + className: "DataWarehouseUserActivities", + modelProperties: { + ...ProxyResource.type.modelProperties, + activeQueriesCount: { readOnly: true, - serializedName: "actualState", + serializedName: "properties.activeQueriesCount", type: { - name: "String" + name: "Number" } } } } }; -export const ManagedIdentitySqlControlSettingsModel: msRest.CompositeMapper = { - serializedName: "ManagedIdentitySqlControlSettingsModel", +export const RestorePoint: msRest.CompositeMapper = { + serializedName: "RestorePoint", type: { name: "Composite", - className: "ManagedIdentitySqlControlSettingsModel", + className: "RestorePoint", modelProperties: { ...ProxyResource.type.modelProperties, - grantSqlControlToManagedIdentity: { - serializedName: "properties.grantSqlControlToManagedIdentity", + location: { + readOnly: true, + serializedName: "location", type: { - name: "Composite", - className: "ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity" + name: "String" + } + }, + restorePointType: { + readOnly: true, + serializedName: "properties.restorePointType", + type: { + name: "Enum", + allowedValues: [ + "CONTINUOUS", + "DISCRETE" + ] + } + }, + earliestRestoreDate: { + readOnly: true, + serializedName: "properties.earliestRestoreDate", + type: { + name: "DateTime" + } + }, + restorePointCreationDate: { + readOnly: true, + serializedName: "properties.restorePointCreationDate", + type: { + name: "DateTime" + } + }, + restorePointLabel: { + readOnly: true, + serializedName: "properties.restorePointLabel", + type: { + name: "String" } } } } }; -export const RestorableDroppedSqlPool: msRest.CompositeMapper = { - serializedName: "RestorableDroppedSqlPool", +export const ReplicationLink: msRest.CompositeMapper = { + serializedName: "ReplicationLink", type: { name: "Composite", - className: "RestorableDroppedSqlPool", + className: "ReplicationLink", modelProperties: { ...ProxyResource.type.modelProperties, location: { @@ -3663,649 +3863,551 @@ export const RestorableDroppedSqlPool: msRest.CompositeMapper = { name: "String" } }, - databaseName: { + isTerminationAllowed: { readOnly: true, - serializedName: "properties.databaseName", + serializedName: "properties.isTerminationAllowed", + type: { + name: "Boolean" + } + }, + replicationMode: { + readOnly: true, + serializedName: "properties.replicationMode", type: { name: "String" } }, - edition: { + partnerServer: { readOnly: true, - serializedName: "properties.edition", + serializedName: "properties.partnerServer", type: { name: "String" } }, - maxSizeBytes: { + partnerDatabase: { readOnly: true, - serializedName: "properties.maxSizeBytes", + serializedName: "properties.partnerDatabase", type: { name: "String" } }, - serviceLevelObjective: { + partnerLocation: { readOnly: true, - serializedName: "properties.serviceLevelObjective", + serializedName: "properties.partnerLocation", type: { name: "String" } }, - elasticPoolName: { + role: { + readOnly: true, + serializedName: "properties.role", + type: { + name: "Enum", + allowedValues: [ + "Primary", + "Secondary", + "NonReadableSecondary", + "Source", + "Copy" + ] + } + }, + partnerRole: { readOnly: true, - serializedName: "properties.elasticPoolName", + serializedName: "properties.partnerRole", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Primary", + "Secondary", + "NonReadableSecondary", + "Source", + "Copy" + ] } }, - creationDate: { + startTime: { readOnly: true, - serializedName: "properties.creationDate", + serializedName: "properties.startTime", type: { name: "DateTime" } }, - deletionDate: { + percentComplete: { readOnly: true, - serializedName: "properties.deletionDate", + serializedName: "properties.percentComplete", type: { - name: "DateTime" + name: "Number" } }, - earliestRestoreDate: { + replicationState: { readOnly: true, - serializedName: "properties.earliestRestoreDate", + serializedName: "properties.replicationState", type: { - name: "DateTime" + name: "String" } } } } }; -export const SubResource: msRest.CompositeMapper = { - serializedName: "SubResource", - type: { - name: "Composite", - className: "SubResource", - modelProperties: { - ...AzureEntityResource.type.modelProperties - } - } -}; - -export const IntegrationRuntime: msRest.CompositeMapper = { - serializedName: "IntegrationRuntime", +export const MaintenanceWindowTimeRange: msRest.CompositeMapper = { + serializedName: "MaintenanceWindowTimeRange", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "IntegrationRuntime", - className: "IntegrationRuntime", + className: "MaintenanceWindowTimeRange", modelProperties: { - description: { - serializedName: "description", + dayOfWeek: { + serializedName: "dayOfWeek", type: { name: "String" } }, - type: { - required: true, - serializedName: "type", + startTime: { + serializedName: "startTime", + type: { + name: "String" + } + }, + duration: { + serializedName: "duration", type: { name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const IntegrationRuntimeDataFlowProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeDataFlowProperties", +export const MaintenanceWindowOptions: msRest.CompositeMapper = { + serializedName: "MaintenanceWindowOptions", type: { name: "Composite", - className: "IntegrationRuntimeDataFlowProperties", + className: "MaintenanceWindowOptions", modelProperties: { - computeType: { - serializedName: "computeType", + ...ProxyResource.type.modelProperties, + isEnabled: { + serializedName: "properties.isEnabled", type: { - name: "String" + name: "Boolean" } }, - coreCount: { - serializedName: "coreCount", + maintenanceWindowCycles: { + serializedName: "properties.maintenanceWindowCycles", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MaintenanceWindowTimeRange" + } + } + } + }, + minDurationInMinutes: { + serializedName: "properties.minDurationInMinutes", type: { name: "Number" } }, - timeToLive: { - serializedName: "timeToLive", - constraints: { - InclusiveMinimum: 0 - }, + defaultDurationInMinutes: { + serializedName: "properties.defaultDurationInMinutes", type: { name: "Number" } - } - }, - additionalProperties: { - type: { - name: "Object" + }, + minCycles: { + serializedName: "properties.minCycles", + type: { + name: "Number" + } + }, + timeGranularityInMinutes: { + serializedName: "properties.timeGranularityInMinutes", + type: { + name: "Number" + } + }, + allowMultipleMaintenanceWindowsPerCycle: { + serializedName: "properties.allowMultipleMaintenanceWindowsPerCycle", + type: { + name: "Boolean" + } } } } }; -export const IntegrationRuntimeVNetProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeVNetProperties", +export const MaintenanceWindows: msRest.CompositeMapper = { + serializedName: "MaintenanceWindows", type: { name: "Composite", - className: "IntegrationRuntimeVNetProperties", + className: "MaintenanceWindows", modelProperties: { - vNetId: { - serializedName: "vNetId", - type: { - name: "String" - } - }, - subnet: { - serializedName: "subnet", - type: { - name: "String" - } - }, - publicIPs: { - serializedName: "publicIPs", + ...ProxyResource.type.modelProperties, + timeRanges: { + serializedName: "properties.timeRanges", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "MaintenanceWindowTimeRange" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const IntegrationRuntimeComputeProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeComputeProperties", +export const TransparentDataEncryption: msRest.CompositeMapper = { + serializedName: "TransparentDataEncryption", type: { name: "Composite", - className: "IntegrationRuntimeComputeProperties", + className: "TransparentDataEncryption", modelProperties: { + ...ProxyResource.type.modelProperties, location: { + readOnly: true, serializedName: "location", type: { name: "String" } }, - nodeSize: { - serializedName: "nodeSize", + status: { + serializedName: "properties.status", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] + } + } + } + } +}; + +export const SqlPoolBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "SqlPoolBlobAuditingPolicy", + type: { + name: "Composite", + className: "SqlPoolBlobAuditingPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + kind: { + readOnly: true, + serializedName: "kind", type: { name: "String" } }, - numberOfNodes: { - serializedName: "numberOfNodes", - constraints: { - InclusiveMinimum: 1 - }, + state: { + required: true, + serializedName: "properties.state", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - maxParallelExecutionsPerNode: { - serializedName: "maxParallelExecutionsPerNode", - constraints: { - InclusiveMinimum: 1 - }, + storageEndpoint: { + serializedName: "properties.storageEndpoint", + type: { + name: "String" + } + }, + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", + type: { + name: "String" + } + }, + retentionDays: { + serializedName: "properties.retentionDays", type: { name: "Number" } }, - dataFlowProperties: { - serializedName: "dataFlowProperties", + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { - name: "Composite", - className: "IntegrationRuntimeDataFlowProperties", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "String" } } } }, - vNetProperties: { - serializedName: "vNetProperties", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", + type: { + name: "Uuid" + } + }, + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", + type: { + name: "Boolean" + } + }, + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { - name: "Composite", - className: "IntegrationRuntimeVNetProperties", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Boolean" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const SecretBase: msRest.CompositeMapper = { - serializedName: "SecretBase", +export const SqlPoolOperation: msRest.CompositeMapper = { + serializedName: "SqlPoolOperation", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", - className: "SecretBase", + className: "SqlPoolOperation", modelProperties: { - type: { - required: true, - serializedName: "type", + ...ProxyResource.type.modelProperties, + databaseName: { + readOnly: true, + serializedName: "properties.databaseName", type: { name: "String" } - } - } - } -}; - -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", + }, + operation: { + readOnly: true, + serializedName: "properties.operation", type: { name: "String" } - } - } - } -}; - -export const IntegrationRuntimeSsisCatalogInfo: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeSsisCatalogInfo", - type: { - name: "Composite", - className: "IntegrationRuntimeSsisCatalogInfo", - modelProperties: { - catalogServerEndpoint: { - serializedName: "catalogServerEndpoint", + }, + operationFriendlyName: { + readOnly: true, + serializedName: "properties.operationFriendlyName", type: { name: "String" } }, - catalogAdminUserName: { - serializedName: "catalogAdminUserName", - constraints: { - MaxLength: 128, - MinLength: 1 - }, + percentComplete: { + readOnly: true, + serializedName: "properties.percentComplete", type: { - name: "String" + name: "Number" } }, - catalogAdminPassword: { - serializedName: "catalogAdminPassword", + serverName: { + readOnly: true, + serializedName: "properties.serverName", type: { - name: "Composite", - className: "SecureString" + name: "String" } }, - catalogPricingTier: { - serializedName: "catalogPricingTier", + startTime: { + readOnly: true, + serializedName: "properties.startTime", type: { - name: "String" + name: "DateTime" } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const IntegrationRuntimeCustomSetupScriptProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeCustomSetupScriptProperties", - type: { - name: "Composite", - className: "IntegrationRuntimeCustomSetupScriptProperties", - modelProperties: { - blobContainerUri: { - serializedName: "blobContainerUri", + }, + state: { + readOnly: true, + serializedName: "properties.state", type: { name: "String" } }, - sasToken: { - serializedName: "sasToken", + errorCode: { + readOnly: true, + serializedName: "properties.errorCode", type: { - name: "Composite", - className: "SecureString" + name: "Number" } - } - } - } -}; - -export const EntityReference: msRest.CompositeMapper = { - serializedName: "EntityReference", - type: { - name: "Composite", - className: "EntityReference", - modelProperties: { - type: { - serializedName: "type", + }, + errorDescription: { + readOnly: true, + serializedName: "properties.errorDescription", type: { name: "String" } }, - referenceName: { - serializedName: "referenceName", + errorSeverity: { + readOnly: true, + serializedName: "properties.errorSeverity", type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const IntegrationRuntimeDataProxyProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeDataProxyProperties", - type: { - name: "Composite", - className: "IntegrationRuntimeDataProxyProperties", - modelProperties: { - connectVia: { - serializedName: "connectVia", + }, + isUserError: { + readOnly: true, + serializedName: "properties.isUserError", type: { - name: "Composite", - className: "EntityReference" + name: "Boolean" } }, - stagingLinkedService: { - serializedName: "stagingLinkedService", + estimatedCompletionTime: { + readOnly: true, + serializedName: "properties.estimatedCompletionTime", type: { - name: "Composite", - className: "EntityReference" + name: "DateTime" } }, - path: { - serializedName: "path", + description: { + readOnly: true, + serializedName: "properties.description", type: { name: "String" } + }, + isCancellable: { + readOnly: true, + serializedName: "properties.isCancellable", + type: { + name: "Boolean" + } } } } }; -export const CustomSetupBase: msRest.CompositeMapper = { - serializedName: "CustomSetupBase", +export const SqlPoolUsage: msRest.CompositeMapper = { + serializedName: "SqlPoolUsage", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CustomSetupBase", - className: "CustomSetupBase", + className: "SqlPoolUsage", modelProperties: { - type: { - required: true, - serializedName: "type", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } - } - } - } -}; - -export const IntegrationRuntimeSsisProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeSsisProperties", - type: { - name: "Composite", - className: "IntegrationRuntimeSsisProperties", - modelProperties: { - catalogInfo: { - serializedName: "catalogInfo", + }, + resourceName: { + readOnly: true, + serializedName: "resourceName", type: { - name: "Composite", - className: "IntegrationRuntimeSsisCatalogInfo", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" } }, - licenseType: { - serializedName: "licenseType", + displayName: { + readOnly: true, + serializedName: "displayName", type: { name: "String" } }, - customSetupScriptProperties: { - serializedName: "customSetupScriptProperties", + currentValue: { + readOnly: true, + serializedName: "currentValue", type: { - name: "Composite", - className: "IntegrationRuntimeCustomSetupScriptProperties" + name: "Number" } }, - dataProxyProperties: { - serializedName: "dataProxyProperties", + limit: { + readOnly: true, + serializedName: "limit", type: { - name: "Composite", - className: "IntegrationRuntimeDataProxyProperties" + name: "Number" } }, - edition: { - serializedName: "edition", + unit: { + readOnly: true, + serializedName: "unit", type: { name: "String" } }, - expressCustomSetupProperties: { - serializedName: "expressCustomSetupProperties", + nextResetTime: { + readOnly: true, + serializedName: "nextResetTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CustomSetupBase" - } - } + name: "DateTime" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const ManagedIntegrationRuntime: msRest.CompositeMapper = { - serializedName: "Managed", +export const SensitivityLabel: msRest.CompositeMapper = { + serializedName: "SensitivityLabel", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntime", - className: "ManagedIntegrationRuntime", + className: "SensitivityLabel", modelProperties: { - ...IntegrationRuntime.type.modelProperties, - state: { + ...ProxyResource.type.modelProperties, + schemaName: { readOnly: true, - serializedName: "state", + serializedName: "properties.schemaName", type: { name: "String" } }, - computeProperties: { - serializedName: "typeProperties.computeProperties", + tableName: { + readOnly: true, + serializedName: "properties.tableName", type: { - name: "Composite", - className: "IntegrationRuntimeComputeProperties", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" } }, - 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", + columnName: { + readOnly: true, + serializedName: "properties.columnName", type: { - name: "Object" + name: "String" } }, - userName: { - required: true, - serializedName: "typeProperties.userName", + labelName: { + serializedName: "properties.labelName", type: { - name: "Object" + name: "String" } }, - password: { - required: true, - serializedName: "typeProperties.password", + labelId: { + serializedName: "properties.labelId", type: { - name: "Composite", - className: "SecretBase" + name: "String" } - } - } - } -}; - -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", + }, + informationType: { + serializedName: "properties.informationType", type: { name: "String" } }, - variableValue: { - required: true, - serializedName: "typeProperties.variableValue", + informationTypeId: { + serializedName: "properties.informationTypeId", 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", + }, + isDisabled: { + readOnly: true, + serializedName: "properties.isDisabled", type: { - name: "String" + name: "Boolean" } }, - licenseKey: { - serializedName: "typeProperties.licenseKey", + rank: { + serializedName: "properties.rank", type: { - name: "Composite", - className: "SecretBase" + name: "Enum", + allowedValues: [ + "None", + "Low", + "Medium", + "High", + "Critical" + ] } - } - } - } -}; - -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", + }, + managedBy: { + readOnly: true, + serializedName: "managedBy", type: { name: "String" } @@ -4314,892 +4416,808 @@ export const LinkedIntegrationRuntimeType: msRest.CompositeMapper = { } }; -export const SelfHostedIntegrationRuntime: msRest.CompositeMapper = { - serializedName: "SelfHosted", +export const SqlPoolSchema: msRest.CompositeMapper = { + serializedName: "SqlPoolSchema", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntime", - className: "SelfHostedIntegrationRuntime", + className: "SqlPoolSchema", modelProperties: { - ...IntegrationRuntime.type.modelProperties, - linkedInfo: { - serializedName: "typeProperties.linkedInfo", - type: { - name: "Composite", - className: "LinkedIntegrationRuntimeType" - } - } - }, - additionalProperties: IntegrationRuntime.type.additionalProperties + ...ProxyResource.type.modelProperties + } } }; -export const LinkedIntegrationRuntimeKeyAuthorization: msRest.CompositeMapper = { - serializedName: "Key", +export const SqlPoolTable: msRest.CompositeMapper = { + serializedName: "SqlPoolTable", type: { name: "Composite", - polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, - uberParent: "LinkedIntegrationRuntimeType", - className: "LinkedIntegrationRuntimeKeyAuthorization", + className: "SqlPoolTable", modelProperties: { - ...LinkedIntegrationRuntimeType.type.modelProperties, - key: { - required: true, - serializedName: "key", - type: { - name: "Composite", - className: "SecureString" - } - } + ...ProxyResource.type.modelProperties } } }; -export const LinkedIntegrationRuntimeRbacAuthorization: msRest.CompositeMapper = { - serializedName: "RBAC", +export const SqlPoolColumn: msRest.CompositeMapper = { + serializedName: "SqlPoolColumn", type: { name: "Composite", - polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, - uberParent: "LinkedIntegrationRuntimeType", - className: "LinkedIntegrationRuntimeRbacAuthorization", + className: "SqlPoolColumn", modelProperties: { - ...LinkedIntegrationRuntimeType.type.modelProperties, - resourceId: { - required: true, - serializedName: "resourceId", + ...ProxyResource.type.modelProperties, + columnType: { + serializedName: "properties.columnType", type: { name: "String" } + }, + isComputed: { + readOnly: true, + serializedName: "properties.isComputed", + type: { + name: "Boolean" + } } } } }; -export const IntegrationRuntimeStatus: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeStatus", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "IntegrationRuntimeStatus", - className: "IntegrationRuntimeStatus", +export const SqlPoolConnectionPolicy: msRest.CompositeMapper = { + serializedName: "SqlPoolConnectionPolicy", + type: { + name: "Composite", + className: "SqlPoolConnectionPolicy", modelProperties: { - dataFactoryName: { + ...ProxyResource.type.modelProperties, + kind: { readOnly: true, - serializedName: "dataFactoryName", + serializedName: "kind", type: { name: "String" } }, - state: { + location: { readOnly: true, - serializedName: "state", + serializedName: "location", type: { name: "String" } }, - type: { - required: true, - serializedName: "type", + securityEnabledAccess: { + serializedName: "properties.securityEnabledAccess", 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", + }, + proxyDnsName: { + serializedName: "properties.proxyDnsName", type: { - name: "DateTime" + name: "String" } }, - code: { - readOnly: true, - serializedName: "code", + proxyPort: { + serializedName: "properties.proxyPort", type: { name: "String" } }, - parameters: { - readOnly: true, - serializedName: "parameters", + visibility: { + serializedName: "properties.visibility", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - message: { - readOnly: true, - serializedName: "message", + useServerDefault: { + serializedName: "properties.useServerDefault", + type: { + name: "String" + } + }, + redirectionState: { + serializedName: "properties.redirectionState", + type: { + name: "String" + } + }, + state: { + serializedName: "properties.state", type: { name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const ManagedIntegrationRuntimeNode: msRest.CompositeMapper = { - serializedName: "ManagedIntegrationRuntimeNode", +export const VulnerabilityAssessmentRecurringScansProperties: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentRecurringScansProperties", type: { name: "Composite", - className: "ManagedIntegrationRuntimeNode", + className: "VulnerabilityAssessmentRecurringScansProperties", modelProperties: { - nodeId: { - readOnly: true, - serializedName: "nodeId", + isEnabled: { + serializedName: "isEnabled", type: { - name: "String" + name: "Boolean" } }, - status: { - readOnly: true, - serializedName: "status", + emailSubscriptionAdmins: { + serializedName: "emailSubscriptionAdmins", + defaultValue: true, type: { - name: "String" + name: "Boolean" } }, - errors: { - serializedName: "errors", + emails: { + serializedName: "emails", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ManagedIntegrationRuntimeError", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const ManagedIntegrationRuntimeOperationResult: msRest.CompositeMapper = { - serializedName: "ManagedIntegrationRuntimeOperationResult", +export const SqlPoolVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "SqlPoolVulnerabilityAssessment", type: { name: "Composite", - className: "ManagedIntegrationRuntimeOperationResult", + className: "SqlPoolVulnerabilityAssessment", modelProperties: { - type: { - readOnly: true, - serializedName: "type", + ...ProxyResource.type.modelProperties, + storageContainerPath: { + serializedName: "properties.storageContainerPath", type: { name: "String" } }, - startTime: { - readOnly: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - result: { - readOnly: true, - serializedName: "result", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { name: "String" } }, - errorCode: { - readOnly: true, - serializedName: "errorCode", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - parameters: { - readOnly: true, - serializedName: "parameters", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - activityId: { - readOnly: true, - serializedName: "activityId", + recurringScans: { + serializedName: "properties.recurringScans", type: { - name: "String" + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const ManagedIntegrationRuntimeStatus: msRest.CompositeMapper = { - serializedName: "Managed", +export const VulnerabilityAssessmentScanError: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanError", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntimeStatus", - className: "ManagedIntegrationRuntimeStatus", + className: "VulnerabilityAssessmentScanError", 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: { + code: { readOnly: true, - serializedName: "typeProperties.otherErrors", + serializedName: "code", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedIntegrationRuntimeError", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "String" } }, - lastOperation: { + message: { readOnly: true, - serializedName: "typeProperties.lastOperation", + serializedName: "message", type: { - name: "Composite", - className: "ManagedIntegrationRuntimeOperationResult", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" } } - }, - additionalProperties: IntegrationRuntimeStatus.type.additionalProperties + } } }; -export const SelfHostedIntegrationRuntimeNode: msRest.CompositeMapper = { - serializedName: "SelfHostedIntegrationRuntimeNode", +export const VulnerabilityAssessmentScanRecord: msRest.CompositeMapper = { + serializedName: "VulnerabilityAssessmentScanRecord", type: { name: "Composite", - className: "SelfHostedIntegrationRuntimeNode", + className: "VulnerabilityAssessmentScanRecord", modelProperties: { - nodeName: { + ...ProxyResource.type.modelProperties, + scanId: { readOnly: true, - serializedName: "nodeName", + serializedName: "properties.scanId", + type: { + name: "String" + } + }, + triggerType: { + readOnly: true, + serializedName: "properties.triggerType", type: { name: "String" } }, - machineName: { + state: { readOnly: true, - serializedName: "machineName", + serializedName: "properties.state", type: { name: "String" } }, - hostServiceUri: { + startTime: { readOnly: true, - serializedName: "hostServiceUri", + serializedName: "properties.startTime", type: { - name: "String" + name: "DateTime" } }, - status: { + endTime: { readOnly: true, - serializedName: "status", + serializedName: "properties.endTime", type: { - name: "String" + name: "DateTime" } }, - capabilities: { + errors: { readOnly: true, - serializedName: "capabilities", + serializedName: "properties.errors", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "VulnerabilityAssessmentScanError" } } } }, - versionStatus: { + storageContainerPath: { readOnly: true, - serializedName: "versionStatus", + serializedName: "properties.storageContainerPath", type: { name: "String" } }, - version: { + numberOfFailedSecurityChecks: { readOnly: true, - serializedName: "version", + serializedName: "properties.numberOfFailedSecurityChecks", type: { - name: "String" + name: "Number" } - }, - registerTime: { - readOnly: true, - serializedName: "registerTime", + } + } + } +}; + +export const SqlPoolSecurityAlertPolicy: msRest.CompositeMapper = { + serializedName: "SqlPoolSecurityAlertPolicy", + type: { + name: "Composite", + className: "SqlPoolSecurityAlertPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + state: { + required: true, + serializedName: "properties.state", type: { - name: "DateTime" + name: "Enum", + allowedValues: [ + "New", + "Enabled", + "Disabled" + ] } }, - lastConnectTime: { - readOnly: true, - serializedName: "lastConnectTime", + disabledAlerts: { + serializedName: "properties.disabledAlerts", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - expiryTime: { - readOnly: true, - serializedName: "expiryTime", + emailAddresses: { + serializedName: "properties.emailAddresses", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - lastStartTime: { - readOnly: true, - serializedName: "lastStartTime", + emailAccountAdmins: { + serializedName: "properties.emailAccountAdmins", type: { - name: "DateTime" + name: "Boolean" } }, - lastStopTime: { - readOnly: true, - serializedName: "lastStopTime", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { - name: "DateTime" + name: "String" } }, - lastUpdateResult: { - readOnly: true, - serializedName: "lastUpdateResult", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - lastStartUpdateTime: { - readOnly: true, - serializedName: "lastStartUpdateTime", + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "DateTime" + name: "Number" } }, - lastEndUpdateTime: { + creationTime: { readOnly: true, - serializedName: "lastEndUpdateTime", + serializedName: "properties.creationTime", type: { name: "DateTime" } - }, - isActiveDispatcher: { - readOnly: true, - serializedName: "isActiveDispatcher", + } + } + } +}; + +export const SqlPoolVulnerabilityAssessmentRuleBaselineItem: msRest.CompositeMapper = { + serializedName: "SqlPoolVulnerabilityAssessmentRuleBaselineItem", + type: { + name: "Composite", + className: "SqlPoolVulnerabilityAssessmentRuleBaselineItem", + modelProperties: { + result: { + required: true, + serializedName: "result", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - concurrentJobsLimit: { - readOnly: true, - serializedName: "concurrentJobsLimit", + } + } + } +}; + +export const SqlPoolVulnerabilityAssessmentRuleBaseline: msRest.CompositeMapper = { + serializedName: "SqlPoolVulnerabilityAssessmentRuleBaseline", + type: { + name: "Composite", + className: "SqlPoolVulnerabilityAssessmentRuleBaseline", + modelProperties: { + ...ProxyResource.type.modelProperties, + baselineResults: { + required: true, + serializedName: "properties.baselineResults", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SqlPoolVulnerabilityAssessmentRuleBaselineItem" + } + } } - }, - maxConcurrentJobs: { + } + } + } +}; + +export const SqlPoolVulnerabilityAssessmentScansExport: msRest.CompositeMapper = { + serializedName: "SqlPoolVulnerabilityAssessmentScansExport", + type: { + name: "Composite", + className: "SqlPoolVulnerabilityAssessmentScansExport", + modelProperties: { + ...ProxyResource.type.modelProperties, + exportedReportLocation: { readOnly: true, - serializedName: "maxConcurrentJobs", + serializedName: "properties.exportedReportLocation", type: { - name: "Number" + name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" + } + } +}; + +export const ResourceMoveDefinition: msRest.CompositeMapper = { + serializedName: "ResourceMoveDefinition", + type: { + name: "Composite", + className: "ResourceMoveDefinition", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } } } } }; -export const LinkedIntegrationRuntime: msRest.CompositeMapper = { - serializedName: "LinkedIntegrationRuntime", +export const CreateSqlPoolRestorePointDefinition: msRest.CompositeMapper = { + serializedName: "CreateSqlPoolRestorePointDefinition", type: { name: "Composite", - className: "LinkedIntegrationRuntime", + className: "CreateSqlPoolRestorePointDefinition", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + restorePointLabel: { + required: true, + serializedName: "restorePointLabel", type: { name: "String" } + } + } + } +}; + +export const WorkloadGroup: msRest.CompositeMapper = { + serializedName: "WorkloadGroup", + type: { + name: "Composite", + className: "WorkloadGroup", + modelProperties: { + ...ProxyResource.type.modelProperties, + minResourcePercent: { + required: true, + serializedName: "properties.minResourcePercent", + type: { + name: "Number" + } }, - subscriptionId: { - readOnly: true, - serializedName: "subscriptionId", + maxResourcePercent: { + required: true, + serializedName: "properties.maxResourcePercent", type: { - name: "String" + name: "Number" } }, - dataFactoryName: { - readOnly: true, - serializedName: "dataFactoryName", + minResourcePercentPerRequest: { + required: true, + serializedName: "properties.minResourcePercentPerRequest", + type: { + name: "Number" + } + }, + maxResourcePercentPerRequest: { + serializedName: "properties.maxResourcePercentPerRequest", type: { - name: "String" + name: "Number" } }, - dataFactoryLocation: { - readOnly: true, - serializedName: "dataFactoryLocation", + importance: { + serializedName: "properties.importance", type: { name: "String" } }, - createTime: { - readOnly: true, - serializedName: "createTime", + queryExecutionTimeout: { + serializedName: "properties.queryExecutionTimeout", type: { - name: "DateTime" + name: "Number" } } } } }; -export const SelfHostedIntegrationRuntimeStatus: msRest.CompositeMapper = { - serializedName: "SelfHosted", +export const WorkloadClassifier: msRest.CompositeMapper = { + serializedName: "WorkloadClassifier", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntimeStatus", - className: "SelfHostedIntegrationRuntimeStatus", + className: "WorkloadClassifier", modelProperties: { - ...IntegrationRuntimeStatus.type.modelProperties, - createTime: { - readOnly: true, - serializedName: "typeProperties.createTime", - type: { - name: "DateTime" - } - }, - taskQueueId: { - readOnly: true, - serializedName: "typeProperties.taskQueueId", + ...ProxyResource.type.modelProperties, + memberName: { + required: true, + serializedName: "properties.memberName", type: { name: "String" } }, - nodeCommunicationChannelEncryptionMode: { - readOnly: true, - serializedName: "typeProperties.nodeCommunicationChannelEncryptionMode", + label: { + serializedName: "properties.label", type: { name: "String" } }, - internalChannelEncryption: { - readOnly: true, - serializedName: "typeProperties.internalChannelEncryption", + context: { + serializedName: "properties.context", type: { name: "String" } }, - version: { - readOnly: true, - serializedName: "typeProperties.version", + startTime: { + serializedName: "properties.startTime", 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", + endTime: { + serializedName: "properties.endTime", type: { name: "String" } }, - localTimeZoneOffset: { - readOnly: true, - serializedName: "typeProperties.localTimeZoneOffset", + importance: { + serializedName: "properties.importance", type: { name: "String" } - }, - capabilities: { - readOnly: true, - serializedName: "typeProperties.capabilities", + } + } + } +}; + +export const DataMaskingPolicy: msRest.CompositeMapper = { + serializedName: "DataMaskingPolicy", + type: { + name: "Composite", + className: "DataMaskingPolicy", + modelProperties: { + ...ProxyResource.type.modelProperties, + dataMaskingState: { + required: true, + serializedName: "properties.dataMaskingState", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Enum", + allowedValues: [ + "Disabled", + "Enabled" + ] } }, - serviceUrls: { - readOnly: true, - serializedName: "typeProperties.serviceUrls", + exemptPrincipals: { + serializedName: "properties.exemptPrincipals", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - autoUpdate: { + applicationPrincipals: { readOnly: true, - serializedName: "typeProperties.autoUpdate", + serializedName: "properties.applicationPrincipals", type: { name: "String" } }, - versionStatus: { + maskingLevel: { readOnly: true, - serializedName: "typeProperties.versionStatus", + serializedName: "properties.maskingLevel", type: { name: "String" } }, - links: { - serializedName: "typeProperties.links", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedIntegrationRuntime" - } - } - } - }, - pushedVersion: { + location: { readOnly: true, - serializedName: "typeProperties.pushedVersion", + serializedName: "location", type: { name: "String" } }, - latestVersion: { + kind: { readOnly: true, - serializedName: "typeProperties.latestVersion", + serializedName: "kind", type: { name: "String" } }, - autoUpdateETA: { + managedBy: { readOnly: true, - serializedName: "typeProperties.autoUpdateETA", + serializedName: "managedBy", type: { - name: "DateTime" + name: "String" } } - }, - additionalProperties: IntegrationRuntimeStatus.type.additionalProperties + } } }; -export const IntegrationRuntimeConnectionInfo: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeConnectionInfo", +export const ExtendedSqlPoolBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedSqlPoolBlobAuditingPolicy", type: { name: "Composite", - className: "IntegrationRuntimeConnectionInfo", + className: "ExtendedSqlPoolBlobAuditingPolicy", modelProperties: { - serviceToken: { - readOnly: true, - serializedName: "serviceToken", + ...ProxyResource.type.modelProperties, + predicateExpression: { + serializedName: "properties.predicateExpression", type: { name: "String" } }, - identityCertThumbprint: { - readOnly: true, - serializedName: "identityCertThumbprint", + state: { + required: true, + serializedName: "properties.state", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - hostServiceUri: { - readOnly: true, - serializedName: "hostServiceUri", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - version: { - readOnly: true, - serializedName: "version", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - publicKey: { - readOnly: true, - serializedName: "publicKey", + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "String" + name: "Number" } }, - isIdentityCertExprired: { - readOnly: true, - serializedName: "isIdentityCertExprired", + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", + type: { + name: "Uuid" + } + }, + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { name: "Boolean" } - } - }, - 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: "Boolean" + } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", type: { - name: "String" + name: "Number" } } } } }; -export const IntegrationRuntimeAuthKeys: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeAuthKeys", +export const DataMaskingRule: msRest.CompositeMapper = { + serializedName: "DataMaskingRule", type: { name: "Composite", - className: "IntegrationRuntimeAuthKeys", + className: "DataMaskingRule", modelProperties: { - authKey1: { - serializedName: "authKey1", + ...ProxyResource.type.modelProperties, + dataMaskingRuleId: { + readOnly: true, + serializedName: "properties.id", type: { name: "String" } }, - authKey2: { - serializedName: "authKey2", + aliasName: { + serializedName: "properties.aliasName", type: { name: "String" } - } - } - } -}; - -export const IntegrationRuntimeNodeMonitoringData: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeNodeMonitoringData", - type: { - name: "Composite", - className: "IntegrationRuntimeNodeMonitoringData", - modelProperties: { - nodeName: { - readOnly: true, - serializedName: "nodeName", + }, + ruleState: { + serializedName: "properties.ruleState", + type: { + name: "Enum", + allowedValues: [ + "Disabled", + "Enabled" + ] + } + }, + schemaName: { + required: true, + serializedName: "properties.schemaName", type: { name: "String" } }, - availableMemoryInMB: { - readOnly: true, - serializedName: "availableMemoryInMB", + tableName: { + required: true, + serializedName: "properties.tableName", type: { - name: "Number" + name: "String" } }, - cpuUtilization: { - readOnly: true, - serializedName: "cpuUtilization", + columnName: { + required: true, + serializedName: "properties.columnName", type: { - name: "Number" + name: "String" } }, - concurrentJobsLimit: { - readOnly: true, - serializedName: "concurrentJobsLimit", + maskingFunction: { + required: true, + serializedName: "properties.maskingFunction", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Default", + "CCN", + "Email", + "Number", + "SSN", + "Text" + ] } }, - concurrentJobsRunning: { - readOnly: true, - serializedName: "concurrentJobsRunning", + numberFrom: { + serializedName: "properties.numberFrom", type: { - name: "Number" + name: "String" } }, - maxConcurrentJobs: { - readOnly: true, - serializedName: "maxConcurrentJobs", + numberTo: { + serializedName: "properties.numberTo", type: { - name: "Number" + name: "String" } }, - sentBytes: { - readOnly: true, - serializedName: "sentBytes", + prefixSize: { + serializedName: "properties.prefixSize", type: { - name: "Number" + name: "String" } }, - receivedBytes: { - readOnly: true, - serializedName: "receivedBytes", + suffixSize: { + serializedName: "properties.suffixSize", type: { - name: "Number" + name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const IntegrationRuntimeMonitoringData: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeMonitoringData", - type: { - name: "Composite", - className: "IntegrationRuntimeMonitoringData", - modelProperties: { - name: { - serializedName: "name", + }, + replacementString: { + serializedName: "properties.replacementString", type: { name: "String" } }, - nodes: { - serializedName: "nodes", + location: { + readOnly: true, + serializedName: "location", 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: { + }, + kind: { readOnly: true, - serializedName: "ipAddress", + serializedName: "kind", type: { name: "String" } @@ -5208,66 +5226,113 @@ export const IntegrationRuntimeNodeIpAddress: msRest.CompositeMapper = { } }; -export const SsisObjectMetadata: msRest.CompositeMapper = { - serializedName: "SsisObjectMetadata", +export const SensitivityLabelUpdate: msRest.CompositeMapper = { + serializedName: "SensitivityLabelUpdate", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SsisObjectMetadata", - className: "SsisObjectMetadata", + className: "SensitivityLabelUpdate", modelProperties: { - id: { - serializedName: "id", + ...ProxyResource.type.modelProperties, + op: { + required: true, + serializedName: "properties.op", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "set", + "remove" + ] } }, - name: { - serializedName: "name", + schema: { + required: true, + serializedName: "properties.schema", type: { name: "String" } }, - description: { - serializedName: "description", + table: { + required: true, + serializedName: "properties.table", type: { name: "String" } }, - type: { + column: { required: true, - serializedName: "type", + serializedName: "properties.column", type: { name: "String" } + }, + sensitivityLabel: { + serializedName: "properties.sensitivityLabel", + type: { + name: "Composite", + className: "SensitivityLabel" + } } } } }; -export const SsisObjectMetadataListResponse: msRest.CompositeMapper = { - serializedName: "SsisObjectMetadataListResponse", +export const SensitivityLabelUpdateList: msRest.CompositeMapper = { + serializedName: "SensitivityLabelUpdateList", type: { name: "Composite", - className: "SsisObjectMetadataListResponse", + className: "SensitivityLabelUpdateList", modelProperties: { - value: { - serializedName: "value", + operations: { + serializedName: "operations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SsisObjectMetadata" + className: "SensitivityLabelUpdate" } } } + } + } + } +}; + +export const RecommendedSensitivityLabelUpdate: msRest.CompositeMapper = { + serializedName: "RecommendedSensitivityLabelUpdate", + type: { + name: "Composite", + className: "RecommendedSensitivityLabelUpdate", + modelProperties: { + ...ProxyResource.type.modelProperties, + op: { + required: true, + serializedName: "properties.op", + type: { + name: "Enum", + allowedValues: [ + "enable", + "disable" + ] + } }, - nextLink: { - serializedName: "nextLink", + schema: { + required: true, + serializedName: "properties.schema", + type: { + name: "String" + } + }, + table: { + required: true, + serializedName: "properties.table", + type: { + name: "String" + } + }, + column: { + required: true, + serializedName: "properties.column", type: { name: "String" } @@ -5276,271 +5341,348 @@ export const SsisObjectMetadataListResponse: msRest.CompositeMapper = { } }; -export const SsisFolder: msRest.CompositeMapper = { - serializedName: "Folder", +export const RecommendedSensitivityLabelUpdateList: msRest.CompositeMapper = { + serializedName: "RecommendedSensitivityLabelUpdateList", type: { name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisFolder", + className: "RecommendedSensitivityLabelUpdateList", modelProperties: { - ...SsisObjectMetadata.type.modelProperties + operations: { + serializedName: "operations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecommendedSensitivityLabelUpdate" + } + } + } + } } } }; -export const SsisEnvironmentReference: msRest.CompositeMapper = { - serializedName: "SsisEnvironmentReference", +export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ServerBlobAuditingPolicy", type: { name: "Composite", - className: "SsisEnvironmentReference", + className: "ServerBlobAuditingPolicy", modelProperties: { - id: { - serializedName: "id", + ...ProxyResource.type.modelProperties, + state: { + required: true, + serializedName: "properties.state", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - environmentFolderName: { - serializedName: "environmentFolderName", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - environmentName: { - serializedName: "environmentName", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { name: "String" } }, - referenceType: { - serializedName: "referenceType", + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "String" + name: "Number" + } + }, + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", + type: { + name: "Uuid" + } + }, + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", + type: { + name: "Boolean" + } + }, + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", + type: { + name: "Boolean" + } + }, + queueDelayMs: { + serializedName: "properties.queueDelayMs", + type: { + name: "Number" } } } } }; -export const SsisParameter: msRest.CompositeMapper = { - serializedName: "SsisParameter", +export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { + serializedName: "ExtendedServerBlobAuditingPolicy", type: { name: "Composite", - className: "SsisParameter", + className: "ExtendedServerBlobAuditingPolicy", modelProperties: { - id: { - serializedName: "id", - type: { - name: "Number" - } - }, - name: { - serializedName: "name", + ...ProxyResource.type.modelProperties, + predicateExpression: { + serializedName: "properties.predicateExpression", type: { name: "String" } }, - description: { - serializedName: "description", + state: { + required: true, + serializedName: "properties.state", type: { - name: "String" + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled" + ] } }, - dataType: { - serializedName: "dataType", + storageEndpoint: { + serializedName: "properties.storageEndpoint", type: { name: "String" } }, - required: { - serializedName: "required", - type: { - name: "Boolean" - } - }, - sensitive: { - serializedName: "sensitive", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { - name: "Boolean" + name: "String" } }, - designDefaultValue: { - serializedName: "designDefaultValue", + retentionDays: { + serializedName: "properties.retentionDays", type: { - name: "String" + name: "Number" } }, - defaultValue: { - serializedName: "defaultValue", + auditActionsAndGroups: { + serializedName: "properties.auditActionsAndGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - sensitiveDefaultValue: { - serializedName: "sensitiveDefaultValue", + storageAccountSubscriptionId: { + serializedName: "properties.storageAccountSubscriptionId", type: { - name: "String" + name: "Uuid" } }, - valueType: { - serializedName: "valueType", + isStorageSecondaryKeyInUse: { + serializedName: "properties.isStorageSecondaryKeyInUse", type: { - name: "String" + name: "Boolean" } }, - valueSet: { - serializedName: "valueSet", + isAzureMonitorTargetEnabled: { + serializedName: "properties.isAzureMonitorTargetEnabled", type: { name: "Boolean" } }, - variable: { - serializedName: "variable", + queueDelayMs: { + serializedName: "properties.queueDelayMs", type: { - name: "String" + name: "Number" } } } } }; -export const SsisProject: msRest.CompositeMapper = { - serializedName: "Project", +export const ServerSecurityAlertPolicy: msRest.CompositeMapper = { + serializedName: "ServerSecurityAlertPolicy", type: { name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisProject", + className: "ServerSecurityAlertPolicy", modelProperties: { - ...SsisObjectMetadata.type.modelProperties, - folderId: { - serializedName: "folderId", - type: { - name: "Number" - } - }, - version: { - serializedName: "version", + ...ProxyResource.type.modelProperties, + state: { + required: true, + serializedName: "properties.state", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "New", + "Enabled", + "Disabled" + ] } }, - environmentRefs: { - serializedName: "environmentRefs", + disabledAlerts: { + serializedName: "properties.disabledAlerts", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SsisEnvironmentReference" + name: "String" } } } }, - parameters: { - serializedName: "parameters", + emailAddresses: { + serializedName: "properties.emailAddresses", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SsisParameter" + 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 SsisPackage: msRest.CompositeMapper = { - serializedName: "Package", - type: { - name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisPackage", +export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessment", + type: { + name: "Composite", + className: "ServerVulnerabilityAssessment", modelProperties: { - ...SsisObjectMetadata.type.modelProperties, - folderId: { - serializedName: "folderId", + ...ProxyResource.type.modelProperties, + storageContainerPath: { + required: true, + serializedName: "properties.storageContainerPath", type: { - name: "Number" + name: "String" } }, - projectVersion: { - serializedName: "projectVersion", + storageContainerSasKey: { + serializedName: "properties.storageContainerSasKey", type: { - name: "Number" + name: "String" } }, - projectId: { - serializedName: "projectId", + storageAccountAccessKey: { + serializedName: "properties.storageAccountAccessKey", type: { - name: "Number" + name: "String" } }, - parameters: { - serializedName: "parameters", + recurringScans: { + serializedName: "properties.recurringScans", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SsisParameter" - } - } + name: "Composite", + className: "VulnerabilityAssessmentRecurringScansProperties" } } } } }; -export const SsisVariable: msRest.CompositeMapper = { - serializedName: "SsisVariable", +export const EncryptionProtector: msRest.CompositeMapper = { + serializedName: "EncryptionProtector", type: { name: "Composite", - className: "SsisVariable", + className: "EncryptionProtector", modelProperties: { - id: { - serializedName: "id", + ...ProxyResource.type.modelProperties, + kind: { + readOnly: true, + serializedName: "kind", type: { - name: "Number" + name: "String" } }, - name: { - serializedName: "name", + location: { + readOnly: true, + serializedName: "location", type: { name: "String" } }, - description: { - serializedName: "description", + subregion: { + readOnly: true, + serializedName: "properties.subregion", type: { name: "String" } }, - dataType: { - serializedName: "dataType", + serverKeyName: { + serializedName: "properties.serverKeyName", type: { name: "String" } }, - sensitive: { - serializedName: "sensitive", + serverKeyType: { + required: true, + serializedName: "properties.serverKeyType", type: { - name: "Boolean" + name: "String" } }, - value: { - serializedName: "value", + uri: { + readOnly: true, + serializedName: "properties.uri", type: { name: "String" } }, - sensitiveValue: { - serializedName: "sensitiveValue", + thumbprint: { + readOnly: true, + serializedName: "properties.thumbprint", type: { name: "String" } @@ -5549,91 +5691,134 @@ export const SsisVariable: msRest.CompositeMapper = { } }; -export const SsisEnvironment: msRest.CompositeMapper = { - serializedName: "Environment", +export const ServerUsage: msRest.CompositeMapper = { + serializedName: "ServerUsage", type: { name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisEnvironment", + className: "ServerUsage", modelProperties: { - ...SsisObjectMetadata.type.modelProperties, - folderId: { - serializedName: "folderId", + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + resourceName: { + readOnly: true, + serializedName: "resourceName", + type: { + name: "String" + } + }, + displayName: { + readOnly: true, + serializedName: "displayName", + type: { + name: "String" + } + }, + currentValue: { + readOnly: true, + serializedName: "currentValue", type: { name: "Number" } }, - variables: { - serializedName: "variables", + limit: { + readOnly: true, + serializedName: "limit", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SsisVariable" - } - } + name: "Number" + } + }, + unit: { + readOnly: true, + serializedName: "unit", + type: { + name: "String" + } + }, + nextResetTime: { + readOnly: true, + serializedName: "nextResetTime", + type: { + name: "DateTime" } } } } }; -export const UpdateIntegrationRuntimeRequest: msRest.CompositeMapper = { - serializedName: "UpdateIntegrationRuntimeRequest", +export const RecoverableSqlPool: msRest.CompositeMapper = { + serializedName: "RecoverableSqlPool", type: { name: "Composite", - className: "UpdateIntegrationRuntimeRequest", + className: "RecoverableSqlPool", modelProperties: { - autoUpdate: { - serializedName: "autoUpdate", + ...ProxyResource.type.modelProperties, + edition: { + readOnly: true, + serializedName: "properties.edition", type: { name: "String" } }, - updateDelayOffset: { - serializedName: "updateDelayOffset", + serviceLevelObjective: { + readOnly: true, + serializedName: "properties.serviceLevelObjective", + type: { + name: "String" + } + }, + elasticPoolName: { + readOnly: true, + serializedName: "properties.elasticPoolName", type: { name: "String" } + }, + lastAvailableBackupDate: { + readOnly: true, + serializedName: "properties.lastAvailableBackupDate", + type: { + name: "DateTime" + } } } } }; -export const IntegrationRuntimeResource: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeResource", +export const DataLakeStorageAccountDetails: msRest.CompositeMapper = { + serializedName: "DataLakeStorageAccountDetails", type: { name: "Composite", - className: "IntegrationRuntimeResource", + className: "DataLakeStorageAccountDetails", modelProperties: { - ...SubResource.type.modelProperties, - properties: { - required: true, - serializedName: "properties", + accountUrl: { + serializedName: "accountUrl", type: { - name: "Composite", - className: "IntegrationRuntime", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" + } + }, + filesystem: { + serializedName: "filesystem", + type: { + name: "String" } } } } }; -export const GetSsisObjectMetadataRequest: msRest.CompositeMapper = { - serializedName: "GetSsisObjectMetadataRequest", +export const VirtualNetworkProfile: msRest.CompositeMapper = { + serializedName: "VirtualNetworkProfile", type: { name: "Composite", - className: "GetSsisObjectMetadataRequest", + className: "VirtualNetworkProfile", modelProperties: { - metadataPath: { - serializedName: "metadataPath", + computeSubnetId: { + serializedName: "computeSubnetId", type: { name: "String" } @@ -5642,117 +5827,96 @@ export const GetSsisObjectMetadataRequest: msRest.CompositeMapper = { } }; -export const UpdateIntegrationRuntimeNodeRequest: msRest.CompositeMapper = { - serializedName: "UpdateIntegrationRuntimeNodeRequest", +export const WorkspaceKeyDetails: msRest.CompositeMapper = { + serializedName: "WorkspaceKeyDetails", type: { name: "Composite", - className: "UpdateIntegrationRuntimeNodeRequest", + className: "WorkspaceKeyDetails", modelProperties: { - concurrentJobsLimit: { - serializedName: "concurrentJobsLimit", - constraints: { - InclusiveMinimum: 1 - }, + name: { + serializedName: "name", type: { - name: "Number" + name: "String" + } + }, + keyVaultUrl: { + serializedName: "keyVaultUrl", + type: { + name: "String" } } } } }; -export const IntegrationRuntimeStatusResponse: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeStatusResponse", +export const CustomerManagedKeyDetails: msRest.CompositeMapper = { + serializedName: "CustomerManagedKeyDetails", type: { name: "Composite", - className: "IntegrationRuntimeStatusResponse", + className: "CustomerManagedKeyDetails", modelProperties: { - name: { + status: { readOnly: true, - serializedName: "name", + serializedName: "status", type: { name: "String" } }, - properties: { - required: true, - serializedName: "properties", + key: { + serializedName: "key", type: { name: "Composite", - className: "IntegrationRuntimeStatus", - additionalProperties: { - type: { - name: "Object" - } - } + className: "WorkspaceKeyDetails" } } } } }; -export const SsisObjectMetadataStatusResponse: msRest.CompositeMapper = { - serializedName: "SsisObjectMetadataStatusResponse", +export const EncryptionDetails: msRest.CompositeMapper = { + serializedName: "EncryptionDetails", type: { name: "Composite", - className: "SsisObjectMetadataStatusResponse", + className: "EncryptionDetails", modelProperties: { - status: { - serializedName: "status", - type: { - name: "String" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", + doubleEncryptionEnabled: { + readOnly: true, + serializedName: "doubleEncryptionEnabled", type: { - name: "String" + name: "Boolean" } }, - error: { - serializedName: "error", + cmk: { + serializedName: "cmk", type: { - name: "String" + name: "Composite", + className: "CustomerManagedKeyDetails" } } } } }; -export const PrivateLinkResourceProperties: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceProperties", +export const ManagedVirtualNetworkSettings: msRest.CompositeMapper = { + serializedName: "ManagedVirtualNetworkSettings", type: { name: "Composite", - className: "PrivateLinkResourceProperties", + className: "ManagedVirtualNetworkSettings", modelProperties: { - groupId: { - readOnly: true, - serializedName: "groupId", + preventDataExfiltration: { + serializedName: "preventDataExfiltration", type: { - name: "String" + name: "Boolean" } }, - requiredMembers: { - readOnly: true, - serializedName: "requiredMembers", + linkedAccessCheckOnTargetResource: { + serializedName: "linkedAccessCheckOnTargetResource", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" } }, - requiredZoneNames: { - readOnly: true, - serializedName: "requiredZoneNames", + allowedAadTenantIdsForLinking: { + serializedName: "allowedAadTenantIdsForLinking", type: { name: "Sequence", element: { @@ -5766,578 +5930,702 @@ export const PrivateLinkResourceProperties: msRest.CompositeMapper = { } }; -export const PrivateLinkResource: msRest.CompositeMapper = { - serializedName: "PrivateLinkResource", +export const WorkspaceRepositoryConfiguration: msRest.CompositeMapper = { + serializedName: "WorkspaceRepositoryConfiguration", type: { name: "Composite", - className: "PrivateLinkResource", + className: "WorkspaceRepositoryConfiguration", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - readOnly: true, - serializedName: "properties", + type: { + serializedName: "type", type: { - name: "Composite", - className: "PrivateLinkResourceProperties" + name: "String" } - } - } - } -}; - -export const PrivateEndpointConnectionForPrivateLinkHubBasic: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionForPrivateLinkHubBasic", - type: { - name: "Composite", - className: "PrivateEndpointConnectionForPrivateLinkHubBasic", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", + }, + hostName: { + serializedName: "hostName", type: { name: "String" } }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + accountName: { + serializedName: "accountName", type: { - name: "Composite", - className: "PrivateEndpoint" + name: "String" } }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + projectName: { + serializedName: "projectName", type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState" + name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + repositoryName: { + serializedName: "repositoryName", + type: { + name: "String" + } + }, + collaborationBranch: { + serializedName: "collaborationBranch", + type: { + name: "String" + } + }, + rootFolder: { + serializedName: "rootFolder", + type: { + name: "String" + } + }, + lastCommitId: { + serializedName: "lastCommitId", type: { name: "String" } + }, + tenantId: { + serializedName: "tenantId", + type: { + name: "Uuid" + } } } } }; -export const PrivateLinkHub: msRest.CompositeMapper = { - serializedName: "PrivateLinkHub", +export const PurviewConfiguration: msRest.CompositeMapper = { + serializedName: "PurviewConfiguration", type: { name: "Composite", - className: "PrivateLinkHub", + className: "PurviewConfiguration", modelProperties: { - ...TrackedResource.type.modelProperties, - provisioningState: { - serializedName: "properties.provisioningState", + purviewResourceId: { + serializedName: "purviewResourceId", type: { name: "String" } - }, - privateEndpointConnections: { - readOnly: true, - serializedName: "properties.privateEndpointConnections", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnectionForPrivateLinkHubBasic" - } - } - } } } } }; -export const PrivateLinkHubPatchInfo: msRest.CompositeMapper = { - serializedName: "PrivateLinkHubPatchInfo", +export const NetworkSettings: msRest.CompositeMapper = { + serializedName: "NetworkSettings", type: { name: "Composite", - className: "PrivateLinkHubPatchInfo", + className: "NetworkSettings", modelProperties: { - tags: { - serializedName: "tags", + publicNetworkAccess: { + serializedName: "publicNetworkAccess", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const PrivateEndpointConnectionForPrivateLinkHub: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionForPrivateLinkHub", +export const ManagedIdentity: msRest.CompositeMapper = { + serializedName: "ManagedIdentity", type: { name: "Composite", - className: "PrivateEndpointConnectionForPrivateLinkHub", + className: "ManagedIdentity", modelProperties: { - ...PrivateEndpointConnectionForPrivateLinkHubBasic.type.modelProperties, - name: { - serializedName: "name", + principalId: { + readOnly: true, + serializedName: "principalId", type: { name: "String" } }, + tenantId: { + readOnly: true, + serializedName: "tenantId", + type: { + name: "Uuid" + } + }, type: { serializedName: "type", type: { - name: "String" + name: "Enum", + allowedValues: [ + "None", + "SystemAssigned" + ] } } } } }; -export const ServerBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ServerBlobAuditingPolicy", +export const Workspace: msRest.CompositeMapper = { + serializedName: "Workspace", type: { name: "Composite", - className: "ServerBlobAuditingPolicy", + className: "Workspace", modelProperties: { - ...ProxyResource.type.modelProperties, - state: { - required: true, - serializedName: "properties.state", + ...TrackedResource.type.modelProperties, + defaultDataLakeStorage: { + serializedName: "properties.defaultDataLakeStorage", type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] + name: "Composite", + className: "DataLakeStorageAccountDetails" } }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + sqlAdministratorLoginPassword: { + serializedName: "properties.sqlAdministratorLoginPassword", + type: { + name: "String" + } + }, + managedResourceGroupName: { + serializedName: "properties.managedResourceGroupName", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + sqlAdministratorLogin: { + serializedName: "properties.sqlAdministratorLogin", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + virtualNetworkProfile: { + serializedName: "properties.virtualNetworkProfile", + type: { + name: "Composite", + className: "VirtualNetworkProfile" + } + }, + connectivityEndpoints: { + serializedName: "properties.connectivityEndpoints", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + managedVirtualNetwork: { + serializedName: "properties.managedVirtualNetwork", type: { name: "String" } }, - retentionDays: { - serializedName: "properties.retentionDays", - type: { - name: "Number" - } - }, - auditActionsAndGroups: { - serializedName: "properties.auditActionsAndGroups", + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "PrivateEndpointConnection" } } } }, - storageAccountSubscriptionId: { - serializedName: "properties.storageAccountSubscriptionId", + encryption: { + serializedName: "properties.encryption", type: { - name: "Uuid" + name: "Composite", + className: "EncryptionDetails" } }, - isStorageSecondaryKeyInUse: { - serializedName: "properties.isStorageSecondaryKeyInUse", + workspaceUID: { + readOnly: true, + serializedName: "properties.workspaceUID", type: { - name: "Boolean" + name: "Uuid" } }, - isAzureMonitorTargetEnabled: { - serializedName: "properties.isAzureMonitorTargetEnabled", + extraProperties: { + readOnly: true, + serializedName: "properties.extraProperties", type: { - name: "Boolean" + name: "Dictionary", + value: { + type: { + name: "Object" + } + } } }, - queueDelayMs: { - serializedName: "properties.queueDelayMs", - type: { - name: "Number" - } - } - } - } -}; - -export const ExtendedServerBlobAuditingPolicy: msRest.CompositeMapper = { - serializedName: "ExtendedServerBlobAuditingPolicy", - type: { - name: "Composite", - className: "ExtendedServerBlobAuditingPolicy", - modelProperties: { - ...ProxyResource.type.modelProperties, - predicateExpression: { - serializedName: "properties.predicateExpression", + managedVirtualNetworkSettings: { + serializedName: "properties.managedVirtualNetworkSettings", type: { - name: "String" + name: "Composite", + className: "ManagedVirtualNetworkSettings" } }, - state: { - required: true, - serializedName: "properties.state", + workspaceRepositoryConfiguration: { + serializedName: "properties.workspaceRepositoryConfiguration", type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] + name: "Composite", + className: "WorkspaceRepositoryConfiguration" } }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + purviewConfiguration: { + serializedName: "properties.purviewConfiguration", type: { - name: "String" + name: "Composite", + className: "PurviewConfiguration" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + adlaResourceId: { + readOnly: true, + serializedName: "properties.adlaResourceId", type: { name: "String" } }, - retentionDays: { - serializedName: "properties.retentionDays", + networkSettings: { + serializedName: "properties.networkSettings", type: { - name: "Number" + name: "Composite", + className: "NetworkSettings" } }, - auditActionsAndGroups: { - serializedName: "properties.auditActionsAndGroups", + identity: { + serializedName: "identity", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ManagedIdentity" } - }, - storageAccountSubscriptionId: { - serializedName: "properties.storageAccountSubscriptionId", + } + } + } +}; + +export const WorkspaceAadAdminInfo: msRest.CompositeMapper = { + serializedName: "WorkspaceAadAdminInfo", + type: { + name: "Composite", + className: "WorkspaceAadAdminInfo", + modelProperties: { + tenantId: { + serializedName: "properties.tenantId", type: { - name: "Uuid" + name: "String" } }, - isStorageSecondaryKeyInUse: { - serializedName: "properties.isStorageSecondaryKeyInUse", + login: { + serializedName: "properties.login", type: { - name: "Boolean" + name: "String" } }, - isAzureMonitorTargetEnabled: { - serializedName: "properties.isAzureMonitorTargetEnabled", + administratorType: { + serializedName: "properties.administratorType", type: { - name: "Boolean" + name: "String" } }, - queueDelayMs: { - serializedName: "properties.queueDelayMs", + sid: { + serializedName: "properties.sid", type: { - name: "Number" + name: "String" } } } } }; -export const ServerSecurityAlertPolicy: msRest.CompositeMapper = { - serializedName: "ServerSecurityAlertPolicy", +export const WorkspacePatchInfo: msRest.CompositeMapper = { + serializedName: "WorkspacePatchInfo", type: { name: "Composite", - className: "ServerSecurityAlertPolicy", + className: "WorkspacePatchInfo", modelProperties: { - ...ProxyResource.type.modelProperties, - state: { - required: true, - serializedName: "properties.state", - type: { - name: "Enum", - allowedValues: [ - "New", - "Enabled", - "Disabled" - ] - } - }, - disabledAlerts: { - serializedName: "properties.disabledAlerts", + tags: { + serializedName: "tags", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { name: "String" } } } }, - emailAddresses: { - serializedName: "properties.emailAddresses", + identity: { + serializedName: "identity", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "ManagedIdentity" } }, - emailAccountAdmins: { - serializedName: "properties.emailAccountAdmins", + sqlAdministratorLoginPassword: { + serializedName: "properties.sqlAdministratorLoginPassword", type: { - name: "Boolean" + name: "String" } }, - storageEndpoint: { - serializedName: "properties.storageEndpoint", + managedVirtualNetworkSettings: { + serializedName: "properties.managedVirtualNetworkSettings", type: { - name: "String" + name: "Composite", + className: "ManagedVirtualNetworkSettings" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + workspaceRepositoryConfiguration: { + serializedName: "properties.workspaceRepositoryConfiguration", type: { - name: "String" + name: "Composite", + className: "WorkspaceRepositoryConfiguration" } }, - retentionDays: { - serializedName: "properties.retentionDays", + purviewConfiguration: { + serializedName: "properties.purviewConfiguration", type: { - name: "Number" + name: "Composite", + className: "PurviewConfiguration" } }, - creationTime: { + provisioningState: { readOnly: true, - serializedName: "properties.creationTime", + serializedName: "properties.provisioningState", type: { - name: "DateTime" + name: "String" + } + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "EncryptionDetails" + } + }, + networkSettings: { + serializedName: "properties.networkSettings", + type: { + name: "Composite", + className: "NetworkSettings" } } } } }; -export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessment", +export const ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity: msRest.CompositeMapper = { + serializedName: "ManagedIdentitySqlControlSettingsModel_properties_grantSqlControlToManagedIdentity", type: { name: "Composite", - className: "ServerVulnerabilityAssessment", + className: "ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity", modelProperties: { - ...ProxyResource.type.modelProperties, - storageContainerPath: { - required: true, - serializedName: "properties.storageContainerPath", - type: { - name: "String" - } - }, - storageContainerSasKey: { - serializedName: "properties.storageContainerSasKey", + desiredState: { + serializedName: "desiredState", type: { name: "String" } }, - storageAccountAccessKey: { - serializedName: "properties.storageAccountAccessKey", + actualState: { + readOnly: true, + serializedName: "actualState", type: { name: "String" } - }, - recurringScans: { - serializedName: "properties.recurringScans", + } + } + } +}; + +export const ManagedIdentitySqlControlSettingsModel: msRest.CompositeMapper = { + serializedName: "ManagedIdentitySqlControlSettingsModel", + type: { + name: "Composite", + className: "ManagedIdentitySqlControlSettingsModel", + modelProperties: { + ...ProxyResource.type.modelProperties, + grantSqlControlToManagedIdentity: { + serializedName: "properties.grantSqlControlToManagedIdentity", type: { name: "Composite", - className: "VulnerabilityAssessmentRecurringScansProperties" + className: "ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity" } } } } }; -export const EncryptionProtector: msRest.CompositeMapper = { - serializedName: "EncryptionProtector", +export const RestorableDroppedSqlPool: msRest.CompositeMapper = { + serializedName: "RestorableDroppedSqlPool", type: { name: "Composite", - className: "EncryptionProtector", + className: "RestorableDroppedSqlPool", modelProperties: { ...ProxyResource.type.modelProperties, - kind: { + location: { readOnly: true, - serializedName: "kind", + serializedName: "location", type: { name: "String" } }, - location: { + databaseName: { readOnly: true, - serializedName: "location", + serializedName: "properties.databaseName", type: { name: "String" } }, - subregion: { + edition: { readOnly: true, - serializedName: "properties.subregion", + serializedName: "properties.edition", type: { name: "String" } }, - serverKeyName: { - serializedName: "properties.serverKeyName", + maxSizeBytes: { + readOnly: true, + serializedName: "properties.maxSizeBytes", type: { name: "String" } }, - serverKeyType: { - required: true, - serializedName: "properties.serverKeyType", + serviceLevelObjective: { + readOnly: true, + serializedName: "properties.serviceLevelObjective", type: { name: "String" } }, - uri: { + elasticPoolName: { readOnly: true, - serializedName: "properties.uri", + serializedName: "properties.elasticPoolName", type: { name: "String" } }, - thumbprint: { + creationDate: { readOnly: true, - serializedName: "properties.thumbprint", + serializedName: "properties.creationDate", type: { - name: "String" + name: "DateTime" + } + }, + deletionDate: { + readOnly: true, + serializedName: "properties.deletionDate", + type: { + name: "DateTime" + } + }, + earliestRestoreDate: { + readOnly: true, + serializedName: "properties.earliestRestoreDate", + type: { + name: "DateTime" } } } } }; -export const ServerUsage: msRest.CompositeMapper = { - serializedName: "ServerUsage", +export const BigDataPoolResourceInfoListResult: msRest.CompositeMapper = { + serializedName: "BigDataPoolResourceInfoListResult", type: { name: "Composite", - className: "ServerUsage", + className: "BigDataPoolResourceInfoListResult", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + nextLink: { + serializedName: "nextLink", type: { name: "String" } }, - resourceName: { - readOnly: true, - serializedName: "resourceName", + value: { + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BigDataPoolResourceInfo" + } + } } - }, - displayName: { - readOnly: true, - serializedName: "displayName", + } + } + } +}; + +export const IpFirewallRuleInfoListResult: msRest.CompositeMapper = { + serializedName: "IpFirewallRuleInfoListResult", + type: { + name: "Composite", + className: "IpFirewallRuleInfoListResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { name: "String" } }, - currentValue: { - readOnly: true, - serializedName: "currentValue", + value: { + serializedName: "", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IpFirewallRuleInfo" + } + } } - }, - limit: { - readOnly: true, - serializedName: "limit", + } + } + } +}; + +export const IntegrationRuntimeListResponse: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeListResponse", + type: { + name: "Composite", + className: "IntegrationRuntimeListResponse", + modelProperties: { + value: { + required: true, + serializedName: "", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationRuntimeResource" + } + } } }, - unit: { - readOnly: true, - serializedName: "unit", + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const KeyInfoListResult: msRest.CompositeMapper = { + serializedName: "KeyInfoListResult", + type: { + name: "Composite", + className: "KeyInfoListResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { name: "String" } }, - nextResetTime: { - readOnly: true, - serializedName: "nextResetTime", + value: { + serializedName: "", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Key" + } + } } } } } }; -export const RecoverableSqlPool: msRest.CompositeMapper = { - serializedName: "RecoverableSqlPool", +export const LibraryListResponse: msRest.CompositeMapper = { + serializedName: "LibraryListResponse", type: { name: "Composite", - className: "RecoverableSqlPool", + className: "LibraryListResponse", modelProperties: { - ...ProxyResource.type.modelProperties, - edition: { - readOnly: true, - serializedName: "properties.edition", + value: { + required: true, + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LibraryResource" + } + } } }, - serviceLevelObjective: { - readOnly: true, - serializedName: "properties.serviceLevelObjective", + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - elasticPoolName: { + } + } + } +}; + +export const PrivateEndpointConnectionList: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionList", + type: { + name: "Composite", + className: "PrivateEndpointConnectionList", + modelProperties: { + value: { readOnly: true, - serializedName: "properties.elasticPoolName", + serializedName: "", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } } }, - lastAvailableBackupDate: { + nextLink: { readOnly: true, - serializedName: "properties.lastAvailableBackupDate", + serializedName: "nextLink", type: { - name: "DateTime" + name: "String" } } } } }; -export const Key: msRest.CompositeMapper = { - serializedName: "Key", +export const PrivateLinkResourceListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourceListResult", type: { name: "Composite", - className: "Key", + className: "PrivateLinkResourceListResult", modelProperties: { - ...ProxyResource.type.modelProperties, - isActiveCMK: { - serializedName: "properties.isActiveCMK", + value: { + readOnly: true, + serializedName: "", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource" + } + } } }, - keyVaultUrl: { - serializedName: "properties.keyVaultUrl", + nextLink: { + readOnly: true, + serializedName: "nextLink", type: { name: "String" } @@ -6346,11 +6634,11 @@ export const Key: msRest.CompositeMapper = { } }; -export const BigDataPoolResourceInfoListResult: msRest.CompositeMapper = { - serializedName: "BigDataPoolResourceInfoListResult", +export const PrivateLinkHubInfoListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkHubInfoListResult", type: { name: "Composite", - className: "BigDataPoolResourceInfoListResult", + className: "PrivateLinkHubInfoListResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -6365,7 +6653,7 @@ export const BigDataPoolResourceInfoListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "BigDataPoolResourceInfo" + className: "PrivateLinkHub" } } } @@ -6374,18 +6662,12 @@ export const BigDataPoolResourceInfoListResult: msRest.CompositeMapper = { } }; -export const IpFirewallRuleInfoListResult: msRest.CompositeMapper = { - serializedName: "IpFirewallRuleInfoListResult", +export const PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionForPrivateLinkHub_ResourceCollectionResponse", type: { name: "Composite", - className: "IpFirewallRuleInfoListResult", + className: "PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse", modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - }, value: { serializedName: "", type: { @@ -6393,10 +6675,16 @@ export const IpFirewallRuleInfoListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "IpFirewallRuleInfo" + className: "PrivateEndpointConnectionForPrivateLinkHub" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } @@ -6953,202 +7241,6 @@ export const WorkloadClassifierListResult: 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 RestorableDroppedSqlPoolListResult: msRest.CompositeMapper = { - serializedName: "RestorableDroppedSqlPoolListResult", - type: { - name: "Composite", - className: "RestorableDroppedSqlPoolListResult", - modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RestorableDroppedSqlPool" - } - } - } - } - } - } -}; - -export const IntegrationRuntimeListResponse: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeListResponse", - type: { - name: "Composite", - className: "IntegrationRuntimeListResponse", - modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IntegrationRuntimeResource" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const PrivateLinkResourceListResult: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceListResult", - type: { - name: "Composite", - className: "PrivateLinkResourceListResult", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkResource" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const PrivateEndpointConnectionList: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionList", - type: { - name: "Composite", - className: "PrivateEndpointConnectionList", - modelProperties: { - value: { - readOnly: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const PrivateLinkHubInfoListResult: msRest.CompositeMapper = { - serializedName: "PrivateLinkHubInfoListResult", - type: { - name: "Composite", - className: "PrivateLinkHubInfoListResult", - modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - }, - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkHub" - } - } - } - } - } - } -}; - -export const PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionForPrivateLinkHub_ResourceCollectionResponse", - type: { - name: "Composite", - className: "PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnectionForPrivateLinkHub" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const ServerBlobAuditingPolicyListResult: msRest.CompositeMapper = { serializedName: "ServerBlobAuditingPolicyListResult", type: { @@ -7359,11 +7451,11 @@ export const RecoverableSqlPoolListResult: msRest.CompositeMapper = { } }; -export const KeyInfoListResult: msRest.CompositeMapper = { - serializedName: "KeyInfoListResult", +export const WorkspaceInfoListResult: msRest.CompositeMapper = { + serializedName: "WorkspaceInfoListResult", type: { name: "Composite", - className: "KeyInfoListResult", + className: "WorkspaceInfoListResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -7378,7 +7470,30 @@ export const KeyInfoListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Key" + className: "Workspace" + } + } + } + } + } + } +}; + +export const RestorableDroppedSqlPoolListResult: msRest.CompositeMapper = { + serializedName: "RestorableDroppedSqlPoolListResult", + type: { + name: "Composite", + className: "RestorableDroppedSqlPoolListResult", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RestorableDroppedSqlPool" } } } diff --git a/sdk/synapse/arm-synapse/src/models/parameters.ts b/sdk/synapse/arm-synapse/src/models/parameters.ts index b25aad27fa71..94ee34b3d1d6 100644 --- a/sdk/synapse/arm-synapse/src/models/parameters.ts +++ b/sdk/synapse/arm-synapse/src/models/parameters.ts @@ -229,6 +229,16 @@ export const keyName: msRest.OperationURLParameter = { } } }; +export const libraryName: msRest.OperationURLParameter = { + parameterPath: "libraryName", + mapper: { + required: true, + serializedName: "libraryName", + type: { + name: "String" + } + } +}; export const linkId: msRest.OperationURLParameter = { parameterPath: "linkId", mapper: { diff --git a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts index 4186c42f29e2..c85612f6d3dc 100644 --- a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, OperationResource, PrivateEndpoint, PrivateEndpointConnection, diff --git a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts index 5fb75826bd0f..4c80599c7d95 100644 --- a/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateEndpointConnectionsPrivateLinkHubMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/privateLinkHubPrivateLinkResourcesMappers.ts b/sdk/synapse/arm-synapse/src/models/privateLinkHubPrivateLinkResourcesMappers.ts index 2b6e65873c84..098962ed4495 100644 --- a/sdk/synapse/arm-synapse/src/models/privateLinkHubPrivateLinkResourcesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateLinkHubPrivateLinkResourcesMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts b/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts index 1c8fe55a5388..ea0560f0df15 100644 --- a/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateLinkHubsMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts b/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts index 2b6e65873c84..098962ed4495 100644 --- a/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/privateLinkResourcesMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts index cee1bb7f0980..47889b6184e8 100644 --- a/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/restorableDroppedSqlPoolsMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts index a86de7c4bd03..8b089cb0e8ae 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolBlobAuditingPoliciesMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts index 89b8f43a8797..093cd4e21f4d 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolColumnsMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts index 38c66f693fcd..be77ba540f28 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolConnectionPoliciesMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts index 89b8f43a8797..093cd4e21f4d 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolDataWarehouseUserActivitiesMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts index a3827e96a5ab..40388856d9ac 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolGeoBackupPoliciesMappers.ts @@ -46,6 +46,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -58,6 +59,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowOptionsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowOptionsMappers.ts index 89b8f43a8797..093cd4e21f4d 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowOptionsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowOptionsMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowsMappers.ts index 654aef91e015..a73a729a491d 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolMaintenanceWindowsMappers.ts @@ -46,6 +46,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -58,6 +59,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts index 38c66f693fcd..be77ba540f28 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolMetadataSyncConfigsMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts index e252667a27af..3c3125aa0966 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolOperationsMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolRecommendedSensitivityLabelsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolRecommendedSensitivityLabelsMappers.ts index 51f1ad45b4f1..f36006ca3445 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolRecommendedSensitivityLabelsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolRecommendedSensitivityLabelsMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts index c8b8ece78c72..ca5bb373cfce 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolReplicationLinksMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts index accd3597248e..dd823fec5581 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolRestorePointsMappers.ts @@ -47,6 +47,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -59,6 +60,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts index 08ee7ed86d50..a12d1b0cb32f 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSchemasMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts index 09ba5e23f2cc..eac063f321fc 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSecurityAlertPoliciesMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -56,6 +57,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts index 8b6b1773f583..e9c697949bf1 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolSensitivityLabelsMappers.ts @@ -46,6 +46,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -58,6 +59,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts index 56a497812299..546c1a3fd7a7 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTableColumnsMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts index 495ecf0083f6..1f896bb4ac25 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTablesMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts index d5610bebae8f..ba5d1055cd61 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolTransparentDataEncryptionsMappers.ts @@ -46,6 +46,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -58,6 +59,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts index 89b8f43a8797..093cd4e21f4d 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentRuleBaselinesMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts index 46463a12d002..a870e806e343 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentScansMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts index 4d97eb59d199..d801e4ea9ccb 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolVulnerabilityAssessmentsMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts index afd537020e73..5b7713763475 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadClassifierMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts index fb9267013b5b..248699fd0a02 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolWorkloadGroupMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts index ec2fcd1339de..cfc655073d54 100644 --- a/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/sqlPoolsMappers.ts @@ -46,6 +46,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -58,6 +59,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts index 38c66f693fcd..be77ba540f28 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceAadAdminsMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts index 38c66f693fcd..be77ba540f28 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedIdentitySqlControlSettingsMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts index 2a62a89e8f4b..aaa530f320ed 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerBlobAuditingPoliciesMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts index 5946392491d7..c25948bac591 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerEncryptionProtectorMappers.ts @@ -47,6 +47,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -59,6 +60,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts index 84b37a3d0ff7..281330a67765 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerExtendedBlobAuditingPoliciesMappers.ts @@ -44,6 +44,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -56,6 +57,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlPoolsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlPoolsMappers.ts index 6eb32fcbd6f9..e8b513ef7dcd 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlPoolsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerRecoverableSqlPoolsMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts index 573deb69614b..076392888edb 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerSecurityAlertPolicyMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts index d1179c38dc47..31443db15cba 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceManagedSqlServerVulnerabilityAssessmentsMappers.ts @@ -43,6 +43,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -55,6 +56,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts b/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts index 38c66f693fcd..be77ba540f28 100644 --- a/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspaceSqlAadAdminsMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts b/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts index f0166fa06d2e..f9b0456983e6 100644 --- a/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts +++ b/sdk/synapse/arm-synapse/src/models/workspacesMappers.ts @@ -45,6 +45,7 @@ export { Key, LibraryInfo, LibraryRequirements, + LibraryResource, LinkedIntegrationRuntimeKeyAuthorization, LinkedIntegrationRuntimeRbacAuthorization, LinkedIntegrationRuntimeType, @@ -57,6 +58,7 @@ export { ManagedIntegrationRuntime, ManagedVirtualNetworkSettings, MetadataSyncConfig, + NetworkSettings, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionForPrivateLinkHub, diff --git a/sdk/synapse/arm-synapse/src/operations/index.ts b/sdk/synapse/arm-synapse/src/operations/index.ts index 6484f72effbc..3ac30c608616 100644 --- a/sdk/synapse/arm-synapse/src/operations/index.ts +++ b/sdk/synapse/arm-synapse/src/operations/index.ts @@ -10,6 +10,23 @@ export * from "./bigDataPools"; export * from "./operations"; export * from "./ipFirewallRules"; +export * from "./integrationRuntimes"; +export * from "./integrationRuntimeNodeIpAddressOperations"; +export * from "./integrationRuntimeObjectMetadata"; +export * from "./integrationRuntimeNodes"; +export * from "./integrationRuntimeCredentials"; +export * from "./integrationRuntimeConnectionInfos"; +export * from "./integrationRuntimeAuthKeysOperations"; +export * from "./integrationRuntimeMonitoringDataOperations"; +export * from "./integrationRuntimeStatusOperations"; +export * from "./keys"; +export * from "./library"; +export * from "./libraries"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./privateLinkHubPrivateLinkResources"; +export * from "./privateLinkHubs"; +export * from "./privateEndpointConnectionsPrivateLinkHub"; export * from "./sqlPools"; export * from "./sqlPoolMetadataSyncConfigs"; export * from "./sqlPoolOperationResults"; @@ -39,25 +56,6 @@ 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"; -export * from "./integrationRuntimeNodes"; -export * from "./integrationRuntimeCredentials"; -export * from "./integrationRuntimeConnectionInfos"; -export * from "./integrationRuntimeAuthKeysOperations"; -export * from "./integrationRuntimeMonitoringDataOperations"; -export * from "./integrationRuntimeStatusOperations"; -export * from "./privateLinkResources"; -export * from "./privateLinkHubPrivateLinkResources"; -export * from "./privateEndpointConnections"; -export * from "./privateLinkHubs"; -export * from "./privateEndpointConnectionsPrivateLinkHub"; export * from "./workspaceManagedSqlServerBlobAuditingPolicies"; export * from "./workspaceManagedSqlServerExtendedBlobAuditingPolicies"; export * from "./workspaceManagedSqlServerSecurityAlertPolicy"; @@ -65,4 +63,8 @@ export * from "./workspaceManagedSqlServerVulnerabilityAssessments"; export * from "./workspaceManagedSqlServerEncryptionProtector"; export * from "./workspaceManagedSqlServerUsages"; export * from "./workspaceManagedSqlServerRecoverableSqlPools"; -export * from "./keys"; +export * from "./workspaces"; +export * from "./workspaceAadAdmins"; +export * from "./workspaceSqlAadAdmins"; +export * from "./workspaceManagedIdentitySqlControlSettings"; +export * from "./restorableDroppedSqlPools"; diff --git a/sdk/synapse/arm-synapse/src/operations/libraries.ts b/sdk/synapse/arm-synapse/src/operations/libraries.ts new file mode 100644 index 000000000000..72a575f9b69f --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/libraries.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/librariesMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a Libraries. */ +export class Libraries { + private readonly client: SynapseManagementClientContext; + + /** + * Create a Libraries. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * List libraries in a workspace. + * @summary List the libraries 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; + } + + /** + * List libraries in a workspace. + * @summary List the libraries 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}/libraries", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LibraryListResponse + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + 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.LibraryListResponse + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/library.ts b/sdk/synapse/arm-synapse/src/operations/library.ts new file mode 100644 index 000000000000..7ca8707bc263 --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/library.ts @@ -0,0 +1,92 @@ +/* + * 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/libraryMappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClientContext } from "../synapseManagementClientContext"; + +/** Class representing a Library. */ +export class Library { + private readonly client: SynapseManagementClientContext; + + /** + * Create a Library. + * @param {SynapseManagementClientContext} client Reference to the service client. + */ + constructor(client: SynapseManagementClientContext) { + this.client = client; + } + + /** + * Get library by name in a workspace. + * @summary Get library by name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param libraryName Library name + * @param workspaceName The name of the workspace + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, libraryName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param libraryName Library name + * @param workspaceName The name of the workspace + * @param callback The callback + */ + get(resourceGroupName: string, libraryName: string, workspaceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param libraryName Library name + * @param workspaceName The name of the workspace + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, libraryName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, libraryName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + libraryName, + workspaceName, + 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}/libraries/{libraryName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.libraryName, + Parameters.workspaceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LibraryResource + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operations/sqlPoolRestorePoints.ts b/sdk/synapse/arm-synapse/src/operations/sqlPoolRestorePoints.ts index cf24787607da..80e7cf8591e3 100644 --- a/sdk/synapse/arm-synapse/src/operations/sqlPoolRestorePoints.ts +++ b/sdk/synapse/arm-synapse/src/operations/sqlPoolRestorePoints.ts @@ -282,6 +282,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], responses: { 200: {}, + 204: {}, default: { bodyMapper: Mappers.CloudError } diff --git a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts index 16f5d7bdfd20..b2adedb6fd50 100644 --- a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts +++ b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts @@ -19,6 +19,23 @@ class SynapseManagementClient extends SynapseManagementClientContext { bigDataPools: operations.BigDataPools; operations: operations.Operations; ipFirewallRules: operations.IpFirewallRules; + integrationRuntimes: operations.IntegrationRuntimes; + integrationRuntimeNodeIpAddress: operations.IntegrationRuntimeNodeIpAddressOperations; + integrationRuntimeObjectMetadata: operations.IntegrationRuntimeObjectMetadata; + integrationRuntimeNodes: operations.IntegrationRuntimeNodes; + integrationRuntimeCredentials: operations.IntegrationRuntimeCredentials; + integrationRuntimeConnectionInfos: operations.IntegrationRuntimeConnectionInfos; + integrationRuntimeAuthKeys: operations.IntegrationRuntimeAuthKeysOperations; + integrationRuntimeMonitoringData: operations.IntegrationRuntimeMonitoringDataOperations; + integrationRuntimeStatus: operations.IntegrationRuntimeStatusOperations; + keys: operations.Keys; + library: operations.Library; + libraries: operations.Libraries; + privateEndpointConnections: operations.PrivateEndpointConnections; + privateLinkResources: operations.PrivateLinkResources; + privateLinkHubPrivateLinkResources: operations.PrivateLinkHubPrivateLinkResources; + privateLinkHubs: operations.PrivateLinkHubs; + privateEndpointConnectionsPrivateLinkHub: operations.PrivateEndpointConnectionsPrivateLinkHub; sqlPools: operations.SqlPools; sqlPoolMetadataSyncConfigs: operations.SqlPoolMetadataSyncConfigs; sqlPoolOperationResults: operations.SqlPoolOperationResults; @@ -48,25 +65,6 @@ class SynapseManagementClient extends SynapseManagementClientContext { 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; - integrationRuntimeNodes: operations.IntegrationRuntimeNodes; - integrationRuntimeCredentials: operations.IntegrationRuntimeCredentials; - integrationRuntimeConnectionInfos: operations.IntegrationRuntimeConnectionInfos; - integrationRuntimeAuthKeys: operations.IntegrationRuntimeAuthKeysOperations; - integrationRuntimeMonitoringData: operations.IntegrationRuntimeMonitoringDataOperations; - integrationRuntimeStatus: operations.IntegrationRuntimeStatusOperations; - privateLinkResources: operations.PrivateLinkResources; - privateLinkHubPrivateLinkResources: operations.PrivateLinkHubPrivateLinkResources; - privateEndpointConnections: operations.PrivateEndpointConnections; - privateLinkHubs: operations.PrivateLinkHubs; - privateEndpointConnectionsPrivateLinkHub: operations.PrivateEndpointConnectionsPrivateLinkHub; workspaceManagedSqlServerBlobAuditingPolicies: operations.WorkspaceManagedSqlServerBlobAuditingPolicies; workspaceManagedSqlServerExtendedBlobAuditingPolicies: operations.WorkspaceManagedSqlServerExtendedBlobAuditingPolicies; workspaceManagedSqlServerSecurityAlertPolicy: operations.WorkspaceManagedSqlServerSecurityAlertPolicy; @@ -74,7 +72,11 @@ class SynapseManagementClient extends SynapseManagementClientContext { workspaceManagedSqlServerEncryptionProtector: operations.WorkspaceManagedSqlServerEncryptionProtector; workspaceManagedSqlServerUsages: operations.WorkspaceManagedSqlServerUsages; workspaceManagedSqlServerRecoverableSqlPools: operations.WorkspaceManagedSqlServerRecoverableSqlPools; - keys: operations.Keys; + workspaces: operations.Workspaces; + workspaceAadAdmins: operations.WorkspaceAadAdmins; + workspaceSqlAadAdmins: operations.WorkspaceSqlAadAdmins; + workspaceManagedIdentitySqlControlSettings: operations.WorkspaceManagedIdentitySqlControlSettings; + restorableDroppedSqlPools: operations.RestorableDroppedSqlPools; /** * Initializes a new instance of the SynapseManagementClient class. @@ -87,6 +89,23 @@ class SynapseManagementClient extends SynapseManagementClientContext { this.bigDataPools = new operations.BigDataPools(this); this.operations = new operations.Operations(this); this.ipFirewallRules = new operations.IpFirewallRules(this); + this.integrationRuntimes = new operations.IntegrationRuntimes(this); + this.integrationRuntimeNodeIpAddress = new operations.IntegrationRuntimeNodeIpAddressOperations(this); + this.integrationRuntimeObjectMetadata = new operations.IntegrationRuntimeObjectMetadata(this); + this.integrationRuntimeNodes = new operations.IntegrationRuntimeNodes(this); + this.integrationRuntimeCredentials = new operations.IntegrationRuntimeCredentials(this); + this.integrationRuntimeConnectionInfos = new operations.IntegrationRuntimeConnectionInfos(this); + this.integrationRuntimeAuthKeys = new operations.IntegrationRuntimeAuthKeysOperations(this); + this.integrationRuntimeMonitoringData = new operations.IntegrationRuntimeMonitoringDataOperations(this); + this.integrationRuntimeStatus = new operations.IntegrationRuntimeStatusOperations(this); + this.keys = new operations.Keys(this); + this.library = new operations.Library(this); + this.libraries = new operations.Libraries(this); + this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); + this.privateLinkResources = new operations.PrivateLinkResources(this); + this.privateLinkHubPrivateLinkResources = new operations.PrivateLinkHubPrivateLinkResources(this); + this.privateLinkHubs = new operations.PrivateLinkHubs(this); + this.privateEndpointConnectionsPrivateLinkHub = new operations.PrivateEndpointConnectionsPrivateLinkHub(this); this.sqlPools = new operations.SqlPools(this); this.sqlPoolMetadataSyncConfigs = new operations.SqlPoolMetadataSyncConfigs(this); this.sqlPoolOperationResults = new operations.SqlPoolOperationResults(this); @@ -116,25 +135,6 @@ class SynapseManagementClient extends SynapseManagementClientContext { 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); - this.integrationRuntimeNodes = new operations.IntegrationRuntimeNodes(this); - this.integrationRuntimeCredentials = new operations.IntegrationRuntimeCredentials(this); - this.integrationRuntimeConnectionInfos = new operations.IntegrationRuntimeConnectionInfos(this); - this.integrationRuntimeAuthKeys = new operations.IntegrationRuntimeAuthKeysOperations(this); - this.integrationRuntimeMonitoringData = new operations.IntegrationRuntimeMonitoringDataOperations(this); - this.integrationRuntimeStatus = new operations.IntegrationRuntimeStatusOperations(this); - this.privateLinkResources = new operations.PrivateLinkResources(this); - this.privateLinkHubPrivateLinkResources = new operations.PrivateLinkHubPrivateLinkResources(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.workspaceManagedSqlServerExtendedBlobAuditingPolicies = new operations.WorkspaceManagedSqlServerExtendedBlobAuditingPolicies(this); this.workspaceManagedSqlServerSecurityAlertPolicy = new operations.WorkspaceManagedSqlServerSecurityAlertPolicy(this); @@ -142,7 +142,11 @@ class SynapseManagementClient extends SynapseManagementClientContext { this.workspaceManagedSqlServerEncryptionProtector = new operations.WorkspaceManagedSqlServerEncryptionProtector(this); this.workspaceManagedSqlServerUsages = new operations.WorkspaceManagedSqlServerUsages(this); this.workspaceManagedSqlServerRecoverableSqlPools = new operations.WorkspaceManagedSqlServerRecoverableSqlPools(this); - this.keys = new operations.Keys(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); } } diff --git a/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts b/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts index a5eee5f4f6dd..01e1bed9d941 100644 --- a/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts +++ b/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts @@ -36,14 +36,14 @@ export class SynapseManagementClientContext extends msRestAzure.AzureServiceClie if (!options) { options = {}; } - if (!options.userAgent) { + if(!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } super(credentials, options); - this.apiVersion = '2020-12-01'; + this.apiVersion = '2021-03-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; @@ -51,10 +51,10 @@ export class SynapseManagementClientContext extends msRestAzure.AzureServiceClie this.credentials = credentials; this.subscriptionId = subscriptionId; - if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } }