Skip to content

Add isManagedIdentityInUse property to DevOps Audit Api #18791

Merged
raych1 merged 1 commit intodev-sql-Microsoft.Sql-2022-02-01-previewfrom
AddDevOpsAuditVer2022
May 9, 2022
Merged

Add isManagedIdentityInUse property to DevOps Audit Api #18791
raych1 merged 1 commit intodev-sql-Microsoft.Sql-2022-02-01-previewfrom
AddDevOpsAuditVer2022

Conversation

@msdogra
Copy link
Contributor

@msdogra msdogra commented Apr 22, 2022

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?

    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
    May 2022

  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month. -May 2022

  4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.

    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @msdogra Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 22, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.

    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/sql/resource-manager/readme.md
    tag: specification/sql/resource-manager/readme.md#tag-package-composite-v5
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.

    ️️✔️SDK Track2 Validation succeeded [Detail]
    The following errors/warnings exist before current PR submission:
    Rule Message
    "readme":"sql/resource-manager/readme.md",
    "tag":"package-preview-2022-02",
    "details":"Error: Plugin checker reported failure."
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 22, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️✔️azure-sdk-for-go-track2 - armsql - 0.5.1
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-sql - 4.0.0b2
    ️✔️azure-sdk-for-js - @azure/arm-sql - 10.0.0-beta.1
    ️✔️azure-sdk-for-go - sql/mgmt/2014-04-01/sql - v63.3.0
    ️✔️azure-sdk-for-go - preview/sql/mgmt/v5.0/sql - v63.3.0
    ️✔️azure-sdk-for-go - preview/sql/mgmt/v4.0/sql - v63.3.0
    ️✔️azure-sdk-for-go - preview/sql/mgmt/v3.0/sql - v63.3.0
    ️✔️azure-sdk-for-go - preview/sql/mgmt/2018-06-01-preview/sql - v63.3.0
    ️✔️azure-sdk-for-go - preview/sql/mgmt/2017-10-01-preview/sql - v63.3.0
    ️✔️azure-sdk-for-go - preview/sql/mgmt/2017-03-01-preview/sql - v63.3.0
    ️✔️azure-sdk-for-go - preview/sql/mgmt/2015-05-01-preview/sql - v63.3.0
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs] Generate from 3d000fa25dc76dcde93c3b92d06e12eb758267bd. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/sql/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] No usable version of the libssl was found
      cmderr	[Autorest] FATAL: csharp/simplifier - FAILED
      cmderr	[Autorest] FATAL: Error: [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      cmderr	[Autorest] Process() cancelled due to exception : [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from 3d000fa25dc76dcde93c3b92d06e12eb758267bd. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.5.0 -> 8.7.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.7.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.7.0` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-sql [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation ManagedDatabaseSensitivityLabelsOperations.list_by_database
      info	[Changelog]   - Added operation SensitivityLabelsOperations.list_by_database
      info	[Changelog]   - Added operation group EndpointCertificatesOperations
      info	[Changelog]   - Added operation group ManagedServerDnsAliasesOperations
      info	[Changelog]   - Model Database has a new parameter source_resource_id
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model Database no longer has parameter primary_delegated_identity_client_id
      info	[Changelog]   - Model DatabaseIdentity no longer has parameter delegated_resources
      info	[Changelog]   - Model DatabaseUpdate no longer has parameter primary_delegated_identity_client_id
      info	[Changelog]   - Removed operation ReplicationLinksOperations.begin_unlink
    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs] Generate from 3d000fa25dc76dcde93c3b92d06e12eb758267bd. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      cmderr	[generate.py] SLF4J: Defaulting to no-operation (NOP) logger implementation
      cmderr	[generate.py] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      cmderr	[generate.py] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      cmderr	[generate.py] SLF4J: Defaulting to no-operation (NOP) logger implementation
      cmderr	[generate.py] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    • ️✔️azure-resourcemanager-sql-generated [View full logs]  [Preview SDK Changes]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 3d000fa25dc76dcde93c3b92d06e12eb758267bd. SDK Automation 14.0.0
      command	sh ./eng/initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sql/mgmt/2014-04-01/sql [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/sql/mgmt/v5.0/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - New struct `ServerTrustCertificatesListResultPage`
      info	[Changelog] - New struct `ServicePrincipal`
      info	[Changelog] - New field `Identity` in struct `Database`
      info	[Changelog] - New anonymous field `*DatabaseUpdateProperties` in struct `DatabaseUpdate`
      info	[Changelog] - New field `Identity` in struct `DatabaseUpdate`
      info	[Changelog] - New field `HighAvailabilityReplicaCount` in struct `ElasticPoolUpdateProperties`
      info	[Changelog] - New field `HighAvailabilityReplicaCount` in struct `ElasticPoolProperties`
      info	[Changelog] - New field `State` in struct `TransparentDataEncryptionProperties`
      info	[Changelog] - New field `ServicePrincipal` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `CurrentBackupStorageRedundancy` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `RequestedBackupStorageRedundancy` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `SourceResourceID` in struct `DatabaseProperties`
      info	[Changelog] - New field `FederatedClientID` in struct `DatabaseProperties`
      info	[Changelog]
      info	[Changelog] Total 125 breaking change(s), 386 additive change(s).
    • ️✔️preview/sql/mgmt/v4.0/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - New struct `LongTermRetentionOperationResultProperties`
      info	[Changelog] - New struct `LongTermRetentionPoliciesClient`
      info	[Changelog] - New struct `LongTermRetentionPoliciesCreateOrUpdateFuture`
      info	[Changelog] - New struct `LongTermRetentionPolicy`
      info	[Changelog] - New struct `LongTermRetentionPolicyListResult`
      info	[Changelog] - New struct `LongTermRetentionPolicyListResultIterator`
      info	[Changelog] - New struct `LongTermRetentionPolicyListResultPage`
      info	[Changelog] - New struct `UpdateLongTermRetentionBackupParameters`
      info	[Changelog] - New struct `UpdateLongTermRetentionBackupParametersProperties`
      info	[Changelog] - New field `CurrentBackupStorageRedundancy` in struct `DatabaseProperties`
      info	[Changelog] - New field `RequestedBackupStorageRedundancy` in struct `DatabaseProperties`
      info	[Changelog] - New field `BackupStorageRedundancy` in struct `LongTermRetentionBackupProperties`
      info	[Changelog] - New field `RequestedBackupStorageRedundancy` in struct `LongTermRetentionBackupProperties`
      info	[Changelog]
      info	[Changelog] Total 93 breaking change(s), 112 additive change(s).
    • ️✔️preview/sql/mgmt/v3.0/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - New struct `ManagedInstancePrivateEndpointProperty`
      info	[Changelog] - New struct `QueryMetricInterval`
      info	[Changelog] - New struct `QueryMetricProperties`
      info	[Changelog] - New struct `QueryStatisticsProperties`
      info	[Changelog] - New struct `TopQueries`
      info	[Changelog] - New struct `TopQueriesListResult`
      info	[Changelog] - New struct `TopQueriesListResultIterator`
      info	[Changelog] - New struct `TopQueriesListResultPage`
      info	[Changelog] - New field `PrivateEndpointConnections` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `ZoneRedundant` in struct `ManagedInstanceProperties`
      info	[Changelog] - New field `Identity` in struct `ManagedInstanceUpdate`
      info	[Changelog] - New field `SourceResourceID` in struct `DatabaseProperties`
      info	[Changelog] - New anonymous field `*DatabaseUpdateProperties` in struct `DatabaseUpdate`
      info	[Changelog]
      info	[Changelog] Total 22 breaking change(s), 79 additive change(s).
    • ️✔️preview/sql/mgmt/2018-06-01-preview/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - Const `Medium` has been removed
      info	[Changelog] - Const `Low` has been removed
      info	[Changelog] - Const `High` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `SensitivityLabelRankHigh`
      info	[Changelog] - New const `SensitivityLabelRankNone`
      info	[Changelog] - New const `SensitivityLabelRankMedium`
      info	[Changelog] - New const `UserAssigned`
      info	[Changelog] - New const `SensitivityLabelRankLow`
      info	[Changelog] - New const `SystemAssignedUserAssigned`
      info	[Changelog] - New const `SensitivityLabelRankCritical`
      info	[Changelog]
      info	[Changelog] Total 5 breaking change(s), 7 additive change(s).
    • ️✔️preview/sql/mgmt/2017-10-01-preview/sql [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/sql/mgmt/2017-03-01-preview/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - New const `CountPerSecond`
      info	[Changelog] - New const `BytesPerSecond`
      info	[Changelog] - New const `Percent`
      info	[Changelog] - New const `PrimaryAggregationTypeAverage`
      info	[Changelog] - New const `Seconds`
      info	[Changelog] - New const `PrimaryAggregationTypeMaximum`
      info	[Changelog] - New const `Bytes`
      info	[Changelog] - New const `PrimaryAggregationTypeCount`
      info	[Changelog] - New const `PrimaryAggregationTypeTotal`
      info	[Changelog] - New const `PrimaryAggregationTypeNone`
      info	[Changelog] - New const `SystemAssignedUserAssigned`
      info	[Changelog] - New const `UserAssigned`
      info	[Changelog] - New const `PrimaryAggregationTypeMinimum`
      info	[Changelog]
      info	[Changelog] Total 12 breaking change(s), 13 additive change(s).
    • ️✔️preview/sql/mgmt/2015-05-01-preview/sql [View full logs
      Only show 15 items here, please refer to log for details.
      info	[Changelog] - New const `UserAssigned`
      info	[Changelog] - New const `PrimaryAggregationTypeNone`
      info	[Changelog] - New const `PrimaryAggregationTypeMaximum`
      info	[Changelog] - New const `PrimaryAggregationTypeTotal`
      info	[Changelog] - New const `CountPerSecond`
      info	[Changelog] - New const `SystemAssignedUserAssigned`
      info	[Changelog] - New const `Seconds`
      info	[Changelog] - New const `Bytes`
      info	[Changelog] - New const `PrimaryAggregationTypeMinimum`
      info	[Changelog] - New const `PrimaryAggregationTypeAverage`
      info	[Changelog] - New const `Percent`
      info	[Changelog] - New const `BytesPerSecond`
      info	[Changelog] - New const `PrimaryAggregationTypeCount`
      info	[Changelog]
      info	[Changelog] Total 12 breaking change(s), 13 additive change(s).
    ️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 3d000fa25dc76dcde93c3b92d06e12eb758267bd. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️armsql [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs] Generate from 3d000fa25dc76dcde93c3b92d06e12eb758267bd. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      cmderr	[automation_init.sh] npm WARN deprecated read-package-tree@5.1.6: The functionality that this package provided is now in @npmcli/arborist
      cmderr	[automation_init.sh]  uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      cmderr	[automation_init.sh]  @opentelemetry/types@0.2.0: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh] npm WARN @octokit/plugin-request-log@1.0.4 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-sql [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group DistributedAvailabilityGroups
      info	[Changelog]   - Added operation group EndpointCertificates
      info	[Changelog]   - Added operation group IPv6FirewallRules
      info	[Changelog]   - Added operation group ManagedServerDnsAliases
      info	[Changelog]   - Added operation group ServerTrustCertificates
      info	[Changelog]   - Added operation ManagedDatabaseSensitivityLabels.listByDatabase
      info	[Changelog]   - Added operation SensitivityLabels.listByDatabase
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsDeleteOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsGetOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsListByInstanceNextOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsListByInstanceOptionalParams
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsListResult
      info	[Changelog]   - Added Interface DistributedAvailabilityGroupsUpdateOptionalParams
      info	[Changelog]   - Added Interface EndpointCertificateListResult
      info	[Changelog]   - Added Interface EndpointCertificatesGetOptionalParams
      info	[Changelog]   - Added Interface EndpointCertificatesListByInstanceNextOptionalParams
      info	[Changelog]   - Added Interface EndpointCertificatesListByInstanceOptionalParams
      info	[Changelog]   - Added Interface IPv6FirewallRuleListResult
      info	[Changelog]   - Added Interface IPv6FirewallRulesCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface IPv6FirewallRulesDeleteOptionalParams
      info	[Changelog]   - Added Interface IPv6FirewallRulesGetOptionalParams
      info	[Changelog]   - Added Interface IPv6FirewallRulesListByServerNextOptionalParams
      info	[Changelog]   - Added Interface IPv6FirewallRulesListByServerOptionalParams
      info	[Changelog]   - Added Interface ManagedDatabaseSensitivityLabelsListByDatabaseNextOptionalParams
      info	[Changelog]   - Added Interface ManagedDatabaseSensitivityLabelsListByDatabaseOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasAcquisition
      info	[Changelog]   - Added Interface ManagedServerDnsAliasCreation
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesAcquireOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesDeleteOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesGetOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesListByManagedInstanceNextOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasesListByManagedInstanceOptionalParams
      info	[Changelog]   - Added Interface ManagedServerDnsAliasListResult
      info	[Changelog]   - Added Interface SensitivityLabelsListByDatabaseNextOptionalParams
      info	[Changelog]   - Added Interface SensitivityLabelsListByDatabaseOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesDeleteOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesGetOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesListByInstanceNextOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesListByInstanceOptionalParams
      info	[Changelog]   - Added Interface ServerTrustCertificatesListResult
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroup
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsGetResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsListByInstanceNextResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsListByInstanceResponse
      info	[Changelog]   - Added Type Alias DistributedAvailabilityGroupsUpdateResponse
      info	[Changelog]   - Added Type Alias EndpointCertificate
      info	[Changelog]   - Added Type Alias EndpointCertificatesGetResponse
      info	[Changelog]   - Added Type Alias EndpointCertificatesListByInstanceNextResponse
      info	[Changelog]   - Added Type Alias EndpointCertificatesListByInstanceResponse
      info	[Changelog]   - Added Type Alias IPv6FirewallRule
      info	[Changelog]   - Added Type Alias IPv6FirewallRulesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias IPv6FirewallRulesGetResponse
      info	[Changelog]   - Added Type Alias IPv6FirewallRulesListByServerNextResponse
      info	[Changelog]   - Added Type Alias IPv6FirewallRulesListByServerResponse
      info	[Changelog]   - Added Type Alias ManagedDatabaseSensitivityLabelsListByDatabaseNextResponse
      info	[Changelog]   - Added Type Alias ManagedDatabaseSensitivityLabelsListByDatabaseResponse
      info	[Changelog]   - Added Type Alias ManagedServerDnsAlias
      info	[Changelog]   - Added Type Alias ManagedServerDnsAliasesAcquireResponse
      info	[Changelog]   - Added Type Alias ManagedServerDnsAliasesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ManagedServerDnsAliasesGetResponse
      info	[Changelog]   - Added Type Alias ManagedServerDnsAliasesListByManagedInstanceNextResponse
      info	[Changelog]   - Added Type Alias ManagedServerDnsAliasesListByManagedInstanceResponse
      info	[Changelog]   - Added Type Alias ReplicationLinksFailoverAllowDataLossResponse
      info	[Changelog]   - Added Type Alias ReplicationLinksFailoverResponse
      info	[Changelog]   - Added Type Alias ReplicationMode
      info	[Changelog]   - Added Type Alias SensitivityLabelsListByDatabaseNextResponse
      info	[Changelog]   - Added Type Alias SensitivityLabelsListByDatabaseResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificate
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesGetResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesListByInstanceNextResponse
      info	[Changelog]   - Added Type Alias ServerTrustCertificatesListByInstanceResponse
      info	[Changelog]   - Added Type Alias SyncGroupsType
      info	[Changelog]   - Interface ElasticPoolUpdate has a new optional parameter highAvailabilityReplicaCount
      info	[Changelog]   - Class SqlManagementClient has a new parameter distributedAvailabilityGroups
      info	[Changelog]   - Class SqlManagementClient has a new parameter endpointCertificates
      info	[Changelog]   - Class SqlManagementClient has a new parameter iPv6FirewallRules
      info	[Changelog]   - Class SqlManagementClient has a new parameter managedServerDnsAliases
      info	[Changelog]   - Class SqlManagementClient has a new parameter serverTrustCertificates
      info	[Changelog]   - Type Alias Database has a new parameter sourceResourceId
      info	[Changelog]   - Type Alias ElasticPool has a new parameter highAvailabilityReplicaCount
      info	[Changelog]   - Added Enum KnownReplicationMode
      info	[Changelog]   - Added Enum KnownSyncGroupsType
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation group OperationsHealthOperations
      info	[Changelog]   - Removed operation ReplicationLinks.beginUnlink
      info	[Changelog]   - Removed operation ReplicationLinks.beginUnlinkAndWait
      info	[Changelog]   - Operation SyncGroups.listLogs has a new signature
      info	[Changelog]   - Interface DatabaseIdentity no longer has parameter delegatedResources
      info	[Changelog]   - Interface DatabaseUpdate no longer has parameter primaryDelegatedIdentityClientId
      info	[Changelog]   - Class SqlManagementClient no longer has parameter operationsHealthOperations
      info	[Changelog]   - Type Alias Database no longer has parameter primaryDelegatedIdentityClientId
      info	[Changelog]   - Removed Enum KnownEnum60
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs] Generate from 3d000fa25dc76dcde93c3b92d06e12eb758267bd. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    Posted by Swagger Pipeline | How to fix these errors?

    @ghost ghost added the SQL label Apr 22, 2022
    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Apr 22, 2022
    @openapi-workflow-bot
    Copy link

    Hi, @msdogra your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com).

    "description": "Specifies whether DevOps audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure DevOps audit, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should be also created.\r\n\r\nDiagnostic Settings URI format:\r\nPUT 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\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
    "type": "boolean"
    },
    "isManagedIdentityInUse": {
    Copy link
    Member

    @mentat9 mentat9 Apr 23, 2022

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    isManagedIdentityInUse

    Recommend string enum instead of boolean. Enums are better properties for many reasons. In this case, you could do something more like blobStorageAccess: { Default, ManagedIdentity } (or better yet, name the default case). This approach also allows adding new enum values without creating a new API version. #Resolved

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    This API mimics the existing Auditing API, changing this to an enum would require changes in the auditing API and would require a lot of changes in other parts of the code.

    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    the suggestion is very good.
    I guess this parameter is following existing other auditing APIs. the customer might have onboarded the existing bool style auditing APIs for their scripts or workflow.

    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Not blocking ARM signoff on this, just a recommendation.

    @mentat9 mentat9 added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required ARMChangesRequested labels Apr 26, 2022
    Copy link
    Member

    @raosuhas raosuhas left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    :shipit:

    @raych1
    Copy link
    Member

    raych1 commented Apr 28, 2022

    @msdogra , do you want to make the change from boolean type to enum type so that it won't be breaking change to add more values in the future? Let me know if you want to keep it as is and merge this PR.

    @msdogra
    Copy link
    Contributor Author

    msdogra commented Apr 28, 2022 via email

    @raych1 raych1 merged commit 5d83b0b into dev-sql-Microsoft.Sql-2022-02-01-preview May 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-JavaScript SQL

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    5 participants