From d92d3a478d4b3b90dcec4216b9cc1069dacbbec7 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 1 Sep 2022 09:00:02 +0000 Subject: [PATCH] CodeGen from PR 20540 in Azure/azure-rest-api-specs Merge 3aaba1911308edb5919d020033444c168c90152f into aefbcc5fb18a3b33f401394ebeae01df0733c830 --- .../CHANGELOG.md | 4 +- .../azure-resourcemanager-synapse/README.md | 2 +- .../azure-resourcemanager-synapse/SAMPLE.md | 9 +- .../synapse/SynapseManager.java | 449 +++++++++++++++--- .../AzureADOnlyAuthenticationsClient.java | 32 +- .../synapse/fluent/BigDataPoolsClient.java | 60 ++- ...rationRuntimeAuthKeysOperationsClient.java | 16 +- ...tegrationRuntimeConnectionInfosClient.java | 8 +- .../IntegrationRuntimeCredentialsClient.java | 20 +- ...tegrationRuntimeMonitoringDatasClient.java | 8 +- ...nRuntimeNodeIpAddressOperationsClient.java | 8 +- .../fluent/IntegrationRuntimeNodesClient.java | 24 +- ...tegrationRuntimeObjectMetadatasClient.java | 24 +- ...egrationRuntimeStatusOperationsClient.java | 8 +- .../fluent/IntegrationRuntimesClient.java | 108 +++-- .../synapse/fluent/KustoPoolsClient.java | 8 +- .../synapse/fluent/LibrariesClient.java | 8 +- .../fluent/LibrariesOperationsClient.java | 8 +- .../synapse/fluent/OperationsClient.java | 32 +- ...vateLinkHubPrivateLinkResourcesClient.java | 16 +- .../fluent/PrivateLinkResourcesClient.java | 16 +- .../fluent/SparkConfigurationsClient.java | 8 +- .../SparkConfigurationsOperationsClient.java | 8 +- .../SqlPoolBlobAuditingPoliciesClient.java | 16 +- .../SqlPoolConnectionPoliciesClient.java | 8 +- ...PoolDataWarehouseUserActivitiesClient.java | 8 +- .../SqlPoolGeoBackupPoliciesClient.java | 16 +- ...SqlPoolMaintenanceWindowOptionsClient.java | 8 +- .../SqlPoolMetadataSyncConfigsClient.java | 16 +- .../fluent/SqlPoolOperationResultsClient.java | 8 +- .../fluent/SqlPoolOperationsClient.java | 8 +- .../fluent/SqlPoolReplicationLinksClient.java | 16 +- .../fluent/SqlPoolRestorePointsClient.java | 8 +- .../synapse/fluent/SqlPoolSchemasClient.java | 8 +- .../SqlPoolSecurityAlertPoliciesClient.java | 24 +- .../SqlPoolSensitivityLabelsClient.java | 16 +- .../fluent/SqlPoolTableColumnsClient.java | 8 +- .../synapse/fluent/SqlPoolTablesClient.java | 8 +- ...lPoolTransparentDataEncryptionsClient.java | 24 +- .../synapse/fluent/SqlPoolUsagesClient.java | 8 +- ...oolVulnerabilityAssessmentScansClient.java | 8 +- ...SqlPoolVulnerabilityAssessmentsClient.java | 32 +- .../SqlPoolWorkloadClassifiersClient.java | 48 +- .../fluent/SqlPoolWorkloadGroupsClient.java | 48 +- .../synapse/fluent/SqlPoolsClient.java | 96 +++- ...edSqlServerBlobAuditingPoliciesClient.java | 32 +- ...rDedicatedSqlMinimalTlsSettingsClient.java | 32 +- ...edSqlServerEncryptionProtectorsClient.java | 48 +- ...verExtendedBlobAuditingPoliciesClient.java | 32 +- ...gedSqlServerRecoverableSqlPoolsClient.java | 16 +- ...dSqlServerSecurityAlertPoliciesClient.java | 32 +- ...WorkspaceManagedSqlServerUsagesClient.java | 8 +- ...lServerVulnerabilityAssessmentsClient.java | 32 +- .../AttachedDatabaseConfigurationInner.java | 3 +- ...tachedDatabaseConfigurationProperties.java | 10 +- .../models/BigDataPoolResourceInfoInner.java | 75 ++- .../models/BigDataPoolResourceProperties.java | 89 +++- .../CheckNameAvailabilityResponseInner.java | 6 +- .../fluent/models/CheckNameResultInner.java | 4 +- .../ClusterPrincipalAssignmentInner.java | 12 +- .../models/ClusterPrincipalProperties.java | 19 +- .../fluent/models/DataConnectionInner.java | 3 +- .../models/DataMaskingPolicyProperties.java | 10 +- .../models/DataMaskingRuleProperties.java | 31 +- .../synapse/fluent/models/DatabaseInner.java | 3 +- .../DatabasePrincipalAssignmentInner.java | 12 +- .../models/DatabasePrincipalProperties.java | 19 +- .../models/EncryptionProtectorInner.java | 3 +- .../models/EventGridConnectionProperties.java | 12 +- .../models/EventHubConnectionProperties.java | 12 +- ...dedServerBlobAuditingPolicyProperties.java | 99 ++-- ...edSqlPoolBlobAuditingPolicyProperties.java | 80 ++-- .../FollowerDatabaseDefinitionInner.java | 9 +- .../fluent/models/GeoBackupPolicyInner.java | 3 +- ...IntegrationRuntimeConnectionInfoInner.java | 12 +- .../models/IotHubConnectionProperties.java | 9 +- .../models/IpFirewallRuleProperties.java | 3 +- .../synapse/fluent/models/KustoPoolInner.java | 3 +- .../synapse/fluent/models/LibraryInfo.java | 5 +- .../fluent/models/LibraryResourceInner.java | 4 +- .../MaintenanceWindowOptionsProperties.java | 3 +- ...dIdentitySqlControlSettingsModelInner.java | 16 +- ...titySqlControlSettingsModelProperties.java | 6 +- ...ntegrationRuntimeStatusTypeProperties.java | 3 +- .../models/MetadataSyncConfigInner.java | 6 +- .../synapse/fluent/models/OperationInner.java | 13 +- .../ReadOnlyFollowingDatabaseProperties.java | 3 +- .../models/ReadWriteDatabaseProperties.java | 3 +- .../models/ReplicationLinkProperties.java | 3 +- .../models/SecurityAlertPolicyProperties.java | 15 +- ...SelfHostedIntegrationRuntimeNodeInner.java | 9 +- ...ntegrationRuntimeStatusTypeProperties.java | 22 +- .../models/SensitivityLabelProperties.java | 5 +- .../ServerBlobAuditingPolicyProperties.java | 99 ++-- .../ServerSecurityAlertPolicyProperties.java | 15 +- ...rverVulnerabilityAssessmentProperties.java | 13 +- .../fluent/models/SparkConfigurationInfo.java | 33 +- .../SparkConfigurationResourceInner.java | 27 +- .../SqlPoolBlobAuditingPolicyProperties.java | 67 ++- .../synapse/fluent/models/SqlPoolInner.java | 18 +- .../models/SqlPoolResourceProperties.java | 21 +- ...PoolVulnerabilityAssessmentProperties.java | 15 +- .../fluent/models/WorkspaceProperties.java | 12 +- .../AttachedDatabaseConfigurationImpl.java | 4 + .../AzureADOnlyAuthenticationsClientImpl.java | 99 ++-- .../AzureADOnlyAuthenticationsImpl.java | 14 +- .../BigDataPoolResourceInfoImpl.java | 13 + .../BigDataPoolsClientImpl.java | 176 ++++--- .../ClusterPrincipalAssignmentImpl.java | 8 + .../DataMaskingPoliciesClientImpl.java | 18 +- .../implementation/DataMaskingPolicyImpl.java | 4 + .../implementation/DataMaskingRuleImpl.java | 4 + .../DataMaskingRulesClientImpl.java | 18 +- .../DatabasePrincipalAssignmentImpl.java | 8 + .../EncryptionProtectorImpl.java | 4 + .../ExtendedServerBlobAuditingPolicyImpl.java | 4 + ...SqlPoolBlobAuditingPoliciesClientImpl.java | 24 +- ...ExtendedSqlPoolBlobAuditingPolicyImpl.java | 4 + .../implementation/GeoBackupPolicyImpl.java | 4 + ...onRuntimeAuthKeysOperationsClientImpl.java | 58 ++- ...ationRuntimeConnectionInfosClientImpl.java | 29 +- ...tegrationRuntimeCredentialsClientImpl.java | 52 +- ...ationRuntimeMonitoringDatasClientImpl.java | 29 +- ...timeNodeIpAddressOperationsClientImpl.java | 29 +- .../IntegrationRuntimeNodesClientImpl.java | 80 ++-- ...ationRuntimeObjectMetadatasClientImpl.java | 82 ++-- .../IntegrationRuntimeResourceImpl.java | 4 + ...tionRuntimeStatusOperationsClientImpl.java | 29 +- .../IntegrationRuntimesClientImpl.java | 320 +++++++++---- .../IpFirewallRuleInfoImpl.java | 4 + .../IpFirewallRulesClientImpl.java | 15 +- .../synapse/implementation/KeyImpl.java | 4 + .../implementation/KeysClientImpl.java | 33 +- .../KustoOperationsClientImpl.java | 6 +- ...achedDatabaseConfigurationsClientImpl.java | 9 +- .../KustoPoolChildResourcesClientImpl.java | 9 +- .../KustoPoolDataConnectionsClientImpl.java | 18 +- ...atabasePrincipalAssignmentsClientImpl.java | 18 +- .../KustoPoolDatabasesClientImpl.java | 9 +- .../synapse/implementation/KustoPoolImpl.java | 4 + ...stoPoolPrincipalAssignmentsClientImpl.java | 18 +- .../implementation/KustoPoolsClientImpl.java | 47 +- .../implementation/LibrariesClientImpl.java | 29 +- .../LibrariesOperationsClientImpl.java | 30 +- .../implementation/OperationsClientImpl.java | 111 +++-- .../PrivateEndpointConnectionsClientImpl.java | 15 +- ...tConnectionsPrivateLinkHubsClientImpl.java | 15 +- .../implementation/PrivateLinkHubImpl.java | 4 + ...LinkHubPrivateLinkResourcesClientImpl.java | 59 ++- .../PrivateLinkHubsClientImpl.java | 39 +- .../PrivateLinkResourcesClientImpl.java | 59 ++- .../RestorableDroppedSqlPoolsClientImpl.java | 9 +- .../implementation/SensitivityLabelImpl.java | 4 + .../ServerBlobAuditingPolicyImpl.java | 4 + .../ServerSecurityAlertPolicyImpl.java | 4 + .../ServerVulnerabilityAssessmentImpl.java | 4 + .../SparkConfigurationResourceImpl.java | 9 + .../SparkConfigurationsClientImpl.java | 29 +- ...arkConfigurationsOperationsClientImpl.java | 30 +- ...SqlPoolBlobAuditingPoliciesClientImpl.java | 64 +-- .../SqlPoolBlobAuditingPolicyImpl.java | 4 + .../SqlPoolColumnsClientImpl.java | 9 +- .../SqlPoolConnectionPoliciesClientImpl.java | 29 +- ...DataWarehouseUserActivitiesClientImpl.java | 29 +- .../SqlPoolGeoBackupPoliciesClientImpl.java | 62 +-- .../SqlPoolGeoBackupPoliciesImpl.java | 12 +- .../synapse/implementation/SqlPoolImpl.java | 4 + ...oolMaintenanceWindowOptionsClientImpl.java | 29 +- .../SqlPoolMaintenanceWindowsClientImpl.java | 11 +- .../SqlPoolMetadataSyncConfigsClientImpl.java | 58 ++- .../SqlPoolOperationResultsClientImpl.java | 29 +- .../SqlPoolOperationsClientImpl.java | 30 +- ...ecommendedSensitivityLabelsClientImpl.java | 2 +- .../SqlPoolReplicationLinksClientImpl.java | 59 ++- .../SqlPoolRestorePointsClientImpl.java | 41 +- .../SqlPoolSchemasClientImpl.java | 43 +- ...qlPoolSecurityAlertPoliciesClientImpl.java | 88 ++-- .../SqlPoolSecurityAlertPoliciesImpl.java | 14 +- .../SqlPoolSecurityAlertPolicyImpl.java | 4 + .../SqlPoolSensitivityLabelsClientImpl.java | 94 ++-- .../SqlPoolTableColumnsClientImpl.java | 34 +- .../SqlPoolTablesClientImpl.java | 43 +- ...lTransparentDataEncryptionsClientImpl.java | 88 ++-- ...SqlPoolTransparentDataEncryptionsImpl.java | 14 +- .../SqlPoolUsagesClientImpl.java | 30 +- .../SqlPoolVulnerabilityAssessmentImpl.java | 4 + ...lnerabilityAssessmentRuleBaselineImpl.java | 4 + ...lityAssessmentRuleBaselinesClientImpl.java | 20 +- ...nerabilityAssessmentRuleBaselinesImpl.java | 56 ++- ...ulnerabilityAssessmentScansClientImpl.java | 48 +- ...oolVulnerabilityAssessmentsClientImpl.java | 110 +++-- .../SqlPoolVulnerabilityAssessmentsImpl.java | 28 +- .../SqlPoolWorkloadClassifiersClientImpl.java | 139 ++++-- .../SqlPoolWorkloadGroupsClientImpl.java | 139 ++++-- .../implementation/SqlPoolsClientImpl.java | 270 +++++++---- .../SynapseManagementClientBuilder.java | 34 +- .../SynapseManagementClientImpl.java | 7 +- .../TransparentDataEncryptionImpl.java | 4 + .../WorkloadClassifierImpl.java | 4 + .../implementation/WorkloadGroupImpl.java | 4 + .../WorkspaceAadAdminsClientImpl.java | 10 +- .../synapse/implementation/WorkspaceImpl.java | 4 + ...dIdentitySqlControlSettingsClientImpl.java | 10 +- ...lServerBlobAuditingPoliciesClientImpl.java | 99 ++-- ...agedSqlServerBlobAuditingPoliciesImpl.java | 12 +- ...icatedSqlMinimalTlsSettingsClientImpl.java | 99 ++-- ...lServerEncryptionProtectorsClientImpl.java | 139 ++++-- ...agedSqlServerEncryptionProtectorsImpl.java | 14 +- ...xtendedBlobAuditingPoliciesClientImpl.java | 99 ++-- ...erverExtendedBlobAuditingPoliciesImpl.java | 12 +- ...qlServerRecoverableSqlPoolsClientImpl.java | 59 ++- ...ServerSecurityAlertPoliciesClientImpl.java | 99 ++-- ...gedSqlServerSecurityAlertPoliciesImpl.java | 14 +- ...spaceManagedSqlServerUsagesClientImpl.java | 30 +- ...verVulnerabilityAssessmentsClientImpl.java | 110 +++-- ...SqlServerVulnerabilityAssessmentsImpl.java | 28 +- .../WorkspaceSqlAadAdminsClientImpl.java | 10 +- .../implementation/WorkspacesClientImpl.java | 21 +- .../synapse/models/ActualState.java | 60 +++ .../models/AttachedDatabaseConfiguration.java | 7 + .../synapse/models/AutoPauseProperties.java | 9 +- .../synapse/models/AutoScaleProperties.java | 6 +- .../models/AzureADOnlyAuthenticationName.java | 6 +- .../models/AzureADOnlyAuthentications.java | 24 +- .../synapse/models/AzureEntityResource.java | 6 +- .../synapse/models/AzureScaleType.java | 8 +- .../synapse/models/BigDataPoolPatchInfo.java | 6 +- .../models/BigDataPoolResourceInfo.java | 78 ++- .../BigDataPoolResourceInfoListResult.java | 6 +- .../synapse/models/BigDataPools.java | 40 +- .../models/BlobAuditingPolicyName.java | 6 +- .../models/BlobAuditingPolicyState.java | 8 +- .../synapse/models/BlobStorageEventType.java | 8 +- .../models/CheckNameAvailabilityRequest.java | 6 +- .../models/ClusterPrincipalAssignment.java | 14 + ...erPrincipalAssignmentCheckNameRequest.java | 3 +- .../synapse/models/ClusterPrincipalRole.java | 8 +- .../synapse/models/ColumnDataType.java | 8 +- .../synapse/models/Compression.java | 8 +- .../synapse/models/ConfigurationType.java | 8 +- .../synapse/models/ConnectionPolicyName.java | 6 +- .../synapse/models/CreateMode.java | 22 +- .../DataConnectionCheckNameRequest.java | 3 +- .../synapse/models/DataConnectionKind.java | 8 +- .../synapse/models/DataFlowComputeType.java | 8 +- .../synapse/models/DataMaskingFunction.java | 6 +- .../synapse/models/DataMaskingPolicy.java | 7 + .../synapse/models/DataMaskingRule.java | 7 + .../synapse/models/DataMaskingRuleState.java | 10 +- .../synapse/models/DataMaskingState.java | 6 +- .../models/DataWarehouseUserActivityName.java | 6 +- .../models/DatabaseCheckNameRequest.java | 3 +- .../models/DatabasePrincipalAssignment.java | 14 + ...sePrincipalAssignmentCheckNameRequest.java | 3 +- .../synapse/models/DatabasePrincipalRole.java | 8 +- .../synapse/models/DatabaseStatistics.java | 3 +- .../synapse/models/DayOfWeek.java | 8 +- .../DedicatedSqlMinimalTlsSettingsName.java | 6 +- .../DefaultPrincipalsModificationKind.java | 8 +- .../synapse/models/DesiredState.java | 51 ++ .../synapse/models/EncryptionProtector.java | 15 +- .../models/EncryptionProtectorName.java | 6 +- .../synapse/models/EventGridDataFormat.java | 8 +- .../synapse/models/EventHubDataFormat.java | 8 +- .../ExtendedServerBlobAuditingPolicy.java | 7 + .../ExtendedSqlPoolBlobAuditingPolicy.java | 7 + .../synapse/models/GeoBackupPolicy.java | 7 + .../synapse/models/GeoBackupPolicyName.java | 6 +- .../synapse/models/GeoBackupPolicyState.java | 6 +- .../synapse/models/IntegrationRuntime.java | 3 +- .../models/IntegrationRuntimeAuthKeyName.java | 8 +- .../IntegrationRuntimeAuthKeysOperations.java | 16 +- .../models/IntegrationRuntimeAutoUpdate.java | 8 +- .../IntegrationRuntimeComputeProperties.java | 6 +- .../IntegrationRuntimeConnectionInfos.java | 8 +- .../models/IntegrationRuntimeCredentials.java | 20 +- ...ionRuntimeCustomSetupScriptProperties.java | 3 +- .../IntegrationRuntimeDataFlowProperties.java | 12 +- .../models/IntegrationRuntimeEdition.java | 8 +- ...IntegrationRuntimeEntityReferenceType.java | 8 +- ...nRuntimeInternalChannelEncryptionMode.java | 11 +- .../models/IntegrationRuntimeLicenseType.java | 8 +- .../IntegrationRuntimeMonitoringDatas.java | 8 +- ...grationRuntimeNodeIpAddressOperations.java | 8 +- .../models/IntegrationRuntimeNodes.java | 24 +- .../IntegrationRuntimeObjectMetadatas.java | 16 +- .../models/IntegrationRuntimeResource.java | 31 +- .../IntegrationRuntimeSsisCatalogInfo.java | 4 +- ...egrationRuntimeSsisCatalogPricingTier.java | 11 +- .../IntegrationRuntimeSsisProperties.java | 3 +- .../models/IntegrationRuntimeState.java | 8 +- .../IntegrationRuntimeStatusOperations.java | 8 +- .../models/IntegrationRuntimeType.java | 8 +- .../IntegrationRuntimeUpdateResult.java | 8 +- .../IntegrationRuntimeVNetProperties.java | 6 +- .../synapse/models/IntegrationRuntimes.java | 72 ++- .../synapse/models/IotHubDataFormat.java | 8 +- .../synapse/models/IpFirewallRuleInfo.java | 7 + .../resourcemanager/synapse/models/Key.java | 7 + .../resourcemanager/synapse/models/Kind.java | 8 +- .../synapse/models/KustoPool.java | 7 + .../synapse/models/KustoPools.java | 8 +- .../synapse/models/LanguageExtensionName.java | 8 +- .../synapse/models/Libraries.java | 8 +- .../synapse/models/LibrariesOperations.java | 8 +- .../synapse/models/LibraryRequirements.java | 6 +- .../models/LinkedIntegrationRuntime.java | 6 +- ...rtiesGrantSqlControlToManagedIdentity.java | 10 +- ...qlControlToManagedIdentityActualState.java | 74 --- ...lControlToManagedIdentityDesiredState.java | 54 --- .../models/ManagedIntegrationRuntime.java | 3 +- .../ManagedIntegrationRuntimeNodeStatus.java | 8 +- .../models/ManagementOperationState.java | 8 +- .../synapse/models/NodeSize.java | 8 +- .../synapse/models/NodeSizeFamily.java | 8 +- .../synapse/models/Operation.java | 4 +- .../synapse/models/OperationDisplay.java | 12 +- .../synapse/models/OperationStatus.java | 8 +- .../synapse/models/Operations.java | 32 +- .../synapse/models/OptimizedAutoscale.java | 3 +- .../synapse/models/PrincipalType.java | 8 +- .../models/PrincipalsModificationKind.java | 8 +- .../synapse/models/PrivateLinkHub.java | 7 + .../PrivateLinkHubPrivateLinkResources.java | 16 +- .../synapse/models/PrivateLinkResources.java | 16 +- .../synapse/models/ProvisioningState.java | 8 +- .../synapse/models/QueryMetricUnit.java | 6 +- .../synapse/models/Reason.java | 8 +- ...RecommendedSensitivityLabelUpdateKind.java | 4 + .../synapse/models/ReplicationRole.java | 6 +- .../synapse/models/ReplicationState.java | 8 +- .../synapse/models/ResourceIdentityType.java | 6 +- .../models/ResourceProvisioningState.java | 8 +- .../synapse/models/RestorePointType.java | 6 +- .../models/SecurityAlertPolicyName.java | 6 +- .../SecurityAlertPolicyNameAutoGenerated.java | 6 +- .../models/SecurityAlertPolicyState.java | 9 +- .../models/SelfHostedIntegrationRuntime.java | 4 +- ...elfHostedIntegrationRuntimeNodeStatus.java | 8 +- .../synapse/models/SensitivityLabel.java | 7 + .../synapse/models/SensitivityLabelRank.java | 4 + .../models/SensitivityLabelSource.java | 4 + .../models/SensitivityLabelUpdateKind.java | 4 + .../models/ServerBlobAuditingPolicy.java | 7 + .../synapse/models/ServerKeyType.java | 8 +- .../models/ServerSecurityAlertPolicy.java | 7 + .../models/ServerVulnerabilityAssessment.java | 7 + .../resourcemanager/synapse/models/Sku.java | 11 +- .../synapse/models/SkuName.java | 8 +- .../synapse/models/SkuSize.java | 8 +- .../synapse/models/SparkConfigProperties.java | 6 +- .../models/SparkConfigurationResource.java | 7 + .../synapse/models/SparkConfigurations.java | 8 +- .../models/SparkConfigurationsOperations.java | 8 +- .../synapse/models/SqlPool.java | 49 +- .../models/SqlPoolBlobAuditingPolicies.java | 16 +- .../models/SqlPoolBlobAuditingPolicy.java | 7 + .../models/SqlPoolConnectionPolicies.java | 8 +- .../SqlPoolDataWarehouseUserActivities.java | 8 +- .../models/SqlPoolGeoBackupPolicies.java | 24 +- .../synapse/models/SqlPoolInfoListResult.java | 6 +- .../SqlPoolMaintenanceWindowOptions.java | 8 +- .../models/SqlPoolMetadataSyncConfigs.java | 16 +- .../models/SqlPoolOperationResults.java | 8 +- .../synapse/models/SqlPoolOperations.java | 8 +- .../synapse/models/SqlPoolPatchInfo.java | 18 +- .../models/SqlPoolReplicationLinks.java | 16 +- .../synapse/models/SqlPoolRestorePoints.java | 8 +- .../synapse/models/SqlPoolSchemas.java | 8 +- .../models/SqlPoolSecurityAlertPolicies.java | 24 +- .../models/SqlPoolSecurityAlertPolicy.java | 7 + .../models/SqlPoolSensitivityLabels.java | 16 +- .../synapse/models/SqlPoolTableColumns.java | 8 +- .../synapse/models/SqlPoolTables.java | 8 +- .../SqlPoolTransparentDataEncryptions.java | 24 +- .../synapse/models/SqlPoolUsages.java | 8 +- .../SqlPoolVulnerabilityAssessment.java | 7 + ...olVulnerabilityAssessmentRuleBaseline.java | 7 + .../SqlPoolVulnerabilityAssessmentScans.java | 8 +- .../SqlPoolVulnerabilityAssessments.java | 40 +- .../models/SqlPoolWorkloadClassifiers.java | 40 +- .../synapse/models/SqlPoolWorkloadGroups.java | 40 +- .../synapse/models/SqlPools.java | 64 ++- .../models/SsisObjectMetadataType.java | 8 +- .../resourcemanager/synapse/models/State.java | 8 +- .../synapse/models/StateValue.java | 8 +- .../synapse/models/StorageAccountType.java | 8 +- .../models/TransparentDataEncryption.java | 7 + .../models/TransparentDataEncryptionName.java | 6 +- .../TransparentDataEncryptionStatus.java | 6 +- .../resourcemanager/synapse/models/Type.java | 6 +- .../UpdateIntegrationRuntimeNodeRequest.java | 5 +- .../UpdateIntegrationRuntimeRequest.java | 8 +- .../models/VulnerabilityAssessmentName.java | 6 +- ...erabilityAssessmentPolicyBaselineName.java | 4 + ...ityAssessmentRecurringScansProperties.java | 6 +- .../VulnerabilityAssessmentScanState.java | 8 +- ...ulnerabilityAssessmentScanTriggerType.java | 8 +- .../synapse/models/WorkloadClassifier.java | 7 + .../synapse/models/WorkloadGroup.java | 7 + .../synapse/models/Workspace.java | 7 + ...eManagedSqlServerBlobAuditingPolicies.java | 24 +- ...lServerDedicatedSqlMinimalTlsSettings.java | 24 +- ...eManagedSqlServerEncryptionProtectors.java | 32 +- ...SqlServerExtendedBlobAuditingPolicies.java | 24 +- ...ceManagedSqlServerRecoverableSqlPools.java | 16 +- ...ManagedSqlServerSecurityAlertPolicies.java | 24 +- .../WorkspaceManagedSqlServerUsages.java | 8 +- ...agedSqlServerVulnerabilityAssessments.java | 40 +- .../models/WorkspacePublicNetworkAccess.java | 8 +- .../WorkspaceRepositoryConfiguration.java | 3 +- .../BigDataPoolsCreateOrUpdateSamples.java | 1 + ...oolWorkloadGroupCreateOrUpdateSamples.java | 2 +- ...lControlSettingsCreateOrUpdateSamples.java | 6 +- 414 files changed, 6182 insertions(+), 3120 deletions(-) create mode 100644 sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ActualState.java create mode 100644 sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DesiredState.java delete mode 100644 sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState.java delete mode 100644 sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState.java diff --git a/sdk/synapse/azure-resourcemanager-synapse/CHANGELOG.md b/sdk/synapse/azure-resourcemanager-synapse/CHANGELOG.md index a941505a1b23e..fec3e4fdfe4aa 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/CHANGELOG.md +++ b/sdk/synapse/azure-resourcemanager-synapse/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History -## 1.0.0-beta.7 (Unreleased) +## 1.0.0-beta.1 (2022-09-01) + +- Azure Resource Manager Synapse client library for Java. This package contains Microsoft Azure SDK for Synapse Management SDK. Azure Synapse Analytics Management Client. Package tag package-composite-v2. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Features Added diff --git a/sdk/synapse/azure-resourcemanager-synapse/README.md b/sdk/synapse/azure-resourcemanager-synapse/README.md index 0b2a79cae84c7..92811f6afab9e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/README.md +++ b/sdk/synapse/azure-resourcemanager-synapse/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-synapse - 1.0.0-beta.6 + 1.0.0-beta.7 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/synapse/azure-resourcemanager-synapse/SAMPLE.md b/sdk/synapse/azure-resourcemanager-synapse/SAMPLE.md index c38f1dfcf7992..a39c475bfd572 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/SAMPLE.md +++ b/sdk/synapse/azure-resourcemanager-synapse/SAMPLE.md @@ -546,6 +546,7 @@ public final class BigDataPoolsCreateOrUpdateSamples { .withTags(mapOf("key", "value")) .withAutoScale(new AutoScaleProperties().withMinNodeCount(3).withEnabled(true).withMaxNodeCount(50)) .withAutoPause(new AutoPauseProperties().withDelayInMinutes(15).withEnabled(true)) + .withIsAutotuneEnabled(false) .withSparkEventsFolder("/events") .withNodeCount(4) .withLibraryRequirements(new LibraryRequirements().withContent("").withFilename("requirements.txt")) @@ -5420,7 +5421,7 @@ public final class SqlPoolWorkloadGroupCreateOrUpdateSamples { .withMinResourcePercent(0) .withMaxResourcePercent(100) .withMinResourcePercentPerRequest(3.0) - .withMaxResourcePercentPerRequest(3.0) + .withMaxResourcePercentPerRequest(3.0D) .withImportance("normal") .withQueryExecutionTimeout(0) .create(); @@ -5824,8 +5825,8 @@ public final class WorkspaceAadAdminsGetSamples { ```java import com.azure.core.util.Context; import com.azure.resourcemanager.synapse.fluent.models.ManagedIdentitySqlControlSettingsModelInner; +import com.azure.resourcemanager.synapse.models.DesiredState; import com.azure.resourcemanager.synapse.models.ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; -import com.azure.resourcemanager.synapse.models.ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState; /** Samples for WorkspaceManagedIdentitySqlControlSettings CreateOrUpdate. */ public final class WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateSamples { @@ -5847,9 +5848,7 @@ public final class WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateSampl new ManagedIdentitySqlControlSettingsModelInner() .withGrantSqlControlToManagedIdentity( new ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity() - .withDesiredState( - ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState - .ENABLED)), + .withDesiredState(DesiredState.ENABLED)), Context.NONE); } } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/SynapseManager.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/SynapseManager.java index 2918d9d6bdf5c..4fad09fb47dba 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/SynapseManager.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/SynapseManager.java @@ -492,7 +492,7 @@ public SynapseManager authenticate(TokenCredential credential, AzureProfile prof .append("-") .append("com.azure.resourcemanager.synapse") .append("/") - .append("1.0.0-beta.6"); + .append("1.0.0-beta.1"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") @@ -549,7 +549,11 @@ public SynapseManager authenticate(TokenCredential credential, AzureProfile prof } } - /** @return Resource collection API of AzureADOnlyAuthentications. */ + /** + * Gets the resource collection API of AzureADOnlyAuthentications. It manages AzureADOnlyAuthentication. + * + * @return Resource collection API of AzureADOnlyAuthentications. + */ public AzureADOnlyAuthentications azureADOnlyAuthentications() { if (this.azureADOnlyAuthentications == null) { this.azureADOnlyAuthentications = @@ -558,7 +562,11 @@ public AzureADOnlyAuthentications azureADOnlyAuthentications() { return azureADOnlyAuthentications; } - /** @return Resource collection API of Operations. */ + /** + * Gets the resource collection API of Operations. + * + * @return Resource collection API of Operations. + */ public Operations operations() { if (this.operations == null) { this.operations = new OperationsImpl(clientObject.getOperations(), this); @@ -566,7 +574,11 @@ public Operations operations() { return operations; } - /** @return Resource collection API of IpFirewallRules. */ + /** + * Gets the resource collection API of IpFirewallRules. It manages IpFirewallRuleInfo. + * + * @return Resource collection API of IpFirewallRules. + */ public IpFirewallRules ipFirewallRules() { if (this.ipFirewallRules == null) { this.ipFirewallRules = new IpFirewallRulesImpl(clientObject.getIpFirewallRules(), this); @@ -574,7 +586,11 @@ public IpFirewallRules ipFirewallRules() { return ipFirewallRules; } - /** @return Resource collection API of Keys. */ + /** + * Gets the resource collection API of Keys. It manages Key. + * + * @return Resource collection API of Keys. + */ public Keys keys() { if (this.keys == null) { this.keys = new KeysImpl(clientObject.getKeys(), this); @@ -582,7 +598,11 @@ public Keys keys() { return keys; } - /** @return Resource collection API of PrivateEndpointConnections. */ + /** + * Gets the resource collection API of PrivateEndpointConnections. It manages PrivateEndpointConnection. + * + * @return Resource collection API of PrivateEndpointConnections. + */ public PrivateEndpointConnections privateEndpointConnections() { if (this.privateEndpointConnections == null) { this.privateEndpointConnections = @@ -591,7 +611,11 @@ public PrivateEndpointConnections privateEndpointConnections() { return privateEndpointConnections; } - /** @return Resource collection API of PrivateLinkResources. */ + /** + * Gets the resource collection API of PrivateLinkResources. + * + * @return Resource collection API of PrivateLinkResources. + */ public PrivateLinkResources privateLinkResources() { if (this.privateLinkResources == null) { this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this); @@ -599,7 +623,11 @@ public PrivateLinkResources privateLinkResources() { return privateLinkResources; } - /** @return Resource collection API of PrivateLinkHubPrivateLinkResources. */ + /** + * Gets the resource collection API of PrivateLinkHubPrivateLinkResources. + * + * @return Resource collection API of PrivateLinkHubPrivateLinkResources. + */ public PrivateLinkHubPrivateLinkResources privateLinkHubPrivateLinkResources() { if (this.privateLinkHubPrivateLinkResources == null) { this.privateLinkHubPrivateLinkResources = @@ -608,7 +636,11 @@ public PrivateLinkHubPrivateLinkResources privateLinkHubPrivateLinkResources() { return privateLinkHubPrivateLinkResources; } - /** @return Resource collection API of PrivateLinkHubs. */ + /** + * Gets the resource collection API of PrivateLinkHubs. It manages PrivateLinkHub. + * + * @return Resource collection API of PrivateLinkHubs. + */ public PrivateLinkHubs privateLinkHubs() { if (this.privateLinkHubs == null) { this.privateLinkHubs = new PrivateLinkHubsImpl(clientObject.getPrivateLinkHubs(), this); @@ -616,7 +648,11 @@ public PrivateLinkHubs privateLinkHubs() { return privateLinkHubs; } - /** @return Resource collection API of PrivateEndpointConnectionsPrivateLinkHubs. */ + /** + * Gets the resource collection API of PrivateEndpointConnectionsPrivateLinkHubs. + * + * @return Resource collection API of PrivateEndpointConnectionsPrivateLinkHubs. + */ public PrivateEndpointConnectionsPrivateLinkHubs privateEndpointConnectionsPrivateLinkHubs() { if (this.privateEndpointConnectionsPrivateLinkHubs == null) { this.privateEndpointConnectionsPrivateLinkHubs = @@ -626,7 +662,11 @@ public PrivateEndpointConnectionsPrivateLinkHubs privateEndpointConnectionsPriva return privateEndpointConnectionsPrivateLinkHubs; } - /** @return Resource collection API of SqlPools. */ + /** + * Gets the resource collection API of SqlPools. It manages SqlPool. + * + * @return Resource collection API of SqlPools. + */ public SqlPools sqlPools() { if (this.sqlPools == null) { this.sqlPools = new SqlPoolsImpl(clientObject.getSqlPools(), this); @@ -634,7 +674,11 @@ public SqlPools sqlPools() { return sqlPools; } - /** @return Resource collection API of SqlPoolMetadataSyncConfigs. */ + /** + * Gets the resource collection API of SqlPoolMetadataSyncConfigs. + * + * @return Resource collection API of SqlPoolMetadataSyncConfigs. + */ public SqlPoolMetadataSyncConfigs sqlPoolMetadataSyncConfigs() { if (this.sqlPoolMetadataSyncConfigs == null) { this.sqlPoolMetadataSyncConfigs = @@ -643,7 +687,11 @@ public SqlPoolMetadataSyncConfigs sqlPoolMetadataSyncConfigs() { return sqlPoolMetadataSyncConfigs; } - /** @return Resource collection API of SqlPoolOperationResults. */ + /** + * Gets the resource collection API of SqlPoolOperationResults. + * + * @return Resource collection API of SqlPoolOperationResults. + */ public SqlPoolOperationResults sqlPoolOperationResults() { if (this.sqlPoolOperationResults == null) { this.sqlPoolOperationResults = @@ -652,7 +700,11 @@ public SqlPoolOperationResults sqlPoolOperationResults() { return sqlPoolOperationResults; } - /** @return Resource collection API of SqlPoolGeoBackupPolicies. */ + /** + * Gets the resource collection API of SqlPoolGeoBackupPolicies. It manages GeoBackupPolicy. + * + * @return Resource collection API of SqlPoolGeoBackupPolicies. + */ public SqlPoolGeoBackupPolicies sqlPoolGeoBackupPolicies() { if (this.sqlPoolGeoBackupPolicies == null) { this.sqlPoolGeoBackupPolicies = @@ -661,7 +713,11 @@ public SqlPoolGeoBackupPolicies sqlPoolGeoBackupPolicies() { return sqlPoolGeoBackupPolicies; } - /** @return Resource collection API of SqlPoolDataWarehouseUserActivities. */ + /** + * Gets the resource collection API of SqlPoolDataWarehouseUserActivities. + * + * @return Resource collection API of SqlPoolDataWarehouseUserActivities. + */ public SqlPoolDataWarehouseUserActivities sqlPoolDataWarehouseUserActivities() { if (this.sqlPoolDataWarehouseUserActivities == null) { this.sqlPoolDataWarehouseUserActivities = @@ -670,7 +726,11 @@ public SqlPoolDataWarehouseUserActivities sqlPoolDataWarehouseUserActivities() { return sqlPoolDataWarehouseUserActivities; } - /** @return Resource collection API of SqlPoolRestorePoints. */ + /** + * Gets the resource collection API of SqlPoolRestorePoints. + * + * @return Resource collection API of SqlPoolRestorePoints. + */ public SqlPoolRestorePoints sqlPoolRestorePoints() { if (this.sqlPoolRestorePoints == null) { this.sqlPoolRestorePoints = new SqlPoolRestorePointsImpl(clientObject.getSqlPoolRestorePoints(), this); @@ -678,7 +738,11 @@ public SqlPoolRestorePoints sqlPoolRestorePoints() { return sqlPoolRestorePoints; } - /** @return Resource collection API of SqlPoolReplicationLinks. */ + /** + * Gets the resource collection API of SqlPoolReplicationLinks. + * + * @return Resource collection API of SqlPoolReplicationLinks. + */ public SqlPoolReplicationLinks sqlPoolReplicationLinks() { if (this.sqlPoolReplicationLinks == null) { this.sqlPoolReplicationLinks = @@ -687,7 +751,11 @@ public SqlPoolReplicationLinks sqlPoolReplicationLinks() { return sqlPoolReplicationLinks; } - /** @return Resource collection API of SqlPoolMaintenanceWindows. */ + /** + * Gets the resource collection API of SqlPoolMaintenanceWindows. + * + * @return Resource collection API of SqlPoolMaintenanceWindows. + */ public SqlPoolMaintenanceWindows sqlPoolMaintenanceWindows() { if (this.sqlPoolMaintenanceWindows == null) { this.sqlPoolMaintenanceWindows = @@ -696,7 +764,11 @@ public SqlPoolMaintenanceWindows sqlPoolMaintenanceWindows() { return sqlPoolMaintenanceWindows; } - /** @return Resource collection API of SqlPoolMaintenanceWindowOptions. */ + /** + * Gets the resource collection API of SqlPoolMaintenanceWindowOptions. + * + * @return Resource collection API of SqlPoolMaintenanceWindowOptions. + */ public SqlPoolMaintenanceWindowOptions sqlPoolMaintenanceWindowOptions() { if (this.sqlPoolMaintenanceWindowOptions == null) { this.sqlPoolMaintenanceWindowOptions = @@ -705,7 +777,11 @@ public SqlPoolMaintenanceWindowOptions sqlPoolMaintenanceWindowOptions() { return sqlPoolMaintenanceWindowOptions; } - /** @return Resource collection API of SqlPoolTransparentDataEncryptions. */ + /** + * Gets the resource collection API of SqlPoolTransparentDataEncryptions. It manages TransparentDataEncryption. + * + * @return Resource collection API of SqlPoolTransparentDataEncryptions. + */ public SqlPoolTransparentDataEncryptions sqlPoolTransparentDataEncryptions() { if (this.sqlPoolTransparentDataEncryptions == null) { this.sqlPoolTransparentDataEncryptions = @@ -714,7 +790,11 @@ public SqlPoolTransparentDataEncryptions sqlPoolTransparentDataEncryptions() { return sqlPoolTransparentDataEncryptions; } - /** @return Resource collection API of SqlPoolBlobAuditingPolicies. */ + /** + * Gets the resource collection API of SqlPoolBlobAuditingPolicies. It manages SqlPoolBlobAuditingPolicy. + * + * @return Resource collection API of SqlPoolBlobAuditingPolicies. + */ public SqlPoolBlobAuditingPolicies sqlPoolBlobAuditingPolicies() { if (this.sqlPoolBlobAuditingPolicies == null) { this.sqlPoolBlobAuditingPolicies = @@ -723,7 +803,11 @@ public SqlPoolBlobAuditingPolicies sqlPoolBlobAuditingPolicies() { return sqlPoolBlobAuditingPolicies; } - /** @return Resource collection API of SqlPoolOperations. */ + /** + * Gets the resource collection API of SqlPoolOperations. + * + * @return Resource collection API of SqlPoolOperations. + */ public SqlPoolOperations sqlPoolOperations() { if (this.sqlPoolOperations == null) { this.sqlPoolOperations = new SqlPoolOperationsImpl(clientObject.getSqlPoolOperations(), this); @@ -731,7 +815,11 @@ public SqlPoolOperations sqlPoolOperations() { return sqlPoolOperations; } - /** @return Resource collection API of SqlPoolUsages. */ + /** + * Gets the resource collection API of SqlPoolUsages. + * + * @return Resource collection API of SqlPoolUsages. + */ public SqlPoolUsages sqlPoolUsages() { if (this.sqlPoolUsages == null) { this.sqlPoolUsages = new SqlPoolUsagesImpl(clientObject.getSqlPoolUsages(), this); @@ -739,7 +827,11 @@ public SqlPoolUsages sqlPoolUsages() { return sqlPoolUsages; } - /** @return Resource collection API of SqlPoolSensitivityLabels. */ + /** + * Gets the resource collection API of SqlPoolSensitivityLabels. It manages SensitivityLabel. + * + * @return Resource collection API of SqlPoolSensitivityLabels. + */ public SqlPoolSensitivityLabels sqlPoolSensitivityLabels() { if (this.sqlPoolSensitivityLabels == null) { this.sqlPoolSensitivityLabels = @@ -748,7 +840,11 @@ public SqlPoolSensitivityLabels sqlPoolSensitivityLabels() { return sqlPoolSensitivityLabels; } - /** @return Resource collection API of SqlPoolRecommendedSensitivityLabels. */ + /** + * Gets the resource collection API of SqlPoolRecommendedSensitivityLabels. + * + * @return Resource collection API of SqlPoolRecommendedSensitivityLabels. + */ public SqlPoolRecommendedSensitivityLabels sqlPoolRecommendedSensitivityLabels() { if (this.sqlPoolRecommendedSensitivityLabels == null) { this.sqlPoolRecommendedSensitivityLabels = @@ -758,7 +854,11 @@ public SqlPoolRecommendedSensitivityLabels sqlPoolRecommendedSensitivityLabels() return sqlPoolRecommendedSensitivityLabels; } - /** @return Resource collection API of SqlPoolSchemas. */ + /** + * Gets the resource collection API of SqlPoolSchemas. + * + * @return Resource collection API of SqlPoolSchemas. + */ public SqlPoolSchemas sqlPoolSchemas() { if (this.sqlPoolSchemas == null) { this.sqlPoolSchemas = new SqlPoolSchemasImpl(clientObject.getSqlPoolSchemas(), this); @@ -766,7 +866,11 @@ public SqlPoolSchemas sqlPoolSchemas() { return sqlPoolSchemas; } - /** @return Resource collection API of SqlPoolTables. */ + /** + * Gets the resource collection API of SqlPoolTables. + * + * @return Resource collection API of SqlPoolTables. + */ public SqlPoolTables sqlPoolTables() { if (this.sqlPoolTables == null) { this.sqlPoolTables = new SqlPoolTablesImpl(clientObject.getSqlPoolTables(), this); @@ -774,7 +878,11 @@ public SqlPoolTables sqlPoolTables() { return sqlPoolTables; } - /** @return Resource collection API of SqlPoolTableColumns. */ + /** + * Gets the resource collection API of SqlPoolTableColumns. + * + * @return Resource collection API of SqlPoolTableColumns. + */ public SqlPoolTableColumns sqlPoolTableColumns() { if (this.sqlPoolTableColumns == null) { this.sqlPoolTableColumns = new SqlPoolTableColumnsImpl(clientObject.getSqlPoolTableColumns(), this); @@ -782,7 +890,11 @@ public SqlPoolTableColumns sqlPoolTableColumns() { return sqlPoolTableColumns; } - /** @return Resource collection API of SqlPoolConnectionPolicies. */ + /** + * Gets the resource collection API of SqlPoolConnectionPolicies. + * + * @return Resource collection API of SqlPoolConnectionPolicies. + */ public SqlPoolConnectionPolicies sqlPoolConnectionPolicies() { if (this.sqlPoolConnectionPolicies == null) { this.sqlPoolConnectionPolicies = @@ -791,7 +903,11 @@ public SqlPoolConnectionPolicies sqlPoolConnectionPolicies() { return sqlPoolConnectionPolicies; } - /** @return Resource collection API of SqlPoolVulnerabilityAssessments. */ + /** + * Gets the resource collection API of SqlPoolVulnerabilityAssessments. It manages SqlPoolVulnerabilityAssessment. + * + * @return Resource collection API of SqlPoolVulnerabilityAssessments. + */ public SqlPoolVulnerabilityAssessments sqlPoolVulnerabilityAssessments() { if (this.sqlPoolVulnerabilityAssessments == null) { this.sqlPoolVulnerabilityAssessments = @@ -800,7 +916,11 @@ public SqlPoolVulnerabilityAssessments sqlPoolVulnerabilityAssessments() { return sqlPoolVulnerabilityAssessments; } - /** @return Resource collection API of SqlPoolVulnerabilityAssessmentScans. */ + /** + * Gets the resource collection API of SqlPoolVulnerabilityAssessmentScans. + * + * @return Resource collection API of SqlPoolVulnerabilityAssessmentScans. + */ public SqlPoolVulnerabilityAssessmentScans sqlPoolVulnerabilityAssessmentScans() { if (this.sqlPoolVulnerabilityAssessmentScans == null) { this.sqlPoolVulnerabilityAssessmentScans = @@ -810,7 +930,11 @@ public SqlPoolVulnerabilityAssessmentScans sqlPoolVulnerabilityAssessmentScans() return sqlPoolVulnerabilityAssessmentScans; } - /** @return Resource collection API of SqlPoolSecurityAlertPolicies. */ + /** + * Gets the resource collection API of SqlPoolSecurityAlertPolicies. It manages SqlPoolSecurityAlertPolicy. + * + * @return Resource collection API of SqlPoolSecurityAlertPolicies. + */ public SqlPoolSecurityAlertPolicies sqlPoolSecurityAlertPolicies() { if (this.sqlPoolSecurityAlertPolicies == null) { this.sqlPoolSecurityAlertPolicies = @@ -819,7 +943,12 @@ public SqlPoolSecurityAlertPolicies sqlPoolSecurityAlertPolicies() { return sqlPoolSecurityAlertPolicies; } - /** @return Resource collection API of SqlPoolVulnerabilityAssessmentRuleBaselines. */ + /** + * Gets the resource collection API of SqlPoolVulnerabilityAssessmentRuleBaselines. It manages + * SqlPoolVulnerabilityAssessmentRuleBaseline. + * + * @return Resource collection API of SqlPoolVulnerabilityAssessmentRuleBaselines. + */ public SqlPoolVulnerabilityAssessmentRuleBaselines sqlPoolVulnerabilityAssessmentRuleBaselines() { if (this.sqlPoolVulnerabilityAssessmentRuleBaselines == null) { this.sqlPoolVulnerabilityAssessmentRuleBaselines = @@ -829,7 +958,12 @@ public SqlPoolVulnerabilityAssessmentRuleBaselines sqlPoolVulnerabilityAssessmen return sqlPoolVulnerabilityAssessmentRuleBaselines; } - /** @return Resource collection API of ExtendedSqlPoolBlobAuditingPolicies. */ + /** + * Gets the resource collection API of ExtendedSqlPoolBlobAuditingPolicies. It manages + * ExtendedSqlPoolBlobAuditingPolicy. + * + * @return Resource collection API of ExtendedSqlPoolBlobAuditingPolicies. + */ public ExtendedSqlPoolBlobAuditingPolicies extendedSqlPoolBlobAuditingPolicies() { if (this.extendedSqlPoolBlobAuditingPolicies == null) { this.extendedSqlPoolBlobAuditingPolicies = @@ -839,7 +973,11 @@ public ExtendedSqlPoolBlobAuditingPolicies extendedSqlPoolBlobAuditingPolicies() return extendedSqlPoolBlobAuditingPolicies; } - /** @return Resource collection API of DataMaskingPolicies. */ + /** + * Gets the resource collection API of DataMaskingPolicies. It manages DataMaskingPolicy. + * + * @return Resource collection API of DataMaskingPolicies. + */ public DataMaskingPolicies dataMaskingPolicies() { if (this.dataMaskingPolicies == null) { this.dataMaskingPolicies = new DataMaskingPoliciesImpl(clientObject.getDataMaskingPolicies(), this); @@ -847,7 +985,11 @@ public DataMaskingPolicies dataMaskingPolicies() { return dataMaskingPolicies; } - /** @return Resource collection API of DataMaskingRules. */ + /** + * Gets the resource collection API of DataMaskingRules. It manages DataMaskingRule. + * + * @return Resource collection API of DataMaskingRules. + */ public DataMaskingRules dataMaskingRules() { if (this.dataMaskingRules == null) { this.dataMaskingRules = new DataMaskingRulesImpl(clientObject.getDataMaskingRules(), this); @@ -855,7 +997,11 @@ public DataMaskingRules dataMaskingRules() { return dataMaskingRules; } - /** @return Resource collection API of SqlPoolColumns. */ + /** + * Gets the resource collection API of SqlPoolColumns. + * + * @return Resource collection API of SqlPoolColumns. + */ public SqlPoolColumns sqlPoolColumns() { if (this.sqlPoolColumns == null) { this.sqlPoolColumns = new SqlPoolColumnsImpl(clientObject.getSqlPoolColumns(), this); @@ -863,7 +1009,11 @@ public SqlPoolColumns sqlPoolColumns() { return sqlPoolColumns; } - /** @return Resource collection API of SqlPoolWorkloadGroups. */ + /** + * Gets the resource collection API of SqlPoolWorkloadGroups. It manages WorkloadGroup. + * + * @return Resource collection API of SqlPoolWorkloadGroups. + */ public SqlPoolWorkloadGroups sqlPoolWorkloadGroups() { if (this.sqlPoolWorkloadGroups == null) { this.sqlPoolWorkloadGroups = new SqlPoolWorkloadGroupsImpl(clientObject.getSqlPoolWorkloadGroups(), this); @@ -871,7 +1021,11 @@ public SqlPoolWorkloadGroups sqlPoolWorkloadGroups() { return sqlPoolWorkloadGroups; } - /** @return Resource collection API of SqlPoolWorkloadClassifiers. */ + /** + * Gets the resource collection API of SqlPoolWorkloadClassifiers. It manages WorkloadClassifier. + * + * @return Resource collection API of SqlPoolWorkloadClassifiers. + */ public SqlPoolWorkloadClassifiers sqlPoolWorkloadClassifiers() { if (this.sqlPoolWorkloadClassifiers == null) { this.sqlPoolWorkloadClassifiers = @@ -880,7 +1034,12 @@ public SqlPoolWorkloadClassifiers sqlPoolWorkloadClassifiers() { return sqlPoolWorkloadClassifiers; } - /** @return Resource collection API of WorkspaceManagedSqlServerBlobAuditingPolicies. */ + /** + * Gets the resource collection API of WorkspaceManagedSqlServerBlobAuditingPolicies. It manages + * ServerBlobAuditingPolicy. + * + * @return Resource collection API of WorkspaceManagedSqlServerBlobAuditingPolicies. + */ public WorkspaceManagedSqlServerBlobAuditingPolicies workspaceManagedSqlServerBlobAuditingPolicies() { if (this.workspaceManagedSqlServerBlobAuditingPolicies == null) { this.workspaceManagedSqlServerBlobAuditingPolicies = @@ -890,7 +1049,12 @@ public WorkspaceManagedSqlServerBlobAuditingPolicies workspaceManagedSqlServerBl return workspaceManagedSqlServerBlobAuditingPolicies; } - /** @return Resource collection API of WorkspaceManagedSqlServerExtendedBlobAuditingPolicies. */ + /** + * Gets the resource collection API of WorkspaceManagedSqlServerExtendedBlobAuditingPolicies. It manages + * ExtendedServerBlobAuditingPolicy. + * + * @return Resource collection API of WorkspaceManagedSqlServerExtendedBlobAuditingPolicies. + */ public WorkspaceManagedSqlServerExtendedBlobAuditingPolicies workspaceManagedSqlServerExtendedBlobAuditingPolicies() { if (this.workspaceManagedSqlServerExtendedBlobAuditingPolicies == null) { @@ -901,7 +1065,12 @@ public WorkspaceManagedSqlServerBlobAuditingPolicies workspaceManagedSqlServerBl return workspaceManagedSqlServerExtendedBlobAuditingPolicies; } - /** @return Resource collection API of WorkspaceManagedSqlServerSecurityAlertPolicies. */ + /** + * Gets the resource collection API of WorkspaceManagedSqlServerSecurityAlertPolicies. It manages + * ServerSecurityAlertPolicy. + * + * @return Resource collection API of WorkspaceManagedSqlServerSecurityAlertPolicies. + */ public WorkspaceManagedSqlServerSecurityAlertPolicies workspaceManagedSqlServerSecurityAlertPolicies() { if (this.workspaceManagedSqlServerSecurityAlertPolicies == null) { this.workspaceManagedSqlServerSecurityAlertPolicies = @@ -911,7 +1080,12 @@ public WorkspaceManagedSqlServerSecurityAlertPolicies workspaceManagedSqlServerS return workspaceManagedSqlServerSecurityAlertPolicies; } - /** @return Resource collection API of WorkspaceManagedSqlServerVulnerabilityAssessments. */ + /** + * Gets the resource collection API of WorkspaceManagedSqlServerVulnerabilityAssessments. It manages + * ServerVulnerabilityAssessment. + * + * @return Resource collection API of WorkspaceManagedSqlServerVulnerabilityAssessments. + */ public WorkspaceManagedSqlServerVulnerabilityAssessments workspaceManagedSqlServerVulnerabilityAssessments() { if (this.workspaceManagedSqlServerVulnerabilityAssessments == null) { this.workspaceManagedSqlServerVulnerabilityAssessments = @@ -921,7 +1095,12 @@ public WorkspaceManagedSqlServerVulnerabilityAssessments workspaceManagedSqlServ return workspaceManagedSqlServerVulnerabilityAssessments; } - /** @return Resource collection API of WorkspaceManagedSqlServerEncryptionProtectors. */ + /** + * Gets the resource collection API of WorkspaceManagedSqlServerEncryptionProtectors. It manages + * EncryptionProtector. + * + * @return Resource collection API of WorkspaceManagedSqlServerEncryptionProtectors. + */ public WorkspaceManagedSqlServerEncryptionProtectors workspaceManagedSqlServerEncryptionProtectors() { if (this.workspaceManagedSqlServerEncryptionProtectors == null) { this.workspaceManagedSqlServerEncryptionProtectors = @@ -931,7 +1110,11 @@ public WorkspaceManagedSqlServerEncryptionProtectors workspaceManagedSqlServerEn return workspaceManagedSqlServerEncryptionProtectors; } - /** @return Resource collection API of WorkspaceManagedSqlServerUsages. */ + /** + * Gets the resource collection API of WorkspaceManagedSqlServerUsages. + * + * @return Resource collection API of WorkspaceManagedSqlServerUsages. + */ public WorkspaceManagedSqlServerUsages workspaceManagedSqlServerUsages() { if (this.workspaceManagedSqlServerUsages == null) { this.workspaceManagedSqlServerUsages = @@ -940,7 +1123,11 @@ public WorkspaceManagedSqlServerUsages workspaceManagedSqlServerUsages() { return workspaceManagedSqlServerUsages; } - /** @return Resource collection API of WorkspaceManagedSqlServerRecoverableSqlPools. */ + /** + * Gets the resource collection API of WorkspaceManagedSqlServerRecoverableSqlPools. + * + * @return Resource collection API of WorkspaceManagedSqlServerRecoverableSqlPools. + */ public WorkspaceManagedSqlServerRecoverableSqlPools workspaceManagedSqlServerRecoverableSqlPools() { if (this.workspaceManagedSqlServerRecoverableSqlPools == null) { this.workspaceManagedSqlServerRecoverableSqlPools = @@ -950,7 +1137,11 @@ public WorkspaceManagedSqlServerRecoverableSqlPools workspaceManagedSqlServerRec return workspaceManagedSqlServerRecoverableSqlPools; } - /** @return Resource collection API of WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings. */ + /** + * Gets the resource collection API of WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings. + * + * @return Resource collection API of WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings. + */ public WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings workspaceManagedSqlServerDedicatedSqlMinimalTlsSettings() { if (this.workspaceManagedSqlServerDedicatedSqlMinimalTlsSettings == null) { @@ -961,7 +1152,11 @@ public WorkspaceManagedSqlServerRecoverableSqlPools workspaceManagedSqlServerRec return workspaceManagedSqlServerDedicatedSqlMinimalTlsSettings; } - /** @return Resource collection API of Workspaces. */ + /** + * Gets the resource collection API of Workspaces. It manages Workspace. + * + * @return Resource collection API of Workspaces. + */ public Workspaces workspaces() { if (this.workspaces == null) { this.workspaces = new WorkspacesImpl(clientObject.getWorkspaces(), this); @@ -969,7 +1164,11 @@ public Workspaces workspaces() { return workspaces; } - /** @return Resource collection API of WorkspaceAadAdmins. */ + /** + * Gets the resource collection API of WorkspaceAadAdmins. + * + * @return Resource collection API of WorkspaceAadAdmins. + */ public WorkspaceAadAdmins workspaceAadAdmins() { if (this.workspaceAadAdmins == null) { this.workspaceAadAdmins = new WorkspaceAadAdminsImpl(clientObject.getWorkspaceAadAdmins(), this); @@ -977,7 +1176,11 @@ public WorkspaceAadAdmins workspaceAadAdmins() { return workspaceAadAdmins; } - /** @return Resource collection API of WorkspaceSqlAadAdmins. */ + /** + * Gets the resource collection API of WorkspaceSqlAadAdmins. + * + * @return Resource collection API of WorkspaceSqlAadAdmins. + */ public WorkspaceSqlAadAdmins workspaceSqlAadAdmins() { if (this.workspaceSqlAadAdmins == null) { this.workspaceSqlAadAdmins = new WorkspaceSqlAadAdminsImpl(clientObject.getWorkspaceSqlAadAdmins(), this); @@ -985,7 +1188,11 @@ public WorkspaceSqlAadAdmins workspaceSqlAadAdmins() { return workspaceSqlAadAdmins; } - /** @return Resource collection API of WorkspaceManagedIdentitySqlControlSettings. */ + /** + * Gets the resource collection API of WorkspaceManagedIdentitySqlControlSettings. + * + * @return Resource collection API of WorkspaceManagedIdentitySqlControlSettings. + */ public WorkspaceManagedIdentitySqlControlSettings workspaceManagedIdentitySqlControlSettings() { if (this.workspaceManagedIdentitySqlControlSettings == null) { this.workspaceManagedIdentitySqlControlSettings = @@ -995,7 +1202,11 @@ public WorkspaceManagedIdentitySqlControlSettings workspaceManagedIdentitySqlCon return workspaceManagedIdentitySqlControlSettings; } - /** @return Resource collection API of RestorableDroppedSqlPools. */ + /** + * Gets the resource collection API of RestorableDroppedSqlPools. + * + * @return Resource collection API of RestorableDroppedSqlPools. + */ public RestorableDroppedSqlPools restorableDroppedSqlPools() { if (this.restorableDroppedSqlPools == null) { this.restorableDroppedSqlPools = @@ -1004,7 +1215,11 @@ public RestorableDroppedSqlPools restorableDroppedSqlPools() { return restorableDroppedSqlPools; } - /** @return Resource collection API of BigDataPools. */ + /** + * Gets the resource collection API of BigDataPools. It manages BigDataPoolResourceInfo. + * + * @return Resource collection API of BigDataPools. + */ public BigDataPools bigDataPools() { if (this.bigDataPools == null) { this.bigDataPools = new BigDataPoolsImpl(clientObject.getBigDataPools(), this); @@ -1012,7 +1227,11 @@ public BigDataPools bigDataPools() { return bigDataPools; } - /** @return Resource collection API of Libraries. */ + /** + * Gets the resource collection API of Libraries. + * + * @return Resource collection API of Libraries. + */ public Libraries libraries() { if (this.libraries == null) { this.libraries = new LibrariesImpl(clientObject.getLibraries(), this); @@ -1020,7 +1239,11 @@ public Libraries libraries() { return libraries; } - /** @return Resource collection API of LibrariesOperations. */ + /** + * Gets the resource collection API of LibrariesOperations. + * + * @return Resource collection API of LibrariesOperations. + */ public LibrariesOperations librariesOperations() { if (this.librariesOperations == null) { this.librariesOperations = new LibrariesOperationsImpl(clientObject.getLibrariesOperations(), this); @@ -1028,7 +1251,11 @@ public LibrariesOperations librariesOperations() { return librariesOperations; } - /** @return Resource collection API of IntegrationRuntimes. */ + /** + * Gets the resource collection API of IntegrationRuntimes. It manages IntegrationRuntimeResource. + * + * @return Resource collection API of IntegrationRuntimes. + */ public IntegrationRuntimes integrationRuntimes() { if (this.integrationRuntimes == null) { this.integrationRuntimes = new IntegrationRuntimesImpl(clientObject.getIntegrationRuntimes(), this); @@ -1036,7 +1263,11 @@ public IntegrationRuntimes integrationRuntimes() { return integrationRuntimes; } - /** @return Resource collection API of IntegrationRuntimeNodeIpAddressOperations. */ + /** + * Gets the resource collection API of IntegrationRuntimeNodeIpAddressOperations. + * + * @return Resource collection API of IntegrationRuntimeNodeIpAddressOperations. + */ public IntegrationRuntimeNodeIpAddressOperations integrationRuntimeNodeIpAddressOperations() { if (this.integrationRuntimeNodeIpAddressOperations == null) { this.integrationRuntimeNodeIpAddressOperations = @@ -1046,7 +1277,11 @@ public IntegrationRuntimeNodeIpAddressOperations integrationRuntimeNodeIpAddress return integrationRuntimeNodeIpAddressOperations; } - /** @return Resource collection API of IntegrationRuntimeObjectMetadatas. */ + /** + * Gets the resource collection API of IntegrationRuntimeObjectMetadatas. + * + * @return Resource collection API of IntegrationRuntimeObjectMetadatas. + */ public IntegrationRuntimeObjectMetadatas integrationRuntimeObjectMetadatas() { if (this.integrationRuntimeObjectMetadatas == null) { this.integrationRuntimeObjectMetadatas = @@ -1055,7 +1290,11 @@ public IntegrationRuntimeObjectMetadatas integrationRuntimeObjectMetadatas() { return integrationRuntimeObjectMetadatas; } - /** @return Resource collection API of IntegrationRuntimeNodes. */ + /** + * Gets the resource collection API of IntegrationRuntimeNodes. + * + * @return Resource collection API of IntegrationRuntimeNodes. + */ public IntegrationRuntimeNodes integrationRuntimeNodes() { if (this.integrationRuntimeNodes == null) { this.integrationRuntimeNodes = @@ -1064,7 +1303,11 @@ public IntegrationRuntimeNodes integrationRuntimeNodes() { return integrationRuntimeNodes; } - /** @return Resource collection API of IntegrationRuntimeCredentials. */ + /** + * Gets the resource collection API of IntegrationRuntimeCredentials. + * + * @return Resource collection API of IntegrationRuntimeCredentials. + */ public IntegrationRuntimeCredentials integrationRuntimeCredentials() { if (this.integrationRuntimeCredentials == null) { this.integrationRuntimeCredentials = @@ -1073,7 +1316,11 @@ public IntegrationRuntimeCredentials integrationRuntimeCredentials() { return integrationRuntimeCredentials; } - /** @return Resource collection API of IntegrationRuntimeConnectionInfos. */ + /** + * Gets the resource collection API of IntegrationRuntimeConnectionInfos. + * + * @return Resource collection API of IntegrationRuntimeConnectionInfos. + */ public IntegrationRuntimeConnectionInfos integrationRuntimeConnectionInfos() { if (this.integrationRuntimeConnectionInfos == null) { this.integrationRuntimeConnectionInfos = @@ -1082,7 +1329,11 @@ public IntegrationRuntimeConnectionInfos integrationRuntimeConnectionInfos() { return integrationRuntimeConnectionInfos; } - /** @return Resource collection API of IntegrationRuntimeAuthKeysOperations. */ + /** + * Gets the resource collection API of IntegrationRuntimeAuthKeysOperations. + * + * @return Resource collection API of IntegrationRuntimeAuthKeysOperations. + */ public IntegrationRuntimeAuthKeysOperations integrationRuntimeAuthKeysOperations() { if (this.integrationRuntimeAuthKeysOperations == null) { this.integrationRuntimeAuthKeysOperations = @@ -1092,7 +1343,11 @@ public IntegrationRuntimeAuthKeysOperations integrationRuntimeAuthKeysOperations return integrationRuntimeAuthKeysOperations; } - /** @return Resource collection API of IntegrationRuntimeMonitoringDatas. */ + /** + * Gets the resource collection API of IntegrationRuntimeMonitoringDatas. + * + * @return Resource collection API of IntegrationRuntimeMonitoringDatas. + */ public IntegrationRuntimeMonitoringDatas integrationRuntimeMonitoringDatas() { if (this.integrationRuntimeMonitoringDatas == null) { this.integrationRuntimeMonitoringDatas = @@ -1101,7 +1356,11 @@ public IntegrationRuntimeMonitoringDatas integrationRuntimeMonitoringDatas() { return integrationRuntimeMonitoringDatas; } - /** @return Resource collection API of IntegrationRuntimeStatusOperations. */ + /** + * Gets the resource collection API of IntegrationRuntimeStatusOperations. + * + * @return Resource collection API of IntegrationRuntimeStatusOperations. + */ public IntegrationRuntimeStatusOperations integrationRuntimeStatusOperations() { if (this.integrationRuntimeStatusOperations == null) { this.integrationRuntimeStatusOperations = @@ -1110,7 +1369,11 @@ public IntegrationRuntimeStatusOperations integrationRuntimeStatusOperations() { return integrationRuntimeStatusOperations; } - /** @return Resource collection API of SparkConfigurations. */ + /** + * Gets the resource collection API of SparkConfigurations. + * + * @return Resource collection API of SparkConfigurations. + */ public SparkConfigurations sparkConfigurations() { if (this.sparkConfigurations == null) { this.sparkConfigurations = new SparkConfigurationsImpl(clientObject.getSparkConfigurations(), this); @@ -1118,7 +1381,11 @@ public SparkConfigurations sparkConfigurations() { return sparkConfigurations; } - /** @return Resource collection API of SparkConfigurationsOperations. */ + /** + * Gets the resource collection API of SparkConfigurationsOperations. + * + * @return Resource collection API of SparkConfigurationsOperations. + */ public SparkConfigurationsOperations sparkConfigurationsOperations() { if (this.sparkConfigurationsOperations == null) { this.sparkConfigurationsOperations = @@ -1127,7 +1394,11 @@ public SparkConfigurationsOperations sparkConfigurationsOperations() { return sparkConfigurationsOperations; } - /** @return Resource collection API of KustoOperations. */ + /** + * Gets the resource collection API of KustoOperations. + * + * @return Resource collection API of KustoOperations. + */ public KustoOperations kustoOperations() { if (this.kustoOperations == null) { this.kustoOperations = new KustoOperationsImpl(clientObject.getKustoOperations(), this); @@ -1135,7 +1406,11 @@ public KustoOperations kustoOperations() { return kustoOperations; } - /** @return Resource collection API of KustoPools. */ + /** + * Gets the resource collection API of KustoPools. It manages KustoPool. + * + * @return Resource collection API of KustoPools. + */ public KustoPools kustoPools() { if (this.kustoPools == null) { this.kustoPools = new KustoPoolsImpl(clientObject.getKustoPools(), this); @@ -1143,7 +1418,11 @@ public KustoPools kustoPools() { return kustoPools; } - /** @return Resource collection API of KustoPoolChildResources. */ + /** + * Gets the resource collection API of KustoPoolChildResources. + * + * @return Resource collection API of KustoPoolChildResources. + */ public KustoPoolChildResources kustoPoolChildResources() { if (this.kustoPoolChildResources == null) { this.kustoPoolChildResources = @@ -1152,7 +1431,12 @@ public KustoPoolChildResources kustoPoolChildResources() { return kustoPoolChildResources; } - /** @return Resource collection API of KustoPoolAttachedDatabaseConfigurations. */ + /** + * Gets the resource collection API of KustoPoolAttachedDatabaseConfigurations. It manages + * AttachedDatabaseConfiguration. + * + * @return Resource collection API of KustoPoolAttachedDatabaseConfigurations. + */ public KustoPoolAttachedDatabaseConfigurations kustoPoolAttachedDatabaseConfigurations() { if (this.kustoPoolAttachedDatabaseConfigurations == null) { this.kustoPoolAttachedDatabaseConfigurations = @@ -1162,7 +1446,11 @@ public KustoPoolAttachedDatabaseConfigurations kustoPoolAttachedDatabaseConfigur return kustoPoolAttachedDatabaseConfigurations; } - /** @return Resource collection API of KustoPoolDatabases. */ + /** + * Gets the resource collection API of KustoPoolDatabases. + * + * @return Resource collection API of KustoPoolDatabases. + */ public KustoPoolDatabases kustoPoolDatabases() { if (this.kustoPoolDatabases == null) { this.kustoPoolDatabases = new KustoPoolDatabasesImpl(clientObject.getKustoPoolDatabases(), this); @@ -1170,7 +1458,11 @@ public KustoPoolDatabases kustoPoolDatabases() { return kustoPoolDatabases; } - /** @return Resource collection API of KustoPoolDataConnections. */ + /** + * Gets the resource collection API of KustoPoolDataConnections. + * + * @return Resource collection API of KustoPoolDataConnections. + */ public KustoPoolDataConnections kustoPoolDataConnections() { if (this.kustoPoolDataConnections == null) { this.kustoPoolDataConnections = @@ -1179,7 +1471,11 @@ public KustoPoolDataConnections kustoPoolDataConnections() { return kustoPoolDataConnections; } - /** @return Resource collection API of KustoPoolPrincipalAssignments. */ + /** + * Gets the resource collection API of KustoPoolPrincipalAssignments. It manages ClusterPrincipalAssignment. + * + * @return Resource collection API of KustoPoolPrincipalAssignments. + */ public KustoPoolPrincipalAssignments kustoPoolPrincipalAssignments() { if (this.kustoPoolPrincipalAssignments == null) { this.kustoPoolPrincipalAssignments = @@ -1188,7 +1484,12 @@ public KustoPoolPrincipalAssignments kustoPoolPrincipalAssignments() { return kustoPoolPrincipalAssignments; } - /** @return Resource collection API of KustoPoolDatabasePrincipalAssignments. */ + /** + * Gets the resource collection API of KustoPoolDatabasePrincipalAssignments. It manages + * DatabasePrincipalAssignment. + * + * @return Resource collection API of KustoPoolDatabasePrincipalAssignments. + */ public KustoPoolDatabasePrincipalAssignments kustoPoolDatabasePrincipalAssignments() { if (this.kustoPoolDatabasePrincipalAssignments == null) { this.kustoPoolDatabasePrincipalAssignments = diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/AzureADOnlyAuthenticationsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/AzureADOnlyAuthenticationsClient.java index 779e4ca1ab999..65da25fc309ae 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/AzureADOnlyAuthenticationsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/AzureADOnlyAuthenticationsClient.java @@ -17,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in AzureADOnlyAuthenticationsClient. */ public interface AzureADOnlyAuthenticationsClient { /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -32,7 +34,9 @@ AzureADOnlyAuthenticationInner get( String resourceGroupName, String workspaceName, AzureADOnlyAuthenticationName azureADOnlyAuthenticationName); /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -51,7 +55,9 @@ Response getWithResponse( Context context); /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -70,7 +76,9 @@ SyncPoller, AzureADOnlyAuthentication AzureADOnlyAuthenticationInner azureADOnlyAuthenticationInfo); /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -91,7 +99,9 @@ SyncPoller, AzureADOnlyAuthentication Context context); /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -110,7 +120,9 @@ AzureADOnlyAuthenticationInner create( AzureADOnlyAuthenticationInner azureADOnlyAuthenticationInfo); /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -131,7 +143,9 @@ AzureADOnlyAuthenticationInner create( Context context); /** - * Gets a list of Azure Active Directory only authentication property for a workspace. + * Gets a list of Azure Active Directory only authentication property + * + *

Gets a list of Azure Active Directory only authentication property for a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -145,7 +159,9 @@ AzureADOnlyAuthenticationInner create( PagedIterable list(String resourceGroupName, String workspaceName); /** - * Gets a list of Azure Active Directory only authentication property for a workspace. + * Gets a list of Azure Active Directory only authentication property + * + *

Gets a list of Azure Active Directory only authentication property for a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/BigDataPoolsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/BigDataPoolsClient.java index 3f20d15e2db1a..8b09b1c0f1ba2 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/BigDataPoolsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/BigDataPoolsClient.java @@ -17,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in BigDataPoolsClient. */ public interface BigDataPoolsClient { /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -31,7 +33,9 @@ public interface BigDataPoolsClient { BigDataPoolResourceInfoInner get(String resourceGroupName, String workspaceName, String bigDataPoolName); /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -47,7 +51,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String bigDataPoolName, Context context); /** - * Patch a Big Data pool. + * Update a Big Data pool. + * + *

Patch a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -66,7 +72,9 @@ BigDataPoolResourceInfoInner update( BigDataPoolPatchInfo bigDataPoolPatchInfo); /** - * Patch a Big Data pool. + * Update a Big Data pool. + * + *

Patch a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -87,7 +95,9 @@ Response updateWithResponse( Context context); /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -108,7 +118,9 @@ SyncPoller, BigDataPoolResourceInfoInne Boolean force); /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -131,7 +143,9 @@ SyncPoller, BigDataPoolResourceInfoInne Context context); /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -152,7 +166,9 @@ BigDataPoolResourceInfoInner createOrUpdate( Boolean force); /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -171,7 +187,9 @@ BigDataPoolResourceInfoInner createOrUpdate( BigDataPoolResourceInfoInner bigDataPoolInfo); /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -194,7 +212,9 @@ BigDataPoolResourceInfoInner createOrUpdate( Context context); /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -209,7 +229,9 @@ SyncPoller, Object> beginDelete( String resourceGroupName, String workspaceName, String bigDataPoolName); /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -225,7 +247,9 @@ SyncPoller, Object> beginDelete( String resourceGroupName, String workspaceName, String bigDataPoolName, Context context); /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -239,7 +263,9 @@ SyncPoller, Object> beginDelete( Object delete(String resourceGroupName, String workspaceName, String bigDataPoolName); /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -254,7 +280,9 @@ SyncPoller, Object> beginDelete( Object delete(String resourceGroupName, String workspaceName, String bigDataPoolName, Context context); /** - * List Big Data pools in a workspace. + * List the Big Data pools in a workspace. + * + *

List Big Data pools in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -267,7 +295,9 @@ SyncPoller, Object> beginDelete( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List Big Data pools in a workspace. + * List the Big Data pools in a workspace. + * + *

List Big Data pools in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeAuthKeysOperationsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeAuthKeysOperationsClient.java index 23e68a9f35ae9..dbfef0d4e83e9 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeAuthKeysOperationsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeAuthKeysOperationsClient.java @@ -17,7 +17,9 @@ */ public interface IntegrationRuntimeAuthKeysOperationsClient { /** - * Regenerate the authentication key for an integration runtime. + * Regenerate integration runtime authentication key + * + *

Regenerate the authentication key for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -36,7 +38,9 @@ IntegrationRuntimeAuthKeysInner regenerate( IntegrationRuntimeRegenerateKeyParameters regenerateKeyParameters); /** - * Regenerate the authentication key for an integration runtime. + * Regenerate integration runtime authentication key + * + *

Regenerate the authentication key for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -57,7 +61,9 @@ Response regenerateWithResponse( Context context); /** - * List authentication keys in an integration runtime. + * List integration runtime authentication keys + * + *

List authentication keys in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -71,7 +77,9 @@ Response regenerateWithResponse( IntegrationRuntimeAuthKeysInner list(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * List authentication keys in an integration runtime. + * List integration runtime authentication keys + * + *

List authentication keys in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeConnectionInfosClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeConnectionInfosClient.java index 28618b166fd18..0fe23ee88d44b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeConnectionInfosClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeConnectionInfosClient.java @@ -15,7 +15,9 @@ */ public interface IntegrationRuntimeConnectionInfosClient { /** - * Get connection info for an integration runtime. + * Get integration runtime connection info + * + *

Get connection info for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -30,7 +32,9 @@ IntegrationRuntimeConnectionInfoInner get( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Get connection info for an integration runtime. + * Get integration runtime connection info + * + *

Get connection info for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeCredentialsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeCredentialsClient.java index 1829e5cb2a6fa..4ad7c8fa87d70 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeCredentialsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeCredentialsClient.java @@ -12,10 +12,12 @@ /** An instance of this class provides access to all the operations defined in IntegrationRuntimeCredentialsClient. */ public interface IntegrationRuntimeCredentialsClient { /** - * Force the integration runtime to synchronize credentials across integration runtime nodes, and this will override - * the credentials across all worker nodes with those available on the dispatcher node. If you already have the - * latest credential backup file, you should manually import it (preferred) on any self-hosted integration runtime - * node than using this API directly. + * Sync integration runtime credentials + * + *

Force the integration runtime to synchronize credentials across integration runtime nodes, and this will + * override the credentials across all worker nodes with those available on the dispatcher node. If you already have + * the latest credential backup file, you should manually import it (preferred) on any self-hosted integration + * runtime node than using this API directly. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -28,10 +30,12 @@ public interface IntegrationRuntimeCredentialsClient { void sync(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Force the integration runtime to synchronize credentials across integration runtime nodes, and this will override - * the credentials across all worker nodes with those available on the dispatcher node. If you already have the - * latest credential backup file, you should manually import it (preferred) on any self-hosted integration runtime - * node than using this API directly. + * Sync integration runtime credentials + * + *

Force the integration runtime to synchronize credentials across integration runtime nodes, and this will + * override the credentials across all worker nodes with those available on the dispatcher node. If you already have + * the latest credential backup file, you should manually import it (preferred) on any self-hosted integration + * runtime node than using this API directly. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeMonitoringDatasClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeMonitoringDatasClient.java index 5f8acb857e125..1acbae8698d33 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeMonitoringDatasClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeMonitoringDatasClient.java @@ -15,7 +15,9 @@ */ public interface IntegrationRuntimeMonitoringDatasClient { /** - * Get monitoring data for an integration runtime. + * Get integration runtime monitoring data + * + *

Get monitoring data for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -30,7 +32,9 @@ IntegrationRuntimeMonitoringDataInner list( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Get monitoring data for an integration runtime. + * Get integration runtime monitoring data + * + *

Get monitoring data for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeNodeIpAddressOperationsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeNodeIpAddressOperationsClient.java index dbfa8d4e2b156..1f127cc78d884 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeNodeIpAddressOperationsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeNodeIpAddressOperationsClient.java @@ -16,7 +16,9 @@ */ public interface IntegrationRuntimeNodeIpAddressOperationsClient { /** - * Get the IP address of an integration runtime node. + * Get integration runtime node IP address + * + *

Get the IP address of an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -32,7 +34,9 @@ IntegrationRuntimeNodeIpAddressInner get( String resourceGroupName, String workspaceName, String integrationRuntimeName, String nodeName); /** - * Get the IP address of an integration runtime node. + * Get integration runtime node IP address + * + *

Get the IP address of an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeNodesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeNodesClient.java index f7096293f0cbe..33edd48f2828f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeNodesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeNodesClient.java @@ -14,7 +14,9 @@ /** An instance of this class provides access to all the operations defined in IntegrationRuntimeNodesClient. */ public interface IntegrationRuntimeNodesClient { /** - * Get an integration runtime node. + * Get integration runtime node + * + *

Get an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -30,7 +32,9 @@ SelfHostedIntegrationRuntimeNodeInner get( String resourceGroupName, String workspaceName, String integrationRuntimeName, String nodeName); /** - * Get an integration runtime node. + * Get integration runtime node + * + *

Get an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -51,7 +55,9 @@ Response getWithResponse( Context context); /** - * Create an integration runtime node. + * Create integration runtime node + * + *

Create an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -72,7 +78,9 @@ SelfHostedIntegrationRuntimeNodeInner update( UpdateIntegrationRuntimeNodeRequest updateIntegrationRuntimeNodeRequest); /** - * Create an integration runtime node. + * Create integration runtime node + * + *

Create an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -95,7 +103,9 @@ Response updateWithResponse( Context context); /** - * Delete an integration runtime node. + * Delete integration runtime node + * + *

Delete an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -109,7 +119,9 @@ Response updateWithResponse( void delete(String resourceGroupName, String workspaceName, String integrationRuntimeName, String nodeName); /** - * Delete an integration runtime node. + * Delete integration runtime node + * + *

Delete an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeObjectMetadatasClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeObjectMetadatasClient.java index 3e8106c27ec3e..a4642a8bd1afd 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeObjectMetadatasClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeObjectMetadatasClient.java @@ -19,7 +19,9 @@ */ public interface IntegrationRuntimeObjectMetadatasClient { /** - * Get object metadata from an integration runtime. + * Get integration runtime object metadata + * + *

Get object metadata from an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -34,7 +36,9 @@ SsisObjectMetadataListResponseInner list( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Get object metadata from an integration runtime. + * Get integration runtime object metadata + * + *

Get object metadata from an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -55,7 +59,9 @@ Response listWithResponse( Context context); /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -70,7 +76,9 @@ SyncPoller, SsisObjectMetadata String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -86,7 +94,9 @@ SyncPoller, SsisObjectMetadata String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -101,7 +111,9 @@ SsisObjectMetadataStatusResponseInner refresh( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeStatusOperationsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeStatusOperationsClient.java index fcfa997045857..5518d0c32c5b8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeStatusOperationsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimeStatusOperationsClient.java @@ -15,7 +15,9 @@ */ public interface IntegrationRuntimeStatusOperationsClient { /** - * Get the integration runtime status. + * Get integration runtime status + * + *

Get the integration runtime status. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -30,7 +32,9 @@ IntegrationRuntimeStatusResponseInner get( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Get the integration runtime status. + * Get integration runtime status + * + *

Get the integration runtime status. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimesClient.java index 047a8d2ab459b..23c1f3925a799 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/IntegrationRuntimesClient.java @@ -19,7 +19,9 @@ /** An instance of this class provides access to all the operations defined in IntegrationRuntimesClient. */ public interface IntegrationRuntimesClient { /** - * Update an integration runtime. + * Update integration runtime + * + *

Update an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -38,7 +40,9 @@ IntegrationRuntimeResourceInner update( UpdateIntegrationRuntimeRequest updateIntegrationRuntimeRequest); /** - * Update an integration runtime. + * Update integration runtime + * + *

Update an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -59,7 +63,9 @@ Response updateWithResponse( Context context); /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -73,7 +79,9 @@ Response updateWithResponse( IntegrationRuntimeResourceInner get(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -95,7 +103,9 @@ Response getWithResponse( Context context); /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -117,7 +127,9 @@ SyncPoller, IntegrationRuntimeResour String ifMatch); /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -141,7 +153,9 @@ SyncPoller, IntegrationRuntimeResour Context context); /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -163,7 +177,9 @@ IntegrationRuntimeResourceInner create( String ifMatch); /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -182,7 +198,9 @@ IntegrationRuntimeResourceInner create( IntegrationRuntimeResourceInner integrationRuntime); /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -206,7 +224,9 @@ IntegrationRuntimeResourceInner create( Context context); /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -221,7 +241,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -237,7 +259,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -250,7 +274,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -264,7 +290,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -277,7 +305,9 @@ SyncPoller, Void> beginDelete( void upgrade(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -293,7 +323,9 @@ Response upgradeWithResponse( String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * List all integration runtimes. + * List integration runtimes + * + *

List all integration runtimes. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -306,7 +338,9 @@ Response upgradeWithResponse( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List all integration runtimes. + * List integration runtimes + * + *

List all integration runtimes. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -321,7 +355,9 @@ PagedIterable listByWorkspace( String resourceGroupName, String workspaceName, Context context); /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -336,7 +372,9 @@ SyncPoller, IntegrationRuntime String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -352,7 +390,9 @@ SyncPoller, IntegrationRuntime String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -367,7 +407,9 @@ IntegrationRuntimeStatusResponseInner start( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -383,7 +425,9 @@ IntegrationRuntimeStatusResponseInner start( String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -398,7 +442,9 @@ SyncPoller, Void> beginStop( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -414,7 +460,9 @@ SyncPoller, Void> beginStop( String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -427,7 +475,9 @@ SyncPoller, Void> beginStop( void stop(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -441,7 +491,9 @@ SyncPoller, Void> beginStop( void stop(String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + * Gets list of outbound network dependencies for a given Azure-SSIS integration runtime. + * + *

Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -456,7 +508,9 @@ IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner listOutbound String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + * Gets list of outbound network dependencies for a given Azure-SSIS integration runtime. + * + *

Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/KustoPoolsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/KustoPoolsClient.java index 8721914dde084..99236ebd6e2a9 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/KustoPoolsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/KustoPoolsClient.java @@ -75,7 +75,9 @@ Response checkNameAvailabilityWithResponse( String location, KustoPoolCheckNameRequest kustoPoolName, Context context); /** - * List all Kusto pools. + * List Kusto pools + * + *

List all Kusto pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -88,7 +90,9 @@ Response checkNameAvailabilityWithResponse( KustoPoolListResultInner listByWorkspace(String resourceGroupName, String workspaceName); /** - * List all Kusto pools. + * List Kusto pools + * + *

List all Kusto pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/LibrariesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/LibrariesClient.java index f48550734e8a4..f177f3e21a1d7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/LibrariesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/LibrariesClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in LibrariesClient. */ public interface LibrariesClient { /** - * Get library by name in a workspace. + * Get library by name. + * + *

Get library by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param libraryName Library name. @@ -27,7 +29,9 @@ public interface LibrariesClient { LibraryResourceInner get(String resourceGroupName, String libraryName, String workspaceName); /** - * Get library by name in a workspace. + * Get library by name. + * + *

Get library by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param libraryName Library name. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/LibrariesOperationsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/LibrariesOperationsClient.java index ac1a4f69265a6..3af47ac51f4d1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/LibrariesOperationsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/LibrariesOperationsClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in LibrariesOperationsClient. */ public interface LibrariesOperationsClient { /** - * List libraries in a workspace. + * List the libraries in a workspace. + * + *

List libraries in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -26,7 +28,9 @@ public interface LibrariesOperationsClient { PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List libraries in a workspace. + * List the libraries in a workspace. + * + *

List libraries in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/OperationsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/OperationsClient.java index 4bbe288f8fbd5..abd6af7831dc3 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/OperationsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/OperationsClient.java @@ -17,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in OperationsClient. */ public interface OperationsClient { /** - * Check whether a workspace name is available. + * Check name availability + * + *

Check whether a workspace name is available. * * @param request The check request. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -29,7 +31,9 @@ public interface OperationsClient { CheckNameAvailabilityResponseInner checkNameAvailability(CheckNameAvailabilityRequest request); /** - * Check whether a workspace name is available. + * Check name availability + * + *

Check whether a workspace name is available. * * @param request The check request. * @param context The context to associate with this operation. @@ -43,7 +47,9 @@ Response checkNameAvailabilityWithResponse( CheckNameAvailabilityRequest request, Context context); /** - * Get all available operations. + * All operations + * + *

Get all available operations. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -53,7 +59,9 @@ Response checkNameAvailabilityWithResponse( List list(); /** - * Get all available operations. + * All operations + * + *

Get all available operations. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -65,7 +73,9 @@ Response checkNameAvailabilityWithResponse( Response> listWithResponse(Context context); /** - * Get the result of an operation. + * Get operation result + * + *

Get the result of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -78,7 +88,9 @@ Response checkNameAvailabilityWithResponse( void getLocationHeaderResult(String resourceGroupName, String workspaceName, String operationId); /** - * Get the result of an operation. + * Get operation result + * + *

Get the result of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -94,7 +106,9 @@ Response getLocationHeaderResultWithResponse( String resourceGroupName, String workspaceName, String operationId, Context context); /** - * Get the status of an operation. + * Get operation status + * + *

Get the status of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -109,7 +123,9 @@ OperationResourceInner getAzureAsyncHeaderResult( String resourceGroupName, String workspaceName, String operationId); /** - * Get the status of an operation. + * Get operation status + * + *

Get the status of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/PrivateLinkHubPrivateLinkResourcesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/PrivateLinkHubPrivateLinkResourcesClient.java index 39fcd9d9f8b21..0da6c948895bb 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/PrivateLinkHubPrivateLinkResourcesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/PrivateLinkHubPrivateLinkResourcesClient.java @@ -16,7 +16,9 @@ */ public interface PrivateLinkHubPrivateLinkResourcesClient { /** - * Get all private link resources for a private link hub. + * Private Link Resources + * + *

Get all private link resources for a private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -29,7 +31,9 @@ public interface PrivateLinkHubPrivateLinkResourcesClient { PagedIterable list(String resourceGroupName, String privateLinkHubName); /** - * Get all private link resources for a private link hub. + * Private Link Resources + * + *

Get all private link resources for a private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -43,7 +47,9 @@ public interface PrivateLinkHubPrivateLinkResourcesClient { PagedIterable list(String resourceGroupName, String privateLinkHubName, Context context); /** - * Get private link resource in private link hub. + * Get Private Link Hub Private Link Resource + * + *

Get private link resource in private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -57,7 +63,9 @@ public interface PrivateLinkHubPrivateLinkResourcesClient { PrivateLinkResourceInner get(String resourceGroupName, String privateLinkHubName, String privateLinkResourceName); /** - * Get private link resource in private link hub. + * Get Private Link Hub Private Link Resource + * + *

Get private link resource in private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/PrivateLinkResourcesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/PrivateLinkResourcesClient.java index 3646523544336..b63be76425eae 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/PrivateLinkResourcesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/PrivateLinkResourcesClient.java @@ -14,7 +14,9 @@ /** An instance of this class provides access to all the operations defined in PrivateLinkResourcesClient. */ public interface PrivateLinkResourcesClient { /** - * Get all private link resources for a workspaces. + * Private Link Resources + * + *

Get all private link resources for a workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -27,7 +29,9 @@ public interface PrivateLinkResourcesClient { PagedIterable list(String resourceGroupName, String workspaceName); /** - * Get all private link resources for a workspaces. + * Private Link Resources + * + *

Get all private link resources for a workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -41,7 +45,9 @@ public interface PrivateLinkResourcesClient { PagedIterable list(String resourceGroupName, String workspaceName, Context context); /** - * Get private link resource in workspace. + * Get Private Link Resource + * + *

Get private link resource in workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -55,7 +61,9 @@ public interface PrivateLinkResourcesClient { PrivateLinkResourceInner get(String resourceGroupName, String workspaceName, String privateLinkResourceName); /** - * Get private link resource in workspace. + * Get Private Link Resource + * + *

Get private link resource in workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SparkConfigurationsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SparkConfigurationsClient.java index 0f201c83bc991..790b54854e351 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SparkConfigurationsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SparkConfigurationsClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in SparkConfigurationsClient. */ public interface SparkConfigurationsClient { /** - * Get SparkConfiguration by name in a workspace. + * Get SparkConfiguration by name. + * + *

Get SparkConfiguration by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param sparkConfigurationName SparkConfiguration name. @@ -27,7 +29,9 @@ public interface SparkConfigurationsClient { SparkConfigurationResourceInner get(String resourceGroupName, String sparkConfigurationName, String workspaceName); /** - * Get SparkConfiguration by name in a workspace. + * Get SparkConfiguration by name. + * + *

Get SparkConfiguration by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param sparkConfigurationName SparkConfiguration name. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SparkConfigurationsOperationsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SparkConfigurationsOperationsClient.java index e83051a40c1d0..1272a647200ae 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SparkConfigurationsOperationsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SparkConfigurationsOperationsClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in SparkConfigurationsOperationsClient. */ public interface SparkConfigurationsOperationsClient { /** - * List sparkConfigurations in a workspace. + * List the sparkConfigurations in a workspace. + * + *

List sparkConfigurations in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -26,7 +28,9 @@ public interface SparkConfigurationsOperationsClient { PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List sparkConfigurations in a workspace. + * List the sparkConfigurations in a workspace. + * + *

List sparkConfigurations in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolBlobAuditingPoliciesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolBlobAuditingPoliciesClient.java index 0012c5325bacb..d9bb0570fc0c8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolBlobAuditingPoliciesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolBlobAuditingPoliciesClient.java @@ -14,7 +14,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolBlobAuditingPoliciesClient. */ public interface SqlPoolBlobAuditingPoliciesClient { /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -28,7 +30,9 @@ public interface SqlPoolBlobAuditingPoliciesClient { SqlPoolBlobAuditingPolicyInner get(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -44,7 +48,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Creates or updates a SQL pool's blob auditing policy. + * Creates or updates a SQL pool's blob auditing policy + * + *

Creates or updates a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -60,7 +66,9 @@ SqlPoolBlobAuditingPolicyInner createOrUpdate( String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolBlobAuditingPolicyInner parameters); /** - * Creates or updates a SQL pool's blob auditing policy. + * Creates or updates a SQL pool's blob auditing policy + * + *

Creates or updates a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolConnectionPoliciesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolConnectionPoliciesClient.java index c0ed4e3250220..00af24377cd03 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolConnectionPoliciesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolConnectionPoliciesClient.java @@ -14,7 +14,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolConnectionPoliciesClient. */ public interface SqlPoolConnectionPoliciesClient { /** - * Get a Sql pool's connection policy, which is used with table auditing. + * Get a Sql pool's connection policy, which is used with table auditing + * + *

Get a Sql pool's connection policy, which is used with table auditing. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -30,7 +32,9 @@ SqlPoolConnectionPolicyInner get( String resourceGroupName, String workspaceName, String sqlPoolName, ConnectionPolicyName connectionPolicyName); /** - * Get a Sql pool's connection policy, which is used with table auditing. + * Get a Sql pool's connection policy, which is used with table auditing + * + *

Get a Sql pool's connection policy, which is used with table auditing. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolDataWarehouseUserActivitiesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolDataWarehouseUserActivitiesClient.java index bf1b4e6138a4a..9629e04faae65 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolDataWarehouseUserActivitiesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolDataWarehouseUserActivitiesClient.java @@ -16,7 +16,9 @@ */ public interface SqlPoolDataWarehouseUserActivitiesClient { /** - * Gets the user activities of a SQL pool which includes running and suspended queries. + * Get SQL pool user activities + * + *

Gets the user activities of a SQL pool which includes running and suspended queries. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -35,7 +37,9 @@ DataWarehouseUserActivitiesInner get( DataWarehouseUserActivityName dataWarehouseUserActivityName); /** - * Gets the user activities of a SQL pool which includes running and suspended queries. + * Get SQL pool user activities + * + *

Gets the user activities of a SQL pool which includes running and suspended queries. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolGeoBackupPoliciesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolGeoBackupPoliciesClient.java index 5a65067d36b59..334544cbaf8a8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolGeoBackupPoliciesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolGeoBackupPoliciesClient.java @@ -15,7 +15,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolGeoBackupPoliciesClient. */ public interface SqlPoolGeoBackupPoliciesClient { /** - * Get list of SQL pool geo backup policies. + * List SQL pool geo backup policies + * + *

Get list of SQL pool geo backup policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -29,7 +31,9 @@ public interface SqlPoolGeoBackupPoliciesClient { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get list of SQL pool geo backup policies. + * List SQL pool geo backup policies + * + *

Get list of SQL pool geo backup policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -89,7 +93,9 @@ Response createOrUpdateWithResponse( Context context); /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -105,7 +111,9 @@ GeoBackupPolicyInner get( String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName); /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolMaintenanceWindowOptionsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolMaintenanceWindowOptionsClient.java index 0ed43e1f3d926..836fffda3da2b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolMaintenanceWindowOptionsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolMaintenanceWindowOptionsClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolMaintenanceWindowOptionsClient. */ public interface SqlPoolMaintenanceWindowOptionsClient { /** - * Get list of SQL pool's available maintenance windows. + * SQL pool's available maintenance windows. + * + *

Get list of SQL pool's available maintenance windows. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -29,7 +31,9 @@ MaintenanceWindowOptionsInner get( String resourceGroupName, String workspaceName, String sqlPoolName, String maintenanceWindowOptionsName); /** - * Get list of SQL pool's available maintenance windows. + * SQL pool's available maintenance windows. + * + *

Get list of SQL pool's available maintenance windows. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolMetadataSyncConfigsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolMetadataSyncConfigsClient.java index 3585dca5d90ef..0f25c5a76388a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolMetadataSyncConfigsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolMetadataSyncConfigsClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolMetadataSyncConfigsClient. */ public interface SqlPoolMetadataSyncConfigsClient { /** - * Get the metadata sync configuration for a SQL pool. + * Get SQL pool metadata sync config + * + *

Get the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -27,7 +29,9 @@ public interface SqlPoolMetadataSyncConfigsClient { MetadataSyncConfigInner get(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get the metadata sync configuration for a SQL pool. + * Get SQL pool metadata sync config + * + *

Get the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -43,7 +47,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Set the metadata sync configuration for a SQL pool. + * Set SQL pool metadata sync config + * + *

Set the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -62,7 +68,9 @@ MetadataSyncConfigInner create( MetadataSyncConfigInner metadataSyncConfiguration); /** - * Set the metadata sync configuration for a SQL pool. + * Set SQL pool metadata sync config + * + *

Set the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolOperationResultsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolOperationResultsClient.java index b5842e528e649..8dfc3ca340b92 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolOperationResultsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolOperationResultsClient.java @@ -12,7 +12,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolOperationResultsClient. */ public interface SqlPoolOperationResultsClient { /** - * Get the status of a SQL pool operation. + * Get SQL pool operation status + * + *

Get the status of a SQL pool operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -28,7 +30,9 @@ Object getLocationHeaderResult( String resourceGroupName, String workspaceName, String sqlPoolName, String operationId); /** - * Get the status of a SQL pool operation. + * Get SQL pool operation status + * + *

Get the status of a SQL pool operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolOperationsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolOperationsClient.java index 6f00e9e00d2af..1078161eb3209 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolOperationsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolOperationsClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolOperationsClient. */ public interface SqlPoolOperationsClient { /** - * Gets a list of operations performed on the SQL pool. + * Gets a list of operations performed on the SQL pool + * + *

Gets a list of operations performed on the SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -27,7 +29,9 @@ public interface SqlPoolOperationsClient { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Gets a list of operations performed on the SQL pool. + * Gets a list of operations performed on the SQL pool + * + *

Gets a list of operations performed on the SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolReplicationLinksClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolReplicationLinksClient.java index edd0802b0ff55..73303b150c175 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolReplicationLinksClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolReplicationLinksClient.java @@ -14,7 +14,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolReplicationLinksClient. */ public interface SqlPoolReplicationLinksClient { /** - * Lists a Sql pool's replication links. + * Get SQL pool replication links + * + *

Lists a Sql pool's replication links. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -29,7 +31,9 @@ public interface SqlPoolReplicationLinksClient { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Lists a Sql pool's replication links. + * Get SQL pool replication links + * + *

Lists a Sql pool's replication links. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -46,7 +50,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Get SQL pool replication link by name. + * Get SQL pool replication link by name + * + *

Get SQL pool replication link by name. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -61,7 +67,9 @@ PagedIterable list( ReplicationLinkInner getByName(String resourceGroupName, String workspaceName, String sqlPoolName, String linkId); /** - * Get SQL pool replication link by name. + * Get SQL pool replication link by name + * + *

Get SQL pool replication link by name. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolRestorePointsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolRestorePointsClient.java index cd0d7d0e568bc..481c586bd31f4 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolRestorePointsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolRestorePointsClient.java @@ -17,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolRestorePointsClient. */ public interface SqlPoolRestorePointsClient { /** - * Get SQL pool backup information. + * Get SQL pool backup + * + *

Get SQL pool backup information. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -31,7 +33,9 @@ public interface SqlPoolRestorePointsClient { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get SQL pool backup information. + * Get SQL pool backup + * + *

Get SQL pool backup information. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSchemasClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSchemasClient.java index 8535c101de2bd..5836b4dfeaafb 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSchemasClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSchemasClient.java @@ -14,7 +14,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolSchemasClient. */ public interface SqlPoolSchemasClient { /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -28,7 +30,9 @@ public interface SqlPoolSchemasClient { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSecurityAlertPoliciesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSecurityAlertPoliciesClient.java index dccf69c7ff33b..30e41d811b7fd 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSecurityAlertPoliciesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSecurityAlertPoliciesClient.java @@ -15,7 +15,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolSecurityAlertPoliciesClient. */ public interface SqlPoolSecurityAlertPoliciesClient { /** - * Get a list of Sql pool's security alert policies. + * List Sql pool's security alert policies + * + *

Get a list of Sql pool's security alert policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -30,7 +32,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get a list of Sql pool's security alert policies. + * List Sql pool's security alert policies + * + *

Get a list of Sql pool's security alert policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -46,7 +50,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -65,7 +71,9 @@ SqlPoolSecurityAlertPolicyInner get( SecurityAlertPolicyName securityAlertPolicyName); /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -86,7 +94,9 @@ Response getWithResponse( Context context); /** - * Create or update a Sql pool's security alert policy. + * Create or update a Sql pool's security alert policy + * + *

Create or update a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -107,7 +117,9 @@ SqlPoolSecurityAlertPolicyInner createOrUpdate( SqlPoolSecurityAlertPolicyInner parameters); /** - * Create or update a Sql pool's security alert policy. + * Create or update a Sql pool's security alert policy + * + *

Create or update a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSensitivityLabelsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSensitivityLabelsClient.java index 274c6c6722128..acf8341fce8d6 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSensitivityLabelsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolSensitivityLabelsClient.java @@ -16,7 +16,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolSensitivityLabelsClient. */ public interface SqlPoolSensitivityLabelsClient { /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -31,7 +33,9 @@ PagedIterable listCurrent( String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -84,7 +88,9 @@ Response updateWithResponse( Context context); /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -99,7 +105,9 @@ PagedIterable listRecommended( String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTableColumnsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTableColumnsClient.java index 6091f64361094..8d76632b85dae 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTableColumnsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTableColumnsClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolTableColumnsClient. */ public interface SqlPoolTableColumnsClient { /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -30,7 +32,9 @@ PagedIterable listByTableName( String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName); /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTablesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTablesClient.java index 6989c9c1219ef..361357382392e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTablesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTablesClient.java @@ -14,7 +14,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolTablesClient. */ public interface SqlPoolTablesClient { /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -30,7 +32,9 @@ PagedIterable listBySchema( String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName); /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTransparentDataEncryptionsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTransparentDataEncryptionsClient.java index 2904cdb02867d..590ae5e602e61 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTransparentDataEncryptionsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolTransparentDataEncryptionsClient.java @@ -17,7 +17,9 @@ */ public interface SqlPoolTransparentDataEncryptionsClient { /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -36,7 +38,9 @@ TransparentDataEncryptionInner get( TransparentDataEncryptionName transparentDataEncryptionName); /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -57,7 +61,9 @@ Response getWithResponse( Context context); /** - * Creates or updates a Sql pool's transparent data encryption configuration. + * Creates or updates a Sql pool's transparent data encryption configuration + * + *

Creates or updates a Sql pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -78,7 +84,9 @@ TransparentDataEncryptionInner createOrUpdate( TransparentDataEncryptionInner parameters); /** - * Creates or updates a Sql pool's transparent data encryption configuration. + * Creates or updates a Sql pool's transparent data encryption configuration + * + *

Creates or updates a Sql pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -101,7 +109,9 @@ Response createOrUpdateWithResponse( Context context); /** - * Get list of SQL pool's transparent data encryption configurations. + * SQL pool's transparent data encryption configurations + * + *

Get list of SQL pool's transparent data encryption configurations. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -117,7 +127,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get list of SQL pool's transparent data encryption configurations. + * SQL pool's transparent data encryption configurations + * + *

Get list of SQL pool's transparent data encryption configurations. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolUsagesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolUsagesClient.java index 15cbb2377d287..9df85e777f479 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolUsagesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolUsagesClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolUsagesClient. */ public interface SqlPoolUsagesClient { /** - * Gets SQL pool usages. + * Gets SQL pool usages + * + *

Gets SQL pool usages. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -27,7 +29,9 @@ public interface SqlPoolUsagesClient { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Gets SQL pool usages. + * Gets SQL pool usages + * + *

Gets SQL pool usages. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolVulnerabilityAssessmentScansClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolVulnerabilityAssessmentScansClient.java index 0beb1056dc0a6..d5ba5930b1365 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolVulnerabilityAssessmentScansClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolVulnerabilityAssessmentScansClient.java @@ -20,7 +20,9 @@ */ public interface SqlPoolVulnerabilityAssessmentScansClient { /** - * Lists the vulnerability assessment scans of a SQL pool. + * Lists the vulnerability assessment scans of a SQL pool + * + *

Lists the vulnerability assessment scans of a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -39,7 +41,9 @@ PagedIterable list( VulnerabilityAssessmentName vulnerabilityAssessmentName); /** - * Lists the vulnerability assessment scans of a SQL pool. + * Lists the vulnerability assessment scans of a SQL pool + * + *

Lists the vulnerability assessment scans of a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolVulnerabilityAssessmentsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolVulnerabilityAssessmentsClient.java index cfeb6fabb59d9..f7f7950ce543c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolVulnerabilityAssessmentsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolVulnerabilityAssessmentsClient.java @@ -15,7 +15,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolVulnerabilityAssessmentsClient. */ public interface SqlPoolVulnerabilityAssessmentsClient { /** - * Lists the vulnerability assessment policies associated with a SQL pool. + * Lists the vulnerability assessment policies associated with a SQL pool + * + *

Lists the vulnerability assessment policies associated with a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -30,7 +32,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Lists the vulnerability assessment policies associated with a SQL pool. + * Lists the vulnerability assessment policies associated with a SQL pool + * + *

Lists the vulnerability assessment policies associated with a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -46,7 +50,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -65,7 +71,9 @@ SqlPoolVulnerabilityAssessmentInner get( VulnerabilityAssessmentName vulnerabilityAssessmentName); /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -86,7 +94,9 @@ Response getWithResponse( Context context); /** - * Creates or updates the Sql pool vulnerability assessment. + * Creates or updates the Sql pool vulnerability assessment + * + *

Creates or updates the Sql pool vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -107,7 +117,9 @@ SqlPoolVulnerabilityAssessmentInner createOrUpdate( SqlPoolVulnerabilityAssessmentInner parameters); /** - * Creates or updates the Sql pool vulnerability assessment. + * Creates or updates the Sql pool vulnerability assessment + * + *

Creates or updates the Sql pool vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -130,7 +142,9 @@ Response createOrUpdateWithResponse( Context context); /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -148,7 +162,9 @@ void delete( VulnerabilityAssessmentName vulnerabilityAssessmentName); /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolWorkloadClassifiersClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolWorkloadClassifiersClient.java index b637cfcdcd6e5..5d27fdac3ae1b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolWorkloadClassifiersClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolWorkloadClassifiersClient.java @@ -16,7 +16,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolWorkloadClassifiersClient. */ public interface SqlPoolWorkloadClassifiersClient { /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -37,7 +39,9 @@ WorkloadClassifierInner get( String workloadClassifierName); /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -60,7 +64,9 @@ Response getWithResponse( Context context); /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -83,7 +89,9 @@ SyncPoller, WorkloadClassifierInner> beginCr WorkloadClassifierInner parameters); /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -108,7 +116,9 @@ SyncPoller, WorkloadClassifierInner> beginCr Context context); /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -131,7 +141,9 @@ WorkloadClassifierInner createOrUpdate( WorkloadClassifierInner parameters); /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -156,7 +168,9 @@ WorkloadClassifierInner createOrUpdate( Context context); /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -177,7 +191,9 @@ SyncPoller, Void> beginDelete( String workloadClassifierName); /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -200,7 +216,9 @@ SyncPoller, Void> beginDelete( Context context); /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -220,7 +238,9 @@ void delete( String workloadClassifierName); /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -242,7 +262,9 @@ void delete( Context context); /** - * Get list of Sql pool's workload classifier for workload groups. + * Sql pool's workload classifier + * + *

Get list of Sql pool's workload classifier for workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -259,7 +281,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName); /** - * Get list of Sql pool's workload classifier for workload groups. + * Sql pool's workload classifier + * + *

Get list of Sql pool's workload classifier for workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolWorkloadGroupsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolWorkloadGroupsClient.java index c2167f1fc433d..762f203417483 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolWorkloadGroupsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolWorkloadGroupsClient.java @@ -16,7 +16,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolWorkloadGroupsClient. */ public interface SqlPoolWorkloadGroupsClient { /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -32,7 +34,9 @@ WorkloadGroupInner get( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName); /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -49,7 +53,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context); /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -70,7 +76,9 @@ SyncPoller, WorkloadGroupInner> beginCreateOrUpda WorkloadGroupInner parameters); /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -93,7 +101,9 @@ SyncPoller, WorkloadGroupInner> beginCreateOrUpda Context context); /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -114,7 +124,9 @@ WorkloadGroupInner createOrUpdate( WorkloadGroupInner parameters); /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -137,7 +149,9 @@ WorkloadGroupInner createOrUpdate( Context context); /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -153,7 +167,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName); /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -170,7 +186,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context); /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -184,7 +202,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName); /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -200,7 +220,9 @@ void delete( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context); /** - * Get list of Sql pool's workload groups. + * Sql pool's workload groups + * + *

Get list of Sql pool's workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -214,7 +236,9 @@ void delete( PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get list of Sql pool's workload groups. + * Sql pool's workload groups + * + *

Get list of Sql pool's workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolsClient.java index 93bf3a59b1b81..e8617d108f2d8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/SqlPoolsClient.java @@ -18,7 +18,9 @@ /** An instance of this class provides access to all the operations defined in SqlPoolsClient. */ public interface SqlPoolsClient { /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -32,7 +34,9 @@ public interface SqlPoolsClient { SqlPoolInner get(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -48,7 +52,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Apply a partial update to a SQL pool. + * Update SQL pool + * + *

Apply a partial update to a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -64,7 +70,9 @@ SqlPoolInner update( String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo); /** - * Apply a partial update to a SQL pool. + * Update SQL pool + * + *

Apply a partial update to a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -85,7 +93,9 @@ Response updateWithResponse( Context context); /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -101,7 +111,9 @@ SyncPoller, SqlPoolInner> beginCreate( String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo); /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -118,7 +130,9 @@ SyncPoller, SqlPoolInner> beginCreate( String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo, Context context); /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -133,7 +147,9 @@ SyncPoller, SqlPoolInner> beginCreate( SqlPoolInner create(String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo); /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -150,7 +166,9 @@ SqlPoolInner create( String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolInner sqlPoolInfo, Context context); /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -165,7 +183,9 @@ SyncPoller, Object> beginDelete( String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -181,7 +201,9 @@ SyncPoller, Object> beginDelete( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -195,7 +217,9 @@ SyncPoller, Object> beginDelete( Object delete(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -210,7 +234,9 @@ SyncPoller, Object> beginDelete( Object delete(String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * List all SQL pools. + * List SQL pools + * + *

List all SQL pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -223,7 +249,9 @@ SyncPoller, Object> beginDelete( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List all SQL pools. + * List SQL pools + * + *

List all SQL pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -237,7 +265,9 @@ SyncPoller, Object> beginDelete( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName, Context context); /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -252,7 +282,9 @@ SyncPoller, Object> beginPause( String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -268,7 +300,9 @@ SyncPoller, Object> beginPause( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -282,7 +316,9 @@ SyncPoller, Object> beginPause( Object pause(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -297,7 +333,9 @@ SyncPoller, Object> beginPause( Object pause(String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -312,7 +350,9 @@ SyncPoller, Object> beginResume( String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -328,7 +368,9 @@ SyncPoller, Object> beginResume( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -342,7 +384,9 @@ SyncPoller, Object> beginResume( Object resume(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -357,7 +401,9 @@ SyncPoller, Object> beginResume( Object resume(String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -371,7 +417,9 @@ SyncPoller, Object> beginResume( void rename(String resourceGroupName, String workspaceName, String sqlPoolName, ResourceMoveDefinition parameters); /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerBlobAuditingPoliciesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerBlobAuditingPoliciesClient.java index d856fb63e970c..7907e492b2cfb 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerBlobAuditingPoliciesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerBlobAuditingPoliciesClient.java @@ -20,7 +20,9 @@ */ public interface WorkspaceManagedSqlServerBlobAuditingPoliciesClient { /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -35,7 +37,9 @@ ServerBlobAuditingPolicyInner get( String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName); /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -51,7 +55,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName, Context context); /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -70,7 +76,9 @@ SyncPoller, ServerBlobAuditingPolicyIn ServerBlobAuditingPolicyInner parameters); /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -91,7 +99,9 @@ SyncPoller, ServerBlobAuditingPolicyIn Context context); /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -110,7 +120,9 @@ ServerBlobAuditingPolicyInner createOrUpdate( ServerBlobAuditingPolicyInner parameters); /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -131,7 +143,9 @@ ServerBlobAuditingPolicyInner createOrUpdate( Context context); /** - * List workspace managed sql server's blob auditing policies. + * List workspace server's blob auditing policies. + * + *

List workspace managed sql server's blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -144,7 +158,9 @@ ServerBlobAuditingPolicyInner createOrUpdate( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List workspace managed sql server's blob auditing policies. + * List workspace server's blob auditing policies. + * + *

List workspace managed sql server's blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettingsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettingsClient.java index ac72ba0f471e4..1507e4e72e9d0 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettingsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettingsClient.java @@ -20,7 +20,9 @@ */ public interface WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettingsClient { /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -39,7 +41,9 @@ SyncPoller, DedicatedSQLminimalT DedicatedSQLminimalTlsSettingsInner parameters); /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -60,7 +64,9 @@ SyncPoller, DedicatedSQLminimalT Context context); /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -79,7 +85,9 @@ DedicatedSQLminimalTlsSettingsInner update( DedicatedSQLminimalTlsSettingsInner parameters); /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -100,7 +108,9 @@ DedicatedSQLminimalTlsSettingsInner update( Context context); /** - * Get workspace managed sql server's minimal tls settings. + * Get server's minimal tls settings. + * + *

Get workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -115,7 +125,9 @@ DedicatedSQLminimalTlsSettingsInner get( String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName); /** - * Get workspace managed sql server's minimal tls settings. + * Get server's minimal tls settings. + * + *

Get workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -131,7 +143,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName, Context context); /** - * List workspace managed sql server's minimal tls settings. + * List workspace server's minimal tls settings. + * + *

List workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -145,7 +159,9 @@ Response getWithResponse( PagedIterable list(String resourceGroupName, String workspaceName); /** - * List workspace managed sql server's minimal tls settings. + * List workspace server's minimal tls settings. + * + *

List workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerEncryptionProtectorsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerEncryptionProtectorsClient.java index 59f2ea5397e65..4f7620c9c0f40 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerEncryptionProtectorsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerEncryptionProtectorsClient.java @@ -20,7 +20,9 @@ */ public interface WorkspaceManagedSqlServerEncryptionProtectorsClient { /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -35,7 +37,9 @@ EncryptionProtectorInner get( String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName); /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -54,7 +58,9 @@ Response getWithResponse( Context context); /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -73,7 +79,9 @@ SyncPoller, EncryptionProtectorInner> begin EncryptionProtectorInner parameters); /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -94,7 +102,9 @@ SyncPoller, EncryptionProtectorInner> begin Context context); /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -113,7 +123,9 @@ EncryptionProtectorInner createOrUpdate( EncryptionProtectorInner parameters); /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -134,7 +146,9 @@ EncryptionProtectorInner createOrUpdate( Context context); /** - * Get list of encryption protectors for workspace managed sql server. + * Get list of encryption protectors for the server. + * + *

Get list of encryption protectors for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -148,7 +162,9 @@ EncryptionProtectorInner createOrUpdate( PagedIterable list(String resourceGroupName, String workspaceName); /** - * Get list of encryption protectors for workspace managed sql server. + * Get list of encryption protectors for the server. + * + *

Get list of encryption protectors for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -163,7 +179,9 @@ EncryptionProtectorInner createOrUpdate( PagedIterable list(String resourceGroupName, String workspaceName, Context context); /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -178,7 +196,9 @@ SyncPoller, Void> beginRevalidate( String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName); /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -197,7 +217,9 @@ SyncPoller, Void> beginRevalidate( Context context); /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -210,7 +232,9 @@ SyncPoller, Void> beginRevalidate( void revalidate(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName); /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesClient.java index cb56e93a1f6df..1254d6675f266 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesClient.java @@ -20,7 +20,9 @@ */ public interface WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesClient { /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -35,7 +37,9 @@ ExtendedServerBlobAuditingPolicyInner get( String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName); /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -51,7 +55,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName, Context context); /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -71,7 +77,9 @@ Response getWithResponse( ExtendedServerBlobAuditingPolicyInner parameters); /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -93,7 +101,9 @@ Response getWithResponse( Context context); /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -112,7 +122,9 @@ ExtendedServerBlobAuditingPolicyInner createOrUpdate( ExtendedServerBlobAuditingPolicyInner parameters); /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -133,7 +145,9 @@ ExtendedServerBlobAuditingPolicyInner createOrUpdate( Context context); /** - * List workspace managed sql server's extended blob auditing policies. + * List server's extended blob auditing policies. + * + *

List workspace managed sql server's extended blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -147,7 +161,9 @@ PagedIterable listByWorkspace( String resourceGroupName, String workspaceName); /** - * List workspace managed sql server's extended blob auditing policies. + * List server's extended blob auditing policies. + * + *

List workspace managed sql server's extended blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerRecoverableSqlPoolsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerRecoverableSqlPoolsClient.java index c14b555842fac..c0898b99302ec 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerRecoverableSqlPoolsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerRecoverableSqlPoolsClient.java @@ -17,7 +17,9 @@ */ public interface WorkspaceManagedSqlServerRecoverableSqlPoolsClient { /** - * Get list of recoverable sql pools for workspace managed sql server. + * Get list of recoverable sql pools for the server. + * + *

Get list of recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -31,7 +33,9 @@ public interface WorkspaceManagedSqlServerRecoverableSqlPoolsClient { PagedIterable list(String resourceGroupName, String workspaceName); /** - * Get list of recoverable sql pools for workspace managed sql server. + * Get list of recoverable sql pools for the server. + * + *

Get list of recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -46,7 +50,9 @@ public interface WorkspaceManagedSqlServerRecoverableSqlPoolsClient { PagedIterable list(String resourceGroupName, String workspaceName, Context context); /** - * Get recoverable sql pools for workspace managed sql server. + * Get recoverable sql pools for the server. + * + *

Get recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -60,7 +66,9 @@ public interface WorkspaceManagedSqlServerRecoverableSqlPoolsClient { RecoverableSqlPoolInner get(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get recoverable sql pools for workspace managed sql server. + * Get recoverable sql pools for the server. + * + *

Get recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerSecurityAlertPoliciesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerSecurityAlertPoliciesClient.java index 7cdb04ff36a60..cb835027aeba5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerSecurityAlertPoliciesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerSecurityAlertPoliciesClient.java @@ -20,7 +20,9 @@ */ public interface WorkspaceManagedSqlServerSecurityAlertPoliciesClient { /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -35,7 +37,9 @@ ServerSecurityAlertPolicyInner get( String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName); /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -54,7 +58,9 @@ Response getWithResponse( Context context); /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -73,7 +79,9 @@ SyncPoller, ServerSecurityAlertPolicy ServerSecurityAlertPolicyInner parameters); /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -94,7 +102,9 @@ SyncPoller, ServerSecurityAlertPolicy Context context); /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -113,7 +123,9 @@ ServerSecurityAlertPolicyInner createOrUpdate( ServerSecurityAlertPolicyInner parameters); /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -134,7 +146,9 @@ ServerSecurityAlertPolicyInner createOrUpdate( Context context); /** - * Get workspace managed sql server's threat detection policies. + * Get server's threat detection policies. + * + *

Get workspace managed sql server's threat detection policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -148,7 +162,9 @@ ServerSecurityAlertPolicyInner createOrUpdate( PagedIterable list(String resourceGroupName, String workspaceName); /** - * Get workspace managed sql server's threat detection policies. + * Get server's threat detection policies. + * + *

Get workspace managed sql server's threat detection policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerUsagesClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerUsagesClient.java index fe6ed29f5390b..c32c2d8b828c4 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerUsagesClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerUsagesClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in WorkspaceManagedSqlServerUsagesClient. */ public interface WorkspaceManagedSqlServerUsagesClient { /** - * Get list of server usages metric for workspace managed sql server. + * Get list of usages metric for the server. + * + *

Get list of server usages metric for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -27,7 +29,9 @@ public interface WorkspaceManagedSqlServerUsagesClient { PagedIterable list(String resourceGroupName, String workspaceName); /** - * Get list of server usages metric for workspace managed sql server. + * Get list of usages metric for the server. + * + *

Get list of server usages metric for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerVulnerabilityAssessmentsClient.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerVulnerabilityAssessmentsClient.java index 41dd0d01e013c..b007b0c86f525 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerVulnerabilityAssessmentsClient.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/WorkspaceManagedSqlServerVulnerabilityAssessmentsClient.java @@ -18,7 +18,9 @@ */ public interface WorkspaceManagedSqlServerVulnerabilityAssessmentsClient { /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -33,7 +35,9 @@ ServerVulnerabilityAssessmentInner get( String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName); /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -52,7 +56,9 @@ Response getWithResponse( Context context); /** - * Create or Update workspace managed sql server's vulnerability assessment. + * Create or Update server's vulnerability assessment. + * + *

Create or Update workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -71,7 +77,9 @@ ServerVulnerabilityAssessmentInner createOrUpdate( ServerVulnerabilityAssessmentInner parameters); /** - * Create or Update workspace managed sql server's vulnerability assessment. + * Create or Update server's vulnerability assessment. + * + *

Create or Update workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -92,7 +100,9 @@ Response createOrUpdateWithResponse( Context context); /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -106,7 +116,9 @@ void delete( String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName); /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -125,7 +137,9 @@ Response deleteWithResponse( Context context); /** - * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * Lists the vulnerability assessment policies associated with a server. + * + *

Lists the vulnerability assessment policies associated with a workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -138,7 +152,9 @@ Response deleteWithResponse( PagedIterable list(String resourceGroupName, String workspaceName); /** - * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * Lists the vulnerability assessment policies associated with a server. + * + *

Lists the vulnerability assessment policies associated with a workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/AttachedDatabaseConfigurationInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/AttachedDatabaseConfigurationInner.java index 01faa35fb8fff..4cf566cb3a7f5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/AttachedDatabaseConfigurationInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/AttachedDatabaseConfigurationInner.java @@ -29,8 +29,7 @@ public final class AttachedDatabaseConfigurationInner extends ProxyResource { private AttachedDatabaseConfigurationProperties innerProperties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/AttachedDatabaseConfigurationProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/AttachedDatabaseConfigurationProperties.java index dd149e1c2a488..905cbb16663a8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/AttachedDatabaseConfigurationProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/AttachedDatabaseConfigurationProperties.java @@ -22,22 +22,20 @@ public final class AttachedDatabaseConfigurationProperties { private ResourceProvisioningState provisioningState; /* - * The name of the database which you would like to attach, use * if you - * want to follow all current and future databases. + * The name of the database which you would like to attach, use * if you want to follow all current and future + * databases. */ @JsonProperty(value = "databaseName", required = true) private String databaseName; /* - * The resource id of the kusto pool where the databases you would like to - * attach reside. + * The resource id of the kusto pool where the databases you would like to attach reside. */ @JsonProperty(value = "clusterResourceId", required = true) private String kustoPoolResourceId; /* - * The list of databases from the clusterResourceId which are currently - * attached to the kusto pool. + * The list of databases from the clusterResourceId which are currently attached to the kusto pool. */ @JsonProperty(value = "attachedDatabaseNames", access = JsonProperty.Access.WRITE_ONLY) private List attachedDatabaseNames; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/BigDataPoolResourceInfoInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/BigDataPoolResourceInfoInner.java index 078ae5e54bf3c..4eadda6ee2d5f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/BigDataPoolResourceInfoInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/BigDataPoolResourceInfoInner.java @@ -18,17 +18,25 @@ import java.util.List; import java.util.Map; -/** Big Data pool A Big Data pool. */ +/** + * Big Data pool + * + *

A Big Data pool. + */ @Fluent public final class BigDataPoolResourceInfoInner extends Resource { /* - * Spark pool properties Big Data pool properties + * Spark pool properties + * + * Big Data pool properties */ @JsonProperty(value = "properties") private BigDataPoolResourceProperties innerProperties; /** - * Get the innerProperties property: Spark pool properties Big Data pool properties. + * Get the innerProperties property: Spark pool properties + * + *

Big Data pool properties. * * @return the innerProperties value. */ @@ -74,7 +82,9 @@ public BigDataPoolResourceInfoInner withProvisioningState(String provisioningSta } /** - * Get the autoScale property: Spark pool auto-scaling properties Auto-scaling properties. + * Get the autoScale property: Spark pool auto-scaling properties + * + *

Auto-scaling properties. * * @return the autoScale value. */ @@ -83,7 +93,9 @@ public AutoScaleProperties autoScale() { } /** - * Set the autoScale property: Spark pool auto-scaling properties Auto-scaling properties. + * Set the autoScale property: Spark pool auto-scaling properties + * + *

Auto-scaling properties. * * @param autoScale the autoScale value to set. * @return the BigDataPoolResourceInfoInner object itself. @@ -106,7 +118,9 @@ public OffsetDateTime creationDate() { } /** - * Get the autoPause property: Spark pool auto-pausing properties Auto-pausing properties. + * Get the autoPause property: Spark pool auto-pausing properties + * + *

Auto-pausing properties. * * @return the autoPause value. */ @@ -115,7 +129,9 @@ public AutoPauseProperties autoPause() { } /** - * Set the autoPause property: Spark pool auto-pausing properties Auto-pausing properties. + * Set the autoPause property: Spark pool auto-pausing properties + * + *

Auto-pausing properties. * * @param autoPause the autoPause value to set. * @return the BigDataPoolResourceInfoInner object itself. @@ -151,6 +167,33 @@ public BigDataPoolResourceInfoInner withIsComputeIsolationEnabled(Boolean isComp return this; } + /** + * Get the isAutotuneEnabled property: Enable Autotune + * + *

Whether autotune is required or not. + * + * @return the isAutotuneEnabled value. + */ + public Boolean isAutotuneEnabled() { + return this.innerProperties() == null ? null : this.innerProperties().isAutotuneEnabled(); + } + + /** + * Set the isAutotuneEnabled property: Enable Autotune + * + *

Whether autotune is required or not. + * + * @param isAutotuneEnabled the isAutotuneEnabled value to set. + * @return the BigDataPoolResourceInfoInner object itself. + */ + public BigDataPoolResourceInfoInner withIsAutotuneEnabled(Boolean isAutotuneEnabled) { + if (this.innerProperties() == null) { + this.innerProperties = new BigDataPoolResourceProperties(); + } + this.innerProperties().withIsAutotuneEnabled(isAutotuneEnabled); + return this; + } + /** * Get the sessionLevelPackagesEnabled property: Whether session level packages enabled. * @@ -268,7 +311,9 @@ public BigDataPoolResourceInfoInner withNodeCount(Integer nodeCount) { } /** - * Get the libraryRequirements property: Spark pool library version requirements Library version requirements. + * Get the libraryRequirements property: Spark pool library version requirements + * + *

Library version requirements. * * @return the libraryRequirements value. */ @@ -277,7 +322,9 @@ public LibraryRequirements libraryRequirements() { } /** - * Set the libraryRequirements property: Spark pool library version requirements Library version requirements. + * Set the libraryRequirements property: Spark pool library version requirements + * + *

Library version requirements. * * @param libraryRequirements the libraryRequirements value to set. * @return the BigDataPoolResourceInfoInner object itself. @@ -314,8 +361,9 @@ public BigDataPoolResourceInfoInner withCustomLibraries(List custom } /** - * Get the sparkConfigProperties property: Spark pool Config Properties Spark configuration file to specify - * additional properties. + * Get the sparkConfigProperties property: Spark pool Config Properties + * + *

Spark configuration file to specify additional properties. * * @return the sparkConfigProperties value. */ @@ -324,8 +372,9 @@ public SparkConfigProperties sparkConfigProperties() { } /** - * Set the sparkConfigProperties property: Spark pool Config Properties Spark configuration file to specify - * additional properties. + * Set the sparkConfigProperties property: Spark pool Config Properties + * + *

Spark configuration file to specify additional properties. * * @param sparkConfigProperties the sparkConfigProperties value to set. * @return the BigDataPoolResourceInfoInner object itself. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/BigDataPoolResourceProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/BigDataPoolResourceProperties.java index 6e6278244e1ce..6ef6abf70851d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/BigDataPoolResourceProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/BigDataPoolResourceProperties.java @@ -16,7 +16,11 @@ import java.time.OffsetDateTime; import java.util.List; -/** Spark pool properties Properties of a Big Data pool powered by Apache Spark. */ +/** + * Spark pool properties + * + *

Properties of a Big Data pool powered by Apache Spark. + */ @Fluent public final class BigDataPoolResourceProperties { /* @@ -26,7 +30,9 @@ public final class BigDataPoolResourceProperties { private String provisioningState; /* - * Spark pool auto-scaling properties Auto-scaling properties + * Spark pool auto-scaling properties + * + * Auto-scaling properties */ @JsonProperty(value = "autoScale") private AutoScaleProperties autoScale; @@ -38,7 +44,9 @@ public final class BigDataPoolResourceProperties { private OffsetDateTime creationDate; /* - * Spark pool auto-pausing properties Auto-pausing properties + * Spark pool auto-pausing properties + * + * Auto-pausing properties */ @JsonProperty(value = "autoPause") private AutoPauseProperties autoPause; @@ -49,6 +57,14 @@ public final class BigDataPoolResourceProperties { @JsonProperty(value = "isComputeIsolationEnabled") private Boolean isComputeIsolationEnabled; + /* + * Enable Autotune + * + * Whether autotune is required or not. + */ + @JsonProperty(value = "isAutotuneEnabled") + private Boolean isAutotuneEnabled; + /* * Whether session level packages enabled. */ @@ -80,7 +96,9 @@ public final class BigDataPoolResourceProperties { private Integer nodeCount; /* - * Spark pool library version requirements Library version requirements + * Spark pool library version requirements + * + * Library version requirements */ @JsonProperty(value = "libraryRequirements") private LibraryRequirements libraryRequirements; @@ -92,8 +110,9 @@ public final class BigDataPoolResourceProperties { private List customLibraries; /* - * Spark pool Config Properties Spark configuration file to specify - * additional properties + * Spark pool Config Properties + * + * Spark configuration file to specify additional properties */ @JsonProperty(value = "sparkConfigProperties") private SparkConfigProperties sparkConfigProperties; @@ -149,7 +168,9 @@ public BigDataPoolResourceProperties withProvisioningState(String provisioningSt } /** - * Get the autoScale property: Spark pool auto-scaling properties Auto-scaling properties. + * Get the autoScale property: Spark pool auto-scaling properties + * + *

Auto-scaling properties. * * @return the autoScale value. */ @@ -158,7 +179,9 @@ public AutoScaleProperties autoScale() { } /** - * Set the autoScale property: Spark pool auto-scaling properties Auto-scaling properties. + * Set the autoScale property: Spark pool auto-scaling properties + * + *

Auto-scaling properties. * * @param autoScale the autoScale value to set. * @return the BigDataPoolResourceProperties object itself. @@ -178,7 +201,9 @@ public OffsetDateTime creationDate() { } /** - * Get the autoPause property: Spark pool auto-pausing properties Auto-pausing properties. + * Get the autoPause property: Spark pool auto-pausing properties + * + *

Auto-pausing properties. * * @return the autoPause value. */ @@ -187,7 +212,9 @@ public AutoPauseProperties autoPause() { } /** - * Set the autoPause property: Spark pool auto-pausing properties Auto-pausing properties. + * Set the autoPause property: Spark pool auto-pausing properties + * + *

Auto-pausing properties. * * @param autoPause the autoPause value to set. * @return the BigDataPoolResourceProperties object itself. @@ -217,6 +244,30 @@ public BigDataPoolResourceProperties withIsComputeIsolationEnabled(Boolean isCom return this; } + /** + * Get the isAutotuneEnabled property: Enable Autotune + * + *

Whether autotune is required or not. + * + * @return the isAutotuneEnabled value. + */ + public Boolean isAutotuneEnabled() { + return this.isAutotuneEnabled; + } + + /** + * Set the isAutotuneEnabled property: Enable Autotune + * + *

Whether autotune is required or not. + * + * @param isAutotuneEnabled the isAutotuneEnabled value to set. + * @return the BigDataPoolResourceProperties object itself. + */ + public BigDataPoolResourceProperties withIsAutotuneEnabled(Boolean isAutotuneEnabled) { + this.isAutotuneEnabled = isAutotuneEnabled; + return this; + } + /** * Get the sessionLevelPackagesEnabled property: Whether session level packages enabled. * @@ -319,7 +370,9 @@ public BigDataPoolResourceProperties withNodeCount(Integer nodeCount) { } /** - * Get the libraryRequirements property: Spark pool library version requirements Library version requirements. + * Get the libraryRequirements property: Spark pool library version requirements + * + *

Library version requirements. * * @return the libraryRequirements value. */ @@ -328,7 +381,9 @@ public LibraryRequirements libraryRequirements() { } /** - * Set the libraryRequirements property: Spark pool library version requirements Library version requirements. + * Set the libraryRequirements property: Spark pool library version requirements + * + *

Library version requirements. * * @param libraryRequirements the libraryRequirements value to set. * @return the BigDataPoolResourceProperties object itself. @@ -359,8 +414,9 @@ public BigDataPoolResourceProperties withCustomLibraries(List custo } /** - * Get the sparkConfigProperties property: Spark pool Config Properties Spark configuration file to specify - * additional properties. + * Get the sparkConfigProperties property: Spark pool Config Properties + * + *

Spark configuration file to specify additional properties. * * @return the sparkConfigProperties value. */ @@ -369,8 +425,9 @@ public SparkConfigProperties sparkConfigProperties() { } /** - * Set the sparkConfigProperties property: Spark pool Config Properties Spark configuration file to specify - * additional properties. + * Set the sparkConfigProperties property: Spark pool Config Properties + * + *

Spark configuration file to specify additional properties. * * @param sparkConfigProperties the sparkConfigProperties value to set. * @return the BigDataPoolResourceProperties object itself. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/CheckNameAvailabilityResponseInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/CheckNameAvailabilityResponseInner.java index 3ad8fa6bb6972..c176aa40b077a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/CheckNameAvailabilityResponseInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/CheckNameAvailabilityResponseInner.java @@ -7,7 +7,11 @@ import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; -/** Check name availability response A response saying whether the workspace name is available. */ +/** + * Check name availability response + * + *

A response saying whether the workspace name is available. + */ @Fluent public final class CheckNameAvailabilityResponseInner { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/CheckNameResultInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/CheckNameResultInner.java index cf22b10884809..7f8c6a5e0f719 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/CheckNameResultInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/CheckNameResultInner.java @@ -24,8 +24,8 @@ public final class CheckNameResultInner { private String name; /* - * Message indicating an unavailable name due to a conflict, or a - * description of the naming rules that are violated. + * Message indicating an unavailable name due to a conflict, or a description of the naming rules that are + * violated. */ @JsonProperty(value = "message") private String message; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ClusterPrincipalAssignmentInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ClusterPrincipalAssignmentInner.java index dccddebe0c617..7b11698f45f14 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ClusterPrincipalAssignmentInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ClusterPrincipalAssignmentInner.java @@ -22,8 +22,7 @@ public final class ClusterPrincipalAssignmentInner extends ProxyResource { private ClusterPrincipalProperties innerProperties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; @@ -167,6 +166,15 @@ public ResourceProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } + /** + * Get the aadObjectId property: The service principal object id in AAD (Azure active directory). + * + * @return the aadObjectId value. + */ + public String aadObjectId() { + return this.innerProperties() == null ? null : this.innerProperties().aadObjectId(); + } + /** * Validates the instance. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ClusterPrincipalProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ClusterPrincipalProperties.java index 26d0503074045..b8c5eca287979 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ClusterPrincipalProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ClusterPrincipalProperties.java @@ -15,8 +15,8 @@ @Fluent public final class ClusterPrincipalProperties { /* - * The principal ID assigned to the cluster principal. It can be a user - * email, application ID, or security group name. + * The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group + * name. */ @JsonProperty(value = "principalId", required = true) private String principalId; @@ -57,6 +57,12 @@ public final class ClusterPrincipalProperties { @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ResourceProvisioningState provisioningState; + /* + * The service principal object id in AAD (Azure active directory) + */ + @JsonProperty(value = "aadObjectId", access = JsonProperty.Access.WRITE_ONLY) + private String aadObjectId; + /** * Get the principalId property: The principal ID assigned to the cluster principal. It can be a user email, * application ID, or security group name. @@ -166,6 +172,15 @@ public ResourceProvisioningState provisioningState() { return this.provisioningState; } + /** + * Get the aadObjectId property: The service principal object id in AAD (Azure active directory). + * + * @return the aadObjectId value. + */ + public String aadObjectId() { + return this.aadObjectId; + } + /** * Validates the instance. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataConnectionInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataConnectionInner.java index ea43412662486..984f8caac2403 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataConnectionInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataConnectionInner.java @@ -36,8 +36,7 @@ public class DataConnectionInner extends ProxyResource { private String location; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataMaskingPolicyProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataMaskingPolicyProperties.java index 2c0666ae955a4..0681b2e8ced02 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataMaskingPolicyProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataMaskingPolicyProperties.java @@ -19,17 +19,15 @@ public final class DataMaskingPolicyProperties { private DataMaskingState dataMaskingState; /* - * The list of the exempt principals. Specifies the semicolon-separated - * list of database users for which the data masking policy does not apply. - * The specified users receive data results without masking for all of the - * database queries. + * 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. */ @JsonProperty(value = "exemptPrincipals") private String exemptPrincipals; /* - * The list of the application principals. This is a legacy parameter and - * is no longer used. + * The list of the application principals. This is a legacy parameter and is no longer used. */ @JsonProperty(value = "applicationPrincipals", access = JsonProperty.Access.WRITE_ONLY) private String applicationPrincipals; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataMaskingRuleProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataMaskingRuleProperties.java index 381e6ec4557bd..b85ef13308a90 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataMaskingRuleProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DataMaskingRuleProperties.java @@ -26,11 +26,9 @@ public final class DataMaskingRuleProperties { private String aliasName; /* - * 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. + * 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. */ @JsonProperty(value = "ruleState") private DataMaskingRuleState ruleState; @@ -60,39 +58,36 @@ public final class DataMaskingRuleProperties { private DataMaskingFunction maskingFunction; /* - * The numberFrom property of the masking rule. Required if maskingFunction - * is set to Number, otherwise this parameter will be ignored. + * The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this + * parameter will be ignored. */ @JsonProperty(value = "numberFrom") private String numberFrom; /* - * The numberTo property of the data masking rule. Required if - * maskingFunction is set to Number, otherwise this parameter will be - * ignored. + * The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this + * parameter will be ignored. */ @JsonProperty(value = "numberTo") private String numberTo; /* - * 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. + * 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. */ @JsonProperty(value = "prefixSize") private String prefixSize; /* - * 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. + * 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. */ @JsonProperty(value = "suffixSize") private String suffixSize; /* - * If maskingFunction is set to Text, the character to use for masking the - * unexposed part of the string. Otherwise, this parameter will be ignored. + * If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, + * this parameter will be ignored. */ @JsonProperty(value = "replacementString") private String replacementString; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabaseInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabaseInner.java index d9daa993d86a6..6ae7e3408a6ff 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabaseInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabaseInner.java @@ -34,8 +34,7 @@ public class DatabaseInner extends ProxyResource { private String location; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabasePrincipalAssignmentInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabasePrincipalAssignmentInner.java index 836f1fe29482c..bca5818c8d156 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabasePrincipalAssignmentInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabasePrincipalAssignmentInner.java @@ -22,8 +22,7 @@ public final class DatabasePrincipalAssignmentInner extends ProxyResource { private DatabasePrincipalProperties innerProperties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; @@ -167,6 +166,15 @@ public ResourceProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } + /** + * Get the aadObjectId property: The service principal object id in AAD (Azure active directory). + * + * @return the aadObjectId value. + */ + public String aadObjectId() { + return this.innerProperties() == null ? null : this.innerProperties().aadObjectId(); + } + /** * Validates the instance. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabasePrincipalProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabasePrincipalProperties.java index eb3a4304b1bef..b258890130086 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabasePrincipalProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/DatabasePrincipalProperties.java @@ -15,8 +15,8 @@ @Fluent public final class DatabasePrincipalProperties { /* - * The principal ID assigned to the database principal. It can be a user - * email, application ID, or security group name. + * The principal ID assigned to the database principal. It can be a user email, application ID, or security group + * name. */ @JsonProperty(value = "principalId", required = true) private String principalId; @@ -57,6 +57,12 @@ public final class DatabasePrincipalProperties { @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ResourceProvisioningState provisioningState; + /* + * The service principal object id in AAD (Azure active directory) + */ + @JsonProperty(value = "aadObjectId", access = JsonProperty.Access.WRITE_ONLY) + private String aadObjectId; + /** * Get the principalId property: The principal ID assigned to the database principal. It can be a user email, * application ID, or security group name. @@ -166,6 +172,15 @@ public ResourceProvisioningState provisioningState() { return this.provisioningState; } + /** + * Get the aadObjectId property: The service principal object id in AAD (Azure active directory). + * + * @return the aadObjectId value. + */ + public String aadObjectId() { + return this.aadObjectId; + } + /** * Validates the instance. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EncryptionProtectorInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EncryptionProtectorInner.java index 142bba79f2982..1ee886ca628d3 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EncryptionProtectorInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EncryptionProtectorInner.java @@ -13,8 +13,7 @@ @Fluent public final class EncryptionProtectorInner extends ProxyResource { /* - * Kind of encryption protector. This is metadata used for the Azure portal - * experience. + * Kind of encryption protector. This is metadata used for the Azure portal experience. */ @JsonProperty(value = "kind", access = JsonProperty.Access.WRITE_ONLY) private String kind; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EventGridConnectionProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EventGridConnectionProperties.java index 4d018cb55e10f..6bb7842844cb8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EventGridConnectionProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EventGridConnectionProperties.java @@ -33,29 +33,25 @@ public final class EventGridConnectionProperties { private String consumerGroup; /* - * The table where the data should be ingested. Optionally the table - * information can be added to each message. + * The table where the data should be ingested. Optionally the table information can be added to each message. */ @JsonProperty(value = "tableName") private String tableName; /* - * The mapping rule to be used to ingest the data. Optionally the mapping - * information can be added to each message. + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. */ @JsonProperty(value = "mappingRuleName") private String mappingRuleName; /* - * The data format of the message. Optionally the data format can be added - * to each message. + * The data format of the message. Optionally the data format can be added to each message. */ @JsonProperty(value = "dataFormat") private EventGridDataFormat dataFormat; /* - * A Boolean value that, if set to true, indicates that ingestion should - * ignore the first record of every file + * A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file */ @JsonProperty(value = "ignoreFirstRecord") private Boolean ignoreFirstRecord; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EventHubConnectionProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EventHubConnectionProperties.java index e89fcbd138c52..06c9499da5dca 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EventHubConnectionProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/EventHubConnectionProperties.java @@ -28,22 +28,19 @@ public final class EventHubConnectionProperties { private String consumerGroup; /* - * The table where the data should be ingested. Optionally the table - * information can be added to each message. + * The table where the data should be ingested. Optionally the table information can be added to each message. */ @JsonProperty(value = "tableName") private String tableName; /* - * The mapping rule to be used to ingest the data. Optionally the mapping - * information can be added to each message. + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. */ @JsonProperty(value = "mappingRuleName") private String mappingRuleName; /* - * The data format of the message. Optionally the data format can be added - * to each message. + * The data format of the message. Optionally the data format can be added to each message. */ @JsonProperty(value = "dataFormat") private EventHubDataFormat dataFormat; @@ -67,8 +64,7 @@ public final class EventHubConnectionProperties { private ResourceProvisioningState provisioningState; /* - * The resource ID of a managed identity (system or user assigned) to be - * used to authenticate with event hub. + * The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. */ @JsonProperty(value = "managedIdentityResourceId") private String managedIdentityResourceId; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ExtendedServerBlobAuditingPolicyProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ExtendedServerBlobAuditingPolicyProperties.java index 5880bf2a120dd..1dc5825b192e3 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ExtendedServerBlobAuditingPolicyProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ExtendedServerBlobAuditingPolicyProperties.java @@ -21,15 +21,14 @@ public final class ExtendedServerBlobAuditingPolicyProperties { private String predicateExpression; /* - * Specifies the state of the policy. If state is Enabled, storageEndpoint - * or isAzureMonitorTargetEnabled are required. + * Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are + * required. */ @JsonProperty(value = "state", required = true) private BlobAuditingPolicyState state; /* - * Specifies the blob storage endpoint (e.g. - * https://MyAccount.blob.core.windows.net). If state is Enabled, + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, * storageEndpoint or isAzureMonitorTargetEnabled is required. */ @JsonProperty(value = "storageEndpoint") @@ -37,14 +36,12 @@ public final class ExtendedServerBlobAuditingPolicyProperties { /* * 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. + * 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. + * 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) */ @@ -52,8 +49,7 @@ public final class ExtendedServerBlobAuditingPolicyProperties { private String storageAccountAccessKey; /* - * Specifies the number of days to keep in the audit logs in the storage - * account. + * Specifies the number of days to keep in the audit logs in the storage account. */ @JsonProperty(value = "retentionDays") private Integer retentionDays; @@ -61,20 +57,18 @@ public final class ExtendedServerBlobAuditingPolicyProperties { /* * 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: + * 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. + * 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): + * 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 @@ -97,16 +91,14 @@ public final class ExtendedServerBlobAuditingPolicyProperties { * 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. + * 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: + * 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 @@ -118,10 +110,9 @@ public final class ExtendedServerBlobAuditingPolicyProperties { * 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. + * 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 @@ -141,64 +132,52 @@ public final class ExtendedServerBlobAuditingPolicyProperties { private UUID storageAccountSubscriptionId; /* - * Specifies whether storageAccountAccessKey value is the storage's - * secondary key. + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ @JsonProperty(value = "isStorageSecondaryKeyInUse") private Boolean isStorageSecondaryKeyInUse; /* * 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. + * 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}. + * 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) + * 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) * */ @JsonProperty(value = "isAzureMonitorTargetEnabled") private Boolean isAzureMonitorTargetEnabled; /* - * 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. + * 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. */ @JsonProperty(value = "queueDelayMs") private Integer queueDelayMs; /* - * Specifies the state of devops audit. If state is Enabled, devops logs - * will be sent to Azure Monitor. - * In order to send the events to Azure Monitor, specify 'State' as - * 'Enabled', 'IsAzureMonitorTargetEnabled' as true and - * 'IsDevopsAuditEnabled' as true + * Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. + * In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as + * true and 'IsDevopsAuditEnabled' as true * - * When using REST API to configure auditing, Diagnostic Settings with - * 'DevOpsOperationsAudit' diagnostic logs category on the master database - * should also be created. + * When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs + * category on the master database should also be created. * * Diagnostic Settings URI format: * PUT * https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/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) + * 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) * */ @JsonProperty(value = "isDevopsAuditEnabled") diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ExtendedSqlPoolBlobAuditingPolicyProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ExtendedSqlPoolBlobAuditingPolicyProperties.java index 4e7cadac73400..dcfac3b3fde4a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ExtendedSqlPoolBlobAuditingPolicyProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ExtendedSqlPoolBlobAuditingPolicyProperties.java @@ -21,15 +21,14 @@ public final class ExtendedSqlPoolBlobAuditingPolicyProperties { private String predicateExpression; /* - * Specifies the state of the policy. If state is Enabled, storageEndpoint - * or isAzureMonitorTargetEnabled are required. + * Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are + * required. */ @JsonProperty(value = "state", required = true) private BlobAuditingPolicyState state; /* - * Specifies the blob storage endpoint (e.g. - * https://MyAccount.blob.core.windows.net). If state is Enabled, + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, * storageEndpoint or isAzureMonitorTargetEnabled is required. */ @JsonProperty(value = "storageEndpoint") @@ -37,14 +36,12 @@ public final class ExtendedSqlPoolBlobAuditingPolicyProperties { /* * 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. + * 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. + * 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) */ @@ -52,8 +49,7 @@ public final class ExtendedSqlPoolBlobAuditingPolicyProperties { private String storageAccountAccessKey; /* - * Specifies the number of days to keep in the audit logs in the storage - * account. + * Specifies the number of days to keep in the audit logs in the storage account. */ @JsonProperty(value = "retentionDays") private Integer retentionDays; @@ -61,20 +57,18 @@ public final class ExtendedSqlPoolBlobAuditingPolicyProperties { /* * 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: + * 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. + * 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): + * 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 @@ -97,16 +91,14 @@ public final class ExtendedSqlPoolBlobAuditingPolicyProperties { * 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. + * 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: + * 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 @@ -118,10 +110,9 @@ public final class ExtendedSqlPoolBlobAuditingPolicyProperties { * 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. + * 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 @@ -141,41 +132,34 @@ public final class ExtendedSqlPoolBlobAuditingPolicyProperties { private UUID storageAccountSubscriptionId; /* - * Specifies whether storageAccountAccessKey value is the storage's - * secondary key. + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ @JsonProperty(value = "isStorageSecondaryKeyInUse") private Boolean isStorageSecondaryKeyInUse; /* * 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. + * 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}. + * 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) + * 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) * */ @JsonProperty(value = "isAzureMonitorTargetEnabled") private Boolean isAzureMonitorTargetEnabled; /* - * 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. + * 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. */ @JsonProperty(value = "queueDelayMs") private Integer queueDelayMs; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/FollowerDatabaseDefinitionInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/FollowerDatabaseDefinitionInner.java index 18397197afcf8..af1a91132b2fd 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/FollowerDatabaseDefinitionInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/FollowerDatabaseDefinitionInner.java @@ -12,22 +12,19 @@ @Fluent public final class FollowerDatabaseDefinitionInner { /* - * Resource id of the cluster that follows a database owned by this - * cluster. + * Resource id of the cluster that follows a database owned by this cluster. */ @JsonProperty(value = "clusterResourceId", required = true) private String kustoPoolResourceId; /* - * Resource name of the attached database configuration in the follower - * cluster. + * Resource name of the attached database configuration in the follower cluster. */ @JsonProperty(value = "attachedDatabaseConfigurationName", required = true) private String attachedDatabaseConfigurationName; /* - * The database name owned by this cluster that was followed. * in case - * following all databases. + * The database name owned by this cluster that was followed. * in case following all databases. */ @JsonProperty(value = "databaseName", access = JsonProperty.Access.WRITE_ONLY) private String databaseName; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/GeoBackupPolicyInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/GeoBackupPolicyInner.java index cfab2ffc81d18..ba29684efe46a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/GeoBackupPolicyInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/GeoBackupPolicyInner.java @@ -20,8 +20,7 @@ public final class GeoBackupPolicyInner extends ProxyResource { private GeoBackupPolicyProperties innerProperties = new GeoBackupPolicyProperties(); /* - * Kind of geo backup policy. This is metadata used for the Azure portal - * experience. + * Kind of geo backup policy. This is metadata used for the Azure portal experience. */ @JsonProperty(value = "kind", access = JsonProperty.Access.WRITE_ONLY) private String kind; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IntegrationRuntimeConnectionInfoInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IntegrationRuntimeConnectionInfoInner.java index e7bec143fb434..302c1b540ebbd 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IntegrationRuntimeConnectionInfoInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IntegrationRuntimeConnectionInfoInner.java @@ -16,15 +16,13 @@ @Fluent public final class IntegrationRuntimeConnectionInfoInner { /* - * The token generated in service. Callers use this token to authenticate - * to integration runtime. + * The token generated in service. Callers use this token to authenticate to integration runtime. */ @JsonProperty(value = "serviceToken", access = JsonProperty.Access.WRITE_ONLY) private String serviceToken; /* - * The integration runtime SSL certificate thumbprint. Click-Once - * application uses it to do server validation. + * The integration runtime SSL certificate thumbprint. Click-Once application uses it to do server validation. */ @JsonProperty(value = "identityCertThumbprint", access = JsonProperty.Access.WRITE_ONLY) private String identityCertThumbprint; @@ -42,8 +40,7 @@ public final class IntegrationRuntimeConnectionInfoInner { private String version; /* - * The public key for encrypting a credential when transferring the - * credential to the integration runtime. + * The public key for encrypting a credential when transferring the credential to the integration runtime. */ @JsonProperty(value = "publicKey", access = JsonProperty.Access.WRITE_ONLY) private String publicKey; @@ -55,8 +52,7 @@ public final class IntegrationRuntimeConnectionInfoInner { private Boolean isIdentityCertExprired; /* - * Connection information for encrypting the on-premises data source - * credentials. + * Connection information for encrypting the on-premises data source credentials. */ @JsonIgnore private Map additionalProperties; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IotHubConnectionProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IotHubConnectionProperties.java index e0ef8f313dfda..1fcee856bf1d0 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IotHubConnectionProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IotHubConnectionProperties.java @@ -27,22 +27,19 @@ public final class IotHubConnectionProperties { private String consumerGroup; /* - * The table where the data should be ingested. Optionally the table - * information can be added to each message. + * The table where the data should be ingested. Optionally the table information can be added to each message. */ @JsonProperty(value = "tableName") private String tableName; /* - * The mapping rule to be used to ingest the data. Optionally the mapping - * information can be added to each message. + * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. */ @JsonProperty(value = "mappingRuleName") private String mappingRuleName; /* - * The data format of the message. Optionally the data format can be added - * to each message. + * The data format of the message. Optionally the data format can be added to each message. */ @JsonProperty(value = "dataFormat") private IotHubDataFormat dataFormat; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IpFirewallRuleProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IpFirewallRuleProperties.java index e3b13486a385f..3bb06ece6eec5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IpFirewallRuleProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/IpFirewallRuleProperties.java @@ -12,8 +12,7 @@ @Fluent public final class IpFirewallRuleProperties { /* - * The end IP address of the firewall rule. Must be IPv4 format. Must be - * greater than or equal to startIpAddress + * The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress */ @JsonProperty(value = "endIpAddress") private String endIpAddress; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/KustoPoolInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/KustoPoolInner.java index 4a3b39ac4032a..e5b654175807a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/KustoPoolInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/KustoPoolInner.java @@ -38,8 +38,7 @@ public final class KustoPoolInner extends Resource { private String etag; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/LibraryInfo.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/LibraryInfo.java index 279144da81753..55fcb9e0d13eb 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/LibraryInfo.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/LibraryInfo.java @@ -9,8 +9,9 @@ import java.time.OffsetDateTime; /** - * Information about a library/package created at the workspace level. Library/package information of a Big Data pool - * powered by Apache Spark. + * Information about a library/package created at the workspace level. + * + *

Library/package information of a Big Data pool powered by Apache Spark. */ @Fluent public final class LibraryInfo { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/LibraryResourceInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/LibraryResourceInner.java index 53a1d5cd3c442..10e6836beb9de 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/LibraryResourceInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/LibraryResourceInner.java @@ -15,6 +15,7 @@ public final class LibraryResourceInner extends EntityResource { /* * Information about a library/package created at the workspace level. + * * Library/package properties. */ @JsonProperty(value = "properties", required = true) @@ -22,7 +23,8 @@ public final class LibraryResourceInner extends EntityResource { /** * Get the innerProperties property: Information about a library/package created at the workspace level. - * Library/package properties. + * + *

Library/package properties. * * @return the innerProperties value. */ diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/MaintenanceWindowOptionsProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/MaintenanceWindowOptionsProperties.java index 15cf03e8c83fa..94a285eb2c391 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/MaintenanceWindowOptionsProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/MaintenanceWindowOptionsProperties.java @@ -19,8 +19,7 @@ public final class MaintenanceWindowOptionsProperties { private Boolean isEnabled; /* - * Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, - * 24*60}. + * Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}. */ @JsonProperty(value = "maintenanceWindowCycles") private List maintenanceWindowCycles; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIdentitySqlControlSettingsModelInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIdentitySqlControlSettingsModelInner.java index b93013dbbe535..91b1f5899fa81 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIdentitySqlControlSettingsModelInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIdentitySqlControlSettingsModelInner.java @@ -9,19 +9,25 @@ import com.azure.resourcemanager.synapse.models.ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; import com.fasterxml.jackson.annotation.JsonProperty; -/** Managed Identity Sql Control Settings Sql Control Settings for workspace managed identity. */ +/** + * Managed Identity Sql Control Settings + * + *

Sql Control Settings for workspace managed identity. + */ @Fluent public final class ManagedIdentitySqlControlSettingsModelInner extends ProxyResource { /* - * Managed Identity Sql Control Settings Sql Control Settings for workspace - * managed identity + * Managed Identity Sql Control Settings + * + * Sql Control Settings for workspace managed identity */ @JsonProperty(value = "properties") private ManagedIdentitySqlControlSettingsModelProperties innerProperties; /** - * Get the innerProperties property: Managed Identity Sql Control Settings Sql Control Settings for workspace - * managed identity. + * Get the innerProperties property: Managed Identity Sql Control Settings + * + *

Sql Control Settings for workspace managed identity. * * @return the innerProperties value. */ diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIdentitySqlControlSettingsModelProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIdentitySqlControlSettingsModelProperties.java index f9a5430f7044e..d23607098d44d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIdentitySqlControlSettingsModelProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIdentitySqlControlSettingsModelProperties.java @@ -8,7 +8,11 @@ import com.azure.resourcemanager.synapse.models.ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; import com.fasterxml.jackson.annotation.JsonProperty; -/** Managed Identity Sql Control Settings Sql Control Settings for workspace managed identity. */ +/** + * Managed Identity Sql Control Settings + * + *

Sql Control Settings for workspace managed identity. + */ @Fluent public final class ManagedIdentitySqlControlSettingsModelProperties { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIntegrationRuntimeStatusTypeProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIntegrationRuntimeStatusTypeProperties.java index e4dd9cd54e75c..26029252d5e84 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIntegrationRuntimeStatusTypeProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ManagedIntegrationRuntimeStatusTypeProperties.java @@ -16,8 +16,7 @@ @Immutable public final class ManagedIntegrationRuntimeStatusTypeProperties { /* - * The time at which the integration runtime was created, in ISO8601 - * format. + * The time at which the integration runtime was created, in ISO8601 format. */ @JsonProperty(value = "createTime", access = JsonProperty.Access.WRITE_ONLY) private OffsetDateTime createTime; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/MetadataSyncConfigInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/MetadataSyncConfigInner.java index ffe65b26976ac..659eaaa8c9df0 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/MetadataSyncConfigInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/MetadataSyncConfigInner.java @@ -8,7 +8,11 @@ import com.azure.core.management.ProxyResource; import com.fasterxml.jackson.annotation.JsonProperty; -/** Metadata sync configuration Configuration for metadata sync. */ +/** + * Metadata sync configuration + * + *

Configuration for metadata sync. + */ @Fluent public final class MetadataSyncConfigInner extends ProxyResource { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/OperationInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/OperationInner.java index b65fc589abe6c..f35b3380e76e5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/OperationInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/OperationInner.java @@ -12,8 +12,9 @@ @Fluent public final class OperationInner { /* - * The operation name. This is of the format - * {provider}/{resource}/{operation}. + * The operation name. + * + * This is of the format {provider}/{resource}/{operation}. */ @JsonProperty(value = "name") private String name; @@ -37,7 +38,9 @@ public final class OperationInner { private Object properties; /** - * Get the name property: The operation name. This is of the format {provider}/{resource}/{operation}. + * Get the name property: The operation name. + * + *

This is of the format {provider}/{resource}/{operation}. * * @return the name value. */ @@ -46,7 +49,9 @@ public String name() { } /** - * Set the name property: The operation name. This is of the format {provider}/{resource}/{operation}. + * Set the name property: The operation name. + * + *

This is of the format {provider}/{resource}/{operation}. * * @param name the name value to set. * @return the OperationInner object itself. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReadOnlyFollowingDatabaseProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReadOnlyFollowingDatabaseProperties.java index 4c682872ac56d..c75ba61c2ebe4 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReadOnlyFollowingDatabaseProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReadOnlyFollowingDatabaseProperties.java @@ -21,8 +21,7 @@ public final class ReadOnlyFollowingDatabaseProperties { private ResourceProvisioningState provisioningState; /* - * The time the data should be kept before it stops being accessible to - * queries in TimeSpan. + * The time the data should be kept before it stops being accessible to queries in TimeSpan. */ @JsonProperty(value = "softDeletePeriod", access = JsonProperty.Access.WRITE_ONLY) private Duration softDeletePeriod; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReadWriteDatabaseProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReadWriteDatabaseProperties.java index 89ef2e968da45..ba9fdd27442f9 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReadWriteDatabaseProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReadWriteDatabaseProperties.java @@ -20,8 +20,7 @@ public final class ReadWriteDatabaseProperties { private ResourceProvisioningState provisioningState; /* - * The time the data should be kept before it stops being accessible to - * queries in TimeSpan. + * The time the data should be kept before it stops being accessible to queries in TimeSpan. */ @JsonProperty(value = "softDeletePeriod") private Duration softDeletePeriod; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReplicationLinkProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReplicationLinkProperties.java index 4d15e86545e05..af9b3cb44fd89 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReplicationLinkProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ReplicationLinkProperties.java @@ -14,8 +14,7 @@ @Immutable public final class ReplicationLinkProperties { /* - * Legacy value indicating whether termination is allowed. Currently - * always returns true. + * Legacy value indicating whether termination is allowed. Currently always returns true. */ @JsonProperty(value = "isTerminationAllowed", access = JsonProperty.Access.WRITE_ONLY) private Boolean isTerminationAllowed; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SecurityAlertPolicyProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SecurityAlertPolicyProperties.java index 0081f193e743b..7a3549201e5f7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SecurityAlertPolicyProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SecurityAlertPolicyProperties.java @@ -15,16 +15,15 @@ @Fluent public final class SecurityAlertPolicyProperties { /* - * 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. + * 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. */ @JsonProperty(value = "state", required = true) private SecurityAlertPolicyState state; /* - * Specifies an array of alerts that are disabled. Allowed values are: - * Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, - * Data_Exfiltration, Unsafe_Action + * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, + * Access_Anomaly, Data_Exfiltration, Unsafe_Action */ @JsonProperty(value = "disabledAlerts") private List disabledAlerts; @@ -42,16 +41,14 @@ public final class SecurityAlertPolicyProperties { private Boolean emailAccountAdmins; /* - * Specifies the blob storage endpoint (e.g. - * https://MyAccount.blob.core.windows.net). This blob storage will hold + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold * all Threat Detection audit logs. */ @JsonProperty(value = "storageEndpoint") private String storageEndpoint; /* - * Specifies the identifier key of the Threat Detection audit storage - * account. + * Specifies the identifier key of the Threat Detection audit storage account. */ @JsonProperty(value = "storageAccountAccessKey") private String storageAccountAccessKey; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SelfHostedIntegrationRuntimeNodeInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SelfHostedIntegrationRuntimeNodeInner.java index c3c28bd338c9e..74d9b969e6192 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SelfHostedIntegrationRuntimeNodeInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SelfHostedIntegrationRuntimeNodeInner.java @@ -63,15 +63,13 @@ public final class SelfHostedIntegrationRuntimeNodeInner { private String version; /* - * The time at which the integration runtime node was registered in ISO8601 - * format. + * The time at which the integration runtime node was registered in ISO8601 format. */ @JsonProperty(value = "registerTime", access = JsonProperty.Access.WRITE_ONLY) private OffsetDateTime registerTime; /* - * The most recent time at which the integration runtime was connected in - * ISO8601 format. + * The most recent time at which the integration runtime was connected in ISO8601 format. */ @JsonProperty(value = "lastConnectTime", access = JsonProperty.Access.WRITE_ONLY) private OffsetDateTime lastConnectTime; @@ -113,8 +111,7 @@ public final class SelfHostedIntegrationRuntimeNodeInner { private OffsetDateTime lastEndUpdateTime; /* - * Indicates whether this node is the active dispatcher for integration - * runtime requests. + * Indicates whether this node is the active dispatcher for integration runtime requests. */ @JsonProperty(value = "isActiveDispatcher", access = JsonProperty.Access.WRITE_ONLY) private Boolean isActiveDispatcher; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SelfHostedIntegrationRuntimeStatusTypeProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SelfHostedIntegrationRuntimeStatusTypeProperties.java index 699919d94b874..7dbd0c8508453 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SelfHostedIntegrationRuntimeStatusTypeProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SelfHostedIntegrationRuntimeStatusTypeProperties.java @@ -18,8 +18,7 @@ @Fluent public final class SelfHostedIntegrationRuntimeStatusTypeProperties { /* - * The time at which the integration runtime was created, in ISO8601 - * format. + * The time at which the integration runtime was created, in ISO8601 format. */ @JsonProperty(value = "createTime", access = JsonProperty.Access.WRITE_ONLY) private OffsetDateTime createTime; @@ -37,8 +36,8 @@ public final class SelfHostedIntegrationRuntimeStatusTypeProperties { private String nodeCommunicationChannelEncryptionMode; /* - * It is used to set the encryption mode for node-node communication - * channel (when more than 2 self-hosted integration runtime nodes exist). + * It is used to set the encryption mode for node-node communication channel (when more than 2 self-hosted + * integration runtime nodes exist). */ @JsonProperty(value = "internalChannelEncryption", access = JsonProperty.Access.WRITE_ONLY) private IntegrationRuntimeInternalChannelEncryptionMode internalChannelEncryption; @@ -56,15 +55,13 @@ public final class SelfHostedIntegrationRuntimeStatusTypeProperties { private List nodes; /* - * The date at which the integration runtime will be scheduled to update, - * in ISO8601 format. + * The date at which the integration runtime will be scheduled to update, in ISO8601 format. */ @JsonProperty(value = "scheduledUpdateDate", access = JsonProperty.Access.WRITE_ONLY) private OffsetDateTime scheduledUpdateDate; /* - * The time in the date scheduled by service to update the integration - * runtime, e.g., PT03H is 3 hours + * The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 hours */ @JsonProperty(value = "updateDelayOffset", access = JsonProperty.Access.WRITE_ONLY) private String updateDelayOffset; @@ -76,8 +73,7 @@ public final class SelfHostedIntegrationRuntimeStatusTypeProperties { private String localTimeZoneOffset; /* - * Object with additional information about integration runtime - * capabilities. + * Object with additional information about integration runtime capabilities. */ @JsonProperty(value = "capabilities", access = JsonProperty.Access.WRITE_ONLY) @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS) @@ -102,8 +98,7 @@ public final class SelfHostedIntegrationRuntimeStatusTypeProperties { private String versionStatus; /* - * The list of linked integration runtimes that are created to share with - * this integration runtime. + * The list of linked integration runtimes that are created to share with this integration runtime. */ @JsonProperty(value = "links") private List links; @@ -121,8 +116,7 @@ public final class SelfHostedIntegrationRuntimeStatusTypeProperties { private String latestVersion; /* - * The estimated time when the self-hosted integration runtime will be - * updated. + * The estimated time when the self-hosted integration runtime will be updated. */ @JsonProperty(value = "autoUpdateETA", access = JsonProperty.Access.WRITE_ONLY) private OffsetDateTime autoUpdateEta; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SensitivityLabelProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SensitivityLabelProperties.java index 52b033c720265..fcb845caf83cc 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SensitivityLabelProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SensitivityLabelProperties.java @@ -54,9 +54,8 @@ public final class SensitivityLabelProperties { private String informationTypeId; /* - * Is sensitivity recommendation disabled. Applicable for recommended - * sensitivity label only. Specifies whether the sensitivity recommendation - * on this column is disabled (dismissed) or not. + * Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the + * sensitivity recommendation on this column is disabled (dismissed) or not. */ @JsonProperty(value = "isDisabled", access = JsonProperty.Access.WRITE_ONLY) private Boolean isDisabled; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerBlobAuditingPolicyProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerBlobAuditingPolicyProperties.java index 2c6ba0dd1fda5..83e9f35d62175 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerBlobAuditingPolicyProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerBlobAuditingPolicyProperties.java @@ -15,15 +15,14 @@ @Fluent public final class ServerBlobAuditingPolicyProperties { /* - * Specifies the state of the policy. If state is Enabled, storageEndpoint - * or isAzureMonitorTargetEnabled are required. + * Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are + * required. */ @JsonProperty(value = "state", required = true) private BlobAuditingPolicyState state; /* - * Specifies the blob storage endpoint (e.g. - * https://MyAccount.blob.core.windows.net). If state is Enabled, + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, * storageEndpoint or isAzureMonitorTargetEnabled is required. */ @JsonProperty(value = "storageEndpoint") @@ -31,14 +30,12 @@ public final class ServerBlobAuditingPolicyProperties { /* * 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. + * 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. + * 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) */ @@ -46,8 +43,7 @@ public final class ServerBlobAuditingPolicyProperties { private String storageAccountAccessKey; /* - * Specifies the number of days to keep in the audit logs in the storage - * account. + * Specifies the number of days to keep in the audit logs in the storage account. */ @JsonProperty(value = "retentionDays") private Integer retentionDays; @@ -55,20 +51,18 @@ public final class ServerBlobAuditingPolicyProperties { /* * 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: + * 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. + * 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): + * 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 @@ -91,16 +85,14 @@ public final class ServerBlobAuditingPolicyProperties { * 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. + * 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: + * 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 @@ -112,10 +104,9 @@ public final class ServerBlobAuditingPolicyProperties { * 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. + * 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 @@ -135,64 +126,52 @@ public final class ServerBlobAuditingPolicyProperties { private UUID storageAccountSubscriptionId; /* - * Specifies whether storageAccountAccessKey value is the storage's - * secondary key. + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ @JsonProperty(value = "isStorageSecondaryKeyInUse") private Boolean isStorageSecondaryKeyInUse; /* * 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. + * 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}. + * 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) + * 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) * */ @JsonProperty(value = "isAzureMonitorTargetEnabled") private Boolean isAzureMonitorTargetEnabled; /* - * 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. + * 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. */ @JsonProperty(value = "queueDelayMs") private Integer queueDelayMs; /* - * Specifies the state of devops audit. If state is Enabled, devops logs - * will be sent to Azure Monitor. - * In order to send the events to Azure Monitor, specify 'State' as - * 'Enabled', 'IsAzureMonitorTargetEnabled' as true and - * 'IsDevopsAuditEnabled' as true + * Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. + * In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as + * true and 'IsDevopsAuditEnabled' as true * - * When using REST API to configure auditing, Diagnostic Settings with - * 'DevOpsOperationsAudit' diagnostic logs category on the master database - * should also be created. + * When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs + * category on the master database should also be created. * * Diagnostic Settings URI format: * PUT * https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/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) + * 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) * */ @JsonProperty(value = "isDevopsAuditEnabled") diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerSecurityAlertPolicyProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerSecurityAlertPolicyProperties.java index a431ebe807ee9..5488d25a404e7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerSecurityAlertPolicyProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerSecurityAlertPolicyProperties.java @@ -15,16 +15,15 @@ @Fluent public final class ServerSecurityAlertPolicyProperties { /* - * Specifies the state of the policy, whether it is enabled or disabled or - * a policy has not been applied yet on the specific server + * Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the + * specific server */ @JsonProperty(value = "state", required = true) private SecurityAlertPolicyState state; /* - * Specifies an array of alerts that are disabled. Allowed values are: - * Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, - * Data_Exfiltration, Unsafe_Action + * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, + * Access_Anomaly, Data_Exfiltration, Unsafe_Action */ @JsonProperty(value = "disabledAlerts") private List disabledAlerts; @@ -42,16 +41,14 @@ public final class ServerSecurityAlertPolicyProperties { private Boolean emailAccountAdmins; /* - * Specifies the blob storage endpoint (e.g. - * https://MyAccount.blob.core.windows.net). This blob storage will hold + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold * all Threat Detection audit logs. */ @JsonProperty(value = "storageEndpoint") private String storageEndpoint; /* - * Specifies the identifier key of the Threat Detection audit storage - * account. + * Specifies the identifier key of the Threat Detection audit storage account. */ @JsonProperty(value = "storageAccountAccessKey") private String storageAccountAccessKey; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerVulnerabilityAssessmentProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerVulnerabilityAssessmentProperties.java index 439874597ba0e..1523aca1d7632 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerVulnerabilityAssessmentProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/ServerVulnerabilityAssessmentProperties.java @@ -13,25 +13,22 @@ @Fluent public final class ServerVulnerabilityAssessmentProperties { /* - * A blob storage container path to hold the scan results (e.g. - * https://myStorage.blob.core.windows.net/VaScans/). + * A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). */ @JsonProperty(value = "storageContainerPath", required = true) private String storageContainerPath; /* - * 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 + * 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. */ @JsonProperty(value = "storageContainerSasKey") private String storageContainerSasKey; /* - * Specifies the identifier key of the storage account for vulnerability - * assessment scan results. If 'StorageContainerSasKey' isn't specified, - * storageAccountAccessKey is required. + * Specifies the identifier key of the storage account for vulnerability assessment scan results. If + * 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. */ @JsonProperty(value = "storageAccountAccessKey") private String storageAccountAccessKey; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SparkConfigurationInfo.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SparkConfigurationInfo.java index 1e183a9085296..50a5587eb6c3a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SparkConfigurationInfo.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SparkConfigurationInfo.java @@ -12,7 +12,11 @@ import java.util.List; import java.util.Map; -/** Information about a SparkConfiguration created at the workspace level. SparkConfiguration Artifact information. */ +/** + * Information about a SparkConfiguration created at the workspace level. + * + *

SparkConfiguration Artifact information. + */ @Fluent public final class SparkConfigurationInfo { /* @@ -52,6 +56,13 @@ public final class SparkConfigurationInfo { @JsonProperty(value = "created") private OffsetDateTime created; + /* + * SparkConfiguration merge configs. + */ + @JsonProperty(value = "configMergeRule") + @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS) + private Map configMergeRule; + /** * Get the description property: Description about the SparkConfiguration. * @@ -172,6 +183,26 @@ public SparkConfigurationInfo withCreated(OffsetDateTime created) { return this; } + /** + * Get the configMergeRule property: SparkConfiguration merge configs. + * + * @return the configMergeRule value. + */ + public Map configMergeRule() { + return this.configMergeRule; + } + + /** + * Set the configMergeRule property: SparkConfiguration merge configs. + * + * @param configMergeRule the configMergeRule value to set. + * @return the SparkConfigurationInfo object itself. + */ + public SparkConfigurationInfo withConfigMergeRule(Map configMergeRule) { + this.configMergeRule = configMergeRule; + return this; + } + /** * Validates the instance. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SparkConfigurationResourceInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SparkConfigurationResourceInner.java index 64f022108b754..b15c1c025ec01 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SparkConfigurationResourceInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SparkConfigurationResourceInner.java @@ -17,6 +17,7 @@ public final class SparkConfigurationResourceInner extends EntityResource { /* * Information about a SparkConfiguration created at the workspace level. + * * SparkConfiguration properties. */ @JsonProperty(value = "properties", required = true) @@ -24,7 +25,8 @@ public final class SparkConfigurationResourceInner extends EntityResource { /** * Get the innerProperties property: Information about a SparkConfiguration created at the workspace level. - * SparkConfiguration properties. + * + *

SparkConfiguration properties. * * @return the innerProperties value. */ @@ -170,6 +172,29 @@ public SparkConfigurationResourceInner withCreated(OffsetDateTime created) { return this; } + /** + * Get the configMergeRule property: SparkConfiguration merge configs. + * + * @return the configMergeRule value. + */ + public Map configMergeRule() { + return this.innerProperties() == null ? null : this.innerProperties().configMergeRule(); + } + + /** + * Set the configMergeRule property: SparkConfiguration merge configs. + * + * @param configMergeRule the configMergeRule value to set. + * @return the SparkConfigurationResourceInner object itself. + */ + public SparkConfigurationResourceInner withConfigMergeRule(Map configMergeRule) { + if (this.innerProperties() == null) { + this.innerProperties = new SparkConfigurationInfo(); + } + this.innerProperties().withConfigMergeRule(configMergeRule); + return this; + } + /** * Validates the instance. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolBlobAuditingPolicyProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolBlobAuditingPolicyProperties.java index e57fb8f262084..3ab9361154a1e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolBlobAuditingPolicyProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolBlobAuditingPolicyProperties.java @@ -15,31 +15,28 @@ @Fluent public final class SqlPoolBlobAuditingPolicyProperties { /* - * Specifies the state of the policy. If state is Enabled, storageEndpoint - * or isAzureMonitorTargetEnabled are required. + * Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are + * required. */ @JsonProperty(value = "state", required = true) private BlobAuditingPolicyState state; /* - * Specifies the blob storage endpoint (e.g. - * https://MyAccount.blob.core.windows.net). If state is Enabled, + * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, * storageEndpoint is required. */ @JsonProperty(value = "storageEndpoint") private String storageEndpoint; /* - * Specifies the identifier key of the auditing storage account. If state - * is Enabled and storageEndpoint is specified, storageAccountAccessKey is - * required. + * Specifies the identifier key of the auditing storage account. If state is Enabled and storageEndpoint is + * specified, storageAccountAccessKey is required. */ @JsonProperty(value = "storageAccountAccessKey") private String storageAccountAccessKey; /* - * Specifies the number of days to keep in the audit logs in the storage - * account. + * Specifies the number of days to keep in the audit logs in the storage account. */ @JsonProperty(value = "retentionDays") private Integer retentionDays; @@ -47,20 +44,18 @@ public final class SqlPoolBlobAuditingPolicyProperties { /* * 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: + * 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. + * 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): + * 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 @@ -83,16 +78,14 @@ public final class SqlPoolBlobAuditingPolicyProperties { * 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. + * 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: + * 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 @@ -104,10 +97,9 @@ public final class SqlPoolBlobAuditingPolicyProperties { * 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. + * 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 @@ -127,31 +119,26 @@ public final class SqlPoolBlobAuditingPolicyProperties { private UUID storageAccountSubscriptionId; /* - * Specifies whether storageAccountAccessKey value is the storage's - * secondary key. + * Specifies whether storageAccountAccessKey value is the storage's secondary key. */ @JsonProperty(value = "isStorageSecondaryKeyInUse") private Boolean isStorageSecondaryKeyInUse; /* * 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. + * 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}. + * 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) + * 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) * */ @JsonProperty(value = "isAzureMonitorTargetEnabled") diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolInner.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolInner.java index 6020c608c68a3..834fd5b043050 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolInner.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolInner.java @@ -13,11 +13,17 @@ import java.time.OffsetDateTime; import java.util.Map; -/** SQL pool A SQL Analytics pool. */ +/** + * SQL pool + * + *

A SQL Analytics pool. + */ @Fluent public final class SqlPoolInner extends Resource { /* - * Sku SQL pool SKU + * Sku + * + * SQL pool SKU */ @JsonProperty(value = "sku") private Sku sku; @@ -29,7 +35,9 @@ public final class SqlPoolInner extends Resource { private SqlPoolResourceProperties innerProperties; /** - * Get the sku property: Sku SQL pool SKU. + * Get the sku property: Sku + * + *

SQL pool SKU. * * @return the sku value. */ @@ -38,7 +46,9 @@ public Sku sku() { } /** - * Set the sku property: Sku SQL pool SKU. + * Set the sku property: Sku + * + *

SQL pool SKU. * * @param sku the sku value to set. * @return the SqlPoolInner object itself. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolResourceProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolResourceProperties.java index d56436f5aacaa..36d245ccd8f86 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolResourceProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolResourceProperties.java @@ -10,7 +10,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.time.OffsetDateTime; -/** SQL pool properties Properties of a SQL Analytics pool. */ +/** + * SQL pool properties + * + *

Properties of a SQL Analytics pool. + */ @Fluent public final class SqlPoolResourceProperties { /* @@ -60,18 +64,15 @@ public final class SqlPoolResourceProperties { * * Default: regular sql pool creation. * - * PointInTimeRestore: Creates a sql pool by restoring a point in time - * backup of an existing sql pool. sourceDatabaseId must be specified as - * the resource ID of the existing sql pool, and restorePointInTime must be + * PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. + * sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be * specified. * - * Recovery: Creates a sql pool by a geo-replicated backup. - * sourceDatabaseId must be specified as the recoverableDatabaseId to - * restore. + * Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the + * recoverableDatabaseId to restore. * - * Restore: Creates a sql pool by restoring a backup of a deleted sql - * pool. SourceDatabaseId should be the sql pool's original resource ID. - * SourceDatabaseId and sourceDatabaseDeletionDate must be specified. + * Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql + * pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified. */ @JsonProperty(value = "createMode") private CreateMode createMode; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolVulnerabilityAssessmentProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolVulnerabilityAssessmentProperties.java index a61c2149895f5..a63cfc67e3f77 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolVulnerabilityAssessmentProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/SqlPoolVulnerabilityAssessmentProperties.java @@ -12,26 +12,23 @@ @Fluent public final class SqlPoolVulnerabilityAssessmentProperties { /* - * 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 + * 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 */ @JsonProperty(value = "storageContainerPath") private String storageContainerPath; /* - * 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 + * 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. */ @JsonProperty(value = "storageContainerSasKey") private String storageContainerSasKey; /* - * Specifies the identifier key of the storage account for vulnerability - * assessment scan results. If 'StorageContainerSasKey' isn't specified, - * storageAccountAccessKey is required. + * Specifies the identifier key of the storage account for vulnerability assessment scan results. If + * 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. */ @JsonProperty(value = "storageAccountAccessKey") private String storageAccountAccessKey; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/WorkspaceProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/WorkspaceProperties.java index 5d3f7d1a2ce12..13c48062ea5f5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/WorkspaceProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/fluent/models/WorkspaceProperties.java @@ -35,11 +35,9 @@ public final class WorkspaceProperties { private String sqlAdministratorLoginPassword; /* - * 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 '.' + * 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 '.' */ @JsonProperty(value = "managedResourceGroupName") private String managedResourceGroupName; @@ -70,8 +68,8 @@ public final class WorkspaceProperties { private Map connectivityEndpoints; /* - * Setting this to 'default' will ensure that all compute for this - * workspace is in a virtual network managed on behalf of the user. + * Setting this to 'default' will ensure that all compute for this workspace is in a virtual network managed on + * behalf of the user. */ @JsonProperty(value = "managedVirtualNetwork") private String managedVirtualNetwork; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AttachedDatabaseConfigurationImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AttachedDatabaseConfigurationImpl.java index d537159b43396..62776a8a523cd 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AttachedDatabaseConfigurationImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AttachedDatabaseConfigurationImpl.java @@ -80,6 +80,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public AttachedDatabaseConfigurationInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AzureADOnlyAuthenticationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AzureADOnlyAuthenticationsClientImpl.java index e374b99697798..65132af0c5d55 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AzureADOnlyAuthenticationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AzureADOnlyAuthenticationsClientImpl.java @@ -126,7 +126,9 @@ Mono> listNext( } /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -184,7 +186,9 @@ private Mono> getWithResponseAsync( } /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -243,7 +247,9 @@ private Mono> getWithResponseAsync( } /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -257,18 +263,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, AzureADOnlyAuthenticationName azureADOnlyAuthenticationName) { return getWithResponseAsync(resourceGroupName, workspaceName, azureADOnlyAuthenticationName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -285,7 +286,9 @@ public AzureADOnlyAuthenticationInner get( } /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -306,7 +309,9 @@ public Response getWithResponse( } /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -377,7 +382,9 @@ private Mono>> createWithResponseAsync( } /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -447,7 +454,9 @@ private Mono>> createWithResponseAsync( } /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -478,7 +487,9 @@ private PollerFlux, AzureADOnlyAuthen } /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -516,7 +527,9 @@ private PollerFlux, AzureADOnlyAuthen } /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -539,7 +552,9 @@ public SyncPoller, AzureADOnlyAuthent } /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -564,7 +579,9 @@ public SyncPoller, AzureADOnlyAuthent } /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -588,7 +605,9 @@ private Mono createAsync( } /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -614,7 +633,9 @@ private Mono createAsync( } /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -637,7 +658,9 @@ public AzureADOnlyAuthenticationInner create( } /** - * Create or Update a Azure Active Directory only authentication property for the workspaces. + * Create or Update Azure Active Directory only authentication property + * + *

Create or Update a Azure Active Directory only authentication property for the workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -662,7 +685,9 @@ public AzureADOnlyAuthenticationInner create( } /** - * Gets a list of Azure Active Directory only authentication property for a workspace. + * Gets a list of Azure Active Directory only authentication property + * + *

Gets a list of Azure Active Directory only authentication property for a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -721,7 +746,9 @@ private Mono> listSinglePageAsync( } /** - * Gets a list of Azure Active Directory only authentication property for a workspace. + * Gets a list of Azure Active Directory only authentication property + * + *

Gets a list of Azure Active Directory only authentication property for a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -778,7 +805,9 @@ private Mono> listSinglePageAsync( } /** - * Gets a list of Azure Active Directory only authentication property for a workspace. + * Gets a list of Azure Active Directory only authentication property + * + *

Gets a list of Azure Active Directory only authentication property for a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -795,7 +824,9 @@ private PagedFlux listAsync(String resourceGroup } /** - * Gets a list of Azure Active Directory only authentication property for a workspace. + * Gets a list of Azure Active Directory only authentication property + * + *

Gets a list of Azure Active Directory only authentication property for a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -815,7 +846,9 @@ private PagedFlux listAsync( } /** - * Gets a list of Azure Active Directory only authentication property for a workspace. + * Gets a list of Azure Active Directory only authentication property + * + *

Gets a list of Azure Active Directory only authentication property for a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -831,7 +864,9 @@ public PagedIterable list(String resourceGroupNa } /** - * Gets a list of Azure Active Directory only authentication property for a workspace. + * Gets a list of Azure Active Directory only authentication property + * + *

Gets a list of Azure Active Directory only authentication property for a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -851,7 +886,8 @@ public PagedIterable list( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -887,7 +923,8 @@ private Mono> listNextSinglePageAs /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AzureADOnlyAuthenticationsImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AzureADOnlyAuthenticationsImpl.java index a5fcd18445bb7..ff8abafcc39a4 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AzureADOnlyAuthenticationsImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/AzureADOnlyAuthenticationsImpl.java @@ -88,9 +88,8 @@ public AzureADOnlyAuthentication getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - AzureADOnlyAuthenticationName azureADOnlyAuthenticationName = - AzureADOnlyAuthenticationName.fromString(Utils.getValueFromIdByName(id, "azureADOnlyAuthentications")); - if (azureADOnlyAuthenticationName == null) { + String azureADOnlyAuthenticationNameLocal = Utils.getValueFromIdByName(id, "azureADOnlyAuthentications"); + if (azureADOnlyAuthenticationNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -99,6 +98,8 @@ public AzureADOnlyAuthentication getById(String id) { "The resource ID '%s' is not valid. Missing path segment 'azureADOnlyAuthentications'.", id))); } + AzureADOnlyAuthenticationName azureADOnlyAuthenticationName = + AzureADOnlyAuthenticationName.fromString(azureADOnlyAuthenticationNameLocal); return this .getWithResponse(resourceGroupName, workspaceName, azureADOnlyAuthenticationName, Context.NONE) .getValue(); @@ -120,9 +121,8 @@ public Response getByIdWithResponse(String id, Contex new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - AzureADOnlyAuthenticationName azureADOnlyAuthenticationName = - AzureADOnlyAuthenticationName.fromString(Utils.getValueFromIdByName(id, "azureADOnlyAuthentications")); - if (azureADOnlyAuthenticationName == null) { + String azureADOnlyAuthenticationNameLocal = Utils.getValueFromIdByName(id, "azureADOnlyAuthentications"); + if (azureADOnlyAuthenticationNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -131,6 +131,8 @@ public Response getByIdWithResponse(String id, Contex "The resource ID '%s' is not valid. Missing path segment 'azureADOnlyAuthentications'.", id))); } + AzureADOnlyAuthenticationName azureADOnlyAuthenticationName = + AzureADOnlyAuthenticationName.fromString(azureADOnlyAuthenticationNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, azureADOnlyAuthenticationName, context); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/BigDataPoolResourceInfoImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/BigDataPoolResourceInfoImpl.java index 29cc642e3a32e..c79cac66734c8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/BigDataPoolResourceInfoImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/BigDataPoolResourceInfoImpl.java @@ -73,6 +73,10 @@ public Boolean isComputeIsolationEnabled() { return this.innerModel().isComputeIsolationEnabled(); } + public Boolean isAutotuneEnabled() { + return this.innerModel().isAutotuneEnabled(); + } + public Boolean sessionLevelPackagesEnabled() { return this.innerModel().sessionLevelPackagesEnabled(); } @@ -138,6 +142,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public BigDataPoolResourceInfoInner innerModel() { return this.innerObject; } @@ -285,6 +293,11 @@ public BigDataPoolResourceInfoImpl withIsComputeIsolationEnabled(Boolean isCompu return this; } + public BigDataPoolResourceInfoImpl withIsAutotuneEnabled(Boolean isAutotuneEnabled) { + this.innerModel().withIsAutotuneEnabled(isAutotuneEnabled); + return this; + } + public BigDataPoolResourceInfoImpl withSessionLevelPackagesEnabled(Boolean sessionLevelPackagesEnabled) { this.innerModel().withSessionLevelPackagesEnabled(sessionLevelPackagesEnabled); return this; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/BigDataPoolsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/BigDataPoolsClientImpl.java index e31ab920169a6..06795792651bb 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/BigDataPoolsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/BigDataPoolsClientImpl.java @@ -160,7 +160,9 @@ Mono> listByWorkspaceNext( } /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -215,7 +217,9 @@ private Mono> getWithResponseAsync( } /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -268,7 +272,9 @@ private Mono> getWithResponseAsync( } /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -282,18 +288,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String bigDataPoolName) { return getWithResponseAsync(resourceGroupName, workspaceName, bigDataPoolName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -309,7 +310,9 @@ public BigDataPoolResourceInfoInner get(String resourceGroupName, String workspa } /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -327,7 +330,9 @@ public Response getWithResponse( } /** - * Patch a Big Data pool. + * Update a Big Data pool. + * + *

Patch a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -393,7 +398,9 @@ private Mono> updateWithResponseAsync( } /** - * Patch a Big Data pool. + * Update a Big Data pool. + * + *

Patch a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -458,7 +465,9 @@ private Mono> updateWithResponseAsync( } /** - * Patch a Big Data pool. + * Update a Big Data pool. + * + *

Patch a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -476,18 +485,13 @@ private Mono updateAsync( String bigDataPoolName, BigDataPoolPatchInfo bigDataPoolPatchInfo) { return updateWithResponseAsync(resourceGroupName, workspaceName, bigDataPoolName, bigDataPoolPatchInfo) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Patch a Big Data pool. + * Update a Big Data pool. + * + *

Patch a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -508,7 +512,9 @@ public BigDataPoolResourceInfoInner update( } /** - * Patch a Big Data pool. + * Update a Big Data pool. + * + *

Patch a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -532,7 +538,9 @@ public Response updateWithResponse( } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -601,7 +609,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -669,7 +679,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -701,7 +713,9 @@ private PollerFlux, BigDataPoolResource } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -737,7 +751,9 @@ private PollerFlux, BigDataPoolResource } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -761,7 +777,9 @@ public SyncPoller, BigDataPoolResourceI } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -788,7 +806,9 @@ public SyncPoller, BigDataPoolResourceI } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -813,7 +833,9 @@ private Mono createOrUpdateAsync( } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -837,7 +859,9 @@ private Mono createOrUpdateAsync( } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -865,7 +889,9 @@ private Mono createOrUpdateAsync( } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -888,7 +914,9 @@ public BigDataPoolResourceInfoInner createOrUpdate( } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -910,7 +938,9 @@ public BigDataPoolResourceInfoInner createOrUpdate( } /** - * Create a new Big Data pool. + * Create a Big Data pool. + * + *

Create a new Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -936,7 +966,9 @@ public BigDataPoolResourceInfoInner createOrUpdate( } /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -991,7 +1023,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1044,7 +1078,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1066,7 +1102,9 @@ private PollerFlux, Object> beginDeleteAsync( } /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1089,7 +1127,9 @@ private PollerFlux, Object> beginDeleteAsync( } /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1106,7 +1146,9 @@ public SyncPoller, Object> beginDelete( } /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1124,7 +1166,9 @@ public SyncPoller, Object> beginDelete( } /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1142,7 +1186,9 @@ private Mono deleteAsync(String resourceGroupName, String workspaceName, } /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1162,7 +1208,9 @@ private Mono deleteAsync( } /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1178,7 +1226,9 @@ public Object delete(String resourceGroupName, String workspaceName, String bigD } /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1195,7 +1245,9 @@ public Object delete(String resourceGroupName, String workspaceName, String bigD } /** - * List Big Data pools in a workspace. + * List the Big Data pools in a workspace. + * + *

List Big Data pools in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1253,7 +1305,9 @@ private Mono> listByWorkspaceSingleP } /** - * List Big Data pools in a workspace. + * List the Big Data pools in a workspace. + * + *

List Big Data pools in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1309,7 +1363,9 @@ private Mono> listByWorkspaceSingleP } /** - * List Big Data pools in a workspace. + * List the Big Data pools in a workspace. + * + *

List Big Data pools in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1327,7 +1383,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List Big Data pools in a workspace. + * List the Big Data pools in a workspace. + * + *

List Big Data pools in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1346,7 +1404,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List Big Data pools in a workspace. + * List the Big Data pools in a workspace. + * + *

List Big Data pools in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1361,7 +1421,9 @@ public PagedIterable listByWorkspace(String resour } /** - * List Big Data pools in a workspace. + * List the Big Data pools in a workspace. + * + *

List Big Data pools in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1380,7 +1442,8 @@ public PagedIterable listByWorkspace( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1415,7 +1478,8 @@ private Mono> listByWorkspaceNextSin /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ClusterPrincipalAssignmentImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ClusterPrincipalAssignmentImpl.java index 44a9544ee59ae..a3ae1a7dd529a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ClusterPrincipalAssignmentImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ClusterPrincipalAssignmentImpl.java @@ -62,6 +62,14 @@ public ResourceProvisioningState provisioningState() { return this.innerModel().provisioningState(); } + public String aadObjectId() { + return this.innerModel().aadObjectId(); + } + + public String resourceGroupName() { + return resourceGroupName; + } + public ClusterPrincipalAssignmentInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingPoliciesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingPoliciesClientImpl.java index 67255096f0bf6..dd77676fa06e0 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingPoliciesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingPoliciesClientImpl.java @@ -233,14 +233,7 @@ private Mono> createOrUpdateWithResponseAsync( private Mono createOrUpdateAsync( String resourceGroupName, String workspaceName, String sqlPoolName, DataMaskingPolicyInner parameters) { return createOrUpdateWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -409,14 +402,7 @@ private Mono> getWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String resourceGroupName, String workspaceName, String sqlPoolName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingPolicyImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingPolicyImpl.java index e0b8560fe6be8..df45b4ce6b167 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingPolicyImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingPolicyImpl.java @@ -64,6 +64,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public DataMaskingPolicyInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingRuleImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingRuleImpl.java index ffd929a405259..547ab045b8690 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingRuleImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingRuleImpl.java @@ -92,6 +92,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public DataMaskingRuleInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingRulesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingRulesClientImpl.java index 831ffb4b36980..72ab2dd7182de 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingRulesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DataMaskingRulesClientImpl.java @@ -284,14 +284,7 @@ private Mono createOrUpdateAsync( DataMaskingRuleInner parameters) { return createOrUpdateWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, dataMaskingRuleName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -489,14 +482,7 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName, String dataMaskingRuleName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, dataMaskingRuleName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DatabasePrincipalAssignmentImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DatabasePrincipalAssignmentImpl.java index e58ee9cae9b82..380f08d98a4c6 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DatabasePrincipalAssignmentImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/DatabasePrincipalAssignmentImpl.java @@ -62,6 +62,14 @@ public ResourceProvisioningState provisioningState() { return this.innerModel().provisioningState(); } + public String aadObjectId() { + return this.innerModel().aadObjectId(); + } + + public String resourceGroupName() { + return resourceGroupName; + } + public DatabasePrincipalAssignmentInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/EncryptionProtectorImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/EncryptionProtectorImpl.java index a6755f9f6ab68..5d7b80b0d7e54 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/EncryptionProtectorImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/EncryptionProtectorImpl.java @@ -65,6 +65,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public EncryptionProtectorInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedServerBlobAuditingPolicyImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedServerBlobAuditingPolicyImpl.java index 3be920a3af7d9..8785f26c41f51 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedServerBlobAuditingPolicyImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedServerBlobAuditingPolicyImpl.java @@ -82,6 +82,10 @@ public Boolean isDevopsAuditEnabled() { return this.innerModel().isDevopsAuditEnabled(); } + public String resourceGroupName() { + return resourceGroupName; + } + public ExtendedServerBlobAuditingPolicyInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedSqlPoolBlobAuditingPoliciesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedSqlPoolBlobAuditingPoliciesClientImpl.java index bc6bf5ed2688f..7524c4bfa5305 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedSqlPoolBlobAuditingPoliciesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedSqlPoolBlobAuditingPoliciesClientImpl.java @@ -253,14 +253,7 @@ private Mono> getWithResponseAs private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -450,14 +443,7 @@ private Mono createOrUpdateAsync( String sqlPoolName, ExtendedSqlPoolBlobAuditingPolicyInner parameters) { return createOrUpdateWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -708,7 +694,8 @@ public PagedIterable listBySqlPool( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -745,7 +732,8 @@ private Mono> listBySqlPoo /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedSqlPoolBlobAuditingPolicyImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedSqlPoolBlobAuditingPolicyImpl.java index 3bd2697f3ae96..65bdc881064d4 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedSqlPoolBlobAuditingPolicyImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ExtendedSqlPoolBlobAuditingPolicyImpl.java @@ -77,6 +77,10 @@ public Integer queueDelayMs() { return this.innerModel().queueDelayMs(); } + public String resourceGroupName() { + return resourceGroupName; + } + public ExtendedSqlPoolBlobAuditingPolicyInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/GeoBackupPolicyImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/GeoBackupPolicyImpl.java index 602a5a168760a..e9cba13373361 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/GeoBackupPolicyImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/GeoBackupPolicyImpl.java @@ -52,6 +52,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public GeoBackupPolicyInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeAuthKeysOperationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeAuthKeysOperationsClientImpl.java index 1edbdb1abd5b0..660d8007b78e6 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeAuthKeysOperationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeAuthKeysOperationsClientImpl.java @@ -96,7 +96,9 @@ Mono> list( } /** - * Regenerate the authentication key for an integration runtime. + * Regenerate integration runtime authentication key + * + *

Regenerate the authentication key for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -165,7 +167,9 @@ private Mono> regenerateWithResponseAs } /** - * Regenerate the authentication key for an integration runtime. + * Regenerate integration runtime authentication key + * + *

Regenerate the authentication key for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -233,7 +237,9 @@ private Mono> regenerateWithResponseAs } /** - * Regenerate the authentication key for an integration runtime. + * Regenerate integration runtime authentication key + * + *

Regenerate the authentication key for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -252,18 +258,13 @@ private Mono regenerateAsync( IntegrationRuntimeRegenerateKeyParameters regenerateKeyParameters) { return regenerateWithResponseAsync( resourceGroupName, workspaceName, integrationRuntimeName, regenerateKeyParameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Regenerate the authentication key for an integration runtime. + * Regenerate integration runtime authentication key + * + *

Regenerate the authentication key for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -285,7 +286,9 @@ public IntegrationRuntimeAuthKeysInner regenerate( } /** - * Regenerate the authentication key for an integration runtime. + * Regenerate integration runtime authentication key + * + *

Regenerate the authentication key for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -310,7 +313,9 @@ public Response regenerateWithResponse( } /** - * List authentication keys in an integration runtime. + * List integration runtime authentication keys + * + *

List authentication keys in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -367,7 +372,9 @@ private Mono> listWithResponseAsync( } /** - * List authentication keys in an integration runtime. + * List integration runtime authentication keys + * + *

List authentication keys in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -422,7 +429,9 @@ private Mono> listWithResponseAsync( } /** - * List authentication keys in an integration runtime. + * List integration runtime authentication keys + * + *

List authentication keys in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -436,18 +445,13 @@ private Mono> listWithResponseAsync( private Mono listAsync( String resourceGroupName, String workspaceName, String integrationRuntimeName) { return listWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * List authentication keys in an integration runtime. + * List integration runtime authentication keys + * + *

List authentication keys in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -464,7 +468,9 @@ public IntegrationRuntimeAuthKeysInner list( } /** - * List authentication keys in an integration runtime. + * List integration runtime authentication keys + * + *

List authentication keys in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeConnectionInfosClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeConnectionInfosClientImpl.java index 2afed0ba6fece..e79a929b951e7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeConnectionInfosClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeConnectionInfosClientImpl.java @@ -75,7 +75,9 @@ Mono> get( } /** - * Get connection info for an integration runtime. + * Get integration runtime connection info + * + *

Get connection info for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -132,7 +134,9 @@ private Mono> getWithResponseAsy } /** - * Get connection info for an integration runtime. + * Get integration runtime connection info + * + *

Get connection info for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -187,7 +191,9 @@ private Mono> getWithResponseAsy } /** - * Get connection info for an integration runtime. + * Get integration runtime connection info + * + *

Get connection info for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -201,18 +207,13 @@ private Mono> getWithResponseAsy private Mono getAsync( String resourceGroupName, String workspaceName, String integrationRuntimeName) { return getWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get connection info for an integration runtime. + * Get integration runtime connection info + * + *

Get connection info for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -229,7 +230,9 @@ public IntegrationRuntimeConnectionInfoInner get( } /** - * Get connection info for an integration runtime. + * Get integration runtime connection info + * + *

Get connection info for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeCredentialsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeCredentialsClientImpl.java index 582c6dc14b062..8dc9455013827 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeCredentialsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeCredentialsClientImpl.java @@ -72,10 +72,12 @@ Mono> sync( } /** - * Force the integration runtime to synchronize credentials across integration runtime nodes, and this will override - * the credentials across all worker nodes with those available on the dispatcher node. If you already have the - * latest credential backup file, you should manually import it (preferred) on any self-hosted integration runtime - * node than using this API directly. + * Sync integration runtime credentials + * + *

Force the integration runtime to synchronize credentials across integration runtime nodes, and this will + * override the credentials across all worker nodes with those available on the dispatcher node. If you already have + * the latest credential backup file, you should manually import it (preferred) on any self-hosted integration + * runtime node than using this API directly. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -131,10 +133,12 @@ private Mono> syncWithResponseAsync( } /** - * Force the integration runtime to synchronize credentials across integration runtime nodes, and this will override - * the credentials across all worker nodes with those available on the dispatcher node. If you already have the - * latest credential backup file, you should manually import it (preferred) on any self-hosted integration runtime - * node than using this API directly. + * Sync integration runtime credentials + * + *

Force the integration runtime to synchronize credentials across integration runtime nodes, and this will + * override the credentials across all worker nodes with those available on the dispatcher node. If you already have + * the latest credential backup file, you should manually import it (preferred) on any self-hosted integration + * runtime node than using this API directly. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -188,10 +192,12 @@ private Mono> syncWithResponseAsync( } /** - * Force the integration runtime to synchronize credentials across integration runtime nodes, and this will override - * the credentials across all worker nodes with those available on the dispatcher node. If you already have the - * latest credential backup file, you should manually import it (preferred) on any self-hosted integration runtime - * node than using this API directly. + * Sync integration runtime credentials + * + *

Force the integration runtime to synchronize credentials across integration runtime nodes, and this will + * override the credentials across all worker nodes with those available on the dispatcher node. If you already have + * the latest credential backup file, you should manually import it (preferred) on any self-hosted integration + * runtime node than using this API directly. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -204,14 +210,16 @@ private Mono> syncWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono syncAsync(String resourceGroupName, String workspaceName, String integrationRuntimeName) { return syncWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** - * Force the integration runtime to synchronize credentials across integration runtime nodes, and this will override - * the credentials across all worker nodes with those available on the dispatcher node. If you already have the - * latest credential backup file, you should manually import it (preferred) on any self-hosted integration runtime - * node than using this API directly. + * Sync integration runtime credentials + * + *

Force the integration runtime to synchronize credentials across integration runtime nodes, and this will + * override the credentials across all worker nodes with those available on the dispatcher node. If you already have + * the latest credential backup file, you should manually import it (preferred) on any self-hosted integration + * runtime node than using this API directly. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -226,10 +234,12 @@ public void sync(String resourceGroupName, String workspaceName, String integrat } /** - * Force the integration runtime to synchronize credentials across integration runtime nodes, and this will override - * the credentials across all worker nodes with those available on the dispatcher node. If you already have the - * latest credential backup file, you should manually import it (preferred) on any self-hosted integration runtime - * node than using this API directly. + * Sync integration runtime credentials + * + *

Force the integration runtime to synchronize credentials across integration runtime nodes, and this will + * override the credentials across all worker nodes with those available on the dispatcher node. If you already have + * the latest credential backup file, you should manually import it (preferred) on any self-hosted integration + * runtime node than using this API directly. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeMonitoringDatasClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeMonitoringDatasClientImpl.java index 0bd3f8de55a97..b7170a0603164 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeMonitoringDatasClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeMonitoringDatasClientImpl.java @@ -75,7 +75,9 @@ Mono> list( } /** - * Get monitoring data for an integration runtime. + * Get integration runtime monitoring data + * + *

Get monitoring data for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -132,7 +134,9 @@ private Mono> listWithResponseAs } /** - * Get monitoring data for an integration runtime. + * Get integration runtime monitoring data + * + *

Get monitoring data for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -187,7 +191,9 @@ private Mono> listWithResponseAs } /** - * Get monitoring data for an integration runtime. + * Get integration runtime monitoring data + * + *

Get monitoring data for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -201,18 +207,13 @@ private Mono> listWithResponseAs private Mono listAsync( String resourceGroupName, String workspaceName, String integrationRuntimeName) { return listWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get monitoring data for an integration runtime. + * Get integration runtime monitoring data + * + *

Get monitoring data for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -229,7 +230,9 @@ public IntegrationRuntimeMonitoringDataInner list( } /** - * Get monitoring data for an integration runtime. + * Get integration runtime monitoring data + * + *

Get monitoring data for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeNodeIpAddressOperationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeNodeIpAddressOperationsClientImpl.java index 4a89bf8d5a3dd..fe08c282a35a6 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeNodeIpAddressOperationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeNodeIpAddressOperationsClientImpl.java @@ -78,7 +78,9 @@ Mono> get( } /** - * Get the IP address of an integration runtime node. + * Get integration runtime node IP address + * + *

Get the IP address of an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -140,7 +142,9 @@ private Mono> getWithResponseAsyn } /** - * Get the IP address of an integration runtime node. + * Get integration runtime node IP address + * + *

Get the IP address of an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -204,7 +208,9 @@ private Mono> getWithResponseAsyn } /** - * Get the IP address of an integration runtime node. + * Get integration runtime node IP address + * + *

Get the IP address of an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -219,18 +225,13 @@ private Mono> getWithResponseAsyn private Mono getAsync( String resourceGroupName, String workspaceName, String integrationRuntimeName, String nodeName) { return getWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName, nodeName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get the IP address of an integration runtime node. + * Get integration runtime node IP address + * + *

Get the IP address of an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -248,7 +249,9 @@ public IntegrationRuntimeNodeIpAddressInner get( } /** - * Get the IP address of an integration runtime node. + * Get integration runtime node IP address + * + *

Get the IP address of an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeNodesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeNodesClientImpl.java index e1fbd2dc7cb1a..6c04e6a81c48c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeNodesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeNodesClientImpl.java @@ -110,7 +110,9 @@ Mono> delete( } /** - * Get an integration runtime node. + * Get integration runtime node + * + *

Get an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -171,7 +173,9 @@ private Mono> getWithResponseAsy } /** - * Get an integration runtime node. + * Get integration runtime node + * + *

Get an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -234,7 +238,9 @@ private Mono> getWithResponseAsy } /** - * Get an integration runtime node. + * Get integration runtime node + * + *

Get an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -249,18 +255,13 @@ private Mono> getWithResponseAsy private Mono getAsync( String resourceGroupName, String workspaceName, String integrationRuntimeName, String nodeName) { return getWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName, nodeName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get an integration runtime node. + * Get integration runtime node + * + *

Get an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -278,7 +279,9 @@ public SelfHostedIntegrationRuntimeNodeInner get( } /** - * Get an integration runtime node. + * Get integration runtime node + * + *

Get an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -302,7 +305,9 @@ public Response getWithResponse( } /** - * Create an integration runtime node. + * Create integration runtime node + * + *

Create an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -378,7 +383,9 @@ private Mono> updateWithResponse } /** - * Create an integration runtime node. + * Create integration runtime node + * + *

Create an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -453,7 +460,9 @@ private Mono> updateWithResponse } /** - * Create an integration runtime node. + * Create integration runtime node + * + *

Create an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -474,18 +483,13 @@ private Mono updateAsync( UpdateIntegrationRuntimeNodeRequest updateIntegrationRuntimeNodeRequest) { return updateWithResponseAsync( resourceGroupName, workspaceName, integrationRuntimeName, nodeName, updateIntegrationRuntimeNodeRequest) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Create an integration runtime node. + * Create integration runtime node + * + *

Create an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -510,7 +514,9 @@ public SelfHostedIntegrationRuntimeNodeInner update( } /** - * Create an integration runtime node. + * Create integration runtime node + * + *

Create an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -542,7 +548,9 @@ public Response updateWithResponse( } /** - * Delete an integration runtime node. + * Delete integration runtime node + * + *

Delete an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -603,7 +611,9 @@ private Mono> deleteWithResponseAsync( } /** - * Delete an integration runtime node. + * Delete integration runtime node + * + *

Delete an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -666,7 +676,9 @@ private Mono> deleteWithResponseAsync( } /** - * Delete an integration runtime node. + * Delete integration runtime node + * + *

Delete an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -681,11 +693,13 @@ private Mono> deleteWithResponseAsync( private Mono deleteAsync( String resourceGroupName, String workspaceName, String integrationRuntimeName, String nodeName) { return deleteWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName, nodeName) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** - * Delete an integration runtime node. + * Delete integration runtime node + * + *

Delete an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -701,7 +715,9 @@ public void delete(String resourceGroupName, String workspaceName, String integr } /** - * Delete an integration runtime node. + * Delete integration runtime node + * + *

Delete an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeObjectMetadatasClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeObjectMetadatasClientImpl.java index 4a8b81291c9a0..19407515a1668 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeObjectMetadatasClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeObjectMetadatasClientImpl.java @@ -100,7 +100,9 @@ Mono>> refresh( } /** - * Get object metadata from an integration runtime. + * Get integration runtime object metadata + * + *

Get object metadata from an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -165,7 +167,9 @@ private Mono> listWithResponseAsyn } /** - * Get object metadata from an integration runtime. + * Get integration runtime object metadata + * + *

Get object metadata from an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -229,7 +233,9 @@ private Mono> listWithResponseAsyn } /** - * Get object metadata from an integration runtime. + * Get integration runtime object metadata + * + *

Get object metadata from an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -247,18 +253,13 @@ private Mono listAsync( String integrationRuntimeName, GetSsisObjectMetadataRequest getMetadataRequest) { return listWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName, getMetadataRequest) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get object metadata from an integration runtime. + * Get integration runtime object metadata + * + *

Get object metadata from an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -273,18 +274,13 @@ private Mono listAsync( String resourceGroupName, String workspaceName, String integrationRuntimeName) { final GetSsisObjectMetadataRequest getMetadataRequest = null; return listWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName, getMetadataRequest) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get object metadata from an integration runtime. + * Get integration runtime object metadata + * + *

Get object metadata from an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -302,7 +298,9 @@ public SsisObjectMetadataListResponseInner list( } /** - * Get object metadata from an integration runtime. + * Get integration runtime object metadata + * + *

Get object metadata from an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -327,7 +325,9 @@ public Response listWithResponse( } /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -383,7 +383,9 @@ private Mono>> refreshWithResponseAsync( } /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -437,7 +439,9 @@ private Mono>> refreshWithResponseAsync( } /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -463,7 +467,9 @@ private Mono>> refreshWithResponseAsync( } /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -492,7 +498,9 @@ private Mono>> refreshWithResponseAsync( } /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -509,7 +517,9 @@ private Mono>> refreshWithResponseAsync( } /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -527,7 +537,9 @@ private Mono>> refreshWithResponseAsync( } /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -546,7 +558,9 @@ private Mono refreshAsync( } /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -566,7 +580,9 @@ private Mono refreshAsync( } /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -583,7 +599,9 @@ public SsisObjectMetadataStatusResponseInner refresh( } /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeResourceImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeResourceImpl.java index 045adfbc4c098..8faa9e8d8970d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeResourceImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeResourceImpl.java @@ -39,6 +39,10 @@ public IntegrationRuntime properties() { return this.innerModel().properties(); } + public String resourceGroupName() { + return resourceGroupName; + } + public IntegrationRuntimeResourceInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeStatusOperationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeStatusOperationsClientImpl.java index d51a0b06ec165..1ab520423f08c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeStatusOperationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimeStatusOperationsClientImpl.java @@ -75,7 +75,9 @@ Mono> get( } /** - * Get the integration runtime status. + * Get integration runtime status + * + *

Get the integration runtime status. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -131,7 +133,9 @@ private Mono> getWithResponseAsy } /** - * Get the integration runtime status. + * Get integration runtime status + * + *

Get the integration runtime status. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -185,7 +189,9 @@ private Mono> getWithResponseAsy } /** - * Get the integration runtime status. + * Get integration runtime status + * + *

Get the integration runtime status. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -199,18 +205,13 @@ private Mono> getWithResponseAsy private Mono getAsync( String resourceGroupName, String workspaceName, String integrationRuntimeName) { return getWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get the integration runtime status. + * Get integration runtime status + * + *

Get the integration runtime status. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -227,7 +228,9 @@ public IntegrationRuntimeStatusResponseInner get( } /** - * Get the integration runtime status. + * Get integration runtime status + * + *

Get the integration runtime status. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimesClientImpl.java index b0a4a25670c8d..d760dcfbe03e0 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IntegrationRuntimesClientImpl.java @@ -261,7 +261,9 @@ Mono> listByWorkspaceNext( } /** - * Update an integration runtime. + * Update integration runtime + * + *

Update an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -330,7 +332,9 @@ private Mono> updateWithResponseAsync( } /** - * Update an integration runtime. + * Update integration runtime + * + *

Update an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -398,7 +402,9 @@ private Mono> updateWithResponseAsync( } /** - * Update an integration runtime. + * Update integration runtime + * + *

Update an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -417,18 +423,13 @@ private Mono updateAsync( UpdateIntegrationRuntimeRequest updateIntegrationRuntimeRequest) { return updateWithResponseAsync( resourceGroupName, workspaceName, integrationRuntimeName, updateIntegrationRuntimeRequest) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Update an integration runtime. + * Update integration runtime + * + *

Update an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -450,7 +451,9 @@ public IntegrationRuntimeResourceInner update( } /** - * Update an integration runtime. + * Update integration runtime + * + *

Update an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -475,7 +478,9 @@ public Response updateWithResponse( } /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -534,7 +539,9 @@ private Mono> getWithResponseAsync( } /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -595,7 +602,9 @@ private Mono> getWithResponseAsync( } /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -611,18 +620,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String integrationRuntimeName, String ifNoneMatch) { return getWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName, ifNoneMatch) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -637,18 +641,13 @@ private Mono getAsync( String resourceGroupName, String workspaceName, String integrationRuntimeName) { final String ifNoneMatch = null; return getWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName, ifNoneMatch) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -666,7 +665,9 @@ public IntegrationRuntimeResourceInner get( } /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -691,7 +692,9 @@ public Response getWithResponse( } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -762,7 +765,9 @@ private Mono>> createWithResponseAsync( } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -832,7 +837,9 @@ private Mono>> createWithResponseAsync( } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -866,7 +873,9 @@ private PollerFlux, IntegrationRunti } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -903,7 +912,9 @@ private PollerFlux, IntegrationRunti } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -928,7 +939,9 @@ public SyncPoller, IntegrationRuntim } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -956,7 +969,9 @@ public SyncPoller, IntegrationRuntim } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -982,7 +997,9 @@ private Mono createAsync( } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1006,7 +1023,9 @@ private Mono createAsync( } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1035,7 +1054,9 @@ private Mono createAsync( } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1060,7 +1081,9 @@ public IntegrationRuntimeResourceInner create( } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1083,7 +1106,9 @@ public IntegrationRuntimeResourceInner create( } /** - * Create an integration runtime. + * Create integration runtime + * + *

Create an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1111,7 +1136,9 @@ public IntegrationRuntimeResourceInner create( } /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1167,7 +1194,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1221,7 +1250,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1243,7 +1274,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1266,7 +1299,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1283,7 +1318,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1301,7 +1338,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1319,7 +1358,9 @@ private Mono deleteAsync(String resourceGroupName, String workspaceName, S } /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1339,7 +1380,9 @@ private Mono deleteAsync( } /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1354,7 +1397,9 @@ public void delete(String resourceGroupName, String workspaceName, String integr } /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1370,7 +1415,9 @@ public void delete(String resourceGroupName, String workspaceName, String integr } /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1426,7 +1473,9 @@ private Mono> upgradeWithResponseAsync( } /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1480,7 +1529,9 @@ private Mono> upgradeWithResponseAsync( } /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1493,11 +1544,13 @@ private Mono> upgradeWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono upgradeAsync(String resourceGroupName, String workspaceName, String integrationRuntimeName) { return upgradeWithResponseAsync(resourceGroupName, workspaceName, integrationRuntimeName) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1512,7 +1565,9 @@ public void upgrade(String resourceGroupName, String workspaceName, String integ } /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1530,7 +1585,9 @@ public Response upgradeWithResponse( } /** - * List all integration runtimes. + * List integration runtimes + * + *

List all integration runtimes. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1589,7 +1646,9 @@ private Mono> listByWorkspaceSing } /** - * List all integration runtimes. + * List integration runtimes + * + *

List all integration runtimes. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1646,7 +1705,9 @@ private Mono> listByWorkspaceSing } /** - * List all integration runtimes. + * List integration runtimes + * + *

List all integration runtimes. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1664,7 +1725,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List all integration runtimes. + * List integration runtimes + * + *

List all integration runtimes. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1683,7 +1746,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List all integration runtimes. + * List integration runtimes + * + *

List all integration runtimes. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1699,7 +1764,9 @@ public PagedIterable listByWorkspace( } /** - * List all integration runtimes. + * List integration runtimes + * + *

List all integration runtimes. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1716,7 +1783,9 @@ public PagedIterable listByWorkspace( } /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1772,7 +1841,9 @@ private Mono>> startWithResponseAsync( } /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1826,7 +1897,9 @@ private Mono>> startWithResponseAsync( } /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1852,7 +1925,9 @@ private Mono>> startWithResponseAsync( } /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1881,7 +1956,9 @@ private Mono>> startWithResponseAsync( } /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1898,7 +1975,9 @@ private Mono>> startWithResponseAsync( } /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1916,7 +1995,9 @@ private Mono>> startWithResponseAsync( } /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1935,7 +2016,9 @@ private Mono startAsync( } /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1955,7 +2038,9 @@ private Mono startAsync( } /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1972,7 +2057,9 @@ public IntegrationRuntimeStatusResponseInner start( } /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1990,7 +2077,9 @@ public IntegrationRuntimeStatusResponseInner start( } /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2046,7 +2135,9 @@ private Mono>> stopWithResponseAsync( } /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2100,7 +2191,9 @@ private Mono>> stopWithResponseAsync( } /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2122,7 +2215,9 @@ private PollerFlux, Void> beginStopAsync( } /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2145,7 +2240,9 @@ private PollerFlux, Void> beginStopAsync( } /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2162,7 +2259,9 @@ public SyncPoller, Void> beginStop( } /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2180,7 +2279,9 @@ public SyncPoller, Void> beginStop( } /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2198,7 +2299,9 @@ private Mono stopAsync(String resourceGroupName, String workspaceName, Str } /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2218,7 +2321,9 @@ private Mono stopAsync( } /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2233,7 +2338,9 @@ public void stop(String resourceGroupName, String workspaceName, String integrat } /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2249,7 +2356,9 @@ public void stop(String resourceGroupName, String workspaceName, String integrat } /** - * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + * Gets list of outbound network dependencies for a given Azure-SSIS integration runtime. + * + *

Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2307,7 +2416,9 @@ public void stop(String resourceGroupName, String workspaceName, String integrat } /** - * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + * Gets list of outbound network dependencies for a given Azure-SSIS integration runtime. + * + *

Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2363,7 +2474,9 @@ public void stop(String resourceGroupName, String workspaceName, String integrat } /** - * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + * Gets list of outbound network dependencies for a given Azure-SSIS integration runtime. + * + *

Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2380,18 +2493,13 @@ public void stop(String resourceGroupName, String workspaceName, String integrat String resourceGroupName, String workspaceName, String integrationRuntimeName) { return listOutboundNetworkDependenciesEndpointsWithResponseAsync( resourceGroupName, workspaceName, integrationRuntimeName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + * Gets list of outbound network dependencies for a given Azure-SSIS integration runtime. + * + *

Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2409,7 +2517,9 @@ public IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponseInner listO } /** - * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + * Gets list of outbound network dependencies for a given Azure-SSIS integration runtime. + * + *

Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -2959,7 +3069,8 @@ public void disableInteractiveQuery( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2995,7 +3106,8 @@ private Mono> listByWorkspaceNext /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IpFirewallRuleInfoImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IpFirewallRuleInfoImpl.java index 9d8d56267823c..b20b5d7f3ba63 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IpFirewallRuleInfoImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IpFirewallRuleInfoImpl.java @@ -39,6 +39,10 @@ public String startIpAddress() { return this.innerModel().startIpAddress(); } + public String resourceGroupName() { + return resourceGroupName; + } + public IpFirewallRuleInfoInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IpFirewallRulesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IpFirewallRulesClientImpl.java index 910ab01570f7d..589a7f6b989d8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IpFirewallRulesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/IpFirewallRulesClientImpl.java @@ -1029,14 +1029,7 @@ private Mono> getWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String resourceGroupName, String workspaceName, String ruleName) { return getWithResponseAsync(resourceGroupName, workspaceName, ruleName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1356,7 +1349,8 @@ public ReplaceAllFirewallRulesOperationResponseInner replaceAll( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1391,7 +1385,8 @@ private Mono> listByWorkspaceNextSinglePa /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KeyImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KeyImpl.java index 8a755ae7eecb8..cfc60beb26bdd 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KeyImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KeyImpl.java @@ -33,6 +33,10 @@ public String keyVaultUrl() { return this.innerModel().keyVaultUrl(); } + public String resourceGroupName() { + return resourceGroupName; + } + public KeyInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KeysClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KeysClientImpl.java index 83220d309d88b..fdbc3cae7e5ab 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KeysClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KeysClientImpl.java @@ -433,14 +433,7 @@ private Mono> getWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String resourceGroupName, String workspaceName, String keyName) { return getWithResponseAsync(resourceGroupName, workspaceName, keyName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -613,14 +606,7 @@ private Mono> createOrUpdateWithResponseAsync( private Mono createOrUpdateAsync( String resourceGroupName, String workspaceName, String keyName, KeyInner keyProperties) { return createOrUpdateWithResponseAsync(resourceGroupName, workspaceName, keyName, keyProperties) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -781,14 +767,7 @@ private Mono> deleteWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAsync(String resourceGroupName, String workspaceName, String keyName) { return deleteWithResponseAsync(resourceGroupName, workspaceName, keyName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -828,7 +807,8 @@ public Response deleteWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -863,7 +843,8 @@ private Mono> listByWorkspaceNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoOperationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoOperationsClientImpl.java index 6774d457890be..9fe548975a409 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoOperationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoOperationsClientImpl.java @@ -199,7 +199,8 @@ public PagedIterable list(Context context) { /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -235,7 +236,8 @@ private Mono> listNextSinglePageAsync(String nextL /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolAttachedDatabaseConfigurationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolAttachedDatabaseConfigurationsClientImpl.java index 5403cb33a812d..fa4164596099f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolAttachedDatabaseConfigurationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolAttachedDatabaseConfigurationsClientImpl.java @@ -485,14 +485,7 @@ private Mono getAsync( String attachedDatabaseConfigurationName, String resourceGroupName) { return getWithResponseAsync(workspaceName, kustoPoolName, attachedDatabaseConfigurationName, resourceGroupName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolChildResourcesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolChildResourcesClientImpl.java index 95e98fd8ec22c..28ffce930554f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolChildResourcesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolChildResourcesClientImpl.java @@ -214,14 +214,7 @@ private Mono> checkNameAvailabilityWithResponseAs private Mono checkNameAvailabilityAsync( String workspaceName, String kustoPoolName, String resourceGroupName, DatabaseCheckNameRequest resourceName) { return checkNameAvailabilityWithResponseAsync(workspaceName, kustoPoolName, resourceGroupName, resourceName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDataConnectionsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDataConnectionsClientImpl.java index 2c0aa8e6eb811..b6ac069385d29 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDataConnectionsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDataConnectionsClientImpl.java @@ -368,14 +368,7 @@ private Mono checkNameAvailabilityAsync( DataConnectionCheckNameRequest dataConnectionName) { return checkNameAvailabilityWithResponseAsync( resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1165,14 +1158,7 @@ private Mono getAsync( String databaseName, String dataConnectionName) { return getWithResponseAsync(resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDatabasePrincipalAssignmentsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDatabasePrincipalAssignmentsClientImpl.java index 669993b86d14f..022de82f00546 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDatabasePrincipalAssignmentsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDatabasePrincipalAssignmentsClientImpl.java @@ -337,14 +337,7 @@ private Mono checkNameAvailabilityAsync( DatabasePrincipalAssignmentCheckNameRequest principalAssignmentName) { return checkNameAvailabilityWithResponseAsync( workspaceName, kustoPoolName, databaseName, resourceGroupName, principalAssignmentName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -768,14 +761,7 @@ private Mono getAsync( String resourceGroupName) { return getWithResponseAsync( workspaceName, kustoPoolName, databaseName, principalAssignmentName, resourceGroupName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDatabasesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDatabasesClientImpl.java index 0bc375323c2a0..b75f27c668054 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDatabasesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolDatabasesClientImpl.java @@ -471,14 +471,7 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String kustoPoolName, String databaseName) { return getWithResponseAsync(resourceGroupName, workspaceName, kustoPoolName, databaseName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolImpl.java index 218c79a49a412..4449233fceda5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolImpl.java @@ -112,6 +112,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public KustoPoolInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolPrincipalAssignmentsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolPrincipalAssignmentsClientImpl.java index 37f982d65476c..5162403c12305 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolPrincipalAssignmentsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolPrincipalAssignmentsClientImpl.java @@ -310,14 +310,7 @@ private Mono checkNameAvailabilityAsync( ClusterPrincipalAssignmentCheckNameRequest principalAssignmentName) { return checkNameAvailabilityWithResponseAsync( workspaceName, kustoPoolName, resourceGroupName, principalAssignmentName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -697,14 +690,7 @@ private Mono> getWithResponseAsync( private Mono getAsync( String workspaceName, String kustoPoolName, String principalAssignmentName, String resourceGroupName) { return getWithResponseAsync(workspaceName, kustoPoolName, principalAssignmentName, resourceGroupName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolsClientImpl.java index 6fd41744f960b..e289df3817b2f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/KustoPoolsClientImpl.java @@ -556,14 +556,7 @@ private Mono> checkNameAvailabilityWithResponseAs private Mono checkNameAvailabilityAsync( String location, KustoPoolCheckNameRequest kustoPoolName) { return checkNameAvailabilityWithResponseAsync(location, kustoPoolName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -599,7 +592,9 @@ public Response checkNameAvailabilityWithResponse( } /** - * List all Kusto pools. + * List Kusto pools + * + *

List all Kusto pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -649,7 +644,9 @@ private Mono> listByWorkspaceWithResponseAsyn } /** - * List all Kusto pools. + * List Kusto pools + * + *

List all Kusto pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -697,7 +694,9 @@ private Mono> listByWorkspaceWithResponseAsyn } /** - * List all Kusto pools. + * List Kusto pools + * + *

List all Kusto pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -709,18 +708,13 @@ private Mono> listByWorkspaceWithResponseAsyn @ServiceMethod(returns = ReturnType.SINGLE) private Mono listByWorkspaceAsync(String resourceGroupName, String workspaceName) { return listByWorkspaceWithResponseAsync(resourceGroupName, workspaceName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * List all Kusto pools. + * List Kusto pools + * + *

List all Kusto pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -735,7 +729,9 @@ public KustoPoolListResultInner listByWorkspace(String resourceGroupName, String } /** - * List all Kusto pools. + * List Kusto pools + * + *

List all Kusto pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -871,14 +867,7 @@ private Mono> getWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String workspaceName, String kustoPoolName, String resourceGroupName) { return getWithResponseAsync(workspaceName, kustoPoolName, resourceGroupName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/LibrariesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/LibrariesClientImpl.java index a0dce6f6056dd..0699157af7366 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/LibrariesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/LibrariesClientImpl.java @@ -69,7 +69,9 @@ Mono> get( } /** - * Get library by name in a workspace. + * Get library by name. + * + *

Get library by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param libraryName Library name. @@ -123,7 +125,9 @@ private Mono> getWithResponseAsync( } /** - * Get library by name in a workspace. + * Get library by name. + * + *

Get library by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param libraryName Library name. @@ -175,7 +179,9 @@ private Mono> getWithResponseAsync( } /** - * Get library by name in a workspace. + * Get library by name. + * + *

Get library by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param libraryName Library name. @@ -188,18 +194,13 @@ private Mono> getWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String resourceGroupName, String libraryName, String workspaceName) { return getWithResponseAsync(resourceGroupName, libraryName, workspaceName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get library by name in a workspace. + * Get library by name. + * + *

Get library by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param libraryName Library name. @@ -215,7 +216,9 @@ public LibraryResourceInner get(String resourceGroupName, String libraryName, St } /** - * Get library by name in a workspace. + * Get library by name. + * + *

Get library by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param libraryName Library name. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/LibrariesOperationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/LibrariesOperationsClientImpl.java index f7206b2fcd22a..a2632405824e7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/LibrariesOperationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/LibrariesOperationsClientImpl.java @@ -83,7 +83,9 @@ Mono> listByWorkspaceNext( } /** - * List libraries in a workspace. + * List the libraries in a workspace. + * + *

List libraries in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -141,7 +143,9 @@ private Mono> listByWorkspaceSinglePageAsync } /** - * List libraries in a workspace. + * List the libraries in a workspace. + * + *

List libraries in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -197,7 +201,9 @@ private Mono> listByWorkspaceSinglePageAsync } /** - * List libraries in a workspace. + * List the libraries in a workspace. + * + *

List libraries in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -214,7 +220,9 @@ private PagedFlux listByWorkspaceAsync(String resourceGrou } /** - * List libraries in a workspace. + * List the libraries in a workspace. + * + *

List libraries in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -233,7 +241,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List libraries in a workspace. + * List the libraries in a workspace. + * + *

List libraries in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -248,7 +258,9 @@ public PagedIterable listByWorkspace(String resourceGroupN } /** - * List libraries in a workspace. + * List the libraries in a workspace. + * + *

List libraries in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -267,7 +279,8 @@ public PagedIterable listByWorkspace( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -302,7 +315,8 @@ private Mono> listByWorkspaceNextSinglePageA /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/OperationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/OperationsClientImpl.java index 4a27a214ba2e9..c6e2d7ff8767c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/OperationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/OperationsClientImpl.java @@ -110,7 +110,9 @@ Mono> getAzureAsyncHeaderResult( } /** - * Check whether a workspace name is available. + * Check name availability + * + *

Check whether a workspace name is available. * * @param request The check request. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -155,7 +157,9 @@ private Mono> checkNameAvailability } /** - * Check whether a workspace name is available. + * Check name availability + * + *

Check whether a workspace name is available. * * @param request The check request. * @param context The context to associate with this operation. @@ -193,7 +197,9 @@ private Mono> checkNameAvailability } /** - * Check whether a workspace name is available. + * Check name availability + * + *

Check whether a workspace name is available. * * @param request The check request. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -203,19 +209,13 @@ private Mono> checkNameAvailability */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono checkNameAvailabilityAsync(CheckNameAvailabilityRequest request) { - return checkNameAvailabilityWithResponseAsync(request) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + return checkNameAvailabilityWithResponseAsync(request).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Check whether a workspace name is available. + * Check name availability + * + *

Check whether a workspace name is available. * * @param request The check request. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -229,7 +229,9 @@ public CheckNameAvailabilityResponseInner checkNameAvailability(CheckNameAvailab } /** - * Check whether a workspace name is available. + * Check name availability + * + *

Check whether a workspace name is available. * * @param request The check request. * @param context The context to associate with this operation. @@ -245,7 +247,9 @@ public Response checkNameAvailabilityWithRes } /** - * Get all available operations. + * All operations + * + *

Get all available operations. * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -266,7 +270,9 @@ private Mono>> listWithResponseAsync() } /** - * Get all available operations. + * All operations + * + *

Get all available operations. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -288,7 +294,9 @@ private Mono>> listWithResponseAsync(Co } /** - * Get all available operations. + * All operations + * + *

Get all available operations. * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -296,19 +304,13 @@ private Mono>> listWithResponseAsync(Co */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listAsync() { - return listWithResponseAsync() - .flatMap( - (Response> res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + return listWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get all available operations. + * All operations + * + *

Get all available operations. * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -320,7 +322,9 @@ public List list() { } /** - * Get all available operations. + * All operations + * + *

Get all available operations. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -334,7 +338,9 @@ public Response> listWithResponse(Context contex } /** - * Get the result of an operation. + * Get operation result + * + *

Get the result of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -388,7 +394,9 @@ private Mono> getLocationHeaderResultWithResponseAsync( } /** - * Get the result of an operation. + * Get operation result + * + *

Get the result of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -440,7 +448,9 @@ private Mono> getLocationHeaderResultWithResponseAsync( } /** - * Get the result of an operation. + * Get operation result + * + *

Get the result of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -454,11 +464,13 @@ private Mono> getLocationHeaderResultWithResponseAsync( private Mono getLocationHeaderResultAsync( String resourceGroupName, String workspaceName, String operationId) { return getLocationHeaderResultWithResponseAsync(resourceGroupName, workspaceName, operationId) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** - * Get the result of an operation. + * Get operation result + * + *

Get the result of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -473,7 +485,9 @@ public void getLocationHeaderResult(String resourceGroupName, String workspaceNa } /** - * Get the result of an operation. + * Get operation result + * + *

Get the result of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -491,7 +505,9 @@ public Response getLocationHeaderResultWithResponse( } /** - * Get the status of an operation. + * Get operation status + * + *

Get the status of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -545,7 +561,9 @@ private Mono> getAzureAsyncHeaderResultWithResp } /** - * Get the status of an operation. + * Get operation status + * + *

Get the status of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -597,7 +615,9 @@ private Mono> getAzureAsyncHeaderResultWithResp } /** - * Get the status of an operation. + * Get operation status + * + *

Get the status of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -611,18 +631,13 @@ private Mono> getAzureAsyncHeaderResultWithResp private Mono getAzureAsyncHeaderResultAsync( String resourceGroupName, String workspaceName, String operationId) { return getAzureAsyncHeaderResultWithResponseAsync(resourceGroupName, workspaceName, operationId) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get the status of an operation. + * Get operation status + * + *

Get the status of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -639,7 +654,9 @@ public OperationResourceInner getAzureAsyncHeaderResult( } /** - * Get the status of an operation. + * Get operation status + * + *

Get the status of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateEndpointConnectionsClientImpl.java index ba88665c2cc7e..a6b831452d33e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateEndpointConnectionsClientImpl.java @@ -269,14 +269,7 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String privateEndpointConnectionName) { return getWithResponseAsync(resourceGroupName, workspaceName, privateEndpointConnectionName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1110,7 +1103,8 @@ public PagedIterable list( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1146,7 +1140,8 @@ private Mono> listNextSinglePageAs /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateEndpointConnectionsPrivateLinkHubsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateEndpointConnectionsPrivateLinkHubsClientImpl.java index 3438d93801d85..251692a2fff28 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateEndpointConnectionsPrivateLinkHubsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateEndpointConnectionsPrivateLinkHubsClientImpl.java @@ -425,14 +425,7 @@ private Mono> getWithR private Mono getAsync( String resourceGroupName, String privateLinkHubName, String privateEndpointConnectionName) { return getWithResponseAsync(resourceGroupName, privateLinkHubName, privateEndpointConnectionName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -474,7 +467,8 @@ public Response getWithResponse /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -510,7 +504,8 @@ private Mono> lis /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubImpl.java index 951345d12b728..8c37be50886b7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubImpl.java @@ -65,6 +65,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public PrivateLinkHubInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubPrivateLinkResourcesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubPrivateLinkResourcesClientImpl.java index 79c43d97d9b17..e850fe12f9d29 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubPrivateLinkResourcesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubPrivateLinkResourcesClientImpl.java @@ -105,7 +105,9 @@ Mono> listNext( } /** - * Get all private link resources for a private link hub. + * Private Link Resources + * + *

Get all private link resources for a private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -165,7 +167,9 @@ private Mono> listSinglePageAsync( } /** - * Get all private link resources for a private link hub. + * Private Link Resources + * + *

Get all private link resources for a private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -223,7 +227,9 @@ private Mono> listSinglePageAsync( } /** - * Get all private link resources for a private link hub. + * Private Link Resources + * + *

Get all private link resources for a private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -240,7 +246,9 @@ private PagedFlux listAsync(String resourceGroupName, } /** - * Get all private link resources for a private link hub. + * Private Link Resources + * + *

Get all private link resources for a private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -259,7 +267,9 @@ private PagedFlux listAsync( } /** - * Get all private link resources for a private link hub. + * Private Link Resources + * + *

Get all private link resources for a private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -274,7 +284,9 @@ public PagedIterable list(String resourceGroupName, St } /** - * Get all private link resources for a private link hub. + * Private Link Resources + * + *

Get all private link resources for a private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -291,7 +303,9 @@ public PagedIterable list( } /** - * Get private link resource in private link hub. + * Get Private Link Hub Private Link Resource + * + *

Get private link resource in private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -349,7 +363,9 @@ private Mono> getWithResponseAsync( } /** - * Get private link resource in private link hub. + * Get Private Link Hub Private Link Resource + * + *

Get private link resource in private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -405,7 +421,9 @@ private Mono> getWithResponseAsync( } /** - * Get private link resource in private link hub. + * Get Private Link Hub Private Link Resource + * + *

Get private link resource in private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -419,18 +437,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String privateLinkHubName, String privateLinkResourceName) { return getWithResponseAsync(resourceGroupName, privateLinkHubName, privateLinkResourceName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get private link resource in private link hub. + * Get Private Link Hub Private Link Resource + * + *

Get private link resource in private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -447,7 +460,9 @@ public PrivateLinkResourceInner get( } /** - * Get private link resource in private link hub. + * Get Private Link Hub Private Link Resource + * + *

Get private link resource in private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -467,7 +482,8 @@ public Response getWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -503,7 +519,8 @@ private Mono> listNextSinglePageAsync(St /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubsClientImpl.java index 95882e99d16b8..3d79a1e6f778b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkHubsClientImpl.java @@ -450,14 +450,7 @@ private Mono> getByResourceGroupWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono getByResourceGroupAsync(String resourceGroupName, String privateLinkHubName) { return getByResourceGroupWithResponseAsync(resourceGroupName, privateLinkHubName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -626,14 +619,7 @@ private Mono> updateWithResponseAsync( private Mono updateAsync( String resourceGroupName, String privateLinkHubName, PrivateLinkHubPatchInfo privateLinkHubPatchInfo) { return updateWithResponseAsync(resourceGroupName, privateLinkHubName, privateLinkHubPatchInfo) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -803,14 +789,7 @@ private Mono> createOrUpdateWithResponseAsync( private Mono createOrUpdateAsync( String resourceGroupName, String privateLinkHubName, PrivateLinkHubInner privateLinkHubInfo) { return createOrUpdateWithResponseAsync(resourceGroupName, privateLinkHubName, privateLinkHubInfo) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1218,7 +1197,8 @@ public PagedIterable list(Context context) { /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1254,7 +1234,8 @@ private Mono> listByResourceGroupNextSinglePa /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1291,7 +1272,8 @@ private Mono> listByResourceGroupNextSinglePa /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1326,7 +1308,8 @@ private Mono> listNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkResourcesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkResourcesClientImpl.java index 4725041527cbd..a89ad9a1632b8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkResourcesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/PrivateLinkResourcesClientImpl.java @@ -100,7 +100,9 @@ Mono> listNext( } /** - * Get all private link resources for a workspaces. + * Private Link Resources + * + *

Get all private link resources for a workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -159,7 +161,9 @@ private Mono> listSinglePageAsync( } /** - * Get all private link resources for a workspaces. + * Private Link Resources + * + *

Get all private link resources for a workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -216,7 +220,9 @@ private Mono> listSinglePageAsync( } /** - * Get all private link resources for a workspaces. + * Private Link Resources + * + *

Get all private link resources for a workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -232,7 +238,9 @@ private PagedFlux listAsync(String resourceGroupName, } /** - * Get all private link resources for a workspaces. + * Private Link Resources + * + *

Get all private link resources for a workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -251,7 +259,9 @@ private PagedFlux listAsync( } /** - * Get all private link resources for a workspaces. + * Private Link Resources + * + *

Get all private link resources for a workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -266,7 +276,9 @@ public PagedIterable list(String resourceGroupName, St } /** - * Get all private link resources for a workspaces. + * Private Link Resources + * + *

Get all private link resources for a workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -283,7 +295,9 @@ public PagedIterable list( } /** - * Get private link resource in workspace. + * Get Private Link Resource + * + *

Get private link resource in workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -339,7 +353,9 @@ private Mono> getWithResponseAsync( } /** - * Get private link resource in workspace. + * Get Private Link Resource + * + *

Get private link resource in workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -393,7 +409,9 @@ private Mono> getWithResponseAsync( } /** - * Get private link resource in workspace. + * Get Private Link Resource + * + *

Get private link resource in workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -407,18 +425,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String privateLinkResourceName) { return getWithResponseAsync(resourceGroupName, workspaceName, privateLinkResourceName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get private link resource in workspace. + * Get Private Link Resource + * + *

Get private link resource in workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -435,7 +448,9 @@ public PrivateLinkResourceInner get( } /** - * Get private link resource in workspace. + * Get Private Link Resource + * + *

Get private link resource in workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -455,7 +470,8 @@ public Response getWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -491,7 +507,8 @@ private Mono> listNextSinglePageAsync(St /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/RestorableDroppedSqlPoolsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/RestorableDroppedSqlPoolsClientImpl.java index 6189d3f4945d7..a25bb28397029 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/RestorableDroppedSqlPoolsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/RestorableDroppedSqlPoolsClientImpl.java @@ -222,14 +222,7 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String restorableDroppedSqlPoolId) { return getWithResponseAsync(resourceGroupName, workspaceName, restorableDroppedSqlPoolId) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SensitivityLabelImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SensitivityLabelImpl.java index 69745f2f7809a..bc694d94b3cfc 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SensitivityLabelImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SensitivityLabelImpl.java @@ -68,6 +68,10 @@ public SensitivityLabelRank rank() { return this.innerModel().rank(); } + public String resourceGroupName() { + return resourceGroupName; + } + public SensitivityLabelInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerBlobAuditingPolicyImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerBlobAuditingPolicyImpl.java index 41ca761c7c963..4eee640ac304b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerBlobAuditingPolicyImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerBlobAuditingPolicyImpl.java @@ -76,6 +76,10 @@ public Boolean isDevopsAuditEnabled() { return this.innerModel().isDevopsAuditEnabled(); } + public String resourceGroupName() { + return resourceGroupName; + } + public ServerBlobAuditingPolicyInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerSecurityAlertPolicyImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerSecurityAlertPolicyImpl.java index 70aa8021b8948..d195cb77b3e0a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerSecurityAlertPolicyImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerSecurityAlertPolicyImpl.java @@ -73,6 +73,10 @@ public OffsetDateTime creationTime() { return this.innerModel().creationTime(); } + public String resourceGroupName() { + return resourceGroupName; + } + public ServerSecurityAlertPolicyInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerVulnerabilityAssessmentImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerVulnerabilityAssessmentImpl.java index cf2f54d08fc80..4e16a4504bb14 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerVulnerabilityAssessmentImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/ServerVulnerabilityAssessmentImpl.java @@ -46,6 +46,10 @@ public VulnerabilityAssessmentRecurringScansProperties recurringScans() { return this.innerModel().recurringScans(); } + public String resourceGroupName() { + return resourceGroupName; + } + public ServerVulnerabilityAssessmentInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationResourceImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationResourceImpl.java index 5bbe2138c25dc..2eeaa828de41a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationResourceImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationResourceImpl.java @@ -72,6 +72,15 @@ public OffsetDateTime created() { return this.innerModel().created(); } + public Map configMergeRule() { + Map inner = this.innerModel().configMergeRule(); + if (inner != null) { + return Collections.unmodifiableMap(inner); + } else { + return Collections.emptyMap(); + } + } + public SparkConfigurationResourceInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationsClientImpl.java index 16deaf05e192d..1b06c39f504d5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationsClientImpl.java @@ -69,7 +69,9 @@ Mono> get( } /** - * Get SparkConfiguration by name in a workspace. + * Get SparkConfiguration by name. + * + *

Get SparkConfiguration by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param sparkConfigurationName SparkConfiguration name. @@ -126,7 +128,9 @@ private Mono> getWithResponseAsync( } /** - * Get SparkConfiguration by name in a workspace. + * Get SparkConfiguration by name. + * + *

Get SparkConfiguration by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param sparkConfigurationName SparkConfiguration name. @@ -181,7 +185,9 @@ private Mono> getWithResponseAsync( } /** - * Get SparkConfiguration by name in a workspace. + * Get SparkConfiguration by name. + * + *

Get SparkConfiguration by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param sparkConfigurationName SparkConfiguration name. @@ -195,18 +201,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String sparkConfigurationName, String workspaceName) { return getWithResponseAsync(resourceGroupName, sparkConfigurationName, workspaceName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get SparkConfiguration by name in a workspace. + * Get SparkConfiguration by name. + * + *

Get SparkConfiguration by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param sparkConfigurationName SparkConfiguration name. @@ -223,7 +224,9 @@ public SparkConfigurationResourceInner get( } /** - * Get SparkConfiguration by name in a workspace. + * Get SparkConfiguration by name. + * + *

Get SparkConfiguration by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param sparkConfigurationName SparkConfiguration name. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationsOperationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationsOperationsClientImpl.java index c22277c7e7f57..0981c2ee1a0c3 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationsOperationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SparkConfigurationsOperationsClientImpl.java @@ -87,7 +87,9 @@ Mono> listByWorkspaceNext( } /** - * List sparkConfigurations in a workspace. + * List the sparkConfigurations in a workspace. + * + *

List sparkConfigurations in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -146,7 +148,9 @@ private Mono> listByWorkspaceSing } /** - * List sparkConfigurations in a workspace. + * List the sparkConfigurations in a workspace. + * + *

List sparkConfigurations in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -203,7 +207,9 @@ private Mono> listByWorkspaceSing } /** - * List sparkConfigurations in a workspace. + * List the sparkConfigurations in a workspace. + * + *

List sparkConfigurations in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -221,7 +227,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List sparkConfigurations in a workspace. + * List the sparkConfigurations in a workspace. + * + *

List sparkConfigurations in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -240,7 +248,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List sparkConfigurations in a workspace. + * List the sparkConfigurations in a workspace. + * + *

List sparkConfigurations in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -256,7 +266,9 @@ public PagedIterable listByWorkspace( } /** - * List sparkConfigurations in a workspace. + * List the sparkConfigurations in a workspace. + * + *

List sparkConfigurations in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -275,7 +287,8 @@ public PagedIterable listByWorkspace( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -311,7 +324,8 @@ private Mono> listByWorkspaceNext /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolBlobAuditingPoliciesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolBlobAuditingPoliciesClientImpl.java index 771d8cf29e504..382a5f07cd25d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolBlobAuditingPoliciesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolBlobAuditingPoliciesClientImpl.java @@ -123,7 +123,9 @@ Mono> listBySqlPoolNext( } /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -179,7 +181,9 @@ private Mono> getWithResponseAsync( } /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -233,7 +237,9 @@ private Mono> getWithResponseAsync( } /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -247,18 +253,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -274,7 +275,9 @@ public SqlPoolBlobAuditingPolicyInner get(String resourceGroupName, String works } /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -292,7 +295,9 @@ public Response getWithResponse( } /** - * Creates or updates a SQL pool's blob auditing policy. + * Creates or updates a SQL pool's blob auditing policy + * + *

Creates or updates a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -355,7 +360,9 @@ private Mono> createOrUpdateWithRespons } /** - * Creates or updates a SQL pool's blob auditing policy. + * Creates or updates a SQL pool's blob auditing policy + * + *

Creates or updates a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -420,7 +427,9 @@ private Mono> createOrUpdateWithRespons } /** - * Creates or updates a SQL pool's blob auditing policy. + * Creates or updates a SQL pool's blob auditing policy + * + *

Creates or updates a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -435,18 +444,13 @@ private Mono> createOrUpdateWithRespons private Mono createOrUpdateAsync( String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolBlobAuditingPolicyInner parameters) { return createOrUpdateWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Creates or updates a SQL pool's blob auditing policy. + * Creates or updates a SQL pool's blob auditing policy + * + *

Creates or updates a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -464,7 +468,9 @@ public SqlPoolBlobAuditingPolicyInner createOrUpdate( } /** - * Creates or updates a SQL pool's blob auditing policy. + * Creates or updates a SQL pool's blob auditing policy + * + *

Creates or updates a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -690,7 +696,8 @@ public PagedIterable listBySqlPool( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -726,7 +733,8 @@ private Mono> listBySqlPoolNextSin /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolBlobAuditingPolicyImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolBlobAuditingPolicyImpl.java index 0861b0ed8cf5a..aa061b4765d7d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolBlobAuditingPolicyImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolBlobAuditingPolicyImpl.java @@ -71,6 +71,10 @@ public Boolean isAzureMonitorTargetEnabled() { return this.innerModel().isAzureMonitorTargetEnabled(); } + public String resourceGroupName() { + return resourceGroupName; + } + public SqlPoolBlobAuditingPolicyInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolColumnsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolColumnsClientImpl.java index c64129bb1b2a4..666a7ac1f12e8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolColumnsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolColumnsClientImpl.java @@ -242,14 +242,7 @@ private Mono getAsync( String tableName, String columnName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, schemaName, tableName, columnName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolConnectionPoliciesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolConnectionPoliciesClientImpl.java index 5732e28260e9b..6e2e08f54c6cc 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolConnectionPoliciesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolConnectionPoliciesClientImpl.java @@ -73,7 +73,9 @@ Mono> get( } /** - * Get a Sql pool's connection policy, which is used with table auditing. + * Get a Sql pool's connection policy, which is used with table auditing + * + *

Get a Sql pool's connection policy, which is used with table auditing. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -134,7 +136,9 @@ private Mono> getWithResponseAsync( } /** - * Get a Sql pool's connection policy, which is used with table auditing. + * Get a Sql pool's connection policy, which is used with table auditing + * + *

Get a Sql pool's connection policy, which is used with table auditing. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -197,7 +201,9 @@ private Mono> getWithResponseAsync( } /** - * Get a Sql pool's connection policy, which is used with table auditing. + * Get a Sql pool's connection policy, which is used with table auditing + * + *

Get a Sql pool's connection policy, which is used with table auditing. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -213,18 +219,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName, ConnectionPolicyName connectionPolicyName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, connectionPolicyName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a Sql pool's connection policy, which is used with table auditing. + * Get a Sql pool's connection policy, which is used with table auditing + * + *

Get a Sql pool's connection policy, which is used with table auditing. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -242,7 +243,9 @@ public SqlPoolConnectionPolicyInner get( } /** - * Get a Sql pool's connection policy, which is used with table auditing. + * Get a Sql pool's connection policy, which is used with table auditing + * + *

Get a Sql pool's connection policy, which is used with table auditing. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolDataWarehouseUserActivitiesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolDataWarehouseUserActivitiesClientImpl.java index 86b3060821243..27a0dfc749ddb 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolDataWarehouseUserActivitiesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolDataWarehouseUserActivitiesClientImpl.java @@ -77,7 +77,9 @@ Mono> get( } /** - * Gets the user activities of a SQL pool which includes running and suspended queries. + * Get SQL pool user activities + * + *

Gets the user activities of a SQL pool which includes running and suspended queries. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -143,7 +145,9 @@ private Mono> getWithResponseAsync( } /** - * Gets the user activities of a SQL pool which includes running and suspended queries. + * Get SQL pool user activities + * + *

Gets the user activities of a SQL pool which includes running and suspended queries. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -208,7 +212,9 @@ private Mono> getWithResponseAsync( } /** - * Gets the user activities of a SQL pool which includes running and suspended queries. + * Get SQL pool user activities + * + *

Gets the user activities of a SQL pool which includes running and suspended queries. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -227,18 +233,13 @@ private Mono getAsync( String sqlPoolName, DataWarehouseUserActivityName dataWarehouseUserActivityName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, dataWarehouseUserActivityName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets the user activities of a SQL pool which includes running and suspended queries. + * Get SQL pool user activities + * + *

Gets the user activities of a SQL pool which includes running and suspended queries. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -259,7 +260,9 @@ public DataWarehouseUserActivitiesInner get( } /** - * Gets the user activities of a SQL pool which includes running and suspended queries. + * Get SQL pool user activities + * + *

Gets the user activities of a SQL pool which includes running and suspended queries. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolGeoBackupPoliciesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolGeoBackupPoliciesClientImpl.java index 5c641d08c0b03..b955dcd846b20 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolGeoBackupPoliciesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolGeoBackupPoliciesClientImpl.java @@ -113,7 +113,9 @@ Mono> get( } /** - * Get list of SQL pool geo backup policies. + * List SQL pool geo backup policies + * + *

Get list of SQL pool geo backup policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -172,7 +174,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of SQL pool geo backup policies. + * List SQL pool geo backup policies + * + *

Get list of SQL pool geo backup policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -229,7 +233,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of SQL pool geo backup policies. + * List SQL pool geo backup policies + * + *

Get list of SQL pool geo backup policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -246,7 +252,9 @@ private PagedFlux listAsync( } /** - * Get list of SQL pool geo backup policies. + * List SQL pool geo backup policies + * + *

Get list of SQL pool geo backup policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -264,7 +272,9 @@ private PagedFlux listAsync( } /** - * Get list of SQL pool geo backup policies. + * List SQL pool geo backup policies + * + *

Get list of SQL pool geo backup policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -281,7 +291,9 @@ public PagedIterable list( } /** - * Get list of SQL pool geo backup policies. + * List SQL pool geo backup policies + * + *

Get list of SQL pool geo backup policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -461,14 +473,7 @@ private Mono createOrUpdateAsync( GeoBackupPolicyInner parameters) { return createOrUpdateWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, geoBackupPolicyName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -523,7 +528,9 @@ public Response createOrUpdateWithResponse( } /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -584,7 +591,9 @@ private Mono> getWithResponseAsync( } /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -647,7 +656,9 @@ private Mono> getWithResponseAsync( } /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -662,18 +673,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, geoBackupPolicyName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -691,7 +697,9 @@ public GeoBackupPolicyInner get( } /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolGeoBackupPoliciesImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolGeoBackupPoliciesImpl.java index be7df7c96823c..60cbe67900afd 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolGeoBackupPoliciesImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolGeoBackupPoliciesImpl.java @@ -96,9 +96,8 @@ public GeoBackupPolicy getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - GeoBackupPolicyName geoBackupPolicyName = - GeoBackupPolicyName.fromString(Utils.getValueFromIdByName(id, "geoBackupPolicies")); - if (geoBackupPolicyName == null) { + String geoBackupPolicyNameLocal = Utils.getValueFromIdByName(id, "geoBackupPolicies"); + if (geoBackupPolicyNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -106,6 +105,7 @@ public GeoBackupPolicy getById(String id) { .format( "The resource ID '%s' is not valid. Missing path segment 'geoBackupPolicies'.", id))); } + GeoBackupPolicyName geoBackupPolicyName = GeoBackupPolicyName.fromString(geoBackupPolicyNameLocal); return this .getWithResponse(resourceGroupName, workspaceName, sqlPoolName, geoBackupPolicyName, Context.NONE) .getValue(); @@ -134,9 +134,8 @@ public Response getByIdWithResponse(String id, Context context) new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - GeoBackupPolicyName geoBackupPolicyName = - GeoBackupPolicyName.fromString(Utils.getValueFromIdByName(id, "geoBackupPolicies")); - if (geoBackupPolicyName == null) { + String geoBackupPolicyNameLocal = Utils.getValueFromIdByName(id, "geoBackupPolicies"); + if (geoBackupPolicyNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -144,6 +143,7 @@ public Response getByIdWithResponse(String id, Context context) .format( "The resource ID '%s' is not valid. Missing path segment 'geoBackupPolicies'.", id))); } + GeoBackupPolicyName geoBackupPolicyName = GeoBackupPolicyName.fromString(geoBackupPolicyNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, sqlPoolName, geoBackupPolicyName, context); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolImpl.java index a8a805c4ccffa..4c6d0147526c6 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolImpl.java @@ -104,6 +104,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public SqlPoolInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMaintenanceWindowOptionsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMaintenanceWindowOptionsClientImpl.java index e2919a9d4d462..6b99008fe0bd1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMaintenanceWindowOptionsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMaintenanceWindowOptionsClientImpl.java @@ -74,7 +74,9 @@ Mono> get( } /** - * Get list of SQL pool's available maintenance windows. + * SQL pool's available maintenance windows. + * + *

Get list of SQL pool's available maintenance windows. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -137,7 +139,9 @@ private Mono> getWithResponseAsync( } /** - * Get list of SQL pool's available maintenance windows. + * SQL pool's available maintenance windows. + * + *

Get list of SQL pool's available maintenance windows. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -202,7 +206,9 @@ private Mono> getWithResponseAsync( } /** - * Get list of SQL pool's available maintenance windows. + * SQL pool's available maintenance windows. + * + *

Get list of SQL pool's available maintenance windows. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -217,18 +223,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName, String maintenanceWindowOptionsName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, maintenanceWindowOptionsName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get list of SQL pool's available maintenance windows. + * SQL pool's available maintenance windows. + * + *

Get list of SQL pool's available maintenance windows. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -246,7 +247,9 @@ public MaintenanceWindowOptionsInner get( } /** - * Get list of SQL pool's available maintenance windows. + * SQL pool's available maintenance windows. + * + *

Get list of SQL pool's available maintenance windows. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMaintenanceWindowsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMaintenanceWindowsClientImpl.java index fa1c0fdb71a31..cd7db95ec9c60 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMaintenanceWindowsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMaintenanceWindowsClientImpl.java @@ -228,14 +228,7 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName, String maintenanceWindowName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, maintenanceWindowName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -439,7 +432,7 @@ private Mono createOrUpdateAsync( MaintenanceWindowsInner parameters) { return createOrUpdateWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, maintenanceWindowName, parameters) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMetadataSyncConfigsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMetadataSyncConfigsClientImpl.java index 9673bfe426c58..2e189d01417c0 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMetadataSyncConfigsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolMetadataSyncConfigsClientImpl.java @@ -90,7 +90,9 @@ Mono> create( } /** - * Get the metadata sync configuration for a SQL pool. + * Get SQL pool metadata sync config + * + *

Get the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -145,7 +147,9 @@ private Mono> getWithResponseAsync( } /** - * Get the metadata sync configuration for a SQL pool. + * Get SQL pool metadata sync config + * + *

Get the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -198,7 +202,9 @@ private Mono> getWithResponseAsync( } /** - * Get the metadata sync configuration for a SQL pool. + * Get SQL pool metadata sync config + * + *

Get the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -211,18 +217,13 @@ private Mono> getWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String resourceGroupName, String workspaceName, String sqlPoolName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get the metadata sync configuration for a SQL pool. + * Get SQL pool metadata sync config + * + *

Get the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -238,7 +239,9 @@ public MetadataSyncConfigInner get(String resourceGroupName, String workspaceNam } /** - * Get the metadata sync configuration for a SQL pool. + * Get SQL pool metadata sync config + * + *

Get the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -256,7 +259,9 @@ public Response getWithResponse( } /** - * Set the metadata sync configuration for a SQL pool. + * Set SQL pool metadata sync config + * + *

Set the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -323,7 +328,9 @@ private Mono> createWithResponseAsync( } /** - * Set the metadata sync configuration for a SQL pool. + * Set SQL pool metadata sync config + * + *

Set the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -389,7 +396,9 @@ private Mono> createWithResponseAsync( } /** - * Set the metadata sync configuration for a SQL pool. + * Set SQL pool metadata sync config + * + *

Set the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -407,18 +416,13 @@ private Mono createAsync( String sqlPoolName, MetadataSyncConfigInner metadataSyncConfiguration) { return createWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, metadataSyncConfiguration) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Set the metadata sync configuration for a SQL pool. + * Set SQL pool metadata sync config + * + *

Set the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -439,7 +443,9 @@ public MetadataSyncConfigInner create( } /** - * Set the metadata sync configuration for a SQL pool. + * Set SQL pool metadata sync config + * + *

Set the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolOperationResultsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolOperationResultsClientImpl.java index cb534cd3fe1ad..0fba397c0ba3a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolOperationResultsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolOperationResultsClientImpl.java @@ -70,7 +70,9 @@ Mono> getLocationHeaderResult( } /** - * Get the status of a SQL pool operation. + * Get SQL pool operation status + * + *

Get the status of a SQL pool operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -129,7 +131,9 @@ private Mono> getLocationHeaderResultWithResponseAsync( } /** - * Get the status of a SQL pool operation. + * Get SQL pool operation status + * + *

Get the status of a SQL pool operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -186,7 +190,9 @@ private Mono> getLocationHeaderResultWithResponseAsync( } /** - * Get the status of a SQL pool operation. + * Get SQL pool operation status + * + *

Get the status of a SQL pool operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -201,18 +207,13 @@ private Mono> getLocationHeaderResultWithResponseAsync( private Mono getLocationHeaderResultAsync( String resourceGroupName, String workspaceName, String sqlPoolName, String operationId) { return getLocationHeaderResultWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, operationId) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get the status of a SQL pool operation. + * Get SQL pool operation status + * + *

Get the status of a SQL pool operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -230,7 +231,9 @@ public Object getLocationHeaderResult( } /** - * Get the status of a SQL pool operation. + * Get SQL pool operation status + * + *

Get the status of a SQL pool operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolOperationsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolOperationsClientImpl.java index 4e87c2cf636f4..525dda3c2e61f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolOperationsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolOperationsClientImpl.java @@ -84,7 +84,9 @@ Mono> listNext( } /** - * Gets a list of operations performed on the SQL pool. + * Gets a list of operations performed on the SQL pool + * + *

Gets a list of operations performed on the SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -148,7 +150,9 @@ private Mono> listSinglePageAsync( } /** - * Gets a list of operations performed on the SQL pool. + * Gets a list of operations performed on the SQL pool + * + *

Gets a list of operations performed on the SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -210,7 +214,9 @@ private Mono> listSinglePageAsync( } /** - * Gets a list of operations performed on the SQL pool. + * Gets a list of operations performed on the SQL pool + * + *

Gets a list of operations performed on the SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -229,7 +235,9 @@ private PagedFlux listAsync( } /** - * Gets a list of operations performed on the SQL pool. + * Gets a list of operations performed on the SQL pool + * + *

Gets a list of operations performed on the SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -249,7 +257,9 @@ private PagedFlux listAsync( } /** - * Gets a list of operations performed on the SQL pool. + * Gets a list of operations performed on the SQL pool + * + *

Gets a list of operations performed on the SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -266,7 +276,9 @@ public PagedIterable list( } /** - * Gets a list of operations performed on the SQL pool. + * Gets a list of operations performed on the SQL pool + * + *

Gets a list of operations performed on the SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -286,7 +298,8 @@ public PagedIterable list( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -322,7 +335,8 @@ private Mono> listNextSinglePageAsync(Strin /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolRecommendedSensitivityLabelsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolRecommendedSensitivityLabelsClientImpl.java index 4bd09db2a6bdd..16c6e36955cf0 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolRecommendedSensitivityLabelsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolRecommendedSensitivityLabelsClientImpl.java @@ -216,7 +216,7 @@ private Mono updateAsync( String sqlPoolName, RecommendedSensitivityLabelUpdateList parameters) { return updateWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, parameters) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolReplicationLinksClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolReplicationLinksClientImpl.java index 5fcfbb806fd6c..7a754fa875c12 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolReplicationLinksClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolReplicationLinksClientImpl.java @@ -102,7 +102,9 @@ Mono> listNext( } /** - * Lists a Sql pool's replication links. + * Get SQL pool replication links + * + *

Lists a Sql pool's replication links. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -166,7 +168,9 @@ private Mono> listSinglePageAsync( } /** - * Lists a Sql pool's replication links. + * Get SQL pool replication links + * + *

Lists a Sql pool's replication links. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -228,7 +232,9 @@ private Mono> listSinglePageAsync( } /** - * Lists a Sql pool's replication links. + * Get SQL pool replication links + * + *

Lists a Sql pool's replication links. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -248,7 +254,9 @@ private PagedFlux listAsync( } /** - * Lists a Sql pool's replication links. + * Get SQL pool replication links + * + *

Lists a Sql pool's replication links. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -269,7 +277,9 @@ private PagedFlux listAsync( } /** - * Lists a Sql pool's replication links. + * Get SQL pool replication links + * + *

Lists a Sql pool's replication links. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -287,7 +297,9 @@ public PagedIterable list( } /** - * Lists a Sql pool's replication links. + * Get SQL pool replication links + * + *

Lists a Sql pool's replication links. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -306,7 +318,9 @@ public PagedIterable list( } /** - * Get SQL pool replication link by name. + * Get SQL pool replication link by name + * + *

Get SQL pool replication link by name. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -365,7 +379,9 @@ private Mono> getByNameWithResponseAsync( } /** - * Get SQL pool replication link by name. + * Get SQL pool replication link by name + * + *

Get SQL pool replication link by name. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -422,7 +438,9 @@ private Mono> getByNameWithResponseAsync( } /** - * Get SQL pool replication link by name. + * Get SQL pool replication link by name + * + *

Get SQL pool replication link by name. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -437,18 +455,13 @@ private Mono> getByNameWithResponseAsync( private Mono getByNameAsync( String resourceGroupName, String workspaceName, String sqlPoolName, String linkId) { return getByNameWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, linkId) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get SQL pool replication link by name. + * Get SQL pool replication link by name + * + *

Get SQL pool replication link by name. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -466,7 +479,9 @@ public ReplicationLinkInner getByName( } /** - * Get SQL pool replication link by name. + * Get SQL pool replication link by name + * + *

Get SQL pool replication link by name. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -487,7 +502,8 @@ public Response getByNameWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -523,7 +539,8 @@ private Mono> listNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolRestorePointsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolRestorePointsClientImpl.java index ace06a0e3b157..5450ae11bd28a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolRestorePointsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolRestorePointsClientImpl.java @@ -144,7 +144,9 @@ Mono> listNext( } /** - * Get SQL pool backup information. + * Get SQL pool backup + * + *

Get SQL pool backup information. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -207,7 +209,9 @@ private Mono> listSinglePageAsync( } /** - * Get SQL pool backup information. + * Get SQL pool backup + * + *

Get SQL pool backup information. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -268,7 +272,9 @@ private Mono> listSinglePageAsync( } /** - * Get SQL pool backup information. + * Get SQL pool backup + * + *

Get SQL pool backup information. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -286,7 +292,9 @@ private PagedFlux listAsync(String resourceGroupName, String } /** - * Get SQL pool backup information. + * Get SQL pool backup + * + *

Get SQL pool backup information. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -306,7 +314,9 @@ private PagedFlux listAsync( } /** - * Get SQL pool backup information. + * Get SQL pool backup + * + *

Get SQL pool backup information. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -322,7 +332,9 @@ public PagedIterable list(String resourceGroupName, String wo } /** - * Get SQL pool backup information. + * Get SQL pool backup + * + *

Get SQL pool backup information. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -795,14 +807,7 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName, String restorePointName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, restorePointName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -972,7 +977,7 @@ private Mono> deleteWithResponseAsync( private Mono deleteAsync( String resourceGroupName, String workspaceName, String sqlPoolName, String restorePointName) { return deleteWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, restorePointName) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** @@ -1014,7 +1019,8 @@ public Response deleteWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1050,7 +1056,8 @@ private Mono> listNextSinglePageAsync(String ne /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSchemasClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSchemasClientImpl.java index 64cf312ec9803..ed5a2805ed1c8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSchemasClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSchemasClientImpl.java @@ -102,7 +102,9 @@ Mono> listNext( } /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -167,7 +169,9 @@ private Mono> listSinglePageAsync( } /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -230,7 +234,9 @@ private Mono> listSinglePageAsync( } /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -250,7 +256,9 @@ private PagedFlux listAsync( } /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -270,7 +278,9 @@ private PagedFlux listAsync( } /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -291,7 +301,9 @@ private PagedFlux listAsync( } /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -308,7 +320,9 @@ public PagedIterable list(String resourceGroupName, String w } /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -458,14 +472,7 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, schemaName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -508,7 +515,8 @@ public Response getWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -543,7 +551,8 @@ private Mono> listNextSinglePageAsync(String n /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPoliciesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPoliciesClientImpl.java index 277c53c2288dc..6982b82aed2f8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPoliciesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPoliciesClientImpl.java @@ -124,7 +124,9 @@ Mono> listNext( } /** - * Get a list of Sql pool's security alert policies. + * List Sql pool's security alert policies + * + *

Get a list of Sql pool's security alert policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -188,7 +190,9 @@ private Mono> listSinglePageAsync } /** - * Get a list of Sql pool's security alert policies. + * List Sql pool's security alert policies + * + *

Get a list of Sql pool's security alert policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -250,7 +254,9 @@ private Mono> listSinglePageAsync } /** - * Get a list of Sql pool's security alert policies. + * List Sql pool's security alert policies + * + *

Get a list of Sql pool's security alert policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -269,7 +275,9 @@ private PagedFlux listAsync( } /** - * Get a list of Sql pool's security alert policies. + * List Sql pool's security alert policies + * + *

Get a list of Sql pool's security alert policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -289,7 +297,9 @@ private PagedFlux listAsync( } /** - * Get a list of Sql pool's security alert policies. + * List Sql pool's security alert policies + * + *

Get a list of Sql pool's security alert policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -306,7 +316,9 @@ public PagedIterable list( } /** - * Get a list of Sql pool's security alert policies. + * List Sql pool's security alert policies + * + *

Get a list of Sql pool's security alert policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -324,7 +336,9 @@ public PagedIterable list( } /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -388,7 +402,9 @@ private Mono> getWithResponseAsync( } /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -451,7 +467,9 @@ private Mono> getWithResponseAsync( } /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -469,18 +487,13 @@ private Mono getAsync( String sqlPoolName, SecurityAlertPolicyName securityAlertPolicyName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, securityAlertPolicyName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -501,7 +514,9 @@ public SqlPoolSecurityAlertPolicyInner get( } /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -525,7 +540,9 @@ public Response getWithResponse( } /** - * Create or update a Sql pool's security alert policy. + * Create or update a Sql pool's security alert policy + * + *

Create or update a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -597,7 +614,9 @@ private Mono> createOrUpdateWithRespon } /** - * Create or update a Sql pool's security alert policy. + * Create or update a Sql pool's security alert policy + * + *

Create or update a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -668,7 +687,9 @@ private Mono> createOrUpdateWithRespon } /** - * Create or update a Sql pool's security alert policy. + * Create or update a Sql pool's security alert policy + * + *

Create or update a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -689,18 +710,13 @@ private Mono createOrUpdateAsync( SqlPoolSecurityAlertPolicyInner parameters) { return createOrUpdateWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, securityAlertPolicyName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Create or update a Sql pool's security alert policy. + * Create or update a Sql pool's security alert policy + * + *

Create or update a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -724,7 +740,9 @@ public SqlPoolSecurityAlertPolicyInner createOrUpdate( } /** - * Create or update a Sql pool's security alert policy. + * Create or update a Sql pool's security alert policy + * + *

Create or update a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -753,7 +771,8 @@ public Response createOrUpdateWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -789,7 +808,8 @@ private Mono> listNextSinglePageA /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPoliciesImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPoliciesImpl.java index 8569dd3306f0a..adddb457fd877 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPoliciesImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPoliciesImpl.java @@ -101,9 +101,8 @@ public SqlPoolSecurityAlertPolicy getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - SecurityAlertPolicyName securityAlertPolicyName = - SecurityAlertPolicyName.fromString(Utils.getValueFromIdByName(id, "securityAlertPolicies")); - if (securityAlertPolicyName == null) { + String securityAlertPolicyNameLocal = Utils.getValueFromIdByName(id, "securityAlertPolicies"); + if (securityAlertPolicyNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -112,6 +111,8 @@ public SqlPoolSecurityAlertPolicy getById(String id) { "The resource ID '%s' is not valid. Missing path segment 'securityAlertPolicies'.", id))); } + SecurityAlertPolicyName securityAlertPolicyName = + SecurityAlertPolicyName.fromString(securityAlertPolicyNameLocal); return this .getWithResponse(resourceGroupName, workspaceName, sqlPoolName, securityAlertPolicyName, Context.NONE) .getValue(); @@ -140,9 +141,8 @@ public Response getByIdWithResponse(String id, Conte new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - SecurityAlertPolicyName securityAlertPolicyName = - SecurityAlertPolicyName.fromString(Utils.getValueFromIdByName(id, "securityAlertPolicies")); - if (securityAlertPolicyName == null) { + String securityAlertPolicyNameLocal = Utils.getValueFromIdByName(id, "securityAlertPolicies"); + if (securityAlertPolicyNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -151,6 +151,8 @@ public Response getByIdWithResponse(String id, Conte "The resource ID '%s' is not valid. Missing path segment 'securityAlertPolicies'.", id))); } + SecurityAlertPolicyName securityAlertPolicyName = + SecurityAlertPolicyName.fromString(securityAlertPolicyNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, sqlPoolName, securityAlertPolicyName, context); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPolicyImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPolicyImpl.java index 15eaa26e84bb3..d4c7fdf0a60d4 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPolicyImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSecurityAlertPolicyImpl.java @@ -73,6 +73,10 @@ public OffsetDateTime creationTime() { return this.innerModel().creationTime(); } + public String resourceGroupName() { + return resourceGroupName; + } + public SqlPoolSecurityAlertPolicyInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSensitivityLabelsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSensitivityLabelsClientImpl.java index a965f8b402018..fa5a9c4224641 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSensitivityLabelsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolSensitivityLabelsClientImpl.java @@ -241,7 +241,9 @@ Mono> listRecommendedNext( } /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -306,7 +308,9 @@ private Mono> listCurrentSinglePageAsync( } /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -369,7 +373,9 @@ private Mono> listCurrentSinglePageAsync( } /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -389,7 +395,9 @@ private PagedFlux listCurrentAsync( } /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -409,7 +417,9 @@ private PagedFlux listCurrentAsync( } /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -430,7 +440,9 @@ private PagedFlux listCurrentAsync( } /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -448,7 +460,9 @@ public PagedIterable listCurrent( } /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -602,7 +616,7 @@ private Mono> updateWithResponseAsync( private Mono updateAsync( String resourceGroupName, String workspaceName, String sqlPoolName, SensitivityLabelUpdateList parameters) { return updateWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, parameters) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** @@ -646,7 +660,9 @@ public Response updateWithResponse( } /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -721,7 +737,9 @@ private Mono> listRecommendedSinglePageAsyn } /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -795,7 +813,9 @@ private Mono> listRecommendedSinglePageAsyn } /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -824,7 +844,9 @@ private PagedFlux listRecommendedAsync( } /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -848,7 +870,9 @@ private PagedFlux listRecommendedAsync( } /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -885,7 +909,9 @@ private PagedFlux listRecommendedAsync( } /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -907,7 +933,9 @@ public PagedIterable listRecommended( } /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1134,14 +1162,7 @@ private Mono createOrUpdateAsync( SensitivityLabelInner parameters) { return createOrUpdateWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, schemaName, tableName, columnName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1374,7 +1395,7 @@ private Mono deleteAsync( String tableName, String columnName) { return deleteWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, schemaName, tableName, columnName) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** @@ -1627,14 +1648,7 @@ private Mono getAsync( tableName, columnName, sensitivityLabelSource) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1881,7 +1895,7 @@ private Mono enableRecommendationAsync( String columnName) { return enableRecommendationWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, schemaName, tableName, columnName) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** @@ -2109,7 +2123,7 @@ private Mono disableRecommendationAsync( String columnName) { return disableRecommendationWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, schemaName, tableName, columnName) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** @@ -2169,7 +2183,8 @@ public Response disableRecommendationWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2204,7 +2219,8 @@ private Mono> listCurrentNextSinglePageAsyn /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2241,7 +2257,8 @@ private Mono> listCurrentNextSinglePageAsyn /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2276,7 +2293,8 @@ private Mono> listRecommendedNextSinglePage /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTableColumnsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTableColumnsClientImpl.java index 282132d5da364..7ad1c3633cb4b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTableColumnsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTableColumnsClientImpl.java @@ -87,7 +87,9 @@ Mono> listByTableNameNext( } /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -168,7 +170,9 @@ private Mono> listByTableNameSinglePageAsync( } /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -248,7 +252,9 @@ private Mono> listByTableNameSinglePageAsync( } /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -277,7 +283,9 @@ private PagedFlux listByTableNameAsync( } /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -301,7 +309,9 @@ private PagedFlux listByTableNameAsync( } /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -332,7 +342,9 @@ private PagedFlux listByTableNameAsync( } /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -353,7 +365,9 @@ public PagedIterable listByTableName( } /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -384,7 +398,8 @@ public PagedIterable listByTableName( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -419,7 +434,8 @@ private Mono> listByTableNameNextSinglePageAsy /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTablesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTablesClientImpl.java index c394365ea73c2..3dad5072aef34 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTablesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTablesClientImpl.java @@ -104,7 +104,9 @@ Mono> listBySchemaNext( } /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -175,7 +177,9 @@ private Mono> listBySchemaSinglePageAsync( } /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -249,7 +253,9 @@ private Mono> listBySchemaSinglePageAsync( } /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -270,7 +276,9 @@ private PagedFlux listBySchemaAsync( } /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -291,7 +299,9 @@ private PagedFlux listBySchemaAsync( } /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -319,7 +329,9 @@ private PagedFlux listBySchemaAsync( } /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -339,7 +351,9 @@ public PagedIterable listBySchema( } /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -512,14 +526,7 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, schemaName, tableName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -570,7 +577,8 @@ public Response getWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -605,7 +613,8 @@ private Mono> listBySchemaNextSinglePageAsync(S /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTransparentDataEncryptionsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTransparentDataEncryptionsClientImpl.java index 6c83c4a121d87..3e65b7ea0f01e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTransparentDataEncryptionsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTransparentDataEncryptionsClientImpl.java @@ -128,7 +128,9 @@ Mono> listNext( } /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -194,7 +196,9 @@ private Mono> getWithResponseAsync( } /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -259,7 +263,9 @@ private Mono> getWithResponseAsync( } /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -277,18 +283,13 @@ private Mono getAsync( String sqlPoolName, TransparentDataEncryptionName transparentDataEncryptionName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, transparentDataEncryptionName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -309,7 +310,9 @@ public TransparentDataEncryptionInner get( } /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -334,7 +337,9 @@ public Response getWithResponse( } /** - * Creates or updates a Sql pool's transparent data encryption configuration. + * Creates or updates a Sql pool's transparent data encryption configuration + * + *

Creates or updates a Sql pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -408,7 +413,9 @@ private Mono> createOrUpdateWithRespons } /** - * Creates or updates a Sql pool's transparent data encryption configuration. + * Creates or updates a Sql pool's transparent data encryption configuration + * + *

Creates or updates a Sql pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -481,7 +488,9 @@ private Mono> createOrUpdateWithRespons } /** - * Creates or updates a Sql pool's transparent data encryption configuration. + * Creates or updates a Sql pool's transparent data encryption configuration + * + *

Creates or updates a Sql pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -502,18 +511,13 @@ private Mono createOrUpdateAsync( TransparentDataEncryptionInner parameters) { return createOrUpdateWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, transparentDataEncryptionName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Creates or updates a Sql pool's transparent data encryption configuration. + * Creates or updates a Sql pool's transparent data encryption configuration + * + *

Creates or updates a Sql pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -538,7 +542,9 @@ public TransparentDataEncryptionInner createOrUpdate( } /** - * Creates or updates a Sql pool's transparent data encryption configuration. + * Creates or updates a Sql pool's transparent data encryption configuration + * + *

Creates or updates a Sql pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -565,7 +571,9 @@ public Response createOrUpdateWithResponse( } /** - * Get list of SQL pool's transparent data encryption configurations. + * SQL pool's transparent data encryption configurations + * + *

Get list of SQL pool's transparent data encryption configurations. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -629,7 +637,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of SQL pool's transparent data encryption configurations. + * SQL pool's transparent data encryption configurations + * + *

Get list of SQL pool's transparent data encryption configurations. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -691,7 +701,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of SQL pool's transparent data encryption configurations. + * SQL pool's transparent data encryption configurations + * + *

Get list of SQL pool's transparent data encryption configurations. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -711,7 +723,9 @@ private PagedFlux listAsync( } /** - * Get list of SQL pool's transparent data encryption configurations. + * SQL pool's transparent data encryption configurations + * + *

Get list of SQL pool's transparent data encryption configurations. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -732,7 +746,9 @@ private PagedFlux listAsync( } /** - * Get list of SQL pool's transparent data encryption configurations. + * SQL pool's transparent data encryption configurations + * + *

Get list of SQL pool's transparent data encryption configurations. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -750,7 +766,9 @@ public PagedIterable list( } /** - * Get list of SQL pool's transparent data encryption configurations. + * SQL pool's transparent data encryption configurations + * + *

Get list of SQL pool's transparent data encryption configurations. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -771,7 +789,8 @@ public PagedIterable list( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -807,7 +826,8 @@ private Mono> listNextSinglePageAs /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTransparentDataEncryptionsImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTransparentDataEncryptionsImpl.java index 50c58a971995a..4e6f910520980 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTransparentDataEncryptionsImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolTransparentDataEncryptionsImpl.java @@ -101,9 +101,8 @@ public TransparentDataEncryption getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - TransparentDataEncryptionName transparentDataEncryptionName = - TransparentDataEncryptionName.fromString(Utils.getValueFromIdByName(id, "transparentDataEncryption")); - if (transparentDataEncryptionName == null) { + String transparentDataEncryptionNameLocal = Utils.getValueFromIdByName(id, "transparentDataEncryption"); + if (transparentDataEncryptionNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -112,6 +111,8 @@ public TransparentDataEncryption getById(String id) { "The resource ID '%s' is not valid. Missing path segment 'transparentDataEncryption'.", id))); } + TransparentDataEncryptionName transparentDataEncryptionName = + TransparentDataEncryptionName.fromString(transparentDataEncryptionNameLocal); return this .getWithResponse(resourceGroupName, workspaceName, sqlPoolName, transparentDataEncryptionName, Context.NONE) .getValue(); @@ -140,9 +141,8 @@ public Response getByIdWithResponse(String id, Contex new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - TransparentDataEncryptionName transparentDataEncryptionName = - TransparentDataEncryptionName.fromString(Utils.getValueFromIdByName(id, "transparentDataEncryption")); - if (transparentDataEncryptionName == null) { + String transparentDataEncryptionNameLocal = Utils.getValueFromIdByName(id, "transparentDataEncryption"); + if (transparentDataEncryptionNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -151,6 +151,8 @@ public Response getByIdWithResponse(String id, Contex "The resource ID '%s' is not valid. Missing path segment 'transparentDataEncryption'.", id))); } + TransparentDataEncryptionName transparentDataEncryptionName = + TransparentDataEncryptionName.fromString(transparentDataEncryptionNameLocal); return this .getWithResponse(resourceGroupName, workspaceName, sqlPoolName, transparentDataEncryptionName, context); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolUsagesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolUsagesClientImpl.java index 44ead171518cc..f6f8a5880b591 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolUsagesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolUsagesClientImpl.java @@ -84,7 +84,9 @@ Mono> listNext( } /** - * Gets SQL pool usages. + * Gets SQL pool usages + * + *

Gets SQL pool usages. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -147,7 +149,9 @@ private Mono> listSinglePageAsync( } /** - * Gets SQL pool usages. + * Gets SQL pool usages + * + *

Gets SQL pool usages. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -208,7 +212,9 @@ private Mono> listSinglePageAsync( } /** - * Gets SQL pool usages. + * Gets SQL pool usages + * + *

Gets SQL pool usages. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -226,7 +232,9 @@ private PagedFlux listAsync(String resourceGroupName, String } /** - * Gets SQL pool usages. + * Gets SQL pool usages + * + *

Gets SQL pool usages. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -246,7 +254,9 @@ private PagedFlux listAsync( } /** - * Gets SQL pool usages. + * Gets SQL pool usages + * + *

Gets SQL pool usages. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -262,7 +272,9 @@ public PagedIterable list(String resourceGroupName, String wo } /** - * Gets SQL pool usages. + * Gets SQL pool usages + * + *

Gets SQL pool usages. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -282,7 +294,8 @@ public PagedIterable list( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -318,7 +331,8 @@ private Mono> listNextSinglePageAsync(String ne /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentImpl.java index 503767099428b..79c21ce9ad555 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentImpl.java @@ -46,6 +46,10 @@ public VulnerabilityAssessmentRecurringScansProperties recurringScans() { return this.innerModel().recurringScans(); } + public String resourceGroupName() { + return resourceGroupName; + } + public SqlPoolVulnerabilityAssessmentInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselineImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselineImpl.java index 3fa8d5e9e57ce..620b97198994c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselineImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselineImpl.java @@ -42,6 +42,10 @@ public List baselineResults() { } } + public String resourceGroupName() { + return resourceGroupName; + } + public SqlPoolVulnerabilityAssessmentRuleBaselineInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselinesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselinesClientImpl.java index bd30ffb4ab5b4..e87a7de513d03 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselinesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselinesClientImpl.java @@ -331,14 +331,7 @@ private Mono createOrUpdateAsyn ruleId, baselineName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -592,7 +585,7 @@ private Mono deleteAsync( VulnerabilityAssessmentPolicyBaselineName baselineName) { return deleteWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, ruleId, baselineName) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** @@ -839,14 +832,7 @@ private Mono getAsync( VulnerabilityAssessmentPolicyBaselineName baselineName) { return getWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, ruleId, baselineName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselinesImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselinesImpl.java index 6f2059798b4a5..9bf97ba6360a7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselinesImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentRuleBaselinesImpl.java @@ -133,9 +133,8 @@ public SqlPoolVulnerabilityAssessmentRuleBaseline getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -144,6 +143,8 @@ public SqlPoolVulnerabilityAssessmentRuleBaseline getById(String id) { "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); String ruleId = Utils.getValueFromIdByName(id, "rules"); if (ruleId == null) { throw LOGGER @@ -151,14 +152,15 @@ public SqlPoolVulnerabilityAssessmentRuleBaseline getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'rules'.", id))); } - VulnerabilityAssessmentPolicyBaselineName baselineName = - VulnerabilityAssessmentPolicyBaselineName.fromString(Utils.getValueFromIdByName(id, "baselines")); - if (baselineName == null) { + String baselineNameLocal = Utils.getValueFromIdByName(id, "baselines"); + if (baselineNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'baselines'.", id))); } + VulnerabilityAssessmentPolicyBaselineName baselineName = + VulnerabilityAssessmentPolicyBaselineName.fromString(baselineNameLocal); return this .getWithResponse( resourceGroupName, @@ -194,9 +196,8 @@ public Response getByIdWithResponse( new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -205,6 +206,8 @@ public Response getByIdWithResponse( "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); String ruleId = Utils.getValueFromIdByName(id, "rules"); if (ruleId == null) { throw LOGGER @@ -212,14 +215,15 @@ public Response getByIdWithResponse( new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'rules'.", id))); } - VulnerabilityAssessmentPolicyBaselineName baselineName = - VulnerabilityAssessmentPolicyBaselineName.fromString(Utils.getValueFromIdByName(id, "baselines")); - if (baselineName == null) { + String baselineNameLocal = Utils.getValueFromIdByName(id, "baselines"); + if (baselineNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'baselines'.", id))); } + VulnerabilityAssessmentPolicyBaselineName baselineName = + VulnerabilityAssessmentPolicyBaselineName.fromString(baselineNameLocal); return this .getWithResponse( resourceGroupName, @@ -254,9 +258,8 @@ public void deleteById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -265,6 +268,8 @@ public void deleteById(String id) { "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); String ruleId = Utils.getValueFromIdByName(id, "rules"); if (ruleId == null) { throw LOGGER @@ -272,14 +277,15 @@ public void deleteById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'rules'.", id))); } - VulnerabilityAssessmentPolicyBaselineName baselineName = - VulnerabilityAssessmentPolicyBaselineName.fromString(Utils.getValueFromIdByName(id, "baselines")); - if (baselineName == null) { + String baselineNameLocal = Utils.getValueFromIdByName(id, "baselines"); + if (baselineNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'baselines'.", id))); } + VulnerabilityAssessmentPolicyBaselineName baselineName = + VulnerabilityAssessmentPolicyBaselineName.fromString(baselineNameLocal); this .deleteWithResponse( resourceGroupName, @@ -314,9 +320,8 @@ public Response deleteByIdWithResponse(String id, Context context) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -325,6 +330,8 @@ public Response deleteByIdWithResponse(String id, Context context) { "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); String ruleId = Utils.getValueFromIdByName(id, "rules"); if (ruleId == null) { throw LOGGER @@ -332,14 +339,15 @@ public Response deleteByIdWithResponse(String id, Context context) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'rules'.", id))); } - VulnerabilityAssessmentPolicyBaselineName baselineName = - VulnerabilityAssessmentPolicyBaselineName.fromString(Utils.getValueFromIdByName(id, "baselines")); - if (baselineName == null) { + String baselineNameLocal = Utils.getValueFromIdByName(id, "baselines"); + if (baselineNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'baselines'.", id))); } + VulnerabilityAssessmentPolicyBaselineName baselineName = + VulnerabilityAssessmentPolicyBaselineName.fromString(baselineNameLocal); return this .deleteWithResponse( resourceGroupName, diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentScansClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentScansClientImpl.java index f5b582c660df3..9501efdd53ca0 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentScansClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentScansClientImpl.java @@ -156,7 +156,9 @@ Mono> listNext( } /** - * Lists the vulnerability assessment scans of a SQL pool. + * Lists the vulnerability assessment scans of a SQL pool + * + *

Lists the vulnerability assessment scans of a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -231,7 +233,9 @@ private Mono> listSinglePa } /** - * Lists the vulnerability assessment scans of a SQL pool. + * Lists the vulnerability assessment scans of a SQL pool + * + *

Lists the vulnerability assessment scans of a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -305,7 +309,9 @@ private Mono> listSinglePa } /** - * Lists the vulnerability assessment scans of a SQL pool. + * Lists the vulnerability assessment scans of a SQL pool + * + *

Lists the vulnerability assessment scans of a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -328,7 +334,9 @@ private PagedFlux listAsync( } /** - * Lists the vulnerability assessment scans of a SQL pool. + * Lists the vulnerability assessment scans of a SQL pool + * + *

Lists the vulnerability assessment scans of a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -355,7 +363,9 @@ private PagedFlux listAsync( } /** - * Lists the vulnerability assessment scans of a SQL pool. + * Lists the vulnerability assessment scans of a SQL pool + * + *

Lists the vulnerability assessment scans of a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -377,7 +387,9 @@ public PagedIterable list( } /** - * Lists the vulnerability assessment scans of a SQL pool. + * Lists the vulnerability assessment scans of a SQL pool + * + *

Lists the vulnerability assessment scans of a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -915,14 +927,7 @@ private Mono exportAsync( String scanId) { return exportWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, scanId) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1139,14 +1144,7 @@ private Mono getAsync( VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, scanId) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1202,7 +1200,8 @@ public Response getWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1238,7 +1237,8 @@ private Mono> listNextSing /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentsClientImpl.java index dbff006b07a39..32b6df3241099 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentsClientImpl.java @@ -143,7 +143,9 @@ Mono> listNext( } /** - * Lists the vulnerability assessment policies associated with a SQL pool. + * Lists the vulnerability assessment policies associated with a SQL pool + * + *

Lists the vulnerability assessment policies associated with a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -207,7 +209,9 @@ private Mono> listSinglePageA } /** - * Lists the vulnerability assessment policies associated with a SQL pool. + * Lists the vulnerability assessment policies associated with a SQL pool + * + *

Lists the vulnerability assessment policies associated with a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -269,7 +273,9 @@ private Mono> listSinglePageA } /** - * Lists the vulnerability assessment policies associated with a SQL pool. + * Lists the vulnerability assessment policies associated with a SQL pool + * + *

Lists the vulnerability assessment policies associated with a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -288,7 +294,9 @@ private PagedFlux listAsync( } /** - * Lists the vulnerability assessment policies associated with a SQL pool. + * Lists the vulnerability assessment policies associated with a SQL pool + * + *

Lists the vulnerability assessment policies associated with a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -308,7 +316,9 @@ private PagedFlux listAsync( } /** - * Lists the vulnerability assessment policies associated with a SQL pool. + * Lists the vulnerability assessment policies associated with a SQL pool + * + *

Lists the vulnerability assessment policies associated with a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -325,7 +335,9 @@ public PagedIterable list( } /** - * Lists the vulnerability assessment policies associated with a SQL pool. + * Lists the vulnerability assessment policies associated with a SQL pool + * + *

Lists the vulnerability assessment policies associated with a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -343,7 +355,9 @@ public PagedIterable list( } /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -409,7 +423,9 @@ private Mono> getWithResponseAsync } /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -474,7 +490,9 @@ private Mono> getWithResponseAsync } /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -492,18 +510,13 @@ private Mono getAsync( String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -524,7 +537,9 @@ public SqlPoolVulnerabilityAssessmentInner get( } /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -548,7 +563,9 @@ public Response getWithResponse( } /** - * Creates or updates the Sql pool vulnerability assessment. + * Creates or updates the Sql pool vulnerability assessment + * + *

Creates or updates the Sql pool vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -621,7 +638,9 @@ private Mono> createOrUpdateWithRe } /** - * Creates or updates the Sql pool vulnerability assessment. + * Creates or updates the Sql pool vulnerability assessment + * + *

Creates or updates the Sql pool vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -693,7 +712,9 @@ private Mono> createOrUpdateWithRe } /** - * Creates or updates the Sql pool vulnerability assessment. + * Creates or updates the Sql pool vulnerability assessment + * + *

Creates or updates the Sql pool vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -714,18 +735,13 @@ private Mono createOrUpdateAsync( SqlPoolVulnerabilityAssessmentInner parameters) { return createOrUpdateWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Creates or updates the Sql pool vulnerability assessment. + * Creates or updates the Sql pool vulnerability assessment + * + *

Creates or updates the Sql pool vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -750,7 +766,9 @@ public SqlPoolVulnerabilityAssessmentInner createOrUpdate( } /** - * Creates or updates the Sql pool vulnerability assessment. + * Creates or updates the Sql pool vulnerability assessment + * + *

Creates or updates the Sql pool vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -777,7 +795,9 @@ public Response createOrUpdateWithResponse( } /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -840,7 +860,9 @@ private Mono> deleteWithResponseAsync( } /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -902,7 +924,9 @@ private Mono> deleteWithResponseAsync( } /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -920,11 +944,13 @@ private Mono deleteAsync( String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName) { return deleteWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -944,7 +970,9 @@ public void delete( } /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -971,7 +999,8 @@ public Response deleteWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1007,7 +1036,8 @@ private Mono> listNextSingleP /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentsImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentsImpl.java index 9d8aba157465e..5906923acc082 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentsImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolVulnerabilityAssessmentsImpl.java @@ -120,9 +120,8 @@ public SqlPoolVulnerabilityAssessment getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -131,6 +130,8 @@ public SqlPoolVulnerabilityAssessment getById(String id) { "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); return this .getWithResponse(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, Context.NONE) .getValue(); @@ -159,9 +160,8 @@ public Response getByIdWithResponse(String id, C new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -170,6 +170,8 @@ public Response getByIdWithResponse(String id, C "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); return this .getWithResponse(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, context); } @@ -197,9 +199,8 @@ public void deleteById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -208,6 +209,8 @@ public void deleteById(String id) { "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); this .deleteWithResponse( resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, Context.NONE); @@ -236,9 +239,8 @@ public Response deleteByIdWithResponse(String id, Context context) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'sqlPools'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -247,6 +249,8 @@ public Response deleteByIdWithResponse(String id, Context context) { "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); return this .deleteWithResponse(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, context); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolWorkloadClassifiersClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolWorkloadClassifiersClientImpl.java index 1551b3500116e..f4171ab0d208b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolWorkloadClassifiersClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolWorkloadClassifiersClientImpl.java @@ -152,7 +152,9 @@ Mono> listNext( } /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -224,7 +226,9 @@ private Mono> getWithResponseAsync( } /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -295,7 +299,9 @@ private Mono> getWithResponseAsync( } /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -316,18 +322,13 @@ private Mono getAsync( String workloadClassifierName) { return getWithResponseAsync( resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, workloadClassifierName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -351,7 +352,9 @@ public WorkloadClassifierInner get( } /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -378,7 +381,9 @@ public Response getWithResponse( } /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -458,7 +463,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -537,7 +544,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -572,7 +581,9 @@ private PollerFlux, WorkloadClassifierInner> } /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -616,7 +627,9 @@ private PollerFlux, WorkloadClassifierInner> } /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -643,7 +656,9 @@ public SyncPoller, WorkloadClassifierInner> } /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -678,7 +693,9 @@ public SyncPoller, WorkloadClassifierInner> } /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -706,7 +723,9 @@ private Mono createOrUpdateAsync( } /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -742,7 +761,9 @@ private Mono createOrUpdateAsync( } /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -769,7 +790,9 @@ public WorkloadClassifierInner createOrUpdate( } /** - * Create Or Update workload classifier for a Sql pool's workload group. + * Create Or Update workload classifier + * + *

Create Or Update workload classifier for a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -804,7 +827,9 @@ public WorkloadClassifierInner createOrUpdate( } /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -873,7 +898,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -941,7 +968,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -970,7 +999,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1001,7 +1032,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1026,7 +1059,9 @@ public SyncPoller, Void> beginDelete( } /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1053,7 +1088,9 @@ public SyncPoller, Void> beginDelete( } /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1079,7 +1116,9 @@ private Mono deleteAsync( } /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1107,7 +1146,9 @@ private Mono deleteAsync( } /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1129,7 +1170,9 @@ public void delete( } /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1154,7 +1197,9 @@ public void delete( } /** - * Get list of Sql pool's workload classifier for workload groups. + * Sql pool's workload classifier + * + *

Get list of Sql pool's workload classifier for workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1224,7 +1269,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of Sql pool's workload classifier for workload groups. + * Sql pool's workload classifier + * + *

Get list of Sql pool's workload classifier for workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1292,7 +1339,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of Sql pool's workload classifier for workload groups. + * Sql pool's workload classifier + * + *

Get list of Sql pool's workload classifier for workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1312,7 +1361,9 @@ private PagedFlux listAsync( } /** - * Get list of Sql pool's workload classifier for workload groups. + * Sql pool's workload classifier + * + *

Get list of Sql pool's workload classifier for workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1333,7 +1384,9 @@ private PagedFlux listAsync( } /** - * Get list of Sql pool's workload classifier for workload groups. + * Sql pool's workload classifier + * + *

Get list of Sql pool's workload classifier for workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1352,7 +1405,9 @@ public PagedIterable list( } /** - * Get list of Sql pool's workload classifier for workload groups. + * Sql pool's workload classifier + * + *

Get list of Sql pool's workload classifier for workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1375,7 +1430,8 @@ public PagedIterable list( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1411,7 +1467,8 @@ private Mono> listNextSinglePageAsync(Str /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolWorkloadGroupsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolWorkloadGroupsClientImpl.java index 6aadef1ed98d4..93bd44a16d6b1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolWorkloadGroupsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolWorkloadGroupsClientImpl.java @@ -144,7 +144,9 @@ Mono> listNext( } /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -204,7 +206,9 @@ private Mono> getWithResponseAsync( } /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -262,7 +266,9 @@ private Mono> getWithResponseAsync( } /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -277,18 +283,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -306,7 +307,9 @@ public WorkloadGroupInner get( } /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -325,7 +328,9 @@ public Response getWithResponse( } /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -397,7 +402,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -468,7 +475,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -501,7 +510,9 @@ private PollerFlux, WorkloadGroupInner> beginCrea } /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -533,7 +544,9 @@ private PollerFlux, WorkloadGroupInner> beginCrea } /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -557,7 +570,9 @@ public SyncPoller, WorkloadGroupInner> beginCreat } /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -584,7 +599,9 @@ public SyncPoller, WorkloadGroupInner> beginCreat } /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -609,7 +626,9 @@ private Mono createOrUpdateAsync( } /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -637,7 +656,9 @@ private Mono createOrUpdateAsync( } /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -661,7 +682,9 @@ public WorkloadGroupInner createOrUpdate( } /** - * Create Or Update a Sql pool's workload group. + * Create Or Update workload group + * + *

Create Or Update a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -688,7 +711,9 @@ public WorkloadGroupInner createOrUpdate( } /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -746,7 +771,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -802,7 +829,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -825,7 +854,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -849,7 +880,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -867,7 +900,9 @@ public SyncPoller, Void> beginDelete( } /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -887,7 +922,9 @@ public SyncPoller, Void> beginDelete( } /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -907,7 +944,9 @@ private Mono deleteAsync( } /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -928,7 +967,9 @@ private Mono deleteAsync( } /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -944,7 +985,9 @@ public void delete(String resourceGroupName, String workspaceName, String sqlPoo } /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -962,7 +1005,9 @@ public void delete( } /** - * Get list of Sql pool's workload groups. + * Sql pool's workload groups + * + *

Get list of Sql pool's workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1026,7 +1071,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of Sql pool's workload groups. + * Sql pool's workload groups + * + *

Get list of Sql pool's workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1088,7 +1135,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of Sql pool's workload groups. + * Sql pool's workload groups + * + *

Get list of Sql pool's workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1107,7 +1156,9 @@ private PagedFlux listAsync( } /** - * Get list of Sql pool's workload groups. + * Sql pool's workload groups + * + *

Get list of Sql pool's workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1127,7 +1178,9 @@ private PagedFlux listAsync( } /** - * Get list of Sql pool's workload groups. + * Sql pool's workload groups + * + *

Get list of Sql pool's workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1143,7 +1196,9 @@ public PagedIterable list(String resourceGroupName, String w } /** - * Get list of Sql pool's workload groups. + * Sql pool's workload groups + * + *

Get list of Sql pool's workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1163,7 +1218,8 @@ public PagedIterable list( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1198,7 +1254,8 @@ private Mono> listNextSinglePageAsync(String n /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolsClientImpl.java index 33f8f0d24f259..29b4b8d20682d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SqlPoolsClientImpl.java @@ -208,7 +208,9 @@ Mono> listByWorkspaceNext( } /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -262,7 +264,9 @@ private Mono> getWithResponseAsync( } /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -314,7 +318,9 @@ private Mono> getWithResponseAsync( } /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -327,18 +333,13 @@ private Mono> getWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String resourceGroupName, String workspaceName, String sqlPoolName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -354,7 +355,9 @@ public SqlPoolInner get(String resourceGroupName, String workspaceName, String s } /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -372,7 +375,9 @@ public Response getWithResponse( } /** - * Apply a partial update to a SQL pool. + * Update SQL pool + * + *

Apply a partial update to a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -433,7 +438,9 @@ private Mono> updateWithResponseAsync( } /** - * Apply a partial update to a SQL pool. + * Update SQL pool + * + *

Apply a partial update to a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -496,7 +503,9 @@ private Mono> updateWithResponseAsync( } /** - * Apply a partial update to a SQL pool. + * Update SQL pool + * + *

Apply a partial update to a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -511,18 +520,13 @@ private Mono> updateWithResponseAsync( private Mono updateAsync( String resourceGroupName, String workspaceName, String sqlPoolName, SqlPoolPatchInfo sqlPoolInfo) { return updateWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, sqlPoolInfo) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Apply a partial update to a SQL pool. + * Update SQL pool + * + *

Apply a partial update to a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -540,7 +544,9 @@ public SqlPoolInner update( } /** - * Apply a partial update to a SQL pool. + * Update SQL pool + * + *

Apply a partial update to a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -563,7 +569,9 @@ public Response updateWithResponse( } /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -624,7 +632,9 @@ private Mono>> createWithResponseAsync( } /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -683,7 +693,9 @@ private Mono>> createWithResponseAsync( } /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -706,7 +718,9 @@ private PollerFlux, SqlPoolInner> beginCreateAsync( } /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -731,7 +745,9 @@ private PollerFlux, SqlPoolInner> beginCreateAsync( } /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -749,7 +765,9 @@ public SyncPoller, SqlPoolInner> beginCreate( } /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -768,7 +786,9 @@ public SyncPoller, SqlPoolInner> beginCreate( } /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -788,7 +808,9 @@ private Mono createAsync( } /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -809,7 +831,9 @@ private Mono createAsync( } /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -827,7 +851,9 @@ public SqlPoolInner create( } /** - * Create a SQL pool. + * Create SQL pool + * + *

Create a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -846,7 +872,9 @@ public SqlPoolInner create( } /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -900,7 +928,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -952,7 +982,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -973,7 +1005,9 @@ private PollerFlux, Object> beginDeleteAsync( } /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -996,7 +1030,9 @@ private PollerFlux, Object> beginDeleteAsync( } /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1013,7 +1049,9 @@ public SyncPoller, Object> beginDelete( } /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1031,7 +1069,9 @@ public SyncPoller, Object> beginDelete( } /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1049,7 +1089,9 @@ private Mono deleteAsync(String resourceGroupName, String workspaceName, } /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1069,7 +1111,9 @@ private Mono deleteAsync( } /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1085,7 +1129,9 @@ public Object delete(String resourceGroupName, String workspaceName, String sqlP } /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1102,7 +1148,9 @@ public Object delete(String resourceGroupName, String workspaceName, String sqlP } /** - * List all SQL pools. + * List SQL pools + * + *

List all SQL pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1160,7 +1208,9 @@ private Mono> listByWorkspaceSinglePageAsync( } /** - * List all SQL pools. + * List SQL pools + * + *

List all SQL pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1216,7 +1266,9 @@ private Mono> listByWorkspaceSinglePageAsync( } /** - * List all SQL pools. + * List SQL pools + * + *

List all SQL pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1233,7 +1285,9 @@ private PagedFlux listByWorkspaceAsync(String resourceGroupName, S } /** - * List all SQL pools. + * List SQL pools + * + *

List all SQL pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1252,7 +1306,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List all SQL pools. + * List SQL pools + * + *

List all SQL pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1267,7 +1323,9 @@ public PagedIterable listByWorkspace(String resourceGroupName, Str } /** - * List all SQL pools. + * List SQL pools + * + *

List all SQL pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1284,7 +1342,9 @@ public PagedIterable listByWorkspace( } /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1338,7 +1398,9 @@ private Mono>> pauseWithResponseAsync( } /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1390,7 +1452,9 @@ private Mono>> pauseWithResponseAsync( } /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1411,7 +1475,9 @@ private PollerFlux, Object> beginPauseAsync( } /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1434,7 +1500,9 @@ private PollerFlux, Object> beginPauseAsync( } /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1451,7 +1519,9 @@ public SyncPoller, Object> beginPause( } /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1469,7 +1539,9 @@ public SyncPoller, Object> beginPause( } /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1487,7 +1559,9 @@ private Mono pauseAsync(String resourceGroupName, String workspaceName, } /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1507,7 +1581,9 @@ private Mono pauseAsync( } /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1523,7 +1599,9 @@ public Object pause(String resourceGroupName, String workspaceName, String sqlPo } /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1540,7 +1618,9 @@ public Object pause(String resourceGroupName, String workspaceName, String sqlPo } /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1594,7 +1674,9 @@ private Mono>> resumeWithResponseAsync( } /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1646,7 +1728,9 @@ private Mono>> resumeWithResponseAsync( } /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1667,7 +1751,9 @@ private PollerFlux, Object> beginResumeAsync( } /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1690,7 +1776,9 @@ private PollerFlux, Object> beginResumeAsync( } /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1707,7 +1795,9 @@ public SyncPoller, Object> beginResume( } /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1725,7 +1815,9 @@ public SyncPoller, Object> beginResume( } /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1743,7 +1835,9 @@ private Mono resumeAsync(String resourceGroupName, String workspaceName, } /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1763,7 +1857,9 @@ private Mono resumeAsync( } /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1779,7 +1875,9 @@ public Object resume(String resourceGroupName, String workspaceName, String sqlP } /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1796,7 +1894,9 @@ public Object resume(String resourceGroupName, String workspaceName, String sqlP } /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1855,7 +1955,9 @@ private Mono> renameWithResponseAsync( } /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1916,7 +2018,9 @@ private Mono> renameWithResponseAsync( } /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1931,11 +2035,13 @@ private Mono> renameWithResponseAsync( private Mono renameAsync( String resourceGroupName, String workspaceName, String sqlPoolName, ResourceMoveDefinition parameters) { return renameWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName, parameters) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1952,7 +2058,9 @@ public void rename( } /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1977,7 +2085,8 @@ public Response renameWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2012,7 +2121,8 @@ private Mono> listByWorkspaceNextSinglePageAsync(Str /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientBuilder.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientBuilder.java index 381ecc1fad4ec..b99a537025542 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientBuilder.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientBuilder.java @@ -119,24 +119,26 @@ public SynapseManagementClientBuilder serializerAdapter(SerializerAdapter serial * @return an instance of SynapseManagementClientImpl. */ public SynapseManagementClientImpl buildClient() { - if (endpoint == null) { - this.endpoint = "https://management.azure.com"; - } - if (environment == null) { - this.environment = AzureEnvironment.AZURE; - } - if (pipeline == null) { - this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build(); - } - if (defaultPollInterval == null) { - this.defaultPollInterval = Duration.ofSeconds(30); - } - if (serializerAdapter == null) { - this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter(); - } + String localEndpoint = (endpoint != null) ? endpoint : "https://management.azure.com"; + AzureEnvironment localEnvironment = (environment != null) ? environment : AzureEnvironment.AZURE; + HttpPipeline localPipeline = + (pipeline != null) + ? pipeline + : new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build(); + Duration localDefaultPollInterval = + (defaultPollInterval != null) ? defaultPollInterval : Duration.ofSeconds(30); + SerializerAdapter localSerializerAdapter = + (serializerAdapter != null) + ? serializerAdapter + : SerializerFactory.createDefaultManagementSerializerAdapter(); SynapseManagementClientImpl client = new SynapseManagementClientImpl( - pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint); + localPipeline, + localSerializerAdapter, + localDefaultPollInterval, + localEnvironment, + subscriptionId, + localEndpoint); return client; } } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientImpl.java index 10e0481797ca8..25b68e2200c3b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/SynapseManagementClientImpl.java @@ -15,6 +15,7 @@ import com.azure.core.management.polling.PollResult; import com.azure.core.management.polling.PollerFactory; import com.azure.core.util.Context; +import com.azure.core.util.CoreUtils; import com.azure.core.util.logging.ClientLogger; import com.azure.core.util.polling.AsyncPollResponse; import com.azure.core.util.polling.LongRunningOperationStatus; @@ -101,7 +102,6 @@ import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.time.Duration; -import java.util.Map; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -1172,10 +1172,7 @@ public Context getContext() { * @return the merged context. */ public Context mergeContext(Context context) { - for (Map.Entry entry : this.getContext().getValues().entrySet()) { - context = context.addData(entry.getKey(), entry.getValue()); - } - return context; + return CoreUtils.mergeContexts(this.getContext(), context); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/TransparentDataEncryptionImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/TransparentDataEncryptionImpl.java index a1479080de390..a53bffe7de979 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/TransparentDataEncryptionImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/TransparentDataEncryptionImpl.java @@ -45,6 +45,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public TransparentDataEncryptionInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkloadClassifierImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkloadClassifierImpl.java index 7ae9861f30df2..b9290dba4d2d3 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkloadClassifierImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkloadClassifierImpl.java @@ -50,6 +50,10 @@ public String importance() { return this.innerModel().importance(); } + public String resourceGroupName() { + return resourceGroupName; + } + public WorkloadClassifierInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkloadGroupImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkloadGroupImpl.java index 99099f1b0766a..46d8f4cf9110f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkloadGroupImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkloadGroupImpl.java @@ -49,6 +49,10 @@ public Integer queryExecutionTimeout() { return this.innerModel().queryExecutionTimeout(); } + public String resourceGroupName() { + return resourceGroupName; + } + public WorkloadGroupInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceAadAdminsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceAadAdminsClientImpl.java index a3d0230903272..4dff8f87fd818 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceAadAdminsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceAadAdminsClientImpl.java @@ -214,15 +214,7 @@ private Mono> getWithResponseAsync( */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String resourceGroupName, String workspaceName) { - return getWithResponseAsync(resourceGroupName, workspaceName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + return getWithResponseAsync(resourceGroupName, workspaceName).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceImpl.java index 237e6af234d99..87cdce97b3650 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceImpl.java @@ -177,6 +177,10 @@ public String regionName() { return this.location(); } + public String resourceGroupName() { + return resourceGroupName; + } + public WorkspaceInner innerModel() { return this.innerObject; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedIdentitySqlControlSettingsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedIdentitySqlControlSettingsClientImpl.java index 83383320aa0c5..b23112e632623 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedIdentitySqlControlSettingsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedIdentitySqlControlSettingsClientImpl.java @@ -209,15 +209,7 @@ private Mono> getWithRespo */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String resourceGroupName, String workspaceName) { - return getWithResponseAsync(resourceGroupName, workspaceName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + return getWithResponseAsync(resourceGroupName, workspaceName).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerBlobAuditingPoliciesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerBlobAuditingPoliciesClientImpl.java index 097b824498ff5..3d2d9bbc443c3 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerBlobAuditingPoliciesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerBlobAuditingPoliciesClientImpl.java @@ -132,7 +132,9 @@ Mono> listByWorkspaceNext( } /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -189,7 +191,9 @@ private Mono> getWithResponseAsync( } /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -247,7 +251,9 @@ private Mono> getWithResponseAsync( } /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -261,18 +267,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName) { return getWithResponseAsync(resourceGroupName, workspaceName, blobAuditingPolicyName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -289,7 +290,9 @@ public ServerBlobAuditingPolicyInner get( } /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -310,7 +313,9 @@ public Response getWithResponse( } /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -376,7 +381,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -441,7 +448,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -472,7 +481,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -507,7 +518,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -529,7 +542,9 @@ public SyncPoller, ServerBlobAuditingP } /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -553,7 +568,9 @@ public SyncPoller, ServerBlobAuditingP } /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -576,7 +593,9 @@ private Mono createOrUpdateAsync( } /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -601,7 +620,9 @@ private Mono createOrUpdateAsync( } /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -622,7 +643,9 @@ public ServerBlobAuditingPolicyInner createOrUpdate( } /** - * Create or Update a workspace managed sql server's blob auditing policy. + * Create or Update server's blob auditing policy. + * + *

Create or Update a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -646,7 +669,9 @@ public ServerBlobAuditingPolicyInner createOrUpdate( } /** - * List workspace managed sql server's blob auditing policies. + * List workspace server's blob auditing policies. + * + *

List workspace managed sql server's blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -705,7 +730,9 @@ private Mono> listByWorkspaceSingle } /** - * List workspace managed sql server's blob auditing policies. + * List workspace server's blob auditing policies. + * + *

List workspace managed sql server's blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -762,7 +789,9 @@ private Mono> listByWorkspaceSingle } /** - * List workspace managed sql server's blob auditing policies. + * List workspace server's blob auditing policies. + * + *

List workspace managed sql server's blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -780,7 +809,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List workspace managed sql server's blob auditing policies. + * List workspace server's blob auditing policies. + * + *

List workspace managed sql server's blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -799,7 +830,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List workspace managed sql server's blob auditing policies. + * List workspace server's blob auditing policies. + * + *

List workspace managed sql server's blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -815,7 +848,9 @@ public PagedIterable listByWorkspace( } /** - * List workspace managed sql server's blob auditing policies. + * List workspace server's blob auditing policies. + * + *

List workspace managed sql server's blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -834,7 +869,8 @@ public PagedIterable listByWorkspace( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -870,7 +906,8 @@ private Mono> listByWorkspaceNextSi /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerBlobAuditingPoliciesImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerBlobAuditingPoliciesImpl.java index 03015668c94b0..e29987e8ae227 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerBlobAuditingPoliciesImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerBlobAuditingPoliciesImpl.java @@ -89,9 +89,8 @@ public ServerBlobAuditingPolicy getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - BlobAuditingPolicyName blobAuditingPolicyName = - BlobAuditingPolicyName.fromString(Utils.getValueFromIdByName(id, "auditingSettings")); - if (blobAuditingPolicyName == null) { + String blobAuditingPolicyNameLocal = Utils.getValueFromIdByName(id, "auditingSettings"); + if (blobAuditingPolicyNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -99,6 +98,7 @@ public ServerBlobAuditingPolicy getById(String id) { .format( "The resource ID '%s' is not valid. Missing path segment 'auditingSettings'.", id))); } + BlobAuditingPolicyName blobAuditingPolicyName = BlobAuditingPolicyName.fromString(blobAuditingPolicyNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, blobAuditingPolicyName, Context.NONE).getValue(); } @@ -118,9 +118,8 @@ public Response getByIdWithResponse(String id, Context new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - BlobAuditingPolicyName blobAuditingPolicyName = - BlobAuditingPolicyName.fromString(Utils.getValueFromIdByName(id, "auditingSettings")); - if (blobAuditingPolicyName == null) { + String blobAuditingPolicyNameLocal = Utils.getValueFromIdByName(id, "auditingSettings"); + if (blobAuditingPolicyNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -128,6 +127,7 @@ public Response getByIdWithResponse(String id, Context .format( "The resource ID '%s' is not valid. Missing path segment 'auditingSettings'.", id))); } + BlobAuditingPolicyName blobAuditingPolicyName = BlobAuditingPolicyName.fromString(blobAuditingPolicyNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, blobAuditingPolicyName, context); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettingsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettingsClientImpl.java index ff882514521c7..66c2d95f18dce 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettingsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettingsClientImpl.java @@ -134,7 +134,9 @@ Mono> listNext( } /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -202,7 +204,9 @@ private Mono>> updateWithResponseAsync( } /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -269,7 +273,9 @@ private Mono>> updateWithResponseAsync( } /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -300,7 +306,9 @@ private Mono>> updateWithResponseAsync( } /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -335,7 +343,9 @@ private Mono>> updateWithResponseAsync( } /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -357,7 +367,9 @@ public SyncPoller, DedicatedSQLm } /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -382,7 +394,9 @@ public SyncPoller, DedicatedSQLm } /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -405,7 +419,9 @@ private Mono updateAsync( } /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -431,7 +447,9 @@ private Mono updateAsync( } /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -452,7 +470,9 @@ public DedicatedSQLminimalTlsSettingsInner update( } /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -476,7 +496,9 @@ public DedicatedSQLminimalTlsSettingsInner update( } /** - * Get workspace managed sql server's minimal tls settings. + * Get server's minimal tls settings. + * + *

Get workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -534,7 +556,9 @@ private Mono> getWithResponseAsync } /** - * Get workspace managed sql server's minimal tls settings. + * Get server's minimal tls settings. + * + *

Get workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -590,7 +614,9 @@ private Mono> getWithResponseAsync } /** - * Get workspace managed sql server's minimal tls settings. + * Get server's minimal tls settings. + * + *

Get workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -604,18 +630,13 @@ private Mono> getWithResponseAsync private Mono getAsync( String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName) { return getWithResponseAsync(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get workspace managed sql server's minimal tls settings. + * Get server's minimal tls settings. + * + *

Get workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -632,7 +653,9 @@ public DedicatedSQLminimalTlsSettingsInner get( } /** - * Get workspace managed sql server's minimal tls settings. + * Get server's minimal tls settings. + * + *

Get workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -651,7 +674,9 @@ public Response getWithResponse( } /** - * List workspace managed sql server's minimal tls settings. + * List workspace server's minimal tls settings. + * + *

List workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -710,7 +735,9 @@ private Mono> listSinglePageA } /** - * List workspace managed sql server's minimal tls settings. + * List workspace server's minimal tls settings. + * + *

List workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -767,7 +794,9 @@ private Mono> listSinglePageA } /** - * List workspace managed sql server's minimal tls settings. + * List workspace server's minimal tls settings. + * + *

List workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -783,7 +812,9 @@ private PagedFlux listAsync(String resource } /** - * List workspace managed sql server's minimal tls settings. + * List workspace server's minimal tls settings. + * + *

List workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -802,7 +833,9 @@ private PagedFlux listAsync( } /** - * List workspace managed sql server's minimal tls settings. + * List workspace server's minimal tls settings. + * + *

List workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -818,7 +851,9 @@ public PagedIterable list(String resourceGr } /** - * List workspace managed sql server's minimal tls settings. + * List workspace server's minimal tls settings. + * + *

List workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -838,7 +873,8 @@ public PagedIterable list( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -874,7 +910,8 @@ private Mono> listNextSingleP /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerEncryptionProtectorsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerEncryptionProtectorsClientImpl.java index ebb4cc27b682d..8c458ada68591 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerEncryptionProtectorsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerEncryptionProtectorsClientImpl.java @@ -148,7 +148,9 @@ Mono> listNext( } /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -205,7 +207,9 @@ private Mono> getWithResponseAsync( } /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -263,7 +267,9 @@ private Mono> getWithResponseAsync( } /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -277,18 +283,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName) { return getWithResponseAsync(resourceGroupName, workspaceName, encryptionProtectorName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -305,7 +306,9 @@ public EncryptionProtectorInner get( } /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -326,7 +329,9 @@ public Response getWithResponse( } /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -392,7 +397,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -457,7 +464,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -487,7 +496,9 @@ private PollerFlux, EncryptionProtectorInne } /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -521,7 +532,9 @@ private PollerFlux, EncryptionProtectorInne } /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -543,7 +556,9 @@ public SyncPoller, EncryptionProtectorInner } /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -567,7 +582,9 @@ public SyncPoller, EncryptionProtectorInner } /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -590,7 +607,9 @@ private Mono createOrUpdateAsync( } /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -615,7 +634,9 @@ private Mono createOrUpdateAsync( } /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -636,7 +657,9 @@ public EncryptionProtectorInner createOrUpdate( } /** - * Updates workspace managed sql server's encryption protector. + * Updates workspace server's encryption protector. + * + *

Updates workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -660,7 +683,9 @@ public EncryptionProtectorInner createOrUpdate( } /** - * Get list of encryption protectors for workspace managed sql server. + * Get list of encryption protectors for the server. + * + *

Get list of encryption protectors for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -719,7 +744,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of encryption protectors for workspace managed sql server. + * Get list of encryption protectors for the server. + * + *

Get list of encryption protectors for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -776,7 +803,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of encryption protectors for workspace managed sql server. + * Get list of encryption protectors for the server. + * + *

Get list of encryption protectors for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -793,7 +822,9 @@ private PagedFlux listAsync(String resourceGroupName, } /** - * Get list of encryption protectors for workspace managed sql server. + * Get list of encryption protectors for the server. + * + *

Get list of encryption protectors for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -813,7 +844,9 @@ private PagedFlux listAsync( } /** - * Get list of encryption protectors for workspace managed sql server. + * Get list of encryption protectors for the server. + * + *

Get list of encryption protectors for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -829,7 +862,9 @@ public PagedIterable list(String resourceGroupName, St } /** - * Get list of encryption protectors for workspace managed sql server. + * Get list of encryption protectors for the server. + * + *

Get list of encryption protectors for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -847,7 +882,9 @@ public PagedIterable list( } /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -901,7 +938,9 @@ private Mono>> revalidateWithResponseAsync( } /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -956,7 +995,9 @@ private Mono>> revalidateWithResponseAsync( } /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -978,7 +1019,9 @@ private PollerFlux, Void> beginRevalidateAsync( } /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1004,7 +1047,9 @@ private PollerFlux, Void> beginRevalidateAsync( } /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1021,7 +1066,9 @@ public SyncPoller, Void> beginRevalidate( } /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1042,7 +1089,9 @@ public SyncPoller, Void> beginRevalidate( } /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1061,7 +1110,9 @@ private Mono revalidateAsync( } /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1084,7 +1135,9 @@ private Mono revalidateAsync( } /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1100,7 +1153,9 @@ public void revalidate( } /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -1122,7 +1177,8 @@ public void revalidate( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1158,7 +1214,8 @@ private Mono> listNextSinglePageAsync(St /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerEncryptionProtectorsImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerEncryptionProtectorsImpl.java index be70e526b35ac..8417531634bad 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerEncryptionProtectorsImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerEncryptionProtectorsImpl.java @@ -100,9 +100,8 @@ public EncryptionProtector getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - EncryptionProtectorName encryptionProtectorName = - EncryptionProtectorName.fromString(Utils.getValueFromIdByName(id, "encryptionProtector")); - if (encryptionProtectorName == null) { + String encryptionProtectorNameLocal = Utils.getValueFromIdByName(id, "encryptionProtector"); + if (encryptionProtectorNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -110,6 +109,8 @@ public EncryptionProtector getById(String id) { .format( "The resource ID '%s' is not valid. Missing path segment 'encryptionProtector'.", id))); } + EncryptionProtectorName encryptionProtectorName = + EncryptionProtectorName.fromString(encryptionProtectorNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, encryptionProtectorName, Context.NONE).getValue(); } @@ -129,9 +130,8 @@ public Response getByIdWithResponse(String id, Context cont new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - EncryptionProtectorName encryptionProtectorName = - EncryptionProtectorName.fromString(Utils.getValueFromIdByName(id, "encryptionProtector")); - if (encryptionProtectorName == null) { + String encryptionProtectorNameLocal = Utils.getValueFromIdByName(id, "encryptionProtector"); + if (encryptionProtectorNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -139,6 +139,8 @@ public Response getByIdWithResponse(String id, Context cont .format( "The resource ID '%s' is not valid. Missing path segment 'encryptionProtector'.", id))); } + EncryptionProtectorName encryptionProtectorName = + EncryptionProtectorName.fromString(encryptionProtectorNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, encryptionProtectorName, context); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesClientImpl.java index 966d49fd4f9b3..54006df25b569 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesClientImpl.java @@ -133,7 +133,9 @@ Mono> listByWorkspaceNext( } /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -190,7 +192,9 @@ private Mono> getWithResponseAsy } /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -248,7 +252,9 @@ private Mono> getWithResponseAsy } /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -262,18 +268,13 @@ private Mono> getWithResponseAsy private Mono getAsync( String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName) { return getWithResponseAsync(resourceGroupName, workspaceName, blobAuditingPolicyName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -290,7 +291,9 @@ public ExtendedServerBlobAuditingPolicyInner get( } /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -311,7 +314,9 @@ public Response getWithResponse( } /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -378,7 +383,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -444,7 +451,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -475,7 +484,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -510,7 +521,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -533,7 +546,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -558,7 +573,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -581,7 +598,9 @@ private Mono createOrUpdateAsync( } /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -606,7 +625,9 @@ private Mono createOrUpdateAsync( } /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -627,7 +648,9 @@ public ExtendedServerBlobAuditingPolicyInner createOrUpdate( } /** - * Create or Update a workspace managed sql server's extended blob auditing policy. + * Create or Update server's extended blob auditing policy. + * + *

Create or Update a workspace managed sql server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -651,7 +674,9 @@ public ExtendedServerBlobAuditingPolicyInner createOrUpdate( } /** - * List workspace managed sql server's extended blob auditing policies. + * List server's extended blob auditing policies. + * + *

List workspace managed sql server's extended blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -710,7 +735,9 @@ private Mono> listByWorkspa } /** - * List workspace managed sql server's extended blob auditing policies. + * List server's extended blob auditing policies. + * + *

List workspace managed sql server's extended blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -767,7 +794,9 @@ private Mono> listByWorkspa } /** - * List workspace managed sql server's extended blob auditing policies. + * List server's extended blob auditing policies. + * + *

List workspace managed sql server's extended blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -785,7 +814,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List workspace managed sql server's extended blob auditing policies. + * List server's extended blob auditing policies. + * + *

List workspace managed sql server's extended blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -804,7 +835,9 @@ private PagedFlux listByWorkspaceAsync( } /** - * List workspace managed sql server's extended blob auditing policies. + * List server's extended blob auditing policies. + * + *

List workspace managed sql server's extended blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -820,7 +853,9 @@ public PagedIterable listByWorkspace( } /** - * List workspace managed sql server's extended blob auditing policies. + * List server's extended blob auditing policies. + * + *

List workspace managed sql server's extended blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -839,7 +874,8 @@ public PagedIterable listByWorkspace( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -876,7 +912,8 @@ private Mono> listByWorkspa /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesImpl.java index c0f840725e9d0..7e09080e88146 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesImpl.java @@ -90,9 +90,8 @@ public ExtendedServerBlobAuditingPolicy getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - BlobAuditingPolicyName blobAuditingPolicyName = - BlobAuditingPolicyName.fromString(Utils.getValueFromIdByName(id, "extendedAuditingSettings")); - if (blobAuditingPolicyName == null) { + String blobAuditingPolicyNameLocal = Utils.getValueFromIdByName(id, "extendedAuditingSettings"); + if (blobAuditingPolicyNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -101,6 +100,7 @@ public ExtendedServerBlobAuditingPolicy getById(String id) { "The resource ID '%s' is not valid. Missing path segment 'extendedAuditingSettings'.", id))); } + BlobAuditingPolicyName blobAuditingPolicyName = BlobAuditingPolicyName.fromString(blobAuditingPolicyNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, blobAuditingPolicyName, Context.NONE).getValue(); } @@ -120,9 +120,8 @@ public Response getByIdWithResponse(String id, new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - BlobAuditingPolicyName blobAuditingPolicyName = - BlobAuditingPolicyName.fromString(Utils.getValueFromIdByName(id, "extendedAuditingSettings")); - if (blobAuditingPolicyName == null) { + String blobAuditingPolicyNameLocal = Utils.getValueFromIdByName(id, "extendedAuditingSettings"); + if (blobAuditingPolicyNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -131,6 +130,7 @@ public Response getByIdWithResponse(String id, "The resource ID '%s' is not valid. Missing path segment 'extendedAuditingSettings'.", id))); } + BlobAuditingPolicyName blobAuditingPolicyName = BlobAuditingPolicyName.fromString(blobAuditingPolicyNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, blobAuditingPolicyName, context); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerRecoverableSqlPoolsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerRecoverableSqlPoolsClientImpl.java index 033a9dba22e58..67ae63eda7bf8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerRecoverableSqlPoolsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerRecoverableSqlPoolsClientImpl.java @@ -107,7 +107,9 @@ Mono> listNext( } /** - * Get list of recoverable sql pools for workspace managed sql server. + * Get list of recoverable sql pools for the server. + * + *

Get list of recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -166,7 +168,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of recoverable sql pools for workspace managed sql server. + * Get list of recoverable sql pools for the server. + * + *

Get list of recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -223,7 +227,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of recoverable sql pools for workspace managed sql server. + * Get list of recoverable sql pools for the server. + * + *

Get list of recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -240,7 +246,9 @@ private PagedFlux listAsync(String resourceGroupName, S } /** - * Get list of recoverable sql pools for workspace managed sql server. + * Get list of recoverable sql pools for the server. + * + *

Get list of recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -260,7 +268,9 @@ private PagedFlux listAsync( } /** - * Get list of recoverable sql pools for workspace managed sql server. + * Get list of recoverable sql pools for the server. + * + *

Get list of recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -276,7 +286,9 @@ public PagedIterable list(String resourceGroupName, Str } /** - * Get list of recoverable sql pools for workspace managed sql server. + * Get list of recoverable sql pools for the server. + * + *

Get list of recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -294,7 +306,9 @@ public PagedIterable list( } /** - * Get recoverable sql pools for workspace managed sql server. + * Get recoverable sql pools for the server. + * + *

Get recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -349,7 +363,9 @@ private Mono> getWithResponseAsync( } /** - * Get recoverable sql pools for workspace managed sql server. + * Get recoverable sql pools for the server. + * + *

Get recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -402,7 +418,9 @@ private Mono> getWithResponseAsync( } /** - * Get recoverable sql pools for workspace managed sql server. + * Get recoverable sql pools for the server. + * + *

Get recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -415,18 +433,13 @@ private Mono> getWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String resourceGroupName, String workspaceName, String sqlPoolName) { return getWithResponseAsync(resourceGroupName, workspaceName, sqlPoolName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get recoverable sql pools for workspace managed sql server. + * Get recoverable sql pools for the server. + * + *

Get recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -442,7 +455,9 @@ public RecoverableSqlPoolInner get(String resourceGroupName, String workspaceNam } /** - * Get recoverable sql pools for workspace managed sql server. + * Get recoverable sql pools for the server. + * + *

Get recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -462,7 +477,8 @@ public Response getWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -498,7 +514,8 @@ private Mono> listNextSinglePageAsync(Str /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerSecurityAlertPoliciesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerSecurityAlertPoliciesClientImpl.java index 22e726f1c2de4..da0a893073eb3 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerSecurityAlertPoliciesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerSecurityAlertPoliciesClientImpl.java @@ -132,7 +132,9 @@ Mono> listNext( } /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -189,7 +191,9 @@ private Mono> getWithResponseAsync( } /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -247,7 +251,9 @@ private Mono> getWithResponseAsync( } /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -261,18 +267,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) { return getWithResponseAsync(resourceGroupName, workspaceName, securityAlertPolicyName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -289,7 +290,9 @@ public ServerSecurityAlertPolicyInner get( } /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -310,7 +313,9 @@ public Response getWithResponse( } /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -377,7 +382,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -443,7 +450,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -474,7 +483,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -509,7 +520,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -531,7 +544,9 @@ public SyncPoller, ServerSecurityAler } /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -555,7 +570,9 @@ public SyncPoller, ServerSecurityAler } /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -578,7 +595,9 @@ private Mono createOrUpdateAsync( } /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -603,7 +622,9 @@ private Mono createOrUpdateAsync( } /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -624,7 +645,9 @@ public ServerSecurityAlertPolicyInner createOrUpdate( } /** - * Create or Update a workspace managed sql server's threat detection policy. + * Create or Update server's threat detection policy. + * + *

Create or Update a workspace managed sql server's threat detection policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -648,7 +671,9 @@ public ServerSecurityAlertPolicyInner createOrUpdate( } /** - * Get workspace managed sql server's threat detection policies. + * Get server's threat detection policies. + * + *

Get workspace managed sql server's threat detection policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -707,7 +732,9 @@ private Mono> listSinglePageAsync( } /** - * Get workspace managed sql server's threat detection policies. + * Get server's threat detection policies. + * + *

Get workspace managed sql server's threat detection policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -764,7 +791,9 @@ private Mono> listSinglePageAsync( } /** - * Get workspace managed sql server's threat detection policies. + * Get server's threat detection policies. + * + *

Get workspace managed sql server's threat detection policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -780,7 +809,9 @@ private PagedFlux listAsync(String resourceGroup } /** - * Get workspace managed sql server's threat detection policies. + * Get server's threat detection policies. + * + *

Get workspace managed sql server's threat detection policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -799,7 +830,9 @@ private PagedFlux listAsync( } /** - * Get workspace managed sql server's threat detection policies. + * Get server's threat detection policies. + * + *

Get workspace managed sql server's threat detection policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -815,7 +848,9 @@ public PagedIterable list(String resourceGroupNa } /** - * Get workspace managed sql server's threat detection policies. + * Get server's threat detection policies. + * + *

Get workspace managed sql server's threat detection policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -835,7 +870,8 @@ public PagedIterable list( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -871,7 +907,8 @@ private Mono> listNextSinglePageAs /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerSecurityAlertPoliciesImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerSecurityAlertPoliciesImpl.java index b5bf836d3a56d..138a3a76c12c9 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerSecurityAlertPoliciesImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerSecurityAlertPoliciesImpl.java @@ -89,9 +89,8 @@ public ServerSecurityAlertPolicy getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName = - SecurityAlertPolicyNameAutoGenerated.fromString(Utils.getValueFromIdByName(id, "securityAlertPolicies")); - if (securityAlertPolicyName == null) { + String securityAlertPolicyNameLocal = Utils.getValueFromIdByName(id, "securityAlertPolicies"); + if (securityAlertPolicyNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -100,6 +99,8 @@ public ServerSecurityAlertPolicy getById(String id) { "The resource ID '%s' is not valid. Missing path segment 'securityAlertPolicies'.", id))); } + SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName = + SecurityAlertPolicyNameAutoGenerated.fromString(securityAlertPolicyNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, securityAlertPolicyName, Context.NONE).getValue(); } @@ -119,9 +120,8 @@ public Response getByIdWithResponse(String id, Contex new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName = - SecurityAlertPolicyNameAutoGenerated.fromString(Utils.getValueFromIdByName(id, "securityAlertPolicies")); - if (securityAlertPolicyName == null) { + String securityAlertPolicyNameLocal = Utils.getValueFromIdByName(id, "securityAlertPolicies"); + if (securityAlertPolicyNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -130,6 +130,8 @@ public Response getByIdWithResponse(String id, Contex "The resource ID '%s' is not valid. Missing path segment 'securityAlertPolicies'.", id))); } + SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName = + SecurityAlertPolicyNameAutoGenerated.fromString(securityAlertPolicyNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, securityAlertPolicyName, context); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerUsagesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerUsagesClientImpl.java index 27e81ff7af69e..72f165c351949 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerUsagesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerUsagesClientImpl.java @@ -87,7 +87,9 @@ Mono> listNext( } /** - * Get list of server usages metric for workspace managed sql server. + * Get list of usages metric for the server. + * + *

Get list of server usages metric for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -145,7 +147,9 @@ private Mono> listSinglePageAsync(String resourc } /** - * Get list of server usages metric for workspace managed sql server. + * Get list of usages metric for the server. + * + *

Get list of server usages metric for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -202,7 +206,9 @@ private Mono> listSinglePageAsync( } /** - * Get list of server usages metric for workspace managed sql server. + * Get list of usages metric for the server. + * + *

Get list of server usages metric for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -219,7 +225,9 @@ private PagedFlux listAsync(String resourceGroupName, String w } /** - * Get list of server usages metric for workspace managed sql server. + * Get list of usages metric for the server. + * + *

Get list of server usages metric for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -238,7 +246,9 @@ private PagedFlux listAsync(String resourceGroupName, String w } /** - * Get list of server usages metric for workspace managed sql server. + * Get list of usages metric for the server. + * + *

Get list of server usages metric for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -254,7 +264,9 @@ public PagedIterable list(String resourceGroupName, String wor } /** - * Get list of server usages metric for workspace managed sql server. + * Get list of usages metric for the server. + * + *

Get list of server usages metric for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -273,7 +285,8 @@ public PagedIterable list(String resourceGroupName, String wor /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -309,7 +322,8 @@ private Mono> listNextSinglePageAsync(String nex /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerVulnerabilityAssessmentsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerVulnerabilityAssessmentsClientImpl.java index 17ffbb77c9e23..ebe1f8e9e8cfa 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerVulnerabilityAssessmentsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerVulnerabilityAssessmentsClientImpl.java @@ -144,7 +144,9 @@ Mono> listNext( } /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -202,7 +204,9 @@ private Mono> getWithResponseAsync( } /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -261,7 +265,9 @@ private Mono> getWithResponseAsync( } /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -275,18 +281,13 @@ private Mono> getWithResponseAsync( private Mono getAsync( String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName) { return getWithResponseAsync(resourceGroupName, workspaceName, vulnerabilityAssessmentName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -303,7 +304,9 @@ public ServerVulnerabilityAssessmentInner get( } /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -324,7 +327,9 @@ public Response getWithResponse( } /** - * Create or Update workspace managed sql server's vulnerability assessment. + * Create or Update server's vulnerability assessment. + * + *

Create or Update workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -391,7 +396,9 @@ private Mono> createOrUpdateWithRes } /** - * Create or Update workspace managed sql server's vulnerability assessment. + * Create or Update server's vulnerability assessment. + * + *

Create or Update workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -457,7 +464,9 @@ private Mono> createOrUpdateWithRes } /** - * Create or Update workspace managed sql server's vulnerability assessment. + * Create or Update server's vulnerability assessment. + * + *

Create or Update workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -476,18 +485,13 @@ private Mono createOrUpdateAsync( ServerVulnerabilityAssessmentInner parameters) { return createOrUpdateWithResponseAsync( resourceGroupName, workspaceName, vulnerabilityAssessmentName, parameters) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Create or Update workspace managed sql server's vulnerability assessment. + * Create or Update server's vulnerability assessment. + * + *

Create or Update workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -508,7 +512,9 @@ public ServerVulnerabilityAssessmentInner createOrUpdate( } /** - * Create or Update workspace managed sql server's vulnerability assessment. + * Create or Update server's vulnerability assessment. + * + *

Create or Update workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -533,7 +539,9 @@ public Response createOrUpdateWithResponse( } /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -588,7 +596,9 @@ private Mono> deleteWithResponseAsync( } /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -644,7 +654,9 @@ private Mono> deleteWithResponseAsync( } /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -658,11 +670,13 @@ private Mono> deleteWithResponseAsync( private Mono deleteAsync( String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName) { return deleteWithResponseAsync(resourceGroupName, workspaceName, vulnerabilityAssessmentName) - .flatMap((Response res) -> Mono.empty()); + .flatMap(ignored -> Mono.empty()); } /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -678,7 +692,9 @@ public void delete( } /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -699,7 +715,9 @@ public Response deleteWithResponse( } /** - * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * Lists the vulnerability assessment policies associated with a server. + * + *

Lists the vulnerability assessment policies associated with a workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -758,7 +776,9 @@ private Mono> listSinglePageAs } /** - * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * Lists the vulnerability assessment policies associated with a server. + * + *

Lists the vulnerability assessment policies associated with a workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -815,7 +835,9 @@ private Mono> listSinglePageAs } /** - * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * Lists the vulnerability assessment policies associated with a server. + * + *

Lists the vulnerability assessment policies associated with a workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -831,7 +853,9 @@ private PagedFlux listAsync(String resourceG } /** - * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * Lists the vulnerability assessment policies associated with a server. + * + *

Lists the vulnerability assessment policies associated with a workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -850,7 +874,9 @@ private PagedFlux listAsync( } /** - * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * Lists the vulnerability assessment policies associated with a server. + * + *

Lists the vulnerability assessment policies associated with a workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -865,7 +891,9 @@ public PagedIterable list(String resourceGro } /** - * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * Lists the vulnerability assessment policies associated with a server. + * + *

Lists the vulnerability assessment policies associated with a workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -884,7 +912,8 @@ public PagedIterable list( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -920,7 +949,8 @@ private Mono> listNextSinglePa /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerVulnerabilityAssessmentsImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerVulnerabilityAssessmentsImpl.java index 9f141d28ce81b..67ceb04f8e89a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerVulnerabilityAssessmentsImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceManagedSqlServerVulnerabilityAssessmentsImpl.java @@ -106,9 +106,8 @@ public ServerVulnerabilityAssessment getById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -117,6 +116,8 @@ public ServerVulnerabilityAssessment getById(String id) { "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); return this .getWithResponse(resourceGroupName, workspaceName, vulnerabilityAssessmentName, Context.NONE) .getValue(); @@ -138,9 +139,8 @@ public Response getByIdWithResponse(String id, Co new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -149,6 +149,8 @@ public Response getByIdWithResponse(String id, Co "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); return this.getWithResponse(resourceGroupName, workspaceName, vulnerabilityAssessmentName, context); } @@ -168,9 +170,8 @@ public void deleteById(String id) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -179,6 +180,8 @@ public void deleteById(String id) { "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); this.deleteWithResponse(resourceGroupName, workspaceName, vulnerabilityAssessmentName, Context.NONE); } @@ -198,9 +201,8 @@ public Response deleteByIdWithResponse(String id, Context context) { new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'workspaces'.", id))); } - VulnerabilityAssessmentName vulnerabilityAssessmentName = - VulnerabilityAssessmentName.fromString(Utils.getValueFromIdByName(id, "vulnerabilityAssessments")); - if (vulnerabilityAssessmentName == null) { + String vulnerabilityAssessmentNameLocal = Utils.getValueFromIdByName(id, "vulnerabilityAssessments"); + if (vulnerabilityAssessmentNameLocal == null) { throw LOGGER .logExceptionAsError( new IllegalArgumentException( @@ -209,6 +211,8 @@ public Response deleteByIdWithResponse(String id, Context context) { "The resource ID '%s' is not valid. Missing path segment 'vulnerabilityAssessments'.", id))); } + VulnerabilityAssessmentName vulnerabilityAssessmentName = + VulnerabilityAssessmentName.fromString(vulnerabilityAssessmentNameLocal); return this.deleteWithResponse(resourceGroupName, workspaceName, vulnerabilityAssessmentName, context); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceSqlAadAdminsClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceSqlAadAdminsClientImpl.java index c635b8860d4bf..47d111e493708 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceSqlAadAdminsClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspaceSqlAadAdminsClientImpl.java @@ -217,15 +217,7 @@ private Mono> getWithResponseAsync( */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAsync(String resourceGroupName, String workspaceName) { - return getWithResponseAsync(resourceGroupName, workspaceName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + return getWithResponseAsync(resourceGroupName, workspaceName).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspacesClientImpl.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspacesClientImpl.java index e511c3b6c3cc4..a9f8562691403 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspacesClientImpl.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/implementation/WorkspacesClientImpl.java @@ -447,14 +447,7 @@ private Mono> getByResourceGroupWithResponseAsync( @ServiceMethod(returns = ReturnType.SINGLE) private Mono getByResourceGroupAsync(String resourceGroupName, String workspaceName) { return getByResourceGroupWithResponseAsync(resourceGroupName, workspaceName) - .flatMap( - (Response res) -> { - if (res.getValue() != null) { - return Mono.just(res.getValue()); - } else { - return Mono.empty(); - } - }); + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1394,7 +1387,8 @@ public PagedIterable list(Context context) { /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1430,7 +1424,8 @@ private Mono> listByResourceGroupNextSinglePageAsy /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1467,7 +1462,8 @@ private Mono> listByResourceGroupNextSinglePageAsy /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1502,7 +1498,8 @@ private Mono> listNextSinglePageAsync(String nextL /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ActualState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ActualState.java new file mode 100644 index 0000000000000..7d745091344bb --- /dev/null +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ActualState.java @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.synapse.models; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Actual state. */ +public enum ActualState { + /** Enum value Enabling. */ + ENABLING("Enabling"), + + /** Enum value Enabled. */ + ENABLED("Enabled"), + + /** Enum value Disabling. */ + DISABLING("Disabling"), + + /** Enum value Disabled. */ + DISABLED("Disabled"), + + /** Enum value Unknown. */ + UNKNOWN("Unknown"); + + /** The actual serialized value for a ActualState instance. */ + private final String value; + + ActualState(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ActualState instance. + * + * @param value the serialized value to parse. + * @return the parsed ActualState object, or null if unable to parse. + */ + @JsonCreator + public static ActualState fromString(String value) { + if (value == null) { + return null; + } + ActualState[] items = ActualState.values(); + for (ActualState item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** {@inheritDoc} */ + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AttachedDatabaseConfiguration.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AttachedDatabaseConfiguration.java index c04e0e62c5902..31fb6d19e07a9 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AttachedDatabaseConfiguration.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AttachedDatabaseConfiguration.java @@ -106,6 +106,13 @@ public interface AttachedDatabaseConfiguration { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.AttachedDatabaseConfigurationInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AutoPauseProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AutoPauseProperties.java index a273e20d1cf8f..004b9787aa5cc 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AutoPauseProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AutoPauseProperties.java @@ -7,12 +7,15 @@ import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; -/** Spark pool auto-pausing properties Auto-pausing properties of a Big Data pool powered by Apache Spark. */ +/** + * Spark pool auto-pausing properties + * + *

Auto-pausing properties of a Big Data pool powered by Apache Spark. + */ @Fluent public final class AutoPauseProperties { /* - * Number of minutes of idle time before the Big Data pool is automatically - * paused. + * Number of minutes of idle time before the Big Data pool is automatically paused. */ @JsonProperty(value = "delayInMinutes") private Integer delayInMinutes; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AutoScaleProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AutoScaleProperties.java index 08cdd1d7f67cc..806567dd536ac 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AutoScaleProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AutoScaleProperties.java @@ -7,7 +7,11 @@ import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; -/** Spark pool auto-scaling properties Auto-scaling properties of a Big Data pool powered by Apache Spark. */ +/** + * Spark pool auto-scaling properties + * + *

Auto-scaling properties of a Big Data pool powered by Apache Spark. + */ @Fluent public final class AutoScaleProperties { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureADOnlyAuthenticationName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureADOnlyAuthenticationName.java index 818c56186ef51..75a6805022839 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureADOnlyAuthenticationName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureADOnlyAuthenticationName.java @@ -24,7 +24,11 @@ public static AzureADOnlyAuthenticationName fromString(String name) { return fromString(name, AzureADOnlyAuthenticationName.class); } - /** @return known AzureADOnlyAuthenticationName values. */ + /** + * Gets known AzureADOnlyAuthenticationName values. + * + * @return known AzureADOnlyAuthenticationName values. + */ public static Collection values() { return values(AzureADOnlyAuthenticationName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureADOnlyAuthentications.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureADOnlyAuthentications.java index 146e5bc39270f..ca2a77b996d4d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureADOnlyAuthentications.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureADOnlyAuthentications.java @@ -11,7 +11,9 @@ /** Resource collection API of AzureADOnlyAuthentications. */ public interface AzureADOnlyAuthentications { /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ AzureADOnlyAuthentication get( String resourceGroupName, String workspaceName, AzureADOnlyAuthenticationName azureADOnlyAuthenticationName); /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -43,7 +47,9 @@ Response getWithResponse( Context context); /** - * Gets a list of Azure Active Directory only authentication property for a workspace. + * Gets a list of Azure Active Directory only authentication property + * + *

Gets a list of Azure Active Directory only authentication property for a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -56,7 +62,9 @@ Response getWithResponse( PagedIterable list(String resourceGroupName, String workspaceName); /** - * Gets a list of Azure Active Directory only authentication property for a workspace. + * Gets a list of Azure Active Directory only authentication property + * + *

Gets a list of Azure Active Directory only authentication property for a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -70,7 +78,9 @@ Response getWithResponse( PagedIterable list(String resourceGroupName, String workspaceName, Context context); /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -81,7 +91,9 @@ Response getWithResponse( AzureADOnlyAuthentication getById(String id); /** - * Gets a Azure Active Directory only authentication property. + * Get Azure Active Directory only authentication property + * + *

Gets a Azure Active Directory only authentication property. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureEntityResource.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureEntityResource.java index 5b5ed589de4db..b814714dcc4f9 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureEntityResource.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureEntityResource.java @@ -8,7 +8,11 @@ import com.azure.core.management.ProxyResource; import com.fasterxml.jackson.annotation.JsonProperty; -/** Entity Resource The resource model definition for an Azure Resource Manager resource with an etag. */ +/** + * Entity Resource + * + *

The resource model definition for an Azure Resource Manager resource with an etag. + */ @Immutable public class AzureEntityResource extends ProxyResource { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureScaleType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureScaleType.java index 2ece6db532d9e..b7e717c85ce5e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureScaleType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/AzureScaleType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for AzureScaleType. */ +/** Scale type. */ public final class AzureScaleType extends ExpandableStringEnum { /** Static value automatic for AzureScaleType. */ public static final AzureScaleType AUTOMATIC = fromString("automatic"); @@ -30,7 +30,11 @@ public static AzureScaleType fromString(String name) { return fromString(name, AzureScaleType.class); } - /** @return known AzureScaleType values. */ + /** + * Gets known AzureScaleType values. + * + * @return known AzureScaleType values. + */ public static Collection values() { return values(AzureScaleType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolPatchInfo.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolPatchInfo.java index 154730e43e433..34796462a05ce 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolPatchInfo.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolPatchInfo.java @@ -9,7 +9,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Map; -/** Patch for a Big Data pool Properties patch for a Big Data pool. */ +/** + * Patch for a Big Data pool + * + *

Properties patch for a Big Data pool. + */ @Fluent public final class BigDataPoolPatchInfo { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolResourceInfo.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolResourceInfo.java index 0598740e9e90d..6246da124c723 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolResourceInfo.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolResourceInfo.java @@ -57,7 +57,9 @@ public interface BigDataPoolResourceInfo { String provisioningState(); /** - * Gets the autoScale property: Spark pool auto-scaling properties Auto-scaling properties. + * Gets the autoScale property: Spark pool auto-scaling properties + * + *

Auto-scaling properties. * * @return the autoScale value. */ @@ -71,7 +73,9 @@ public interface BigDataPoolResourceInfo { OffsetDateTime creationDate(); /** - * Gets the autoPause property: Spark pool auto-pausing properties Auto-pausing properties. + * Gets the autoPause property: Spark pool auto-pausing properties + * + *

Auto-pausing properties. * * @return the autoPause value. */ @@ -84,6 +88,15 @@ public interface BigDataPoolResourceInfo { */ Boolean isComputeIsolationEnabled(); + /** + * Gets the isAutotuneEnabled property: Enable Autotune + * + *

Whether autotune is required or not. + * + * @return the isAutotuneEnabled value. + */ + Boolean isAutotuneEnabled(); + /** * Gets the sessionLevelPackagesEnabled property: Whether session level packages enabled. * @@ -120,7 +133,9 @@ public interface BigDataPoolResourceInfo { Integer nodeCount(); /** - * Gets the libraryRequirements property: Spark pool library version requirements Library version requirements. + * Gets the libraryRequirements property: Spark pool library version requirements + * + *

Library version requirements. * * @return the libraryRequirements value. */ @@ -134,8 +149,9 @@ public interface BigDataPoolResourceInfo { List customLibraries(); /** - * Gets the sparkConfigProperties property: Spark pool Config Properties Spark configuration file to specify - * additional properties. + * Gets the sparkConfigProperties property: Spark pool Config Properties + * + *

Spark configuration file to specify additional properties. * * @return the sparkConfigProperties value. */ @@ -190,6 +206,13 @@ public interface BigDataPoolResourceInfo { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.BigDataPoolResourceInfoInner object. * @@ -248,6 +271,7 @@ interface WithCreate DefinitionStages.WithAutoScale, DefinitionStages.WithAutoPause, DefinitionStages.WithIsComputeIsolationEnabled, + DefinitionStages.WithIsAutotuneEnabled, DefinitionStages.WithSessionLevelPackagesEnabled, DefinitionStages.WithCacheSize, DefinitionStages.WithDynamicExecutorAllocation, @@ -299,9 +323,12 @@ interface WithProvisioningState { /** The stage of the BigDataPoolResourceInfo definition allowing to specify autoScale. */ interface WithAutoScale { /** - * Specifies the autoScale property: Spark pool auto-scaling properties Auto-scaling properties. + * Specifies the autoScale property: Spark pool auto-scaling properties + * + *

Auto-scaling properties. * - * @param autoScale Spark pool auto-scaling properties Auto-scaling properties. + * @param autoScale Spark pool auto-scaling properties + *

Auto-scaling properties. * @return the next definition stage. */ WithCreate withAutoScale(AutoScaleProperties autoScale); @@ -309,9 +336,12 @@ interface WithAutoScale { /** The stage of the BigDataPoolResourceInfo definition allowing to specify autoPause. */ interface WithAutoPause { /** - * Specifies the autoPause property: Spark pool auto-pausing properties Auto-pausing properties. + * Specifies the autoPause property: Spark pool auto-pausing properties + * + *

Auto-pausing properties. * - * @param autoPause Spark pool auto-pausing properties Auto-pausing properties. + * @param autoPause Spark pool auto-pausing properties + *

Auto-pausing properties. * @return the next definition stage. */ WithCreate withAutoPause(AutoPauseProperties autoPause); @@ -326,6 +356,19 @@ interface WithIsComputeIsolationEnabled { */ WithCreate withIsComputeIsolationEnabled(Boolean isComputeIsolationEnabled); } + /** The stage of the BigDataPoolResourceInfo definition allowing to specify isAutotuneEnabled. */ + interface WithIsAutotuneEnabled { + /** + * Specifies the isAutotuneEnabled property: Enable Autotune + * + *

Whether autotune is required or not.. + * + * @param isAutotuneEnabled Enable Autotune + *

Whether autotune is required or not. + * @return the next definition stage. + */ + WithCreate withIsAutotuneEnabled(Boolean isAutotuneEnabled); + } /** The stage of the BigDataPoolResourceInfo definition allowing to specify sessionLevelPackagesEnabled. */ interface WithSessionLevelPackagesEnabled { /** @@ -379,10 +422,12 @@ interface WithNodeCount { /** The stage of the BigDataPoolResourceInfo definition allowing to specify libraryRequirements. */ interface WithLibraryRequirements { /** - * Specifies the libraryRequirements property: Spark pool library version requirements Library version - * requirements. + * Specifies the libraryRequirements property: Spark pool library version requirements * - * @param libraryRequirements Spark pool library version requirements Library version requirements. + *

Library version requirements. + * + * @param libraryRequirements Spark pool library version requirements + *

Library version requirements. * @return the next definition stage. */ WithCreate withLibraryRequirements(LibraryRequirements libraryRequirements); @@ -401,11 +446,12 @@ interface WithCustomLibraries { /** The stage of the BigDataPoolResourceInfo definition allowing to specify sparkConfigProperties. */ interface WithSparkConfigProperties { /** - * Specifies the sparkConfigProperties property: Spark pool Config Properties Spark configuration file to - * specify additional properties. + * Specifies the sparkConfigProperties property: Spark pool Config Properties + * + *

Spark configuration file to specify additional properties. * - * @param sparkConfigProperties Spark pool Config Properties Spark configuration file to specify additional - * properties. + * @param sparkConfigProperties Spark pool Config Properties + *

Spark configuration file to specify additional properties. * @return the next definition stage. */ WithCreate withSparkConfigProperties(SparkConfigProperties sparkConfigProperties); diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolResourceInfoListResult.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolResourceInfoListResult.java index 8ac02fdbe0222..1889b03668e50 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolResourceInfoListResult.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPoolResourceInfoListResult.java @@ -9,7 +9,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; -/** Collection of Big Data pools Collection of Big Data pool information. */ +/** + * Collection of Big Data pools + * + *

Collection of Big Data pool information. + */ @Fluent public final class BigDataPoolResourceInfoListResult { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPools.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPools.java index ebd3b57ca8a4d..32373551161e1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPools.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BigDataPools.java @@ -11,7 +11,9 @@ /** Resource collection API of BigDataPools. */ public interface BigDataPools { /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface BigDataPools { BigDataPoolResourceInfo get(String resourceGroupName, String workspaceName, String bigDataPoolName); /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -39,7 +43,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String bigDataPoolName, Context context); /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -52,7 +58,9 @@ Response getWithResponse( Object delete(String resourceGroupName, String workspaceName, String bigDataPoolName); /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -66,7 +74,9 @@ Response getWithResponse( Object delete(String resourceGroupName, String workspaceName, String bigDataPoolName, Context context); /** - * List Big Data pools in a workspace. + * List the Big Data pools in a workspace. + * + *

List Big Data pools in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -78,7 +88,9 @@ Response getWithResponse( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List Big Data pools in a workspace. + * List the Big Data pools in a workspace. + * + *

List Big Data pools in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -92,7 +104,9 @@ PagedIterable listByWorkspace( String resourceGroupName, String workspaceName, Context context); /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -103,7 +117,9 @@ PagedIterable listByWorkspace( BigDataPoolResourceInfo getById(String id); /** - * Get a Big Data pool. + * Get Big Data pool + * + *

Get a Big Data pool. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -115,7 +131,9 @@ PagedIterable listByWorkspace( Response getByIdWithResponse(String id, Context context); /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -126,7 +144,9 @@ PagedIterable listByWorkspace( Object deleteById(String id); /** - * Delete a Big Data pool from the workspace. + * Delete a Big Data pool. + * + *

Delete a Big Data pool from the workspace. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobAuditingPolicyName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobAuditingPolicyName.java index 2e43f9738c970..72c37b3d3b225 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobAuditingPolicyName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobAuditingPolicyName.java @@ -24,7 +24,11 @@ public static BlobAuditingPolicyName fromString(String name) { return fromString(name, BlobAuditingPolicyName.class); } - /** @return known BlobAuditingPolicyName values. */ + /** + * Gets known BlobAuditingPolicyName values. + * + * @return known BlobAuditingPolicyName values. + */ public static Collection values() { return values(BlobAuditingPolicyName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobAuditingPolicyState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobAuditingPolicyState.java index b22c290143b05..690aeed17c797 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobAuditingPolicyState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobAuditingPolicyState.java @@ -7,7 +7,9 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for BlobAuditingPolicyState. */ +/** + * Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. + */ public enum BlobAuditingPolicyState { /** Enum value Enabled. */ ENABLED("Enabled"), @@ -30,6 +32,9 @@ public enum BlobAuditingPolicyState { */ @JsonCreator public static BlobAuditingPolicyState fromString(String value) { + if (value == null) { + return null; + } BlobAuditingPolicyState[] items = BlobAuditingPolicyState.values(); for (BlobAuditingPolicyState item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +44,7 @@ public static BlobAuditingPolicyState fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobStorageEventType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobStorageEventType.java index e6b899a60781f..4ce40335e7c2e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobStorageEventType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/BlobStorageEventType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for BlobStorageEventType. */ +/** The name of blob storage event type to process. */ public final class BlobStorageEventType extends ExpandableStringEnum { /** Static value Microsoft.Storage.BlobCreated for BlobStorageEventType. */ public static final BlobStorageEventType MICROSOFT_STORAGE_BLOB_CREATED = @@ -29,7 +29,11 @@ public static BlobStorageEventType fromString(String name) { return fromString(name, BlobStorageEventType.class); } - /** @return known BlobStorageEventType values. */ + /** + * Gets known BlobStorageEventType values. + * + * @return known BlobStorageEventType values. + */ public static Collection values() { return values(BlobStorageEventType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/CheckNameAvailabilityRequest.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/CheckNameAvailabilityRequest.java index 14b39434913d0..d7b9b9d8d6101 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/CheckNameAvailabilityRequest.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/CheckNameAvailabilityRequest.java @@ -7,7 +7,11 @@ import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; -/** Check name availability request A request about whether a workspace name is available. */ +/** + * Check name availability request + * + *

A request about whether a workspace name is available. + */ @Fluent public final class CheckNameAvailabilityRequest { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalAssignment.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalAssignment.java index 083a775c114db..5a700d4718054 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalAssignment.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalAssignment.java @@ -88,6 +88,20 @@ public interface ClusterPrincipalAssignment { */ ResourceProvisioningState provisioningState(); + /** + * Gets the aadObjectId property: The service principal object id in AAD (Azure active directory). + * + * @return the aadObjectId value. + */ + String aadObjectId(); + + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.ClusterPrincipalAssignmentInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalAssignmentCheckNameRequest.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalAssignmentCheckNameRequest.java index 5d57514c9d31f..d0fc61aeb8269 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalAssignmentCheckNameRequest.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalAssignmentCheckNameRequest.java @@ -18,8 +18,7 @@ public final class ClusterPrincipalAssignmentCheckNameRequest { private String name; /* - * The type of resource, - * Microsoft.Synapse/workspaces/kustoPools/principalAssignments. + * The type of resource, Microsoft.Synapse/workspaces/kustoPools/principalAssignments. */ @JsonProperty(value = "type", required = true) private String type = "Microsoft.Synapse/workspaces/kustoPools/principalAssignments"; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalRole.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalRole.java index 6b5dc49d1cb6d..0b880e78c9c27 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalRole.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ClusterPrincipalRole.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ClusterPrincipalRole. */ +/** Cluster principal role. */ public final class ClusterPrincipalRole extends ExpandableStringEnum { /** Static value AllDatabasesAdmin for ClusterPrincipalRole. */ public static final ClusterPrincipalRole ALL_DATABASES_ADMIN = fromString("AllDatabasesAdmin"); @@ -27,7 +27,11 @@ public static ClusterPrincipalRole fromString(String name) { return fromString(name, ClusterPrincipalRole.class); } - /** @return known ClusterPrincipalRole values. */ + /** + * Gets known ClusterPrincipalRole values. + * + * @return known ClusterPrincipalRole values. + */ public static Collection values() { return values(ClusterPrincipalRole.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ColumnDataType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ColumnDataType.java index 7ca29e66b311c..ebae2cca0a803 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ColumnDataType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ColumnDataType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ColumnDataType. */ +/** The column data type. */ public final class ColumnDataType extends ExpandableStringEnum { /** Static value image for ColumnDataType. */ public static final ColumnDataType IMAGE = fromString("image"); @@ -123,7 +123,11 @@ public static ColumnDataType fromString(String name) { return fromString(name, ColumnDataType.class); } - /** @return known ColumnDataType values. */ + /** + * Gets known ColumnDataType values. + * + * @return known ColumnDataType values. + */ public static Collection values() { return values(ColumnDataType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Compression.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Compression.java index 5b9921737f1e6..9776b2f8329f6 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Compression.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Compression.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for Compression. */ +/** The compression type. */ public final class Compression extends ExpandableStringEnum { /** Static value None for Compression. */ public static final Compression NONE = fromString("None"); @@ -27,7 +27,11 @@ public static Compression fromString(String name) { return fromString(name, Compression.class); } - /** @return known Compression values. */ + /** + * Gets known Compression values. + * + * @return known Compression values. + */ public static Collection values() { return values(Compression.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ConfigurationType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ConfigurationType.java index 3c76e883e01db..21d7d7fc879d6 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ConfigurationType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ConfigurationType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ConfigurationType. */ +/** The type of the spark config properties file. */ public final class ConfigurationType extends ExpandableStringEnum { /** Static value File for ConfigurationType. */ public static final ConfigurationType FILE = fromString("File"); @@ -27,7 +27,11 @@ public static ConfigurationType fromString(String name) { return fromString(name, ConfigurationType.class); } - /** @return known ConfigurationType values. */ + /** + * Gets known ConfigurationType values. + * + * @return known ConfigurationType values. + */ public static Collection values() { return values(ConfigurationType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ConnectionPolicyName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ConnectionPolicyName.java index a51b7353877fa..80fde119f24ef 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ConnectionPolicyName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ConnectionPolicyName.java @@ -24,7 +24,11 @@ public static ConnectionPolicyName fromString(String name) { return fromString(name, ConnectionPolicyName.class); } - /** @return known ConnectionPolicyName values. */ + /** + * Gets known ConnectionPolicyName values. + * + * @return known ConnectionPolicyName values. + */ public static Collection values() { return values(ConnectionPolicyName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/CreateMode.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/CreateMode.java index f766fbbd159b7..415f6b61e4336 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/CreateMode.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/CreateMode.java @@ -8,7 +8,21 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for CreateMode. */ +/** + * Specifies the mode of sql pool creation. + * + *

Default: regular sql pool creation. + * + *

PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. + * sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be + * specified. + * + *

Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the + * recoverableDatabaseId to restore. + * + *

Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's + * original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified. + */ public final class CreateMode extends ExpandableStringEnum { /** Static value Default for CreateMode. */ public static final CreateMode DEFAULT = fromString("Default"); @@ -33,7 +47,11 @@ public static CreateMode fromString(String name) { return fromString(name, CreateMode.class); } - /** @return known CreateMode values. */ + /** + * Gets known CreateMode values. + * + * @return known CreateMode values. + */ public static Collection values() { return values(CreateMode.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataConnectionCheckNameRequest.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataConnectionCheckNameRequest.java index 636b08e755c8f..ec20463ba7251 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataConnectionCheckNameRequest.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataConnectionCheckNameRequest.java @@ -18,8 +18,7 @@ public final class DataConnectionCheckNameRequest { private String name; /* - * The type of resource, - * Microsoft.Synapse/workspaces/kustoPools/databases/dataConnections. + * The type of resource, Microsoft.Synapse/workspaces/kustoPools/databases/dataConnections. */ @JsonProperty(value = "type", required = true) private String type = "Microsoft.Synapse/workspaces/kustoPools/databases/dataConnections"; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataConnectionKind.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataConnectionKind.java index 1a8055d35d302..0b956a667f61c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataConnectionKind.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataConnectionKind.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for DataConnectionKind. */ +/** Kind of the endpoint for the data connection. */ public final class DataConnectionKind extends ExpandableStringEnum { /** Static value EventHub for DataConnectionKind. */ public static final DataConnectionKind EVENT_HUB = fromString("EventHub"); @@ -30,7 +30,11 @@ public static DataConnectionKind fromString(String name) { return fromString(name, DataConnectionKind.class); } - /** @return known DataConnectionKind values. */ + /** + * Gets known DataConnectionKind values. + * + * @return known DataConnectionKind values. + */ public static Collection values() { return values(DataConnectionKind.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataFlowComputeType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataFlowComputeType.java index 3303bffbac113..c42f181165637 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataFlowComputeType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataFlowComputeType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for DataFlowComputeType. */ +/** Compute type of the cluster which will execute data flow job. */ public final class DataFlowComputeType extends ExpandableStringEnum { /** Static value General for DataFlowComputeType. */ public static final DataFlowComputeType GENERAL = fromString("General"); @@ -30,7 +30,11 @@ public static DataFlowComputeType fromString(String name) { return fromString(name, DataFlowComputeType.class); } - /** @return known DataFlowComputeType values. */ + /** + * Gets known DataFlowComputeType values. + * + * @return known DataFlowComputeType values. + */ public static Collection values() { return values(DataFlowComputeType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingFunction.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingFunction.java index 5224742a55a07..450723a9dedbc 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingFunction.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingFunction.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for DataMaskingFunction. */ +/** The masking function that is used for the data masking rule. */ public enum DataMaskingFunction { /** Enum value Default. */ DEFAULT("Default"), @@ -42,6 +42,9 @@ public enum DataMaskingFunction { */ @JsonCreator public static DataMaskingFunction fromString(String value) { + if (value == null) { + return null; + } DataMaskingFunction[] items = DataMaskingFunction.values(); for (DataMaskingFunction item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -51,6 +54,7 @@ public static DataMaskingFunction fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingPolicy.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingPolicy.java index 3fc6b29c8ecef..d0a918383289d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingPolicy.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingPolicy.java @@ -97,6 +97,13 @@ public interface DataMaskingPolicy { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.DataMaskingPolicyInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingRule.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingRule.java index 4b12c8e257f76..7600c8e154b37 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingRule.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingRule.java @@ -151,6 +151,13 @@ public interface DataMaskingRule { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.DataMaskingRuleInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingRuleState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingRuleState.java index 678df6ae785fd..f0c90fed605e1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingRuleState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingRuleState.java @@ -7,7 +7,11 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for DataMaskingRuleState. */ +/** + * 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. + */ public enum DataMaskingRuleState { /** Enum value Disabled. */ DISABLED("Disabled"), @@ -30,6 +34,9 @@ public enum DataMaskingRuleState { */ @JsonCreator public static DataMaskingRuleState fromString(String value) { + if (value == null) { + return null; + } DataMaskingRuleState[] items = DataMaskingRuleState.values(); for (DataMaskingRuleState item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +46,7 @@ public static DataMaskingRuleState fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingState.java index ae49fb96082a1..5e4d548525474 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataMaskingState.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for DataMaskingState. */ +/** The state of the data masking policy. */ public enum DataMaskingState { /** Enum value Disabled. */ DISABLED("Disabled"), @@ -30,6 +30,9 @@ public enum DataMaskingState { */ @JsonCreator public static DataMaskingState fromString(String value) { + if (value == null) { + return null; + } DataMaskingState[] items = DataMaskingState.values(); for (DataMaskingState item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +42,7 @@ public static DataMaskingState fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataWarehouseUserActivityName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataWarehouseUserActivityName.java index 37a82ffc2a2fd..ff93ea3d39c1a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataWarehouseUserActivityName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DataWarehouseUserActivityName.java @@ -24,7 +24,11 @@ public static DataWarehouseUserActivityName fromString(String name) { return fromString(name, DataWarehouseUserActivityName.class); } - /** @return known DataWarehouseUserActivityName values. */ + /** + * Gets known DataWarehouseUserActivityName values. + * + * @return known DataWarehouseUserActivityName values. + */ public static Collection values() { return values(DataWarehouseUserActivityName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabaseCheckNameRequest.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabaseCheckNameRequest.java index 5dc11e24e7083..c9c580ec27777 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabaseCheckNameRequest.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabaseCheckNameRequest.java @@ -18,8 +18,7 @@ public final class DatabaseCheckNameRequest { private String name; /* - * The type of resource, for instance - * Microsoft.Synapse/workspaces/kustoPools/databases. + * The type of resource, for instance Microsoft.Synapse/workspaces/kustoPools/databases. */ @JsonProperty(value = "type", required = true) private Type type; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalAssignment.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalAssignment.java index abcf40d14b940..f855237631865 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalAssignment.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalAssignment.java @@ -88,6 +88,20 @@ public interface DatabasePrincipalAssignment { */ ResourceProvisioningState provisioningState(); + /** + * Gets the aadObjectId property: The service principal object id in AAD (Azure active directory). + * + * @return the aadObjectId value. + */ + String aadObjectId(); + + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.DatabasePrincipalAssignmentInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalAssignmentCheckNameRequest.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalAssignmentCheckNameRequest.java index fe5a67f8469d7..ecd2aa9be2e6d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalAssignmentCheckNameRequest.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalAssignmentCheckNameRequest.java @@ -18,8 +18,7 @@ public final class DatabasePrincipalAssignmentCheckNameRequest { private String name; /* - * The type of resource, - * Microsoft.Synapse/workspaces/kustoPools/databases/principalAssignments. + * The type of resource, Microsoft.Synapse/workspaces/kustoPools/databases/principalAssignments. */ @JsonProperty(value = "type", required = true) private String type = "Microsoft.Synapse/workspaces/kustoPools/databases/principalAssignments"; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalRole.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalRole.java index 21d719fa2f254..ae54ca724e79c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalRole.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabasePrincipalRole.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for DatabasePrincipalRole. */ +/** Database principal role. */ public final class DatabasePrincipalRole extends ExpandableStringEnum { /** Static value Admin for DatabasePrincipalRole. */ public static final DatabasePrincipalRole ADMIN = fromString("Admin"); @@ -39,7 +39,11 @@ public static DatabasePrincipalRole fromString(String name) { return fromString(name, DatabasePrincipalRole.class); } - /** @return known DatabasePrincipalRole values. */ + /** + * Gets known DatabasePrincipalRole values. + * + * @return known DatabasePrincipalRole values. + */ public static Collection values() { return values(DatabasePrincipalRole.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabaseStatistics.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabaseStatistics.java index 640183b39d912..aa0859a97bf91 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabaseStatistics.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DatabaseStatistics.java @@ -11,8 +11,7 @@ @Fluent public final class DatabaseStatistics { /* - * The database size - the total size of compressed data and index in - * bytes. + * The database size - the total size of compressed data and index in bytes. */ @JsonProperty(value = "size") private Float size; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DayOfWeek.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DayOfWeek.java index 01680d5361f07..4ab58ee01a011 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DayOfWeek.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DayOfWeek.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for DayOfWeek. */ +/** Day of maintenance window. */ public final class DayOfWeek extends ExpandableStringEnum { /** Static value Sunday for DayOfWeek. */ public static final DayOfWeek SUNDAY = fromString("Sunday"); @@ -42,7 +42,11 @@ public static DayOfWeek fromString(String name) { return fromString(name, DayOfWeek.class); } - /** @return known DayOfWeek values. */ + /** + * Gets known DayOfWeek values. + * + * @return known DayOfWeek values. + */ public static Collection values() { return values(DayOfWeek.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSqlMinimalTlsSettingsName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSqlMinimalTlsSettingsName.java index 911d5e73f9b7a..19625fe1bf540 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSqlMinimalTlsSettingsName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DedicatedSqlMinimalTlsSettingsName.java @@ -24,7 +24,11 @@ public static DedicatedSqlMinimalTlsSettingsName fromString(String name) { return fromString(name, DedicatedSqlMinimalTlsSettingsName.class); } - /** @return known DedicatedSqlMinimalTlsSettingsName values. */ + /** + * Gets known DedicatedSqlMinimalTlsSettingsName values. + * + * @return known DedicatedSqlMinimalTlsSettingsName values. + */ public static Collection values() { return values(DedicatedSqlMinimalTlsSettingsName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DefaultPrincipalsModificationKind.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DefaultPrincipalsModificationKind.java index 734d96e7b3f66..544642b556f47 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DefaultPrincipalsModificationKind.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DefaultPrincipalsModificationKind.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for DefaultPrincipalsModificationKind. */ +/** The default principals modification kind. */ public final class DefaultPrincipalsModificationKind extends ExpandableStringEnum { /** Static value Union for DefaultPrincipalsModificationKind. */ public static final DefaultPrincipalsModificationKind UNION = fromString("Union"); @@ -30,7 +30,11 @@ public static DefaultPrincipalsModificationKind fromString(String name) { return fromString(name, DefaultPrincipalsModificationKind.class); } - /** @return known DefaultPrincipalsModificationKind values. */ + /** + * Gets known DefaultPrincipalsModificationKind values. + * + * @return known DefaultPrincipalsModificationKind values. + */ public static Collection values() { return values(DefaultPrincipalsModificationKind.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DesiredState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DesiredState.java new file mode 100644 index 0000000000000..7c54a078f8259 --- /dev/null +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/DesiredState.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.synapse.models; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Desired state. */ +public enum DesiredState { + /** Enum value Enabled. */ + ENABLED("Enabled"), + + /** Enum value Disabled. */ + DISABLED("Disabled"); + + /** The actual serialized value for a DesiredState instance. */ + private final String value; + + DesiredState(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a DesiredState instance. + * + * @param value the serialized value to parse. + * @return the parsed DesiredState object, or null if unable to parse. + */ + @JsonCreator + public static DesiredState fromString(String value) { + if (value == null) { + return null; + } + DesiredState[] items = DesiredState.values(); + for (DesiredState item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** {@inheritDoc} */ + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EncryptionProtector.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EncryptionProtector.java index e0b6acce09a35..40f1688b71d9d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EncryptionProtector.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EncryptionProtector.java @@ -94,6 +94,13 @@ public interface EncryptionProtector { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.EncryptionProtectorInner object. * @@ -227,7 +234,9 @@ interface WithServerKeyType { EncryptionProtector refresh(Context context); /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -235,7 +244,9 @@ interface WithServerKeyType { void revalidate(); /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EncryptionProtectorName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EncryptionProtectorName.java index 6241d170e8202..1478159641e25 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EncryptionProtectorName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EncryptionProtectorName.java @@ -24,7 +24,11 @@ public static EncryptionProtectorName fromString(String name) { return fromString(name, EncryptionProtectorName.class); } - /** @return known EncryptionProtectorName values. */ + /** + * Gets known EncryptionProtectorName values. + * + * @return known EncryptionProtectorName values. + */ public static Collection values() { return values(EncryptionProtectorName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EventGridDataFormat.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EventGridDataFormat.java index 8a27b48f7810b..06177f259821d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EventGridDataFormat.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EventGridDataFormat.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for EventGridDataFormat. */ +/** The data format of the message. Optionally the data format can be added to each message. */ public final class EventGridDataFormat extends ExpandableStringEnum { /** Static value MULTIJSON for EventGridDataFormat. */ public static final EventGridDataFormat MULTIJSON = fromString("MULTIJSON"); @@ -69,7 +69,11 @@ public static EventGridDataFormat fromString(String name) { return fromString(name, EventGridDataFormat.class); } - /** @return known EventGridDataFormat values. */ + /** + * Gets known EventGridDataFormat values. + * + * @return known EventGridDataFormat values. + */ public static Collection values() { return values(EventGridDataFormat.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EventHubDataFormat.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EventHubDataFormat.java index 9e6e5b104de5b..bbdebffc47bf3 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EventHubDataFormat.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/EventHubDataFormat.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for EventHubDataFormat. */ +/** The data format of the message. Optionally the data format can be added to each message. */ public final class EventHubDataFormat extends ExpandableStringEnum { /** Static value MULTIJSON for EventHubDataFormat. */ public static final EventHubDataFormat MULTIJSON = fromString("MULTIJSON"); @@ -69,7 +69,11 @@ public static EventHubDataFormat fromString(String name) { return fromString(name, EventHubDataFormat.class); } - /** @return known EventHubDataFormat values. */ + /** + * Gets known EventHubDataFormat values. + * + * @return known EventHubDataFormat values. + */ public static Collection values() { return values(EventHubDataFormat.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ExtendedServerBlobAuditingPolicy.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ExtendedServerBlobAuditingPolicy.java index aec60572febc6..e6a84b6d0e7a7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ExtendedServerBlobAuditingPolicy.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ExtendedServerBlobAuditingPolicy.java @@ -182,6 +182,13 @@ public interface ExtendedServerBlobAuditingPolicy { */ Boolean isDevopsAuditEnabled(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.ExtendedServerBlobAuditingPolicyInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ExtendedSqlPoolBlobAuditingPolicy.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ExtendedSqlPoolBlobAuditingPolicy.java index 7b17122378090..fd75bbd4001f1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ExtendedSqlPoolBlobAuditingPolicy.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ExtendedSqlPoolBlobAuditingPolicy.java @@ -164,6 +164,13 @@ public interface ExtendedSqlPoolBlobAuditingPolicy { */ Integer queueDelayMs(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.ExtendedSqlPoolBlobAuditingPolicyInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicy.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicy.java index e701dceaebe24..06eb3708e2df3 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicy.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicy.java @@ -73,6 +73,13 @@ public interface GeoBackupPolicy { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.GeoBackupPolicyInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicyName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicyName.java index 47835ecc658fd..290bbf2fe1b77 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicyName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicyName.java @@ -24,7 +24,11 @@ public static GeoBackupPolicyName fromString(String name) { return fromString(name, GeoBackupPolicyName.class); } - /** @return known GeoBackupPolicyName values. */ + /** + * Gets known GeoBackupPolicyName values. + * + * @return known GeoBackupPolicyName values. + */ public static Collection values() { return values(GeoBackupPolicyName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicyState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicyState.java index a97bdf5006086..5ebd0222c5a06 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicyState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/GeoBackupPolicyState.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for GeoBackupPolicyState. */ +/** The state of the geo backup policy. */ public enum GeoBackupPolicyState { /** Enum value Disabled. */ DISABLED("Disabled"), @@ -30,6 +30,9 @@ public enum GeoBackupPolicyState { */ @JsonCreator public static GeoBackupPolicyState fromString(String value) { + if (value == null) { + return null; + } GeoBackupPolicyState[] items = GeoBackupPolicyState.values(); for (GeoBackupPolicyState item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +42,7 @@ public static GeoBackupPolicyState fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntime.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntime.java index 8aaa0e94578aa..0c86f24896318 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntime.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntime.java @@ -35,8 +35,7 @@ public class IntegrationRuntime { private String description; /* - * Azure Synapse nested object which serves as a compute resource for - * activities. + * Azure Synapse nested object which serves as a compute resource for activities. */ @JsonIgnore private Map additionalProperties; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAuthKeyName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAuthKeyName.java index 18f11d6d61da4..ec9d5bc972668 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAuthKeyName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAuthKeyName.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IntegrationRuntimeAuthKeyName. */ +/** The name of the authentication key to regenerate. */ public final class IntegrationRuntimeAuthKeyName extends ExpandableStringEnum { /** Static value authKey1 for IntegrationRuntimeAuthKeyName. */ public static final IntegrationRuntimeAuthKeyName AUTH_KEY1 = fromString("authKey1"); @@ -27,7 +27,11 @@ public static IntegrationRuntimeAuthKeyName fromString(String name) { return fromString(name, IntegrationRuntimeAuthKeyName.class); } - /** @return known IntegrationRuntimeAuthKeyName values. */ + /** + * Gets known IntegrationRuntimeAuthKeyName values. + * + * @return known IntegrationRuntimeAuthKeyName values. + */ public static Collection values() { return values(IntegrationRuntimeAuthKeyName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAuthKeysOperations.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAuthKeysOperations.java index 8475ee2ae283f..dacb31c91799d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAuthKeysOperations.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAuthKeysOperations.java @@ -10,7 +10,9 @@ /** Resource collection API of IntegrationRuntimeAuthKeysOperations. */ public interface IntegrationRuntimeAuthKeysOperations { /** - * Regenerate the authentication key for an integration runtime. + * Regenerate integration runtime authentication key + * + *

Regenerate the authentication key for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -28,7 +30,9 @@ IntegrationRuntimeAuthKeys regenerate( IntegrationRuntimeRegenerateKeyParameters regenerateKeyParameters); /** - * Regenerate the authentication key for an integration runtime. + * Regenerate integration runtime authentication key + * + *

Regenerate the authentication key for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -48,7 +52,9 @@ Response regenerateWithResponse( Context context); /** - * List authentication keys in an integration runtime. + * List integration runtime authentication keys + * + *

List authentication keys in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -61,7 +67,9 @@ Response regenerateWithResponse( IntegrationRuntimeAuthKeys list(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * List authentication keys in an integration runtime. + * List integration runtime authentication keys + * + *

List authentication keys in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAutoUpdate.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAutoUpdate.java index 09b622851d3ac..d0680e502c14b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAutoUpdate.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeAutoUpdate.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IntegrationRuntimeAutoUpdate. */ +/** The state of integration runtime auto update. */ public final class IntegrationRuntimeAutoUpdate extends ExpandableStringEnum { /** Static value On for IntegrationRuntimeAutoUpdate. */ public static final IntegrationRuntimeAutoUpdate ON = fromString("On"); @@ -27,7 +27,11 @@ public static IntegrationRuntimeAutoUpdate fromString(String name) { return fromString(name, IntegrationRuntimeAutoUpdate.class); } - /** @return known IntegrationRuntimeAutoUpdate values. */ + /** + * Gets known IntegrationRuntimeAutoUpdate values. + * + * @return known IntegrationRuntimeAutoUpdate values. + */ public static Collection values() { return values(IntegrationRuntimeAutoUpdate.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeComputeProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeComputeProperties.java index 4e6b42ea67cdc..698a0e5a37bef 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeComputeProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeComputeProperties.java @@ -16,8 +16,7 @@ @Fluent public final class IntegrationRuntimeComputeProperties { /* - * The location for managed integration runtime. The supported regions - * could be found on + * 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 */ @JsonProperty(value = "location") @@ -36,8 +35,7 @@ public final class IntegrationRuntimeComputeProperties { private Integer numberOfNodes; /* - * Maximum parallel executions count per node for managed integration - * runtime. + * Maximum parallel executions count per node for managed integration runtime. */ @JsonProperty(value = "maxParallelExecutionsPerNode") private Integer maxParallelExecutionsPerNode; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeConnectionInfos.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeConnectionInfos.java index ff2c51b7cc45d..fde9f80215cfe 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeConnectionInfos.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeConnectionInfos.java @@ -10,7 +10,9 @@ /** Resource collection API of IntegrationRuntimeConnectionInfos. */ public interface IntegrationRuntimeConnectionInfos { /** - * Get connection info for an integration runtime. + * Get integration runtime connection info + * + *

Get connection info for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -23,7 +25,9 @@ public interface IntegrationRuntimeConnectionInfos { IntegrationRuntimeConnectionInfo get(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Get connection info for an integration runtime. + * Get integration runtime connection info + * + *

Get connection info for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeCredentials.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeCredentials.java index fc6efaff109bf..c2f119cbf36a5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeCredentials.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeCredentials.java @@ -10,10 +10,12 @@ /** Resource collection API of IntegrationRuntimeCredentials. */ public interface IntegrationRuntimeCredentials { /** - * Force the integration runtime to synchronize credentials across integration runtime nodes, and this will override - * the credentials across all worker nodes with those available on the dispatcher node. If you already have the - * latest credential backup file, you should manually import it (preferred) on any self-hosted integration runtime - * node than using this API directly. + * Sync integration runtime credentials + * + *

Force the integration runtime to synchronize credentials across integration runtime nodes, and this will + * override the credentials across all worker nodes with those available on the dispatcher node. If you already have + * the latest credential backup file, you should manually import it (preferred) on any self-hosted integration + * runtime node than using this API directly. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,10 +27,12 @@ public interface IntegrationRuntimeCredentials { void sync(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Force the integration runtime to synchronize credentials across integration runtime nodes, and this will override - * the credentials across all worker nodes with those available on the dispatcher node. If you already have the - * latest credential backup file, you should manually import it (preferred) on any self-hosted integration runtime - * node than using this API directly. + * Sync integration runtime credentials + * + *

Force the integration runtime to synchronize credentials across integration runtime nodes, and this will + * override the credentials across all worker nodes with those available on the dispatcher node. If you already have + * the latest credential backup file, you should manually import it (preferred) on any self-hosted integration + * runtime node than using this API directly. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeCustomSetupScriptProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeCustomSetupScriptProperties.java index c906e3dc55a75..dc3813756f342 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeCustomSetupScriptProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeCustomSetupScriptProperties.java @@ -11,8 +11,7 @@ @Fluent public final class IntegrationRuntimeCustomSetupScriptProperties { /* - * The URI of the Azure blob container that contains the custom setup - * script. + * The URI of the Azure blob container that contains the custom setup script. */ @JsonProperty(value = "blobContainerUri") private String blobContainerUri; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeDataFlowProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeDataFlowProperties.java index 803063c2f6b35..12b67d0a0d296 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeDataFlowProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeDataFlowProperties.java @@ -22,23 +22,21 @@ public final class IntegrationRuntimeDataFlowProperties { private DataFlowComputeType computeType; /* - * Core count of the cluster which will execute data flow job. Supported - * values are: 8, 16, 32, 48, 80, 144 and 272. + * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and + * 272. */ @JsonProperty(value = "coreCount") private Integer coreCount; /* - * Time to live (in minutes) setting of the cluster which will execute data - * flow job. + * Time to live (in minutes) setting of the cluster which will execute data flow job. */ @JsonProperty(value = "timeToLive") private Integer timeToLive; /* - * Cluster will not be recycled and it will be used in next data flow - * activity run until TTL (time to live) is reached if this is set as - * false. Default is true. + * Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is + * reached if this is set as false. Default is true. */ @JsonProperty(value = "cleanup") private Boolean cleanup; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeEdition.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeEdition.java index 0837b2cf857d5..8d4b159da8777 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeEdition.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeEdition.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IntegrationRuntimeEdition. */ +/** The edition for the SSIS Integration Runtime. */ public final class IntegrationRuntimeEdition extends ExpandableStringEnum { /** Static value Standard for IntegrationRuntimeEdition. */ public static final IntegrationRuntimeEdition STANDARD = fromString("Standard"); @@ -27,7 +27,11 @@ public static IntegrationRuntimeEdition fromString(String name) { return fromString(name, IntegrationRuntimeEdition.class); } - /** @return known IntegrationRuntimeEdition values. */ + /** + * Gets known IntegrationRuntimeEdition values. + * + * @return known IntegrationRuntimeEdition values. + */ public static Collection values() { return values(IntegrationRuntimeEdition.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeEntityReferenceType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeEntityReferenceType.java index d82a8cdc23855..2a00a8c2eb05c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeEntityReferenceType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeEntityReferenceType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IntegrationRuntimeEntityReferenceType. */ +/** The type of this referenced entity. */ public final class IntegrationRuntimeEntityReferenceType extends ExpandableStringEnum { /** Static value IntegrationRuntimeReference for IntegrationRuntimeEntityReferenceType. */ @@ -30,7 +30,11 @@ public static IntegrationRuntimeEntityReferenceType fromString(String name) { return fromString(name, IntegrationRuntimeEntityReferenceType.class); } - /** @return known IntegrationRuntimeEntityReferenceType values. */ + /** + * Gets known IntegrationRuntimeEntityReferenceType values. + * + * @return known IntegrationRuntimeEntityReferenceType values. + */ public static Collection values() { return values(IntegrationRuntimeEntityReferenceType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeInternalChannelEncryptionMode.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeInternalChannelEncryptionMode.java index b7bbf0b49f48c..c730653a548ce 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeInternalChannelEncryptionMode.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeInternalChannelEncryptionMode.java @@ -8,7 +8,10 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IntegrationRuntimeInternalChannelEncryptionMode. */ +/** + * It is used to set the encryption mode for node-node communication channel (when more than 2 self-hosted integration + * runtime nodes exist). + */ public final class IntegrationRuntimeInternalChannelEncryptionMode extends ExpandableStringEnum { /** Static value NotSet for IntegrationRuntimeInternalChannelEncryptionMode. */ @@ -31,7 +34,11 @@ public static IntegrationRuntimeInternalChannelEncryptionMode fromString(String return fromString(name, IntegrationRuntimeInternalChannelEncryptionMode.class); } - /** @return known IntegrationRuntimeInternalChannelEncryptionMode values. */ + /** + * Gets known IntegrationRuntimeInternalChannelEncryptionMode values. + * + * @return known IntegrationRuntimeInternalChannelEncryptionMode values. + */ public static Collection values() { return values(IntegrationRuntimeInternalChannelEncryptionMode.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeLicenseType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeLicenseType.java index e223d9e6f15ba..e5673803a8f3a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeLicenseType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeLicenseType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IntegrationRuntimeLicenseType. */ +/** License type for bringing your own license scenario. */ public final class IntegrationRuntimeLicenseType extends ExpandableStringEnum { /** Static value BasePrice for IntegrationRuntimeLicenseType. */ public static final IntegrationRuntimeLicenseType BASE_PRICE = fromString("BasePrice"); @@ -27,7 +27,11 @@ public static IntegrationRuntimeLicenseType fromString(String name) { return fromString(name, IntegrationRuntimeLicenseType.class); } - /** @return known IntegrationRuntimeLicenseType values. */ + /** + * Gets known IntegrationRuntimeLicenseType values. + * + * @return known IntegrationRuntimeLicenseType values. + */ public static Collection values() { return values(IntegrationRuntimeLicenseType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeMonitoringDatas.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeMonitoringDatas.java index 8343ce8dee35a..4f9fda2819726 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeMonitoringDatas.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeMonitoringDatas.java @@ -10,7 +10,9 @@ /** Resource collection API of IntegrationRuntimeMonitoringDatas. */ public interface IntegrationRuntimeMonitoringDatas { /** - * Get monitoring data for an integration runtime. + * Get integration runtime monitoring data + * + *

Get monitoring data for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ IntegrationRuntimeMonitoringData list( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Get monitoring data for an integration runtime. + * Get integration runtime monitoring data + * + *

Get monitoring data for an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeNodeIpAddressOperations.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeNodeIpAddressOperations.java index a69fdcf56bc3d..a11df043e160e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeNodeIpAddressOperations.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeNodeIpAddressOperations.java @@ -10,7 +10,9 @@ /** Resource collection API of IntegrationRuntimeNodeIpAddressOperations. */ public interface IntegrationRuntimeNodeIpAddressOperations { /** - * Get the IP address of an integration runtime node. + * Get integration runtime node IP address + * + *

Get the IP address of an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ IntegrationRuntimeNodeIpAddress get( String resourceGroupName, String workspaceName, String integrationRuntimeName, String nodeName); /** - * Get the IP address of an integration runtime node. + * Get integration runtime node IP address + * + *

Get the IP address of an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeNodes.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeNodes.java index d6948ef7717dc..c26e36c40b2e6 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeNodes.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeNodes.java @@ -10,7 +10,9 @@ /** Resource collection API of IntegrationRuntimeNodes. */ public interface IntegrationRuntimeNodes { /** - * Get an integration runtime node. + * Get integration runtime node + * + *

Get an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ SelfHostedIntegrationRuntimeNode get( String resourceGroupName, String workspaceName, String integrationRuntimeName, String nodeName); /** - * Get an integration runtime node. + * Get integration runtime node + * + *

Get an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -45,7 +49,9 @@ Response getWithResponse( Context context); /** - * Create an integration runtime node. + * Create integration runtime node + * + *

Create an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -65,7 +71,9 @@ SelfHostedIntegrationRuntimeNode update( UpdateIntegrationRuntimeNodeRequest updateIntegrationRuntimeNodeRequest); /** - * Create an integration runtime node. + * Create integration runtime node + * + *

Create an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -87,7 +95,9 @@ Response updateWithResponse( Context context); /** - * Delete an integration runtime node. + * Delete integration runtime node + * + *

Delete an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -100,7 +110,9 @@ Response updateWithResponse( void delete(String resourceGroupName, String workspaceName, String integrationRuntimeName, String nodeName); /** - * Delete an integration runtime node. + * Delete integration runtime node + * + *

Delete an integration runtime node. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeObjectMetadatas.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeObjectMetadatas.java index 1fc246a01c985..afe996391aadd 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeObjectMetadatas.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeObjectMetadatas.java @@ -10,7 +10,9 @@ /** Resource collection API of IntegrationRuntimeObjectMetadatas. */ public interface IntegrationRuntimeObjectMetadatas { /** - * Get object metadata from an integration runtime. + * Get integration runtime object metadata + * + *

Get object metadata from an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -23,7 +25,9 @@ public interface IntegrationRuntimeObjectMetadatas { SsisObjectMetadataListResponse list(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Get object metadata from an integration runtime. + * Get integration runtime object metadata + * + *

Get object metadata from an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -43,7 +47,9 @@ Response listWithResponse( Context context); /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -57,7 +63,9 @@ SsisObjectMetadataStatusResponse refresh( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Refresh the object metadata in an integration runtime. + * Refresh integration runtime object metadata + * + *

Refresh the object metadata in an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeResource.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeResource.java index c768735685445..7ec0563a7c78e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeResource.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeResource.java @@ -45,6 +45,13 @@ public interface IntegrationRuntimeResource { */ IntegrationRuntime properties(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.IntegrationRuntimeResourceInner object. * @@ -185,7 +192,9 @@ interface WithUpdateDelayOffset { IntegrationRuntimeResource refresh(Context context); /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -193,7 +202,9 @@ interface WithUpdateDelayOffset { void upgrade(); /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -204,7 +215,9 @@ interface WithUpdateDelayOffset { Response upgradeWithResponse(Context context); /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -213,7 +226,9 @@ interface WithUpdateDelayOffset { IntegrationRuntimeStatusResponse start(); /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -224,7 +239,9 @@ interface WithUpdateDelayOffset { IntegrationRuntimeStatusResponse start(Context context); /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -232,7 +249,9 @@ interface WithUpdateDelayOffset { void stop(); /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisCatalogInfo.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisCatalogInfo.java index 5f1eb5c673520..19db49ae30e2d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisCatalogInfo.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisCatalogInfo.java @@ -34,8 +34,8 @@ public final class IntegrationRuntimeSsisCatalogInfo { private SecureString catalogAdminPassword; /* - * The pricing tier for the catalog database. The valid values could be - * found in https://azure.microsoft.com/en-us/pricing/details/sql-database/ + * The pricing tier for the catalog database. The valid values could be found in + * https://azure.microsoft.com/en-us/pricing/details/sql-database/ */ @JsonProperty(value = "catalogPricingTier") private IntegrationRuntimeSsisCatalogPricingTier catalogPricingTier; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisCatalogPricingTier.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisCatalogPricingTier.java index f540bb819797d..8f678e3e09242 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisCatalogPricingTier.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisCatalogPricingTier.java @@ -8,7 +8,10 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IntegrationRuntimeSsisCatalogPricingTier. */ +/** + * The pricing tier for the catalog database. The valid values could be found in + * https://azure.microsoft.com/en-us/pricing/details/sql-database/. + */ public final class IntegrationRuntimeSsisCatalogPricingTier extends ExpandableStringEnum { /** Static value Basic for IntegrationRuntimeSsisCatalogPricingTier. */ @@ -34,7 +37,11 @@ public static IntegrationRuntimeSsisCatalogPricingTier fromString(String name) { return fromString(name, IntegrationRuntimeSsisCatalogPricingTier.class); } - /** @return known IntegrationRuntimeSsisCatalogPricingTier values. */ + /** + * Gets known IntegrationRuntimeSsisCatalogPricingTier values. + * + * @return known IntegrationRuntimeSsisCatalogPricingTier values. + */ public static Collection values() { return values(IntegrationRuntimeSsisCatalogPricingTier.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisProperties.java index ddfb78d7608ac..589f916713cc1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeSsisProperties.java @@ -29,8 +29,7 @@ public final class IntegrationRuntimeSsisProperties { private IntegrationRuntimeLicenseType licenseType; /* - * Custom setup script properties for a managed dedicated integration - * runtime. + * Custom setup script properties for a managed dedicated integration runtime. */ @JsonProperty(value = "customSetupScriptProperties") private IntegrationRuntimeCustomSetupScriptProperties customSetupScriptProperties; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeState.java index 673e722fbec36..8405ab5ac447c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IntegrationRuntimeState. */ +/** The state of integration runtime. */ public final class IntegrationRuntimeState extends ExpandableStringEnum { /** Static value Initial for IntegrationRuntimeState. */ public static final IntegrationRuntimeState INITIAL = fromString("Initial"); @@ -51,7 +51,11 @@ public static IntegrationRuntimeState fromString(String name) { return fromString(name, IntegrationRuntimeState.class); } - /** @return known IntegrationRuntimeState values. */ + /** + * Gets known IntegrationRuntimeState values. + * + * @return known IntegrationRuntimeState values. + */ public static Collection values() { return values(IntegrationRuntimeState.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeStatusOperations.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeStatusOperations.java index 5c0874bd0a7de..d80cd25de4270 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeStatusOperations.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeStatusOperations.java @@ -10,7 +10,9 @@ /** Resource collection API of IntegrationRuntimeStatusOperations. */ public interface IntegrationRuntimeStatusOperations { /** - * Get the integration runtime status. + * Get integration runtime status + * + *

Get the integration runtime status. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -23,7 +25,9 @@ public interface IntegrationRuntimeStatusOperations { IntegrationRuntimeStatusResponse get(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Get the integration runtime status. + * Get integration runtime status + * + *

Get the integration runtime status. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeType.java index 6df4de3415864..3bae1213d2d47 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IntegrationRuntimeType. */ +/** The type of integration runtime. */ public final class IntegrationRuntimeType extends ExpandableStringEnum { /** Static value Managed for IntegrationRuntimeType. */ public static final IntegrationRuntimeType MANAGED = fromString("Managed"); @@ -27,7 +27,11 @@ public static IntegrationRuntimeType fromString(String name) { return fromString(name, IntegrationRuntimeType.class); } - /** @return known IntegrationRuntimeType values. */ + /** + * Gets known IntegrationRuntimeType values. + * + * @return known IntegrationRuntimeType values. + */ public static Collection values() { return values(IntegrationRuntimeType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeUpdateResult.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeUpdateResult.java index 56b9b711f268b..b8f12a2d02852 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeUpdateResult.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeUpdateResult.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IntegrationRuntimeUpdateResult. */ +/** The result of the last integration runtime node update. */ public final class IntegrationRuntimeUpdateResult extends ExpandableStringEnum { /** Static value None for IntegrationRuntimeUpdateResult. */ public static final IntegrationRuntimeUpdateResult NONE = fromString("None"); @@ -30,7 +30,11 @@ public static IntegrationRuntimeUpdateResult fromString(String name) { return fromString(name, IntegrationRuntimeUpdateResult.class); } - /** @return known IntegrationRuntimeUpdateResult values. */ + /** + * Gets known IntegrationRuntimeUpdateResult values. + * + * @return known IntegrationRuntimeUpdateResult values. + */ public static Collection values() { return values(IntegrationRuntimeUpdateResult.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeVNetProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeVNetProperties.java index 0545f902fd3bf..603a78cf3ee5a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeVNetProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimeVNetProperties.java @@ -29,15 +29,13 @@ public final class IntegrationRuntimeVNetProperties { private String subnet; /* - * Resource IDs of the public IP addresses that this integration runtime - * will use. + * Resource IDs of the public IP addresses that this integration runtime will use. */ @JsonProperty(value = "publicIPs") private List publicIPs; /* - * The ID of subnet, to which this Azure-SSIS integration runtime will be - * joined. + * The ID of subnet, to which this Azure-SSIS integration runtime will be joined. */ @JsonProperty(value = "subnetId") private String subnetId; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimes.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimes.java index 1669274d5db8f..88be091b5cddf 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimes.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IntegrationRuntimes.java @@ -11,7 +11,9 @@ /** Resource collection API of IntegrationRuntimes. */ public interface IntegrationRuntimes { /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface IntegrationRuntimes { IntegrationRuntimeResource get(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -45,7 +49,9 @@ Response getWithResponse( Context context); /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -57,7 +63,9 @@ Response getWithResponse( void delete(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -70,7 +78,9 @@ Response getWithResponse( void delete(String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -82,7 +92,9 @@ Response getWithResponse( void upgrade(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Upgrade an integration runtime. + * Upgrade integration runtime + * + *

Upgrade an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -97,7 +109,9 @@ Response upgradeWithResponse( String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * List all integration runtimes. + * List integration runtimes + * + *

List all integration runtimes. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -109,7 +123,9 @@ Response upgradeWithResponse( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List all integration runtimes. + * List integration runtimes + * + *

List all integration runtimes. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -123,7 +139,9 @@ PagedIterable listByWorkspace( String resourceGroupName, String workspaceName, Context context); /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -137,7 +155,9 @@ IntegrationRuntimeStatusResponse start( String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Start an integration runtime. + * Start integration runtime + * + *

Start an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -152,7 +172,9 @@ IntegrationRuntimeStatusResponse start( String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -164,7 +186,9 @@ IntegrationRuntimeStatusResponse start( void stop(String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Stop an integration runtime. + * Stop integration runtime + * + *

Stop an integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -177,7 +201,9 @@ IntegrationRuntimeStatusResponse start( void stop(String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + * Gets list of outbound network dependencies for a given Azure-SSIS integration runtime. + * + *

Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -191,7 +217,9 @@ IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse listOutboundNetwo String resourceGroupName, String workspaceName, String integrationRuntimeName); /** - * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + * Gets list of outbound network dependencies for a given Azure-SSIS integration runtime. + * + *

Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -260,7 +288,9 @@ void disableInteractiveQuery( String resourceGroupName, String workspaceName, String integrationRuntimeName, Context context); /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -271,7 +301,9 @@ void disableInteractiveQuery( IntegrationRuntimeResource getById(String id); /** - * Get an integration runtime. + * Get integration runtime + * + *

Get an integration runtime. * * @param id the resource ID. * @param ifNoneMatch ETag of the integration runtime entity. Should only be specified for get. If the ETag matches @@ -285,7 +317,9 @@ void disableInteractiveQuery( Response getByIdWithResponse(String id, String ifNoneMatch, Context context); /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -295,7 +329,9 @@ void disableInteractiveQuery( void deleteById(String id); /** - * Delete an integration runtime. + * Delete integration runtime + * + *

Delete an integration runtime. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IotHubDataFormat.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IotHubDataFormat.java index a3745931996e8..1ad3fdd8da7c2 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IotHubDataFormat.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IotHubDataFormat.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for IotHubDataFormat. */ +/** The data format of the message. Optionally the data format can be added to each message. */ public final class IotHubDataFormat extends ExpandableStringEnum { /** Static value MULTIJSON for IotHubDataFormat. */ public static final IotHubDataFormat MULTIJSON = fromString("MULTIJSON"); @@ -69,7 +69,11 @@ public static IotHubDataFormat fromString(String name) { return fromString(name, IotHubDataFormat.class); } - /** @return known IotHubDataFormat values. */ + /** + * Gets known IotHubDataFormat values. + * + * @return known IotHubDataFormat values. + */ public static Collection values() { return values(IotHubDataFormat.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IpFirewallRuleInfo.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IpFirewallRuleInfo.java index db2060a93f543..e408476bcd505 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IpFirewallRuleInfo.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/IpFirewallRuleInfo.java @@ -52,6 +52,13 @@ public interface IpFirewallRuleInfo { */ String startIpAddress(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.IpFirewallRuleInfoInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Key.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Key.java index d941f678275a0..69e8ce8344e01 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Key.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Key.java @@ -44,6 +44,13 @@ public interface Key { */ String keyVaultUrl(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.KeyInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Kind.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Kind.java index 5215ca1318b7f..f38836b57a5e6 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Kind.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Kind.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for Kind. */ +/** Kind of the database. */ public final class Kind extends ExpandableStringEnum { /** Static value ReadWrite for Kind. */ public static final Kind READ_WRITE = fromString("ReadWrite"); @@ -27,7 +27,11 @@ public static Kind fromString(String name) { return fromString(name, Kind.class); } - /** @return known Kind values. */ + /** + * Gets known Kind values. + * + * @return known Kind values. + */ public static Collection values() { return values(Kind.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/KustoPool.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/KustoPool.java index 3b62fe1f12ed1..3effbe4207e10 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/KustoPool.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/KustoPool.java @@ -154,6 +154,13 @@ public interface KustoPool { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.KustoPoolInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/KustoPools.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/KustoPools.java index b038c38ad3e81..69936574f838a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/KustoPools.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/KustoPools.java @@ -58,7 +58,9 @@ Response checkNameAvailabilityWithResponse( String location, KustoPoolCheckNameRequest kustoPoolName, Context context); /** - * List all Kusto pools. + * List Kusto pools + * + *

List all Kusto pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -70,7 +72,9 @@ Response checkNameAvailabilityWithResponse( KustoPoolListResult listByWorkspace(String resourceGroupName, String workspaceName); /** - * List all Kusto pools. + * List Kusto pools + * + *

List all Kusto pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LanguageExtensionName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LanguageExtensionName.java index ad0fb94280cf9..01cf9fb3c7132 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LanguageExtensionName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LanguageExtensionName.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for LanguageExtensionName. */ +/** Language extension that can run within KQL query. */ public final class LanguageExtensionName extends ExpandableStringEnum { /** Static value PYTHON for LanguageExtensionName. */ public static final LanguageExtensionName PYTHON = fromString("PYTHON"); @@ -27,7 +27,11 @@ public static LanguageExtensionName fromString(String name) { return fromString(name, LanguageExtensionName.class); } - /** @return known LanguageExtensionName values. */ + /** + * Gets known LanguageExtensionName values. + * + * @return known LanguageExtensionName values. + */ public static Collection values() { return values(LanguageExtensionName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Libraries.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Libraries.java index d97e704c32387..9d5b7e3deae22 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Libraries.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Libraries.java @@ -10,7 +10,9 @@ /** Resource collection API of Libraries. */ public interface Libraries { /** - * Get library by name in a workspace. + * Get library by name. + * + *

Get library by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param libraryName Library name. @@ -23,7 +25,9 @@ public interface Libraries { LibraryResource get(String resourceGroupName, String libraryName, String workspaceName); /** - * Get library by name in a workspace. + * Get library by name. + * + *

Get library by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param libraryName Library name. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LibrariesOperations.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LibrariesOperations.java index 934345f872d08..f5639ab925fd1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LibrariesOperations.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LibrariesOperations.java @@ -10,7 +10,9 @@ /** Resource collection API of LibrariesOperations. */ public interface LibrariesOperations { /** - * List libraries in a workspace. + * List the libraries in a workspace. + * + *

List libraries in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -22,7 +24,9 @@ public interface LibrariesOperations { PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List libraries in a workspace. + * List the libraries in a workspace. + * + *

List libraries in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LibraryRequirements.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LibraryRequirements.java index 7c5743e7b2c83..afe06406ba749 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LibraryRequirements.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LibraryRequirements.java @@ -8,7 +8,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.time.OffsetDateTime; -/** Spark pool library version requirements Library requirements for a Big Data pool powered by Apache Spark. */ +/** + * Spark pool library version requirements + * + *

Library requirements for a Big Data pool powered by Apache Spark. + */ @Fluent public final class LibraryRequirements { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LinkedIntegrationRuntime.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LinkedIntegrationRuntime.java index c5c0e620f2626..a820081703ea5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LinkedIntegrationRuntime.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/LinkedIntegrationRuntime.java @@ -24,15 +24,13 @@ public final class LinkedIntegrationRuntime { private String subscriptionId; /* - * The name of the workspace for which the linked integration runtime - * belong to. + * The name of the workspace for which the linked integration runtime belong to. */ @JsonProperty(value = "dataFactoryName", access = JsonProperty.Access.WRITE_ONLY) private String dataFactoryName; /* - * The location of the workspace for which the linked integration runtime - * belong to. + * The location of the workspace for which the linked integration runtime belong to. */ @JsonProperty(value = "dataFactoryLocation", access = JsonProperty.Access.WRITE_ONLY) private String dataFactoryLocation; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity.java index 3b44b6d4530cd..54e8d14acd37c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity.java @@ -14,20 +14,20 @@ public class ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToMa * Desired state */ @JsonProperty(value = "desiredState") - private ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState desiredState; + private DesiredState desiredState; /* * Actual state */ @JsonProperty(value = "actualState", access = JsonProperty.Access.WRITE_ONLY) - private ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState actualState; + private ActualState actualState; /** * Get the desiredState property: Desired state. * * @return the desiredState value. */ - public ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState desiredState() { + public DesiredState desiredState() { return this.desiredState; } @@ -38,7 +38,7 @@ public ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedI * @return the ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity object itself. */ public ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity withDesiredState( - ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState desiredState) { + DesiredState desiredState) { this.desiredState = desiredState; return this; } @@ -48,7 +48,7 @@ public ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedI * * @return the actualState value. */ - public ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState actualState() { + public ActualState actualState() { return this.actualState; } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState.java deleted file mode 100644 index ecbd4947ee4b6..0000000000000 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState.java +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.synapse.models; - -import com.azure.core.util.ExpandableStringEnum; -import com.fasterxml.jackson.annotation.JsonCreator; -import java.util.Collection; - -/** Defines values for ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState. */ -public final class ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState - extends ExpandableStringEnum< - ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState> { - /** - * Static value Enabling for - * ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState. - */ - public static final ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState - ENABLING = fromString("Enabling"); - - /** - * Static value Enabled for - * ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState. - */ - public static final ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState - ENABLED = fromString("Enabled"); - - /** - * Static value Disabling for - * ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState. - */ - public static final ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState - DISABLING = fromString("Disabling"); - - /** - * Static value Disabled for - * ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState. - */ - public static final ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState - DISABLED = fromString("Disabled"); - - /** - * Static value Unknown for - * ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState. - */ - public static final ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState - UNKNOWN = fromString("Unknown"); - - /** - * Creates or finds a ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState - * from its string representation. - * - * @param name a name to look for. - * @return the corresponding - * ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState. - */ - @JsonCreator - public static ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState - fromString(String name) { - return fromString( - name, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState.class); - } - - /** - * @return known ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState values. - */ - public static Collection< - ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState> - values() { - return values( - ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityActualState.class); - } -} diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState.java deleted file mode 100644 index b7a7b7b909991..0000000000000 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState.java +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.synapse.models; - -import com.azure.core.util.ExpandableStringEnum; -import com.fasterxml.jackson.annotation.JsonCreator; -import java.util.Collection; - -/** Defines values for ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState. */ -public final class ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState - extends ExpandableStringEnum< - ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState> { - /** - * Static value Enabled for - * ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState. - */ - public static final ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState - ENABLED = fromString("Enabled"); - - /** - * Static value Disabled for - * ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState. - */ - public static final ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState - DISABLED = fromString("Disabled"); - - /** - * Creates or finds a ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState - * from its string representation. - * - * @param name a name to look for. - * @return the corresponding - * ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState. - */ - @JsonCreator - public static ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState - fromString(String name) { - return fromString( - name, ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState.class); - } - - /** - * @return known ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState - * values. - */ - public static Collection< - ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState> - values() { - return values( - ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState.class); - } -} diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIntegrationRuntime.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIntegrationRuntime.java index c5c6bcc8de8e9..88d804573f22d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIntegrationRuntime.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIntegrationRuntime.java @@ -18,8 +18,7 @@ @Fluent public final class ManagedIntegrationRuntime extends IntegrationRuntime { /* - * Integration runtime state, only valid for managed dedicated integration - * runtime. + * Integration runtime state, only valid for managed dedicated integration runtime. */ @JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY) private IntegrationRuntimeState state; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIntegrationRuntimeNodeStatus.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIntegrationRuntimeNodeStatus.java index 5d6ddfb74021f..69164c0fe815e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIntegrationRuntimeNodeStatus.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagedIntegrationRuntimeNodeStatus.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ManagedIntegrationRuntimeNodeStatus. */ +/** The managed integration runtime node status. */ public final class ManagedIntegrationRuntimeNodeStatus extends ExpandableStringEnum { /** Static value Starting for ManagedIntegrationRuntimeNodeStatus. */ @@ -34,7 +34,11 @@ public static ManagedIntegrationRuntimeNodeStatus fromString(String name) { return fromString(name, ManagedIntegrationRuntimeNodeStatus.class); } - /** @return known ManagedIntegrationRuntimeNodeStatus values. */ + /** + * Gets known ManagedIntegrationRuntimeNodeStatus values. + * + * @return known ManagedIntegrationRuntimeNodeStatus values. + */ public static Collection values() { return values(ManagedIntegrationRuntimeNodeStatus.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagementOperationState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagementOperationState.java index 0ca5b66833587..eac17b355b9db 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagementOperationState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ManagementOperationState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ManagementOperationState. */ +/** The operation state. */ public final class ManagementOperationState extends ExpandableStringEnum { /** Static value Pending for ManagementOperationState. */ public static final ManagementOperationState PENDING = fromString("Pending"); @@ -39,7 +39,11 @@ public static ManagementOperationState fromString(String name) { return fromString(name, ManagementOperationState.class); } - /** @return known ManagementOperationState values. */ + /** + * Gets known ManagementOperationState values. + * + * @return known ManagementOperationState values. + */ public static Collection values() { return values(ManagementOperationState.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/NodeSize.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/NodeSize.java index 884833d40e482..5ef27a30d4f3e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/NodeSize.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/NodeSize.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for NodeSize. */ +/** The level of compute power that each node in the Big Data pool has. */ public final class NodeSize extends ExpandableStringEnum { /** Static value None for NodeSize. */ public static final NodeSize NONE = fromString("None"); @@ -42,7 +42,11 @@ public static NodeSize fromString(String name) { return fromString(name, NodeSize.class); } - /** @return known NodeSize values. */ + /** + * Gets known NodeSize values. + * + * @return known NodeSize values. + */ public static Collection values() { return values(NodeSize.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/NodeSizeFamily.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/NodeSizeFamily.java index 4f2d43c5d50c7..212e641d89365 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/NodeSizeFamily.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/NodeSizeFamily.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for NodeSizeFamily. */ +/** The kind of nodes that the Big Data pool provides. */ public final class NodeSizeFamily extends ExpandableStringEnum { /** Static value None for NodeSizeFamily. */ public static final NodeSizeFamily NONE = fromString("None"); @@ -33,7 +33,11 @@ public static NodeSizeFamily fromString(String name) { return fromString(name, NodeSizeFamily.class); } - /** @return known NodeSizeFamily values. */ + /** + * Gets known NodeSizeFamily values. + * + * @return known NodeSizeFamily values. + */ public static Collection values() { return values(NodeSizeFamily.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Operation.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Operation.java index 072ee9869ae0c..81c52656b80e9 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Operation.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Operation.java @@ -9,7 +9,9 @@ /** An immutable client-side representation of Operation. */ public interface Operation { /** - * Gets the name property: The operation name. This is of the format {provider}/{resource}/{operation}. + * Gets the name property: The operation name. + * + *

This is of the format {provider}/{resource}/{operation}. * * @return the name value. */ diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OperationDisplay.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OperationDisplay.java index 844a939733fc5..18dabffaecc7c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OperationDisplay.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OperationDisplay.java @@ -17,7 +17,9 @@ public final class OperationDisplay { private String provider; /* - * The operation type. For example: read, write, delete. + * The operation type. + * + * For example: read, write, delete. */ @JsonProperty(value = "operation") private String operation; @@ -55,7 +57,9 @@ public OperationDisplay withProvider(String provider) { } /** - * Get the operation property: The operation type. For example: read, write, delete. + * Get the operation property: The operation type. + * + *

For example: read, write, delete. * * @return the operation value. */ @@ -64,7 +68,9 @@ public String operation() { } /** - * Set the operation property: The operation type. For example: read, write, delete. + * Set the operation property: The operation type. + * + *

For example: read, write, delete. * * @param operation the operation value to set. * @return the OperationDisplay object itself. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OperationStatus.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OperationStatus.java index 6255888db6a89..b92c232842192 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OperationStatus.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OperationStatus.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for OperationStatus. */ +/** Operation status. */ public final class OperationStatus extends ExpandableStringEnum { /** Static value InProgress for OperationStatus. */ public static final OperationStatus IN_PROGRESS = fromString("InProgress"); @@ -33,7 +33,11 @@ public static OperationStatus fromString(String name) { return fromString(name, OperationStatus.class); } - /** @return known OperationStatus values. */ + /** + * Gets known OperationStatus values. + * + * @return known OperationStatus values. + */ public static Collection values() { return values(OperationStatus.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Operations.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Operations.java index 14988da306bcc..3582ece323216 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Operations.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Operations.java @@ -11,7 +11,9 @@ /** Resource collection API of Operations. */ public interface Operations { /** - * Check whether a workspace name is available. + * Check name availability + * + *

Check whether a workspace name is available. * * @param request The check request. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -22,7 +24,9 @@ public interface Operations { CheckNameAvailabilityResponse checkNameAvailability(CheckNameAvailabilityRequest request); /** - * Check whether a workspace name is available. + * Check name availability + * + *

Check whether a workspace name is available. * * @param request The check request. * @param context The context to associate with this operation. @@ -35,7 +39,9 @@ Response checkNameAvailabilityWithResponse( CheckNameAvailabilityRequest request, Context context); /** - * Get all available operations. + * All operations + * + *

Get all available operations. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -44,7 +50,9 @@ Response checkNameAvailabilityWithResponse( List list(); /** - * Get all available operations. + * All operations + * + *

Get all available operations. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -55,7 +63,9 @@ Response checkNameAvailabilityWithResponse( Response> listWithResponse(Context context); /** - * Get the result of an operation. + * Get operation result + * + *

Get the result of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -67,7 +77,9 @@ Response checkNameAvailabilityWithResponse( void getLocationHeaderResult(String resourceGroupName, String workspaceName, String operationId); /** - * Get the result of an operation. + * Get operation result + * + *

Get the result of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -82,7 +94,9 @@ Response getLocationHeaderResultWithResponse( String resourceGroupName, String workspaceName, String operationId, Context context); /** - * Get the status of an operation. + * Get operation status + * + *

Get the status of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -95,7 +109,9 @@ Response getLocationHeaderResultWithResponse( OperationResource getAzureAsyncHeaderResult(String resourceGroupName, String workspaceName, String operationId); /** - * Get the status of an operation. + * Get operation status + * + *

Get the status of an operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OptimizedAutoscale.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OptimizedAutoscale.java index 3346badc372ea..936f71bed2bb9 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OptimizedAutoscale.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/OptimizedAutoscale.java @@ -17,8 +17,7 @@ public final class OptimizedAutoscale { private int version; /* - * A boolean value that indicate if the optimized autoscale feature is - * enabled or not. + * A boolean value that indicate if the optimized autoscale feature is enabled or not. */ @JsonProperty(value = "isEnabled", required = true) private boolean isEnabled; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrincipalType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrincipalType.java index aac49db2a5eca..6cc457ea0888c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrincipalType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrincipalType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for PrincipalType. */ +/** Principal type. */ public final class PrincipalType extends ExpandableStringEnum { /** Static value App for PrincipalType. */ public static final PrincipalType APP = fromString("App"); @@ -30,7 +30,11 @@ public static PrincipalType fromString(String name) { return fromString(name, PrincipalType.class); } - /** @return known PrincipalType values. */ + /** + * Gets known PrincipalType values. + * + * @return known PrincipalType values. + */ public static Collection values() { return values(PrincipalType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrincipalsModificationKind.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrincipalsModificationKind.java index b70fd89cef979..91f681fa47e9d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrincipalsModificationKind.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrincipalsModificationKind.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for PrincipalsModificationKind. */ +/** The principals modification kind of the database. */ public final class PrincipalsModificationKind extends ExpandableStringEnum { /** Static value Union for PrincipalsModificationKind. */ public static final PrincipalsModificationKind UNION = fromString("Union"); @@ -30,7 +30,11 @@ public static PrincipalsModificationKind fromString(String name) { return fromString(name, PrincipalsModificationKind.class); } - /** @return known PrincipalsModificationKind values. */ + /** + * Gets known PrincipalsModificationKind values. + * + * @return known PrincipalsModificationKind values. + */ public static Collection values() { return values(PrincipalsModificationKind.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkHub.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkHub.java index e1bc8de87fc84..7156344789983 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkHub.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkHub.java @@ -75,6 +75,13 @@ public interface PrivateLinkHub { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.PrivateLinkHubInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkHubPrivateLinkResources.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkHubPrivateLinkResources.java index 3515646143685..baf46a0fcf191 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkHubPrivateLinkResources.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkHubPrivateLinkResources.java @@ -11,7 +11,9 @@ /** Resource collection API of PrivateLinkHubPrivateLinkResources. */ public interface PrivateLinkHubPrivateLinkResources { /** - * Get all private link resources for a private link hub. + * Private Link Resources + * + *

Get all private link resources for a private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -23,7 +25,9 @@ public interface PrivateLinkHubPrivateLinkResources { PagedIterable list(String resourceGroupName, String privateLinkHubName); /** - * Get all private link resources for a private link hub. + * Private Link Resources + * + *

Get all private link resources for a private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -36,7 +40,9 @@ public interface PrivateLinkHubPrivateLinkResources { PagedIterable list(String resourceGroupName, String privateLinkHubName, Context context); /** - * Get private link resource in private link hub. + * Get Private Link Hub Private Link Resource + * + *

Get private link resource in private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. @@ -49,7 +55,9 @@ public interface PrivateLinkHubPrivateLinkResources { PrivateLinkResource get(String resourceGroupName, String privateLinkHubName, String privateLinkResourceName); /** - * Get private link resource in private link hub. + * Get Private Link Hub Private Link Resource + * + *

Get private link resource in private link hub. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateLinkHubName The name of the private link hub. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkResources.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkResources.java index 52b4cd114fd97..0e20a78e4caa6 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkResources.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/PrivateLinkResources.java @@ -11,7 +11,9 @@ /** Resource collection API of PrivateLinkResources. */ public interface PrivateLinkResources { /** - * Get all private link resources for a workspaces. + * Private Link Resources + * + *

Get all private link resources for a workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -23,7 +25,9 @@ public interface PrivateLinkResources { PagedIterable list(String resourceGroupName, String workspaceName); /** - * Get all private link resources for a workspaces. + * Private Link Resources + * + *

Get all private link resources for a workspaces. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -36,7 +40,9 @@ public interface PrivateLinkResources { PagedIterable list(String resourceGroupName, String workspaceName, Context context); /** - * Get private link resource in workspace. + * Get Private Link Resource + * + *

Get private link resource in workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -49,7 +55,9 @@ public interface PrivateLinkResources { PrivateLinkResource get(String resourceGroupName, String workspaceName, String privateLinkResourceName); /** - * Get private link resource in workspace. + * Get Private Link Resource + * + *

Get private link resource in workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ProvisioningState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ProvisioningState.java index cfa54d58adde8..d841fecbd201c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ProvisioningState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ProvisioningState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ProvisioningState. */ +/** Resource provisioning state. */ public final class ProvisioningState extends ExpandableStringEnum { /** Static value Provisioning for ProvisioningState. */ public static final ProvisioningState PROVISIONING = fromString("Provisioning"); @@ -36,7 +36,11 @@ public static ProvisioningState fromString(String name) { return fromString(name, ProvisioningState.class); } - /** @return known ProvisioningState values. */ + /** + * Gets known ProvisioningState values. + * + * @return known ProvisioningState values. + */ public static Collection values() { return values(ProvisioningState.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/QueryMetricUnit.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/QueryMetricUnit.java index 6a7675d3dac5e..6af20367b4416 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/QueryMetricUnit.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/QueryMetricUnit.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for QueryMetricUnit. */ +/** The unit of measurement. */ public enum QueryMetricUnit { /** Enum value percentage. */ PERCENTAGE("percentage"), @@ -33,6 +33,9 @@ public enum QueryMetricUnit { */ @JsonCreator public static QueryMetricUnit fromString(String value) { + if (value == null) { + return null; + } QueryMetricUnit[] items = QueryMetricUnit.values(); for (QueryMetricUnit item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -42,6 +45,7 @@ public static QueryMetricUnit fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Reason.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Reason.java index 125c20e9d92e3..3ed7084f4fc7d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Reason.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Reason.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for Reason. */ +/** Message providing the reason why the given name is invalid. */ public final class Reason extends ExpandableStringEnum { /** Static value Invalid for Reason. */ public static final Reason INVALID = fromString("Invalid"); @@ -27,7 +27,11 @@ public static Reason fromString(String name) { return fromString(name, Reason.class); } - /** @return known Reason values. */ + /** + * Gets known Reason values. + * + * @return known Reason values. + */ public static Collection values() { return values(Reason.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/RecommendedSensitivityLabelUpdateKind.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/RecommendedSensitivityLabelUpdateKind.java index b1ab21a6723d6..01c8f0a718a91 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/RecommendedSensitivityLabelUpdateKind.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/RecommendedSensitivityLabelUpdateKind.java @@ -30,6 +30,9 @@ public enum RecommendedSensitivityLabelUpdateKind { */ @JsonCreator public static RecommendedSensitivityLabelUpdateKind fromString(String value) { + if (value == null) { + return null; + } RecommendedSensitivityLabelUpdateKind[] items = RecommendedSensitivityLabelUpdateKind.values(); for (RecommendedSensitivityLabelUpdateKind item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +42,7 @@ public static RecommendedSensitivityLabelUpdateKind fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ReplicationRole.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ReplicationRole.java index d43854acd35ef..fd8a672fe692c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ReplicationRole.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ReplicationRole.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for ReplicationRole. */ +/** The role of the Sql pool in the replication link. */ public enum ReplicationRole { /** Enum value Primary. */ PRIMARY("Primary"), @@ -39,6 +39,9 @@ public enum ReplicationRole { */ @JsonCreator public static ReplicationRole fromString(String value) { + if (value == null) { + return null; + } ReplicationRole[] items = ReplicationRole.values(); for (ReplicationRole item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -48,6 +51,7 @@ public static ReplicationRole fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ReplicationState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ReplicationState.java index b20732fbb796b..6215cd79da074 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ReplicationState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ReplicationState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ReplicationState. */ +/** The replication state for the replication link. */ public final class ReplicationState extends ExpandableStringEnum { /** Static value PENDING for ReplicationState. */ public static final ReplicationState PENDING = fromString("PENDING"); @@ -33,7 +33,11 @@ public static ReplicationState fromString(String name) { return fromString(name, ReplicationState.class); } - /** @return known ReplicationState values. */ + /** + * Gets known ReplicationState values. + * + * @return known ReplicationState values. + */ public static Collection values() { return values(ReplicationState.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ResourceIdentityType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ResourceIdentityType.java index aeae93e555dee..b02f9cee3f146 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ResourceIdentityType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ResourceIdentityType.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for ResourceIdentityType. */ +/** The type of managed identity for the workspace. */ public enum ResourceIdentityType { /** Enum value None. */ NONE("None"), @@ -33,6 +33,9 @@ public enum ResourceIdentityType { */ @JsonCreator public static ResourceIdentityType fromString(String value) { + if (value == null) { + return null; + } ResourceIdentityType[] items = ResourceIdentityType.values(); for (ResourceIdentityType item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -42,6 +45,7 @@ public static ResourceIdentityType fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ResourceProvisioningState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ResourceProvisioningState.java index cdebe877972a5..77288362c8556 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ResourceProvisioningState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ResourceProvisioningState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ResourceProvisioningState. */ +/** The provisioned state of the resource. */ public final class ResourceProvisioningState extends ExpandableStringEnum { /** Static value Running for ResourceProvisioningState. */ public static final ResourceProvisioningState RUNNING = fromString("Running"); @@ -42,7 +42,11 @@ public static ResourceProvisioningState fromString(String name) { return fromString(name, ResourceProvisioningState.class); } - /** @return known ResourceProvisioningState values. */ + /** + * Gets known ResourceProvisioningState values. + * + * @return known ResourceProvisioningState values. + */ public static Collection values() { return values(ResourceProvisioningState.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/RestorePointType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/RestorePointType.java index 687f850d62b35..b9aa31fc79fcb 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/RestorePointType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/RestorePointType.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for RestorePointType. */ +/** The type of restore point. */ public enum RestorePointType { /** Enum value CONTINUOUS. */ CONTINUOUS("CONTINUOUS"), @@ -30,6 +30,9 @@ public enum RestorePointType { */ @JsonCreator public static RestorePointType fromString(String value) { + if (value == null) { + return null; + } RestorePointType[] items = RestorePointType.values(); for (RestorePointType item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +42,7 @@ public static RestorePointType fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyName.java index b640b14347b69..976c5cf1aa7c1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyName.java @@ -24,7 +24,11 @@ public static SecurityAlertPolicyName fromString(String name) { return fromString(name, SecurityAlertPolicyName.class); } - /** @return known SecurityAlertPolicyName values. */ + /** + * Gets known SecurityAlertPolicyName values. + * + * @return known SecurityAlertPolicyName values. + */ public static Collection values() { return values(SecurityAlertPolicyName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyNameAutoGenerated.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyNameAutoGenerated.java index 162f9409b4e39..fc637a5c31913 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyNameAutoGenerated.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyNameAutoGenerated.java @@ -25,7 +25,11 @@ public static SecurityAlertPolicyNameAutoGenerated fromString(String name) { return fromString(name, SecurityAlertPolicyNameAutoGenerated.class); } - /** @return known SecurityAlertPolicyNameAutoGenerated values. */ + /** + * Gets known SecurityAlertPolicyNameAutoGenerated values. + * + * @return known SecurityAlertPolicyNameAutoGenerated values. + */ public static Collection values() { return values(SecurityAlertPolicyNameAutoGenerated.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyState.java index ed7db2ab56c9c..856f41ff5be99 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SecurityAlertPolicyState.java @@ -7,7 +7,10 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for SecurityAlertPolicyState. */ +/** + * 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. + */ public enum SecurityAlertPolicyState { /** Enum value New. */ NEW("New"), @@ -33,6 +36,9 @@ public enum SecurityAlertPolicyState { */ @JsonCreator public static SecurityAlertPolicyState fromString(String value) { + if (value == null) { + return null; + } SecurityAlertPolicyState[] items = SecurityAlertPolicyState.values(); for (SecurityAlertPolicyState item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -42,6 +48,7 @@ public static SecurityAlertPolicyState fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SelfHostedIntegrationRuntime.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SelfHostedIntegrationRuntime.java index 19dd6d6af1973..3b914b490bd7c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SelfHostedIntegrationRuntime.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SelfHostedIntegrationRuntime.java @@ -16,8 +16,8 @@ @Fluent public final class SelfHostedIntegrationRuntime extends IntegrationRuntime { /* - * When this property is not null, means this is a linked integration - * runtime. The property is used to access original integration runtime. + * When this property is not null, means this is a linked integration runtime. The property is used to access + * original integration runtime. */ @JsonProperty(value = "typeProperties") private SelfHostedIntegrationRuntimeTypeProperties innerTypeProperties; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SelfHostedIntegrationRuntimeNodeStatus.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SelfHostedIntegrationRuntimeNodeStatus.java index 1cfd24fd64c3e..38a2219f8b33b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SelfHostedIntegrationRuntimeNodeStatus.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SelfHostedIntegrationRuntimeNodeStatus.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for SelfHostedIntegrationRuntimeNodeStatus. */ +/** Status of the integration runtime node. */ public final class SelfHostedIntegrationRuntimeNodeStatus extends ExpandableStringEnum { /** Static value NeedRegistration for SelfHostedIntegrationRuntimeNodeStatus. */ @@ -43,7 +43,11 @@ public static SelfHostedIntegrationRuntimeNodeStatus fromString(String name) { return fromString(name, SelfHostedIntegrationRuntimeNodeStatus.class); } - /** @return known SelfHostedIntegrationRuntimeNodeStatus values. */ + /** + * Gets known SelfHostedIntegrationRuntimeNodeStatus values. + * + * @return known SelfHostedIntegrationRuntimeNodeStatus values. + */ public static Collection values() { return values(SelfHostedIntegrationRuntimeNodeStatus.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabel.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabel.java index e2e15381268e3..7be7153350371 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabel.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabel.java @@ -102,6 +102,13 @@ public interface SensitivityLabel { */ SensitivityLabelRank rank(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.SensitivityLabelInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelRank.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelRank.java index fa3ef29e33487..70049ee3d6f23 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelRank.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelRank.java @@ -39,6 +39,9 @@ public enum SensitivityLabelRank { */ @JsonCreator public static SensitivityLabelRank fromString(String value) { + if (value == null) { + return null; + } SensitivityLabelRank[] items = SensitivityLabelRank.values(); for (SensitivityLabelRank item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -48,6 +51,7 @@ public static SensitivityLabelRank fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelSource.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelSource.java index a8f20e6084554..c64004260a3ef 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelSource.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelSource.java @@ -30,6 +30,9 @@ public enum SensitivityLabelSource { */ @JsonCreator public static SensitivityLabelSource fromString(String value) { + if (value == null) { + return null; + } SensitivityLabelSource[] items = SensitivityLabelSource.values(); for (SensitivityLabelSource item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +42,7 @@ public static SensitivityLabelSource fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelUpdateKind.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelUpdateKind.java index 285860554c32c..af5c2673005d7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelUpdateKind.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SensitivityLabelUpdateKind.java @@ -30,6 +30,9 @@ public enum SensitivityLabelUpdateKind { */ @JsonCreator public static SensitivityLabelUpdateKind fromString(String value) { + if (value == null) { + return null; + } SensitivityLabelUpdateKind[] items = SensitivityLabelUpdateKind.values(); for (SensitivityLabelUpdateKind item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +42,7 @@ public static SensitivityLabelUpdateKind fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerBlobAuditingPolicy.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerBlobAuditingPolicy.java index 677803058b49b..af99b5e9fd839 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerBlobAuditingPolicy.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerBlobAuditingPolicy.java @@ -175,6 +175,13 @@ public interface ServerBlobAuditingPolicy { */ Boolean isDevopsAuditEnabled(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.ServerBlobAuditingPolicyInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerKeyType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerKeyType.java index 6bc5c5f580427..78a602461ebf2 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerKeyType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerKeyType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ServerKeyType. */ +/** The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. */ public final class ServerKeyType extends ExpandableStringEnum { /** Static value ServiceManaged for ServerKeyType. */ public static final ServerKeyType SERVICE_MANAGED = fromString("ServiceManaged"); @@ -27,7 +27,11 @@ public static ServerKeyType fromString(String name) { return fromString(name, ServerKeyType.class); } - /** @return known ServerKeyType values. */ + /** + * Gets known ServerKeyType values. + * + * @return known ServerKeyType values. + */ public static Collection values() { return values(ServerKeyType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerSecurityAlertPolicy.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerSecurityAlertPolicy.java index a0e76e7f341b7..e2e4a2d648090 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerSecurityAlertPolicy.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerSecurityAlertPolicy.java @@ -92,6 +92,13 @@ public interface ServerSecurityAlertPolicy { */ OffsetDateTime creationTime(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.ServerSecurityAlertPolicyInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerVulnerabilityAssessment.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerVulnerabilityAssessment.java index 8275e8828f274..c8900d462ad89 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerVulnerabilityAssessment.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/ServerVulnerabilityAssessment.java @@ -62,6 +62,13 @@ public interface ServerVulnerabilityAssessment { */ VulnerabilityAssessmentRecurringScansProperties recurringScans(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.ServerVulnerabilityAssessmentInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Sku.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Sku.java index 051131d100236..b519c8dfec9fb 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Sku.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Sku.java @@ -7,7 +7,11 @@ import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; -/** Sku SQL pool SKU. */ +/** + * Sku + * + *

SQL pool SKU. + */ @Fluent public final class Sku { /* @@ -23,9 +27,8 @@ public final class Sku { private String 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. + * 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. */ @JsonProperty(value = "capacity") private Integer capacity; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SkuName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SkuName.java index 76e2f9aa67c90..7d74b436b8ffe 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SkuName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SkuName.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for SkuName. */ +/** SKU name. */ public final class SkuName extends ExpandableStringEnum { /** Static value Compute optimized for SkuName. */ public static final SkuName COMPUTE_OPTIMIZED = fromString("Compute optimized"); @@ -27,7 +27,11 @@ public static SkuName fromString(String name) { return fromString(name, SkuName.class); } - /** @return known SkuName values. */ + /** + * Gets known SkuName values. + * + * @return known SkuName values. + */ public static Collection values() { return values(SkuName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SkuSize.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SkuSize.java index 61896a9c7cbb6..51e01393d29bf 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SkuSize.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SkuSize.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for SkuSize. */ +/** SKU size. */ public final class SkuSize extends ExpandableStringEnum { /** Static value Extra small for SkuSize. */ public static final SkuSize EXTRA_SMALL = fromString("Extra small"); @@ -33,7 +33,11 @@ public static SkuSize fromString(String name) { return fromString(name, SkuSize.class); } - /** @return known SkuSize values. */ + /** + * Gets known SkuSize values. + * + * @return known SkuSize values. + */ public static Collection values() { return values(SkuSize.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigProperties.java index 43df72b961063..898e56b9c9a5c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigProperties.java @@ -8,7 +8,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.time.OffsetDateTime; -/** Spark pool Config Properties SparkConfig Properties for a Big Data pool powered by Apache Spark. */ +/** + * Spark pool Config Properties + * + *

SparkConfig Properties for a Big Data pool powered by Apache Spark. + */ @Fluent public final class SparkConfigProperties { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurationResource.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurationResource.java index db0b4f6e70853..d335a29f539d7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurationResource.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurationResource.java @@ -81,6 +81,13 @@ public interface SparkConfigurationResource { */ OffsetDateTime created(); + /** + * Gets the configMergeRule property: SparkConfiguration merge configs. + * + * @return the configMergeRule value. + */ + Map configMergeRule(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.SparkConfigurationResourceInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurations.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurations.java index b21d62b8db7b5..587df56080aa5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurations.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurations.java @@ -10,7 +10,9 @@ /** Resource collection API of SparkConfigurations. */ public interface SparkConfigurations { /** - * Get SparkConfiguration by name in a workspace. + * Get SparkConfiguration by name. + * + *

Get SparkConfiguration by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param sparkConfigurationName SparkConfiguration name. @@ -23,7 +25,9 @@ public interface SparkConfigurations { SparkConfigurationResource get(String resourceGroupName, String sparkConfigurationName, String workspaceName); /** - * Get SparkConfiguration by name in a workspace. + * Get SparkConfiguration by name. + * + *

Get SparkConfiguration by name in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param sparkConfigurationName SparkConfiguration name. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurationsOperations.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurationsOperations.java index 4c0db89f767ad..cdbfc5f5e8994 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurationsOperations.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SparkConfigurationsOperations.java @@ -10,7 +10,9 @@ /** Resource collection API of SparkConfigurationsOperations. */ public interface SparkConfigurationsOperations { /** - * List sparkConfigurations in a workspace. + * List the sparkConfigurations in a workspace. + * + *

List sparkConfigurations in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -22,7 +24,9 @@ public interface SparkConfigurationsOperations { PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List sparkConfigurations in a workspace. + * List the sparkConfigurations in a workspace. + * + *

List sparkConfigurations in a workspace. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPool.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPool.java index 84a89c0178fd8..ce5d05186c8a1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPool.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPool.java @@ -49,7 +49,9 @@ public interface SqlPool { Map tags(); /** - * Gets the sku property: Sku SQL pool SKU. + * Gets the sku property: Sku + * + *

SQL pool SKU. * * @return the sku value. */ @@ -158,6 +160,13 @@ public interface SqlPool { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolInner object. * @@ -250,9 +259,12 @@ interface WithTags { /** The stage of the SqlPool definition allowing to specify sku. */ interface WithSku { /** - * Specifies the sku property: Sku SQL pool SKU. + * Specifies the sku property: Sku + * + *

SQL pool SKU. * - * @param sku Sku SQL pool SKU. + * @param sku Sku + *

SQL pool SKU. * @return the next definition stage. */ WithCreate withSku(Sku sku); @@ -419,9 +431,12 @@ interface WithTags { /** The stage of the SqlPool update allowing to specify sku. */ interface WithSku { /** - * Specifies the sku property: Sku SQL pool SKU. + * Specifies the sku property: Sku + * + *

SQL pool SKU. * - * @param sku Sku SQL pool SKU. + * @param sku Sku + *

SQL pool SKU. * @return the next definition stage. */ Update withSku(Sku sku); @@ -545,7 +560,9 @@ interface WithStorageAccountType { SqlPool refresh(Context context); /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -554,7 +571,9 @@ interface WithStorageAccountType { Object pause(); /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -565,7 +584,9 @@ interface WithStorageAccountType { Object pause(Context context); /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -574,7 +595,9 @@ interface WithStorageAccountType { Object resume(); /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -585,7 +608,9 @@ interface WithStorageAccountType { Object resume(Context context); /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param parameters The resource move definition for renaming this Sql pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -595,7 +620,9 @@ interface WithStorageAccountType { void rename(ResourceMoveDefinition parameters); /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param parameters The resource move definition for renaming this Sql pool. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolBlobAuditingPolicies.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolBlobAuditingPolicies.java index 7e64565196f8b..8b6bfdcde393d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolBlobAuditingPolicies.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolBlobAuditingPolicies.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolBlobAuditingPolicies. */ public interface SqlPoolBlobAuditingPolicies { /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface SqlPoolBlobAuditingPolicies { SqlPoolBlobAuditingPolicy get(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -68,7 +72,9 @@ PagedIterable listBySqlPool( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -79,7 +85,9 @@ PagedIterable listBySqlPool( SqlPoolBlobAuditingPolicy getById(String id); /** - * Get a SQL pool's blob auditing policy. + * Get a SQL pool's blob auditing policy + * + *

Get a SQL pool's blob auditing policy. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolBlobAuditingPolicy.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolBlobAuditingPolicy.java index c96198dd0401a..b9263d8027d7b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolBlobAuditingPolicy.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolBlobAuditingPolicy.java @@ -150,6 +150,13 @@ public interface SqlPoolBlobAuditingPolicy { */ Boolean isAzureMonitorTargetEnabled(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolBlobAuditingPolicyInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolConnectionPolicies.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolConnectionPolicies.java index f15a83d3178ed..361c8a5a72c49 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolConnectionPolicies.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolConnectionPolicies.java @@ -10,7 +10,9 @@ /** Resource collection API of SqlPoolConnectionPolicies. */ public interface SqlPoolConnectionPolicies { /** - * Get a Sql pool's connection policy, which is used with table auditing. + * Get a Sql pool's connection policy, which is used with table auditing + * + *

Get a Sql pool's connection policy, which is used with table auditing. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ SqlPoolConnectionPolicy get( String resourceGroupName, String workspaceName, String sqlPoolName, ConnectionPolicyName connectionPolicyName); /** - * Get a Sql pool's connection policy, which is used with table auditing. + * Get a Sql pool's connection policy, which is used with table auditing + * + *

Get a Sql pool's connection policy, which is used with table auditing. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolDataWarehouseUserActivities.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolDataWarehouseUserActivities.java index ca783daa8a5e0..2f63710ca5053 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolDataWarehouseUserActivities.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolDataWarehouseUserActivities.java @@ -10,7 +10,9 @@ /** Resource collection API of SqlPoolDataWarehouseUserActivities. */ public interface SqlPoolDataWarehouseUserActivities { /** - * Gets the user activities of a SQL pool which includes running and suspended queries. + * Get SQL pool user activities + * + *

Gets the user activities of a SQL pool which includes running and suspended queries. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -28,7 +30,9 @@ DataWarehouseUserActivities get( DataWarehouseUserActivityName dataWarehouseUserActivityName); /** - * Gets the user activities of a SQL pool which includes running and suspended queries. + * Get SQL pool user activities + * + *

Gets the user activities of a SQL pool which includes running and suspended queries. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolGeoBackupPolicies.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolGeoBackupPolicies.java index 9ac67aadadaa0..be9d2160dceca 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolGeoBackupPolicies.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolGeoBackupPolicies.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolGeoBackupPolicies. */ public interface SqlPoolGeoBackupPolicies { /** - * Get list of SQL pool geo backup policies. + * List SQL pool geo backup policies + * + *

Get list of SQL pool geo backup policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface SqlPoolGeoBackupPolicies { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get list of SQL pool geo backup policies. + * List SQL pool geo backup policies + * + *

Get list of SQL pool geo backup policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -39,7 +43,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -54,7 +60,9 @@ GeoBackupPolicy get( String resourceGroupName, String workspaceName, String sqlPoolName, GeoBackupPolicyName geoBackupPolicyName); /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -74,7 +82,9 @@ Response getWithResponse( Context context); /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -85,7 +95,9 @@ Response getWithResponse( GeoBackupPolicy getById(String id); /** - * Get the specified SQL pool geo backup policy. + * Get a SQL pool geo backup policy + * + *

Get the specified SQL pool geo backup policy. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolInfoListResult.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolInfoListResult.java index 897022c683f8d..9bd1557ff55da 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolInfoListResult.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolInfoListResult.java @@ -9,7 +9,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; -/** SQL pool collection List of SQL pools. */ +/** + * SQL pool collection + * + *

List of SQL pools. + */ @Fluent public final class SqlPoolInfoListResult { /* diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolMaintenanceWindowOptions.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolMaintenanceWindowOptions.java index 99b81ecac1b7f..46f7ee91bcdf8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolMaintenanceWindowOptions.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolMaintenanceWindowOptions.java @@ -10,7 +10,9 @@ /** Resource collection API of SqlPoolMaintenanceWindowOptions. */ public interface SqlPoolMaintenanceWindowOptions { /** - * Get list of SQL pool's available maintenance windows. + * SQL pool's available maintenance windows. + * + *

Get list of SQL pool's available maintenance windows. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ MaintenanceWindowOptions get( String resourceGroupName, String workspaceName, String sqlPoolName, String maintenanceWindowOptionsName); /** - * Get list of SQL pool's available maintenance windows. + * SQL pool's available maintenance windows. + * + *

Get list of SQL pool's available maintenance windows. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolMetadataSyncConfigs.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolMetadataSyncConfigs.java index 934815af2d2af..be5cba7799436 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolMetadataSyncConfigs.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolMetadataSyncConfigs.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolMetadataSyncConfigs. */ public interface SqlPoolMetadataSyncConfigs { /** - * Get the metadata sync configuration for a SQL pool. + * Get SQL pool metadata sync config + * + *

Get the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface SqlPoolMetadataSyncConfigs { MetadataSyncConfig get(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get the metadata sync configuration for a SQL pool. + * Get SQL pool metadata sync config + * + *

Get the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -39,7 +43,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Set the metadata sync configuration for a SQL pool. + * Set SQL pool metadata sync config + * + *

Set the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -57,7 +63,9 @@ MetadataSyncConfig create( MetadataSyncConfigInner metadataSyncConfiguration); /** - * Set the metadata sync configuration for a SQL pool. + * Set SQL pool metadata sync config + * + *

Set the metadata sync configuration for a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolOperationResults.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolOperationResults.java index a14127aa92448..01157441ab21a 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolOperationResults.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolOperationResults.java @@ -10,7 +10,9 @@ /** Resource collection API of SqlPoolOperationResults. */ public interface SqlPoolOperationResults { /** - * Get the status of a SQL pool operation. + * Get SQL pool operation status + * + *

Get the status of a SQL pool operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ Object getLocationHeaderResult( String resourceGroupName, String workspaceName, String sqlPoolName, String operationId); /** - * Get the status of a SQL pool operation. + * Get SQL pool operation status + * + *

Get the status of a SQL pool operation. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolOperations.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolOperations.java index b7ae28afa0b83..3824f58bb7c8d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolOperations.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolOperations.java @@ -10,7 +10,9 @@ /** Resource collection API of SqlPoolOperations. */ public interface SqlPoolOperations { /** - * Gets a list of operations performed on the SQL pool. + * Gets a list of operations performed on the SQL pool + * + *

Gets a list of operations performed on the SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -23,7 +25,9 @@ public interface SqlPoolOperations { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Gets a list of operations performed on the SQL pool. + * Gets a list of operations performed on the SQL pool + * + *

Gets a list of operations performed on the SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolPatchInfo.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolPatchInfo.java index e647712eaf51c..97c6aeed88749 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolPatchInfo.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolPatchInfo.java @@ -11,7 +11,11 @@ import java.time.OffsetDateTime; import java.util.Map; -/** SQL pool patch info A SQL Analytics pool patch info. */ +/** + * SQL pool patch info + * + *

A SQL Analytics pool patch info. + */ @Fluent public final class SqlPoolPatchInfo { /* @@ -28,7 +32,9 @@ public final class SqlPoolPatchInfo { private String location; /* - * Sku SQL pool SKU + * Sku + * + * SQL pool SKU */ @JsonProperty(value = "sku") private Sku sku; @@ -80,7 +86,9 @@ public SqlPoolPatchInfo withLocation(String location) { } /** - * Get the sku property: Sku SQL pool SKU. + * Get the sku property: Sku + * + *

SQL pool SKU. * * @return the sku value. */ @@ -89,7 +97,9 @@ public Sku sku() { } /** - * Set the sku property: Sku SQL pool SKU. + * Set the sku property: Sku + * + *

SQL pool SKU. * * @param sku the sku value to set. * @return the SqlPoolPatchInfo object itself. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolReplicationLinks.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolReplicationLinks.java index cb319a3d1631a..0b87d1df5fd7f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolReplicationLinks.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolReplicationLinks.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolReplicationLinks. */ public interface SqlPoolReplicationLinks { /** - * Lists a Sql pool's replication links. + * Get SQL pool replication links + * + *

Lists a Sql pool's replication links. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ public interface SqlPoolReplicationLinks { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Lists a Sql pool's replication links. + * Get SQL pool replication links + * + *

Lists a Sql pool's replication links. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -41,7 +45,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Get SQL pool replication link by name. + * Get SQL pool replication link by name + * + *

Get SQL pool replication link by name. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -55,7 +61,9 @@ PagedIterable list( ReplicationLink getByName(String resourceGroupName, String workspaceName, String sqlPoolName, String linkId); /** - * Get SQL pool replication link by name. + * Get SQL pool replication link by name + * + *

Get SQL pool replication link by name. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolRestorePoints.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolRestorePoints.java index 380baad6c7884..4029774036c18 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolRestorePoints.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolRestorePoints.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolRestorePoints. */ public interface SqlPoolRestorePoints { /** - * Get SQL pool backup information. + * Get SQL pool backup + * + *

Get SQL pool backup information. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface SqlPoolRestorePoints { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get SQL pool backup information. + * Get SQL pool backup + * + *

Get SQL pool backup information. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSchemas.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSchemas.java index b63222a949c20..54d3bb2a2d5d5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSchemas.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSchemas.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolSchemas. */ public interface SqlPoolSchemas { /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface SqlPoolSchemas { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Gets schemas of a given SQL pool. + * Gets schemas of a given SQL pool + * + *

Gets schemas of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSecurityAlertPolicies.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSecurityAlertPolicies.java index 81b53a38d137f..a7de8310ba2a7 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSecurityAlertPolicies.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSecurityAlertPolicies.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolSecurityAlertPolicies. */ public interface SqlPoolSecurityAlertPolicies { /** - * Get a list of Sql pool's security alert policies. + * List Sql pool's security alert policies + * + *

Get a list of Sql pool's security alert policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface SqlPoolSecurityAlertPolicies { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get a list of Sql pool's security alert policies. + * List Sql pool's security alert policies + * + *

Get a list of Sql pool's security alert policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -39,7 +43,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -57,7 +63,9 @@ SqlPoolSecurityAlertPolicy get( SecurityAlertPolicyName securityAlertPolicyName); /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -77,7 +85,9 @@ Response getWithResponse( Context context); /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -88,7 +98,9 @@ Response getWithResponse( SqlPoolSecurityAlertPolicy getById(String id); /** - * Get a Sql pool's security alert policy. + * Get a Sql pool's security alert policy + * + *

Get a Sql pool's security alert policy. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSecurityAlertPolicy.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSecurityAlertPolicy.java index ad2d7496a39bd..45e54a6de60af 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSecurityAlertPolicy.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSecurityAlertPolicy.java @@ -92,6 +92,13 @@ public interface SqlPoolSecurityAlertPolicy { */ OffsetDateTime creationTime(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolSecurityAlertPolicyInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSensitivityLabels.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSensitivityLabels.java index a85012e0aaf67..cd5d329bd4f1d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSensitivityLabels.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolSensitivityLabels.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolSensitivityLabels. */ public interface SqlPoolSensitivityLabels { /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface SqlPoolSensitivityLabels { PagedIterable listCurrent(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Gets SQL pool sensitivity labels. + * Gets SQL pool sensitivity labels + * + *

Gets SQL pool sensitivity labels. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -74,7 +78,9 @@ Response updateWithResponse( Context context); /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -87,7 +93,9 @@ Response updateWithResponse( PagedIterable listRecommended(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Gets sensitivity labels of a given SQL pool. + * Gets sensitivity labels of a given SQL pool + * + *

Gets sensitivity labels of a given SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTableColumns.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTableColumns.java index bb8601c26b896..481bd263282b1 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTableColumns.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTableColumns.java @@ -10,7 +10,9 @@ /** Resource collection API of SqlPoolTableColumns. */ public interface SqlPoolTableColumns { /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -26,7 +28,9 @@ PagedIterable listByTableName( String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName, String tableName); /** - * Gets columns in a given table in a SQL pool. + * Gets columns in a given table in a SQL pool + * + *

Gets columns in a given table in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTables.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTables.java index 30e97214e6782..3ca122f54be6d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTables.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTables.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolTables. */ public interface SqlPoolTables { /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -26,7 +28,9 @@ PagedIterable listBySchema( String resourceGroupName, String workspaceName, String sqlPoolName, String schemaName); /** - * Gets tables of a given schema in a SQL pool. + * Gets tables of a given schema in a SQL pool + * + *

Gets tables of a given schema in a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTransparentDataEncryptions.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTransparentDataEncryptions.java index da2249f9e9058..47cadb50955f2 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTransparentDataEncryptions.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolTransparentDataEncryptions.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolTransparentDataEncryptions. */ public interface SqlPoolTransparentDataEncryptions { /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -29,7 +31,9 @@ TransparentDataEncryption get( TransparentDataEncryptionName transparentDataEncryptionName); /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -49,7 +53,9 @@ Response getWithResponse( Context context); /** - * Get list of SQL pool's transparent data encryption configurations. + * SQL pool's transparent data encryption configurations + * + *

Get list of SQL pool's transparent data encryption configurations. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -63,7 +69,9 @@ Response getWithResponse( PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get list of SQL pool's transparent data encryption configurations. + * SQL pool's transparent data encryption configurations + * + *

Get list of SQL pool's transparent data encryption configurations. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -79,7 +87,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -90,7 +100,9 @@ PagedIterable list( TransparentDataEncryption getById(String id); /** - * Get a SQL pool's transparent data encryption configuration. + * Get a SQL pool's transparent data encryption configuration + * + *

Get a SQL pool's transparent data encryption configuration. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolUsages.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolUsages.java index e45385af28857..87acb2d246bdd 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolUsages.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolUsages.java @@ -10,7 +10,9 @@ /** Resource collection API of SqlPoolUsages. */ public interface SqlPoolUsages { /** - * Gets SQL pool usages. + * Gets SQL pool usages + * + *

Gets SQL pool usages. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -23,7 +25,9 @@ public interface SqlPoolUsages { PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Gets SQL pool usages. + * Gets SQL pool usages + * + *

Gets SQL pool usages. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessment.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessment.java index bb335fd45dbff..35275f4398b1d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessment.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessment.java @@ -63,6 +63,13 @@ public interface SqlPoolVulnerabilityAssessment { */ VulnerabilityAssessmentRecurringScansProperties recurringScans(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolVulnerabilityAssessmentInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessmentRuleBaseline.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessmentRuleBaseline.java index e0a7128aaf9bd..1cb31b9f9a43f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessmentRuleBaseline.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessmentRuleBaseline.java @@ -38,6 +38,13 @@ public interface SqlPoolVulnerabilityAssessmentRuleBaseline { */ List baselineResults(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.SqlPoolVulnerabilityAssessmentRuleBaselineInner * object. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessmentScans.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessmentScans.java index 1389cc12db7af..6cb6b1d623595 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessmentScans.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessmentScans.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolVulnerabilityAssessmentScans. */ public interface SqlPoolVulnerabilityAssessmentScans { /** - * Lists the vulnerability assessment scans of a SQL pool. + * Lists the vulnerability assessment scans of a SQL pool + * + *

Lists the vulnerability assessment scans of a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -29,7 +31,9 @@ PagedIterable list( VulnerabilityAssessmentName vulnerabilityAssessmentName); /** - * Lists the vulnerability assessment scans of a SQL pool. + * Lists the vulnerability assessment scans of a SQL pool + * + *

Lists the vulnerability assessment scans of a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessments.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessments.java index f7a7d870252d7..b030ca005d119 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessments.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolVulnerabilityAssessments.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolVulnerabilityAssessments. */ public interface SqlPoolVulnerabilityAssessments { /** - * Lists the vulnerability assessment policies associated with a SQL pool. + * Lists the vulnerability assessment policies associated with a SQL pool + * + *

Lists the vulnerability assessment policies associated with a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Lists the vulnerability assessment policies associated with a SQL pool. + * Lists the vulnerability assessment policies associated with a SQL pool + * + *

Lists the vulnerability assessment policies associated with a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -40,7 +44,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -58,7 +64,9 @@ SqlPoolVulnerabilityAssessment get( VulnerabilityAssessmentName vulnerabilityAssessmentName); /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -78,7 +86,9 @@ Response getWithResponse( Context context); /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -95,7 +105,9 @@ void delete( VulnerabilityAssessmentName vulnerabilityAssessmentName); /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -115,7 +127,9 @@ Response deleteWithResponse( Context context); /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -126,7 +140,9 @@ Response deleteWithResponse( SqlPoolVulnerabilityAssessment getById(String id); /** - * Gets the Sql pool's vulnerability assessment. + * Gets the Sql pool's vulnerability assessment + * + *

Gets the Sql pool's vulnerability assessment. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -138,7 +154,9 @@ Response deleteWithResponse( Response getByIdWithResponse(String id, Context context); /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -148,7 +166,9 @@ Response deleteWithResponse( void deleteById(String id); /** - * Removes the database's vulnerability assessment. + * Removes the database's vulnerability assessment + * + *

Removes the database's vulnerability assessment. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolWorkloadClassifiers.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolWorkloadClassifiers.java index ee1420c486194..c236e6e90e60d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolWorkloadClassifiers.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolWorkloadClassifiers.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolWorkloadClassifiers. */ public interface SqlPoolWorkloadClassifiers { /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -31,7 +33,9 @@ WorkloadClassifier get( String workloadClassifierName); /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -53,7 +57,9 @@ Response getWithResponse( Context context); /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -72,7 +78,9 @@ void delete( String workloadClassifierName); /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -93,7 +101,9 @@ void delete( Context context); /** - * Get list of Sql pool's workload classifier for workload groups. + * Sql pool's workload classifier + * + *

Get list of Sql pool's workload classifier for workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -109,7 +119,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName); /** - * Get list of Sql pool's workload classifier for workload groups. + * Sql pool's workload classifier + * + *

Get list of Sql pool's workload classifier for workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -126,7 +138,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context); /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -137,7 +151,9 @@ PagedIterable list( WorkloadClassifier getById(String id); /** - * Get a workload classifier of Sql pool's workload group. + * Get workload classifier + * + *

Get a workload classifier of Sql pool's workload group. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -149,7 +165,9 @@ PagedIterable list( Response getByIdWithResponse(String id, Context context); /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -159,7 +177,9 @@ PagedIterable list( void deleteById(String id); /** - * Remove workload classifier of a Sql pool's workload group. + * Remove workload classifier + * + *

Remove workload classifier of a Sql pool's workload group. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolWorkloadGroups.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolWorkloadGroups.java index 8c62e22a230b7..5427f7c06f830 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolWorkloadGroups.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPoolWorkloadGroups.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPoolWorkloadGroups. */ public interface SqlPoolWorkloadGroups { /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ public interface SqlPoolWorkloadGroups { WorkloadGroup get(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName); /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -41,7 +45,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context); /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -54,7 +60,9 @@ Response getWithResponse( void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName); /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -69,7 +77,9 @@ void delete( String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, Context context); /** - * Get list of Sql pool's workload groups. + * Sql pool's workload groups + * + *

Get list of Sql pool's workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -82,7 +92,9 @@ void delete( PagedIterable list(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get list of Sql pool's workload groups. + * Sql pool's workload groups + * + *

Get list of Sql pool's workload groups. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -97,7 +109,9 @@ PagedIterable list( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -108,7 +122,9 @@ PagedIterable list( WorkloadGroup getById(String id); /** - * Get a Sql pool's workload group. + * Sql pool's workload group + * + *

Get a Sql pool's workload group. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -120,7 +136,9 @@ PagedIterable list( Response getByIdWithResponse(String id, Context context); /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -130,7 +148,9 @@ PagedIterable list( void deleteById(String id); /** - * Remove Sql pool's workload group. + * Remove workload group + * + *

Remove Sql pool's workload group. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPools.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPools.java index f80988cdffdf7..7c70c44856b3e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPools.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SqlPools.java @@ -11,7 +11,9 @@ /** Resource collection API of SqlPools. */ public interface SqlPools { /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface SqlPools { SqlPool get(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -39,7 +43,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -52,7 +58,9 @@ Response getWithResponse( Object delete(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -66,7 +74,9 @@ Response getWithResponse( Object delete(String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * List all SQL pools. + * List SQL pools + * + *

List all SQL pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -78,7 +88,9 @@ Response getWithResponse( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List all SQL pools. + * List SQL pools + * + *

List all SQL pools. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -91,7 +103,9 @@ Response getWithResponse( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName, Context context); /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -104,7 +118,9 @@ Response getWithResponse( Object pause(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Pause a SQL pool. + * Pause SQL pool + * + *

Pause a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -118,7 +134,9 @@ Response getWithResponse( Object pause(String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -131,7 +149,9 @@ Response getWithResponse( Object resume(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Resume a SQL pool. + * Resume SQL pool + * + *

Resume a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -145,7 +165,9 @@ Response getWithResponse( Object resume(String resourceGroupName, String workspaceName, String sqlPoolName, Context context); /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -158,7 +180,9 @@ Response getWithResponse( void rename(String resourceGroupName, String workspaceName, String sqlPoolName, ResourceMoveDefinition parameters); /** - * Rename a SQL pool. + * Rename a SQL pool + * + *

Rename a SQL pool. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -178,7 +202,9 @@ Response renameWithResponse( Context context); /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -189,7 +215,9 @@ Response renameWithResponse( SqlPool getById(String id); /** - * Get SQL pool properties. + * Get SQL pool + * + *

Get SQL pool properties. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -201,7 +229,9 @@ Response renameWithResponse( Response getByIdWithResponse(String id, Context context); /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -212,7 +242,9 @@ Response renameWithResponse( Object deleteById(String id); /** - * Delete a SQL pool. + * Delete SQL pool + * + *

Delete a SQL pool. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SsisObjectMetadataType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SsisObjectMetadataType.java index 03e6ba199c550..4dbb2992ae973 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SsisObjectMetadataType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/SsisObjectMetadataType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for SsisObjectMetadataType. */ +/** The type of SSIS object metadata. */ public final class SsisObjectMetadataType extends ExpandableStringEnum { /** Static value Folder for SsisObjectMetadataType. */ public static final SsisObjectMetadataType FOLDER = fromString("Folder"); @@ -33,7 +33,11 @@ public static SsisObjectMetadataType fromString(String name) { return fromString(name, SsisObjectMetadataType.class); } - /** @return known SsisObjectMetadataType values. */ + /** + * Gets known SsisObjectMetadataType values. + * + * @return known SsisObjectMetadataType values. + */ public static Collection values() { return values(SsisObjectMetadataType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/State.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/State.java index 64f0d51423b6f..e011c0acbb1c0 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/State.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/State.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for State. */ +/** The state of the resource. */ public final class State extends ExpandableStringEnum { /** Static value Creating for State. */ public static final State CREATING = fromString("Creating"); @@ -48,7 +48,11 @@ public static State fromString(String name) { return fromString(name, State.class); } - /** @return known State values. */ + /** + * Gets known State values. + * + * @return known State values. + */ public static Collection values() { return values(State.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/StateValue.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/StateValue.java index 53530e43cf645..5dbadb6500272 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/StateValue.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/StateValue.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for StateValue. */ +/** property configuration state. */ public final class StateValue extends ExpandableStringEnum { /** Static value Consistent for StateValue. */ public static final StateValue CONSISTENT = fromString("Consistent"); @@ -30,7 +30,11 @@ public static StateValue fromString(String name) { return fromString(name, StateValue.class); } - /** @return known StateValue values. */ + /** + * Gets known StateValue values. + * + * @return known StateValue values. + */ public static Collection values() { return values(StateValue.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/StorageAccountType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/StorageAccountType.java index 05d366977610f..98202e41cb201 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/StorageAccountType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/StorageAccountType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for StorageAccountType. */ +/** The storage account type used to store backups for this sql pool. */ public final class StorageAccountType extends ExpandableStringEnum { /** Static value GRS for StorageAccountType. */ public static final StorageAccountType GRS = fromString("GRS"); @@ -27,7 +27,11 @@ public static StorageAccountType fromString(String name) { return fromString(name, StorageAccountType.class); } - /** @return known StorageAccountType values. */ + /** + * Gets known StorageAccountType values. + * + * @return known StorageAccountType values. + */ public static Collection values() { return values(StorageAccountType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryption.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryption.java index ac55f8c389805..151d765ed668c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryption.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryption.java @@ -59,6 +59,13 @@ public interface TransparentDataEncryption { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.TransparentDataEncryptionInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryptionName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryptionName.java index 175cc39f9e36c..f50b47ddcbeed 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryptionName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryptionName.java @@ -24,7 +24,11 @@ public static TransparentDataEncryptionName fromString(String name) { return fromString(name, TransparentDataEncryptionName.class); } - /** @return known TransparentDataEncryptionName values. */ + /** + * Gets known TransparentDataEncryptionName values. + * + * @return known TransparentDataEncryptionName values. + */ public static Collection values() { return values(TransparentDataEncryptionName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryptionStatus.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryptionStatus.java index ca00480bcb901..daa0beced856e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryptionStatus.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/TransparentDataEncryptionStatus.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for TransparentDataEncryptionStatus. */ +/** The status of the database transparent data encryption. */ public enum TransparentDataEncryptionStatus { /** Enum value Enabled. */ ENABLED("Enabled"), @@ -30,6 +30,9 @@ public enum TransparentDataEncryptionStatus { */ @JsonCreator public static TransparentDataEncryptionStatus fromString(String value) { + if (value == null) { + return null; + } TransparentDataEncryptionStatus[] items = TransparentDataEncryptionStatus.values(); for (TransparentDataEncryptionStatus item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +42,7 @@ public static TransparentDataEncryptionStatus fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Type.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Type.java index 44c9936bad0c8..158462b70b02e 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Type.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Type.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for Type. */ +/** The type of resource, for instance Microsoft.Synapse/workspaces/kustoPools/databases. */ public enum Type { /** Enum value Microsoft.Synapse/workspaces/kustoPools/databases. */ MICROSOFT_SYNAPSE_WORKSPACES_KUSTO_POOLS_DATABASES("Microsoft.Synapse/workspaces/kustoPools/databases"), @@ -31,6 +31,9 @@ public enum Type { */ @JsonCreator public static Type fromString(String value) { + if (value == null) { + return null; + } Type[] items = Type.values(); for (Type item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -40,6 +43,7 @@ public static Type fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/UpdateIntegrationRuntimeNodeRequest.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/UpdateIntegrationRuntimeNodeRequest.java index 8e9b1ea5625a8..002908c96255d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/UpdateIntegrationRuntimeNodeRequest.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/UpdateIntegrationRuntimeNodeRequest.java @@ -11,9 +11,8 @@ @Fluent public final class UpdateIntegrationRuntimeNodeRequest { /* - * The number of concurrent jobs permitted to run on the integration - * runtime node. Values between 1 and maxConcurrentJobs(inclusive) are - * allowed. + * The number of concurrent jobs permitted to run on the integration runtime node. Values between 1 and + * maxConcurrentJobs(inclusive) are allowed. */ @JsonProperty(value = "concurrentJobsLimit") private Integer concurrentJobsLimit; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/UpdateIntegrationRuntimeRequest.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/UpdateIntegrationRuntimeRequest.java index ae3887cce73db..eae0faf193660 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/UpdateIntegrationRuntimeRequest.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/UpdateIntegrationRuntimeRequest.java @@ -11,15 +11,15 @@ @Fluent public final class UpdateIntegrationRuntimeRequest { /* - * Enables or disables the auto-update feature of the self-hosted - * integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189. + * Enables or disables the auto-update feature of the self-hosted integration runtime. See + * https://go.microsoft.com/fwlink/?linkid=854189. */ @JsonProperty(value = "autoUpdate") private IntegrationRuntimeAutoUpdate autoUpdate; /* - * The time offset (in hours) in the day, e.g., PT03H is 3 hours. The - * integration runtime auto update will happen on that time. + * The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen + * on that time. */ @JsonProperty(value = "updateDelayOffset") private String updateDelayOffset; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentName.java index 590249774e798..68caed82b8c04 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentName.java @@ -24,7 +24,11 @@ public static VulnerabilityAssessmentName fromString(String name) { return fromString(name, VulnerabilityAssessmentName.class); } - /** @return known VulnerabilityAssessmentName values. */ + /** + * Gets known VulnerabilityAssessmentName values. + * + * @return known VulnerabilityAssessmentName values. + */ public static Collection values() { return values(VulnerabilityAssessmentName.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentPolicyBaselineName.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentPolicyBaselineName.java index f144e5338b81f..e0793a55c5fd2 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentPolicyBaselineName.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentPolicyBaselineName.java @@ -30,6 +30,9 @@ public enum VulnerabilityAssessmentPolicyBaselineName { */ @JsonCreator public static VulnerabilityAssessmentPolicyBaselineName fromString(String value) { + if (value == null) { + return null; + } VulnerabilityAssessmentPolicyBaselineName[] items = VulnerabilityAssessmentPolicyBaselineName.values(); for (VulnerabilityAssessmentPolicyBaselineName item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -39,6 +42,7 @@ public static VulnerabilityAssessmentPolicyBaselineName fromString(String value) return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentRecurringScansProperties.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentRecurringScansProperties.java index 7369343012cb9..b1bc6ad925f62 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentRecurringScansProperties.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentRecurringScansProperties.java @@ -18,15 +18,13 @@ public final class VulnerabilityAssessmentRecurringScansProperties { private Boolean isEnabled; /* - * Specifies that the schedule scan notification will be is sent to the - * subscription administrators. + * Specifies that the schedule scan notification will be is sent to the subscription administrators. */ @JsonProperty(value = "emailSubscriptionAdmins") private Boolean emailSubscriptionAdmins; /* - * Specifies an array of e-mail addresses to which the scan notification is - * sent. + * Specifies an array of e-mail addresses to which the scan notification is sent. */ @JsonProperty(value = "emails") private List emails; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentScanState.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentScanState.java index 849b747476491..4b7e19ac3460c 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentScanState.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentScanState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for VulnerabilityAssessmentScanState. */ +/** The scan status. */ public final class VulnerabilityAssessmentScanState extends ExpandableStringEnum { /** Static value Passed for VulnerabilityAssessmentScanState. */ public static final VulnerabilityAssessmentScanState PASSED = fromString("Passed"); @@ -33,7 +33,11 @@ public static VulnerabilityAssessmentScanState fromString(String name) { return fromString(name, VulnerabilityAssessmentScanState.class); } - /** @return known VulnerabilityAssessmentScanState values. */ + /** + * Gets known VulnerabilityAssessmentScanState values. + * + * @return known VulnerabilityAssessmentScanState values. + */ public static Collection values() { return values(VulnerabilityAssessmentScanState.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentScanTriggerType.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentScanTriggerType.java index 8b63b4471074c..95bfd85e86fc4 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentScanTriggerType.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/VulnerabilityAssessmentScanTriggerType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for VulnerabilityAssessmentScanTriggerType. */ +/** The scan trigger type. */ public final class VulnerabilityAssessmentScanTriggerType extends ExpandableStringEnum { /** Static value OnDemand for VulnerabilityAssessmentScanTriggerType. */ @@ -28,7 +28,11 @@ public static VulnerabilityAssessmentScanTriggerType fromString(String name) { return fromString(name, VulnerabilityAssessmentScanTriggerType.class); } - /** @return known VulnerabilityAssessmentScanTriggerType values. */ + /** + * Gets known VulnerabilityAssessmentScanTriggerType values. + * + * @return known VulnerabilityAssessmentScanTriggerType values. + */ public static Collection values() { return values(VulnerabilityAssessmentScanTriggerType.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkloadClassifier.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkloadClassifier.java index 5fba176e90346..4c3283a5b9d6f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkloadClassifier.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkloadClassifier.java @@ -72,6 +72,13 @@ public interface WorkloadClassifier { */ String importance(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.WorkloadClassifierInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkloadGroup.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkloadGroup.java index 09c0c122d9a34..3888d5a2b0be8 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkloadGroup.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkloadGroup.java @@ -72,6 +72,13 @@ public interface WorkloadGroup { */ Integer queryExecutionTimeout(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.WorkloadGroupInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Workspace.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Workspace.java index bdd3e9e8de09f..9261ea3ca4904 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Workspace.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/Workspace.java @@ -222,6 +222,13 @@ public interface Workspace { */ String regionName(); + /** + * Gets the name of the resource group. + * + * @return the name of the resource group. + */ + String resourceGroupName(); + /** * Gets the inner com.azure.resourcemanager.synapse.fluent.models.WorkspaceInner object. * diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerBlobAuditingPolicies.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerBlobAuditingPolicies.java index 0c54a407514e6..0ef78309ac05f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerBlobAuditingPolicies.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerBlobAuditingPolicies.java @@ -11,7 +11,9 @@ /** Resource collection API of WorkspaceManagedSqlServerBlobAuditingPolicies. */ public interface WorkspaceManagedSqlServerBlobAuditingPolicies { /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ ServerBlobAuditingPolicy get( String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName); /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -40,7 +44,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName, Context context); /** - * List workspace managed sql server's blob auditing policies. + * List workspace server's blob auditing policies. + * + *

List workspace managed sql server's blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -52,7 +58,9 @@ Response getWithResponse( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List workspace managed sql server's blob auditing policies. + * List workspace server's blob auditing policies. + * + *

List workspace managed sql server's blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -66,7 +74,9 @@ PagedIterable listByWorkspace( String resourceGroupName, String workspaceName, Context context); /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -77,7 +87,9 @@ PagedIterable listByWorkspace( ServerBlobAuditingPolicy getById(String id); /** - * Get a workspace managed sql server's blob auditing policy. + * Get server's blob auditing policy. + * + *

Get a workspace managed sql server's blob auditing policy. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings.java index b18c323f2e8cf..cec67cd35a7d9 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings.java @@ -12,7 +12,9 @@ /** Resource collection API of WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings. */ public interface WorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings { /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -30,7 +32,9 @@ DedicatedSQLminimalTlsSettings update( DedicatedSQLminimalTlsSettingsInner parameters); /** - * Update workspace managed sql server's minimal tls settings. + * Update server's tls settings. + * + *

Update workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -50,7 +54,9 @@ DedicatedSQLminimalTlsSettings update( Context context); /** - * Get workspace managed sql server's minimal tls settings. + * Get server's minimal tls settings. + * + *

Get workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -64,7 +70,9 @@ DedicatedSQLminimalTlsSettings get( String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName); /** - * Get workspace managed sql server's minimal tls settings. + * Get server's minimal tls settings. + * + *

Get workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -79,7 +87,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, String dedicatedSQLminimalTlsSettingsName, Context context); /** - * List workspace managed sql server's minimal tls settings. + * List workspace server's minimal tls settings. + * + *

List workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -92,7 +102,9 @@ Response getWithResponse( PagedIterable list(String resourceGroupName, String workspaceName); /** - * List workspace managed sql server's minimal tls settings. + * List workspace server's minimal tls settings. + * + *

List workspace managed sql server's minimal tls settings. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerEncryptionProtectors.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerEncryptionProtectors.java index 58f233d360d2b..57f6406672d5f 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerEncryptionProtectors.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerEncryptionProtectors.java @@ -11,7 +11,9 @@ /** Resource collection API of WorkspaceManagedSqlServerEncryptionProtectors. */ public interface WorkspaceManagedSqlServerEncryptionProtectors { /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ EncryptionProtector get( String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName); /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -43,7 +47,9 @@ Response getWithResponse( Context context); /** - * Get list of encryption protectors for workspace managed sql server. + * Get list of encryption protectors for the server. + * + *

Get list of encryption protectors for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -56,7 +62,9 @@ Response getWithResponse( PagedIterable list(String resourceGroupName, String workspaceName); /** - * Get list of encryption protectors for workspace managed sql server. + * Get list of encryption protectors for the server. + * + *

Get list of encryption protectors for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -70,7 +78,9 @@ Response getWithResponse( PagedIterable list(String resourceGroupName, String workspaceName, Context context); /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -82,7 +92,9 @@ Response getWithResponse( void revalidate(String resourceGroupName, String workspaceName, EncryptionProtectorName encryptionProtectorName); /** - * Revalidates workspace managed sql server's existing encryption protector. + * Revalidates server's existing encryption protector. + * + *

Revalidates workspace managed sql server's existing encryption protector. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -99,7 +111,9 @@ void revalidate( Context context); /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -110,7 +124,9 @@ void revalidate( EncryptionProtector getById(String id); /** - * Get workspace managed sql server's encryption protector. + * Get workspace server's encryption protector. + * + *

Get workspace managed sql server's encryption protector. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerExtendedBlobAuditingPolicies.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerExtendedBlobAuditingPolicies.java index 111bba73446e6..5906655ccf21b 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerExtendedBlobAuditingPolicies.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerExtendedBlobAuditingPolicies.java @@ -11,7 +11,9 @@ /** Resource collection API of WorkspaceManagedSqlServerExtendedBlobAuditingPolicies. */ public interface WorkspaceManagedSqlServerExtendedBlobAuditingPolicies { /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ ExtendedServerBlobAuditingPolicy get( String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName); /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -40,7 +44,9 @@ Response getWithResponse( String resourceGroupName, String workspaceName, BlobAuditingPolicyName blobAuditingPolicyName, Context context); /** - * List workspace managed sql server's extended blob auditing policies. + * List server's extended blob auditing policies. + * + *

List workspace managed sql server's extended blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -52,7 +58,9 @@ Response getWithResponse( PagedIterable listByWorkspace(String resourceGroupName, String workspaceName); /** - * List workspace managed sql server's extended blob auditing policies. + * List server's extended blob auditing policies. + * + *

List workspace managed sql server's extended blob auditing policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -66,7 +74,9 @@ PagedIterable listByWorkspace( String resourceGroupName, String workspaceName, Context context); /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -77,7 +87,9 @@ PagedIterable listByWorkspace( ExtendedServerBlobAuditingPolicy getById(String id); /** - * Get a workspace SQL server's extended blob auditing policy. + * Get server's extended blob auditing policy. + * + *

Get a workspace SQL server's extended blob auditing policy. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerRecoverableSqlPools.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerRecoverableSqlPools.java index 6712f428c9c29..96475f0371483 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerRecoverableSqlPools.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerRecoverableSqlPools.java @@ -11,7 +11,9 @@ /** Resource collection API of WorkspaceManagedSqlServerRecoverableSqlPools. */ public interface WorkspaceManagedSqlServerRecoverableSqlPools { /** - * Get list of recoverable sql pools for workspace managed sql server. + * Get list of recoverable sql pools for the server. + * + *

Get list of recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -24,7 +26,9 @@ public interface WorkspaceManagedSqlServerRecoverableSqlPools { PagedIterable list(String resourceGroupName, String workspaceName); /** - * Get list of recoverable sql pools for workspace managed sql server. + * Get list of recoverable sql pools for the server. + * + *

Get list of recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -38,7 +42,9 @@ public interface WorkspaceManagedSqlServerRecoverableSqlPools { PagedIterable list(String resourceGroupName, String workspaceName, Context context); /** - * Get recoverable sql pools for workspace managed sql server. + * Get recoverable sql pools for the server. + * + *

Get recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -51,7 +57,9 @@ public interface WorkspaceManagedSqlServerRecoverableSqlPools { RecoverableSqlPool get(String resourceGroupName, String workspaceName, String sqlPoolName); /** - * Get recoverable sql pools for workspace managed sql server. + * Get recoverable sql pools for the server. + * + *

Get recoverable sql pools for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerSecurityAlertPolicies.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerSecurityAlertPolicies.java index 992b35f01b66a..b368139311f13 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerSecurityAlertPolicies.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerSecurityAlertPolicies.java @@ -11,7 +11,9 @@ /** Resource collection API of WorkspaceManagedSqlServerSecurityAlertPolicies. */ public interface WorkspaceManagedSqlServerSecurityAlertPolicies { /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ ServerSecurityAlertPolicy get( String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName); /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -43,7 +47,9 @@ Response getWithResponse( Context context); /** - * Get workspace managed sql server's threat detection policies. + * Get server's threat detection policies. + * + *

Get workspace managed sql server's threat detection policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -56,7 +62,9 @@ Response getWithResponse( PagedIterable list(String resourceGroupName, String workspaceName); /** - * Get workspace managed sql server's threat detection policies. + * Get server's threat detection policies. + * + *

Get workspace managed sql server's threat detection policies. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -70,7 +78,9 @@ Response getWithResponse( PagedIterable list(String resourceGroupName, String workspaceName, Context context); /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -81,7 +91,9 @@ Response getWithResponse( ServerSecurityAlertPolicy getById(String id); /** - * Get a workspace managed sql server's security alert policy. + * Get server's security alert policy. + * + *

Get a workspace managed sql server's security alert policy. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerUsages.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerUsages.java index 86f90d49c6fd5..590cb3bec85b5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerUsages.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerUsages.java @@ -10,7 +10,9 @@ /** Resource collection API of WorkspaceManagedSqlServerUsages. */ public interface WorkspaceManagedSqlServerUsages { /** - * Get list of server usages metric for workspace managed sql server. + * Get list of usages metric for the server. + * + *

Get list of server usages metric for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -23,7 +25,9 @@ public interface WorkspaceManagedSqlServerUsages { PagedIterable list(String resourceGroupName, String workspaceName); /** - * Get list of server usages metric for workspace managed sql server. + * Get list of usages metric for the server. + * + *

Get list of server usages metric for workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerVulnerabilityAssessments.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerVulnerabilityAssessments.java index 48b5c318c1584..d9bae3ea0f677 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerVulnerabilityAssessments.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceManagedSqlServerVulnerabilityAssessments.java @@ -11,7 +11,9 @@ /** Resource collection API of WorkspaceManagedSqlServerVulnerabilityAssessments. */ public interface WorkspaceManagedSqlServerVulnerabilityAssessments { /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -25,7 +27,9 @@ ServerVulnerabilityAssessment get( String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName); /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -43,7 +47,9 @@ Response getWithResponse( Context context); /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -56,7 +62,9 @@ void delete( String resourceGroupName, String workspaceName, VulnerabilityAssessmentName vulnerabilityAssessmentName); /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -74,7 +82,9 @@ Response deleteWithResponse( Context context); /** - * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * Lists the vulnerability assessment policies associated with a server. + * + *

Lists the vulnerability assessment policies associated with a workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -86,7 +96,9 @@ Response deleteWithResponse( PagedIterable list(String resourceGroupName, String workspaceName); /** - * Lists the vulnerability assessment policies associated with a workspace managed sql server. + * Lists the vulnerability assessment policies associated with a server. + * + *

Lists the vulnerability assessment policies associated with a workspace managed sql server. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. @@ -99,7 +111,9 @@ Response deleteWithResponse( PagedIterable list(String resourceGroupName, String workspaceName, Context context); /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -110,7 +124,9 @@ Response deleteWithResponse( ServerVulnerabilityAssessment getById(String id); /** - * Get workspace managed sql server's vulnerability assessment. + * Get server's vulnerability assessment. + * + *

Get workspace managed sql server's vulnerability assessment. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -122,7 +138,9 @@ Response deleteWithResponse( Response getByIdWithResponse(String id, Context context); /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -132,7 +150,9 @@ Response deleteWithResponse( void deleteById(String id); /** - * Remove workspace managed sql server's vulnerability assessment. + * Remove server's vulnerability assessment. + * + *

Remove workspace managed sql server's vulnerability assessment. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspacePublicNetworkAccess.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspacePublicNetworkAccess.java index 2f152ca5e3fa6..afc23f6dd3291 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspacePublicNetworkAccess.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspacePublicNetworkAccess.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for WorkspacePublicNetworkAccess. */ +/** Enable or Disable public network access to workspace. */ public final class WorkspacePublicNetworkAccess extends ExpandableStringEnum { /** Static value Enabled for WorkspacePublicNetworkAccess. */ public static final WorkspacePublicNetworkAccess ENABLED = fromString("Enabled"); @@ -27,7 +27,11 @@ public static WorkspacePublicNetworkAccess fromString(String name) { return fromString(name, WorkspacePublicNetworkAccess.class); } - /** @return known WorkspacePublicNetworkAccess values. */ + /** + * Gets known WorkspacePublicNetworkAccess values. + * + * @return known WorkspacePublicNetworkAccess values. + */ public static Collection values() { return values(WorkspacePublicNetworkAccess.class); } diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceRepositoryConfiguration.java b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceRepositoryConfiguration.java index 67606b76a4ec1..42ef2fd2ea0e5 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceRepositoryConfiguration.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/models/WorkspaceRepositoryConfiguration.java @@ -12,8 +12,7 @@ @Fluent public final class WorkspaceRepositoryConfiguration { /* - * Type of workspace repositoryID configuration. Example - * WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration + * Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration */ @JsonProperty(value = "type") private String type; diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/BigDataPoolsCreateOrUpdateSamples.java b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/BigDataPoolsCreateOrUpdateSamples.java index fa52362ed325c..3fcd609ff813d 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/BigDataPoolsCreateOrUpdateSamples.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/BigDataPoolsCreateOrUpdateSamples.java @@ -31,6 +31,7 @@ public static void createOrUpdateABigDataPool(com.azure.resourcemanager.synapse. .withTags(mapOf("key", "value")) .withAutoScale(new AutoScaleProperties().withMinNodeCount(3).withEnabled(true).withMaxNodeCount(50)) .withAutoPause(new AutoPauseProperties().withDelayInMinutes(15).withEnabled(true)) + .withIsAutotuneEnabled(false) .withSparkEventsFolder("/events") .withNodeCount(4) .withLibraryRequirements(new LibraryRequirements().withContent("").withFilename("requirements.txt")) diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/SqlPoolWorkloadGroupCreateOrUpdateSamples.java b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/SqlPoolWorkloadGroupCreateOrUpdateSamples.java index e2ab6e5284da8..93970879756d3 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/SqlPoolWorkloadGroupCreateOrUpdateSamples.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/SqlPoolWorkloadGroupCreateOrUpdateSamples.java @@ -43,7 +43,7 @@ public static void createAWorkloadGroupWithAllPropertiesSpecified( .withMinResourcePercent(0) .withMaxResourcePercent(100) .withMinResourcePercentPerRequest(3.0) - .withMaxResourcePercentPerRequest(3.0) + .withMaxResourcePercentPerRequest(3.0D) .withImportance("normal") .withQueryExecutionTimeout(0) .create(); diff --git a/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateSamples.java b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateSamples.java index 6e0162c5642fa..fc3da6b8c9fa4 100644 --- a/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateSamples.java +++ b/sdk/synapse/azure-resourcemanager-synapse/src/samples/java/com/azure/resourcemanager/synapse/generated/WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateSamples.java @@ -6,8 +6,8 @@ import com.azure.core.util.Context; import com.azure.resourcemanager.synapse.fluent.models.ManagedIdentitySqlControlSettingsModelInner; +import com.azure.resourcemanager.synapse.models.DesiredState; import com.azure.resourcemanager.synapse.models.ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity; -import com.azure.resourcemanager.synapse.models.ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState; /** Samples for WorkspaceManagedIdentitySqlControlSettings CreateOrUpdate. */ public final class WorkspaceManagedIdentitySqlControlSettingsCreateOrUpdateSamples { @@ -29,9 +29,7 @@ public static void createOrUpdateManagedIdentitySqlControlSettings( new ManagedIdentitySqlControlSettingsModelInner() .withGrantSqlControlToManagedIdentity( new ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentity() - .withDesiredState( - ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToManagedIdentityDesiredState - .ENABLED)), + .withDesiredState(DesiredState.ENABLED)), Context.NONE); } }