Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TLS 1.3 to valid TLS version: Autogenerated swagger for rest-api #26937

Conversation

jha1bhavna
Copy link
Contributor

@jha1bhavna jha1bhavna commented Dec 4, 2023

ARM (Control Plane) API Specification Update Pull Request

Tip: overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

Click here to see the details of Step 1

Breaking changes review (Diagram Step 1)

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

  • The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
  • You believe there is no need for you to request breaking change approval, for any reason.
    Such claims must be reviewed, and the process is the same.
Click here to see the details of Step 2

ARM API changes review (Diagram Step 2)

  • If this PR is in purview of ARM review then automation will add the ARMReview label.
  • If you want to force ARM review, add the label yourself.
  • Proceed according to the diagram at the top of this comment.
Click here to see the diagram footnotes

Diagram footnotes

[1] ARM review queue (for merge queues, see [2])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])

If you need further help with anything, see Getting help section below.

Purpose of this PR

What's the purpose of this PR? Check all that apply. This is mandatory!

  • New API version. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix swagger quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the Diagram Step 2, "ARM API changes Review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Copy link

openapi-pipeline-app bot commented Dec 4, 2023

Next Steps to Merge

✔️ All automated merging requirements have been met! Refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM).

Copy link

openapi-pipeline-app bot commented Dec 4, 2023

Swagger Validation Report

️❌BreakingChange: 1 Errors, 0 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
Servers.json 2023-05-01-preview(19a4e38) 2023-05-01-preview(main)
Rule Message
1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
New: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L1067:9
Old: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L1040:9
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 0 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.6) new version base version
package-preview-2023-05 package-preview-2023-05(19a4e38) package-preview-2023-05(main)

The following errors/warnings exist before current PR submission:

Only 30 items are listed, please refer to log for more details.

Rule Message
ResourceNameRestriction The resource name parameter 'serverName' should be defined with a 'pattern' restriction.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L171
ParametersInPointGet Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L178
ProvisioningStateSpecifiedForLROPut 200 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L222
ProvisioningStateSpecifiedForLROPut 201 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L222
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L222
RequestBodyMustExistForPutPatch The put or patch operation does not have a request body defined. This is not allowed. Please specify a request body for this operation.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L228
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L264
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L281
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L311
RequestBodyMustExistForPutPatch The put or patch operation does not have a request body defined. This is not allowed. Please specify a request body for this operation.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L331
ProvisioningStateSpecifiedForLROPatch 200 response schema in long running PATCH operation is missing ProvisioningState property. A LRO PATCH operations 200 response schema must have ProvisioningState specified.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L355
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L367
ResourceNameRestriction The resource name parameter 'serverName' should be defined with a 'pattern' restriction.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L379
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L422
ResourceNameRestriction The resource name parameter 'serverName' should be defined with a 'pattern' restriction.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L437
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L471
PropertiesTypeObjectNoDefinition Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L549
ProvisioningStateValidation ProvisioningState must have terminal states: Succeeded, Failed and Canceled.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L772
PropertiesTypeObjectNoDefinition Properties with type:object that don't reference a model definition are not allowed. ARM doesn't allow generic type definitions as this leads to bad customer experience.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L864
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L26
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L77
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L126
⚠️ RequiredReadOnlySystemData The response of operation:'Servers_Get' is defined without 'systemData'. Consider adding the systemData to the response.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L172
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L178
⚠️ RequiredReadOnlySystemData The response of operation:'Servers_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L222
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L228
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L287
⚠️ RequiredReadOnlySystemData The response of operation:'Servers_Update' is defined without 'systemData'. Consider adding the systemData to the response.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L325
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L331
⚠️ LongRunningOperationsOptionsValidator A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled.
Location: Microsoft.Sql/preview/2023-05-01-preview/Servers.json#L379
️⚠️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
️❌SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Dec 4, 2023

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-python-track2 warning [Detail]
  • ⚠️Warning [Logs] Generate from b48d6720ef3668e4841dd78e4efcf5de4f74d0ed. 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: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    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 patch version of npm available! 10.2.3 -> 10.2.5
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️track2_azure-mgmt-sql [View full logs]  [Preview SDK Changes]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Added operation LongTermRetentionBackupsOperations.begin_change_access_tier
    info	[Changelog]   - Added operation LongTermRetentionBackupsOperations.begin_change_access_tier_by_resource_group
    info	[Changelog]   - Model LongTermRetentionBackup has a new parameter backup_storage_access_tier
    info	[Changelog]   - Model LongTermRetentionBackup has a new parameter is_backup_immutable
    info	[Changelog]   - Model LongTermRetentionPolicy has a new parameter backup_storage_access_tier
    info	[Changelog]   - Model LongTermRetentionPolicy has a new parameter make_backups_immutable
️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from b48d6720ef3668e4841dd78e4efcf5de4f74d0ed. SDK Automation 14.0.0
    command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
    command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
  • ️✔️Azure.ResourceManager.Sql [View full logs]  [Preview SDK Changes]
    info	[Changelog]
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning [Logs] Generate from b48d6720ef3668e4841dd78e4efcf5de4f74d0ed. 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
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.1
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.1
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-sql-generated [View full logs]  [Preview SDK Changes]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from b48d6720ef3668e4841dd78e4efcf5de4f74d0ed. 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
  • ️✔️sdk/resourcemanager/sql/armsql [View full logs]  [Preview SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Type of `LongTermRetentionPolicy.Properties` has been changed from `*BaseLongTermRetentionPolicyProperties` to `*LongTermRetentionPolicyProperties`
    info	[Changelog]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - New enum type `BackupStorageAccessTier` with values `BackupStorageAccessTierArchive`, `BackupStorageAccessTierHot`
    info	[Changelog] - New function `*ClientFactory.NewJobPrivateEndpointsClient() *JobPrivateEndpointsClient`
    info	[Changelog] - New function `NewJobPrivateEndpointsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*JobPrivateEndpointsClient, error)`
    info	[Changelog] - New function `*JobPrivateEndpointsClient.BeginCreateOrUpdate(context.Context, string, string, string, string, JobPrivateEndpoint, *JobPrivateEndpointsClientBeginCreateOrUpdateOptions) (*runtime.Poller[JobPrivateEndpointsClientCreateOrUpdateResponse], error)`
    info	[Changelog] - New function `*JobPrivateEndpointsClient.BeginDelete(context.Context, string, string, string, string, *JobPrivateEndpointsClientBeginDeleteOptions) (*runtime.Poller[JobPrivateEndpointsClientDeleteResponse], error)`
    info	[Changelog] - New function `*JobPrivateEndpointsClient.Get(context.Context, string, string, string, string, *JobPrivateEndpointsClientGetOptions) (JobPrivateEndpointsClientGetResponse, error)`
    info	[Changelog] - New function `*JobPrivateEndpointsClient.NewListByAgentPager(string, string, string, *JobPrivateEndpointsClientListByAgentOptions) *runtime.Pager[JobPrivateEndpointsClientListByAgentResponse]`
    info	[Changelog] - New function `*LongTermRetentionBackupsClient.BeginChangeAccessTier(context.Context, string, string, string, string, ChangeLongTermRetentionBackupAccessTierParameters, *LongTermRetentionBackupsClientBeginChangeAccessTierOptions) (*runtime.Poller[LongTermRetentionBackupsClientChangeAccessTierResponse], error)`
    info	[Changelog] - New function `*LongTermRetentionBackupsClient.BeginChangeAccessTierByResourceGroup(context.Context, string, string, string, string, string, ChangeLongTermRetentionBackupAccessTierParameters, *LongTermRetentionBackupsClientBeginChangeAccessTierByResourceGroupOptions) (*runtime.Poller[LongTermRetentionBackupsClientChangeAccessTierByResourceGroupResponse], error)`
    info	[Changelog] - New struct `ChangeLongTermRetentionBackupAccessTierParameters`
    info	[Changelog] - New struct `ErrorAdditionalInfo`
    info	[Changelog] - New struct `ErrorDetail`
    info	[Changelog] - New struct `ErrorResponse`
    info	[Changelog] - New struct `JobPrivateEndpoint`
    info	[Changelog] - New struct `JobPrivateEndpointListResult`
    info	[Changelog] - New struct `JobPrivateEndpointProperties`
    info	[Changelog] - New struct `LongTermRetentionPolicyProperties`
    info	[Changelog] - New field `DNSZone`, `MaintenanceConfigurationID` in struct `InstancePoolProperties`
    info	[Changelog] - New field `Properties`, `SKU` in struct `InstancePoolUpdate`
    info	[Changelog] - New field `BackupStorageAccessTier`, `IsBackupImmutable` in struct `LongTermRetentionBackupProperties`
    info	[Changelog]
    info	[Changelog] Total 1 breaking change(s), 30 additive change(s).
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from b48d6720ef3668e4841dd78e4efcf5de4f74d0ed. 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
    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]
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Added operation group JobPrivateEndpoints
    info	[Changelog]   - Added operation FailoverGroups.beginTryPlannedBeforeForcedFailover
    info	[Changelog]   - Added operation FailoverGroups.beginTryPlannedBeforeForcedFailoverAndWait
    info	[Changelog]   - Added operation LongTermRetentionBackups.beginChangeAccessTier
    info	[Changelog]   - Added operation LongTermRetentionBackups.beginChangeAccessTierAndWait
    info	[Changelog]   - Added operation LongTermRetentionBackups.beginChangeAccessTierByResourceGroup
    info	[Changelog]   - Added operation LongTermRetentionBackups.beginChangeAccessTierByResourceGroupAndWait
    info	[Changelog]   - Added Interface ChangeLongTermRetentionBackupAccessTierParameters
    info	[Changelog]   - Added Interface ErrorAdditionalInfo
    info	[Changelog]   - Added Interface ErrorDetail
    info	[Changelog]   - Added Interface ErrorResponse
    info	[Changelog]   - Added Interface FailoverGroupsTryPlannedBeforeForcedFailoverHeaders
    info	[Changelog]   - Added Interface FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams
    info	[Changelog]   - Added Interface JobPrivateEndpoint
    info	[Changelog]   - Added Interface JobPrivateEndpointListResult
    info	[Changelog]   - Added Interface JobPrivateEndpointsCreateOrUpdateOptionalParams
    info	[Changelog]   - Added Interface JobPrivateEndpointsDeleteOptionalParams
    info	[Changelog]   - Added Interface JobPrivateEndpointsGetOptionalParams
    info	[Changelog]   - Added Interface JobPrivateEndpointsListByAgentNextOptionalParams
    info	[Changelog]   - Added Interface JobPrivateEndpointsListByAgentOptionalParams
    info	[Changelog]   - Added Interface LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams
    info	[Changelog]   - Added Interface LongTermRetentionBackupsChangeAccessTierOptionalParams
    info	[Changelog]   - Added Type Alias BackupStorageAccessTier
    info	[Changelog]   - Added Type Alias FailoverGroupsTryPlannedBeforeForcedFailoverResponse
    info	[Changelog]   - Added Type Alias FreeLimitExhaustionBehavior
    info	[Changelog]   - Added Type Alias JobPrivateEndpointsCreateOrUpdateResponse
    info	[Changelog]   - Added Type Alias JobPrivateEndpointsGetResponse
    info	[Changelog]   - Added Type Alias JobPrivateEndpointsListByAgentNextResponse
    info	[Changelog]   - Added Type Alias JobPrivateEndpointsListByAgentResponse
    info	[Changelog]   - Added Type Alias LongTermRetentionBackupsChangeAccessTierByResourceGroupResponse
    info	[Changelog]   - Added Type Alias LongTermRetentionBackupsChangeAccessTierResponse
    info	[Changelog]   - Interface Database has a new optional parameter encryptionProtectorAutoRotation
    info	[Changelog]   - Interface Database has a new optional parameter freeLimitExhaustionBehavior
    info	[Changelog]   - Interface Database has a new optional parameter useFreeLimit
    info	[Changelog]   - Interface DatabaseUpdate has a new optional parameter encryptionProtectorAutoRotation
    info	[Changelog]   - Interface DatabaseUpdate has a new optional parameter freeLimitExhaustionBehavior
    info	[Changelog]   - Interface DatabaseUpdate has a new optional parameter useFreeLimit
    info	[Changelog]   - Interface ElasticPool has a new optional parameter availabilityZone
    info	[Changelog]   - Interface ElasticPool has a new optional parameter minCapacity
    info	[Changelog]   - Interface ElasticPool has a new optional parameter preferredEnclaveType
    info	[Changelog]   - Interface ElasticPoolUpdate has a new optional parameter availabilityZone
    info	[Changelog]   - Interface ElasticPoolUpdate has a new optional parameter minCapacity
    info	[Changelog]   - Interface ElasticPoolUpdate has a new optional parameter preferredEnclaveType
    info	[Changelog]   - Interface FailoverGroupReadOnlyEndpoint has a new optional parameter targetServer
    info	[Changelog]   - Interface FailoverGroupUpdate has a new optional parameter partnerServers
    info	[Changelog]   - Interface InstancePool has a new optional parameter dnsZone
    info	[Changelog]   - Interface InstancePool has a new optional parameter maintenanceConfigurationId
    info	[Changelog]   - Interface InstancePoolUpdate has a new optional parameter dnsZone
    info	[Changelog]   - Interface InstancePoolUpdate has a new optional parameter licenseType
    info	[Changelog]   - Interface InstancePoolUpdate has a new optional parameter maintenanceConfigurationId
    info	[Changelog]   - Interface InstancePoolUpdate has a new optional parameter sku
    info	[Changelog]   - Interface InstancePoolUpdate has a new optional parameter subnetId
    info	[Changelog]   - Interface InstancePoolUpdate has a new optional parameter vCores
    info	[Changelog]   - Interface LongTermRetentionBackup has a new optional parameter backupStorageAccessTier
    info	[Changelog]   - Interface LongTermRetentionBackup has a new optional parameter isBackupImmutable
    info	[Changelog]   - Interface LongTermRetentionPolicy has a new optional parameter backupStorageAccessTier
    info	[Changelog]   - Interface LongTermRetentionPolicy has a new optional parameter makeBackupsImmutable
    info	[Changelog]   - Interface ManagedDatabase has a new optional parameter isLedgerOn
    info	[Changelog]   - Interface ManagedDatabaseUpdate has a new optional parameter isLedgerOn
    info	[Changelog]   - Interface PrivateEndpointConnection has a new optional parameter groupIds
    info	[Changelog]   - Interface Server has a new optional parameter isIPv6Enabled
    info	[Changelog]   - Interface ServerUpdate has a new optional parameter isIPv6Enabled
    info	[Changelog]   - Interface SqlVulnerabilityAssessmentScanRecord has a new optional parameter lastScanTime
    info	[Changelog]   - Added Enum KnownBackupStorageAccessTier
    info	[Changelog]   - Added Enum KnownFreeLimitExhaustionBehavior
️⚠️ azure-resource-manager-schemas warning [Detail]
  • ⚠️Warning [Logs] Generate from b48d6720ef3668e4841dd78e4efcf5de4f74d0ed. 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]  notice
    cmderr	[initScript.sh] npm notice New major version of npm available! 8.19.4 -> 10.2.5
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    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
️❌ azure-powershell failed [Detail]
  • Pipeline Framework Failed [Logs] Generate from b48d6720ef3668e4841dd78e4efcf5de4f74d0ed. SDK Automation 14.0.0
    command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
    command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    SSL error: syscall failure: Broken pipe
    Error: SSL error: syscall failure: Broken pipe
  • ⚠️Az.sql.DefaultTag [View full logs
    error	Fatal error: SSL error: syscall failure: Broken pipe
    error	The following packages are still pending:
    error		Az.sql.DefaultTag
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Dec 4, 2023

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/sql/armsql Create ApiView failed. Please ask PR assignee for help
.Net Azure.ResourceManager.Sql Create ApiView failed. Please ask PR assignee for help
JavaScript @azure/arm-sql https://apiview.dev/Assemblies/Review/129721cd69b541de821b5e7227b49902?revisionId=98dbe68389b34d868980e6ba5dd58f35
Swagger Microsoft.Sql Create ApiView failed. Please ask PR assignee for help

@AzureRestAPISpecReview AzureRestAPISpecReview added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review ARMReview BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager labels Dec 4, 2023
Copy link

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

}
]
}
"type": "string"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

revert this change

Comment on lines +1058 to +1070
"description": "Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3'",
"enum": [
"None",
"1.0",
"1.1",
"1.2",
"1.3"
],
"type": "string",
"x-ms-enum": {
"name": "MinimalTlsVersion",
"modelAsString": true
}
Copy link
Contributor

Choose a reason for hiding this comment

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

yes, it is what we need for the enum string def.

Comment on lines 701 to 705
"x-ms-arm-id-details": {
"allowedResources": [
{}
]
},
Copy link
Contributor

Choose a reason for hiding this comment

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

revert this change in this PR

@ericshape
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@ericshape
Copy link
Contributor

do we know why the CLA pipeline is paused?

@jha1bhavna
Copy link
Contributor Author

jha1bhavna commented Dec 11, 2023 via email

@mikekistler mikekistler added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Dec 12, 2023
@ericshape ericshape removed the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Dec 12, 2023
@jha1bhavna jha1bhavna removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Dec 13, 2023
@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 Dec 13, 2023
@jha1bhavna jha1bhavna added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review labels Dec 13, 2023
@AzureRestAPISpecReview AzureRestAPISpecReview added the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Dec 13, 2023
@ms-zhenhua ms-zhenhua 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 labels Dec 13, 2023
@jha1bhavna
Copy link
Contributor Author

/pr RequestMerge

@ms-zhenhua ms-zhenhua merged commit 11d64ba into Azure:main Dec 14, 2023
28 of 30 checks passed
arifibrahim4 pushed a commit that referenced this pull request Feb 26, 2024
…26937)

* Autogenerated swagger for rest-api

* Removing extra changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants