Adding Kerberos flag for BastionHost
ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow. Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:
- 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
- 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.
- When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
- By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.
Contribution checklist (MS Employees Only):
- [ ] I commit to follow the Breaking Change Policy of "no breaking changes"
- [ ] I have reviewed the documentation for the workflow.
- [ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Applicability: :warning:
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 the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.
- Adding a new service
- Adding new API(s)
- Adding a new API version -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For 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 you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.
Hi, @abhi7860 Thanks for your PR. I am workflow bot for review process. Here are some small tips.
Swagger Validation Report
️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
| compared swaggers (via Oad v0.10.2)] | new version | base version |
|---|---|---|
| bastionHost.json | 2022-09-01(04603eb) | 2022-07-01(main) |
️⚠️LintDiff: 0 Warnings warning [Detail]
| compared tags (via openapi-validator v2.0.0) | new version | base version |
|---|---|---|
| package-2022-09 | package-2022-09(04603eb) | package-2022-09(release-Microsoft.Network-2022-09-01) |
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 'bastionHostName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L37 |
LongRunningResponseStatusCode |
A 'delete' operation 'BastionHosts_Delete' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 204. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L38 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L59 |
PatchSkuProperty |
The patch operation body parameter schema should contains property 'sku'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L200 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L220 |
ResourceNameRestriction |
The resource name parameter 'bastionHostName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L322 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L354 |
ResourceNameRestriction |
The resource name parameter 'bastionHostName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L378 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L407 |
ResourceNameRestriction |
The resource name parameter 'bastionHostName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L428 |
ResourceNameRestriction |
The resource name parameter 'bastionHostName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L477 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L505 |
ResourceNameRestriction |
The resource name parameter 'bastionHostName' should be defined with a 'pattern' restriction. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L529 |
MissingTypeObject |
The schema 'BastionHostIPConfigurationPropertiesFormat' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L598 |
MissingTypeObject |
The schema 'BastionHostIPConfiguration' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L624 |
MissingTypeObject |
The schema 'BastionHostPropertiesFormat' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L653 |
MissingTypeObject |
The schema 'BastionHost' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L711 |
RequiredPropertiesMissingInResourceModel |
Model definition 'BastionHost' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L711 |
MissingTypeObject |
The schema 'BastionHostListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L735 |
MissingTypeObject |
The schema 'BastionShareableLink' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L751 |
MissingTypeObject |
The schema 'BastionShareableLinkListRequest' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L778 |
XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L780 |
MissingTypeObject |
The schema 'BastionShareableLinkListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L790 |
XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L792 |
MissingTypeObject |
The schema 'BastionActiveSession' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L806 |
MissingTypeObject |
The schema 'BastionActiveSessionListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L874 |
XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L876 |
MissingTypeObject |
The schema 'BastionSessionState' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L890 |
MissingTypeObject |
The schema 'BastionSessionDeleteResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L910 |
XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.Network/stable/2022-09-01/bastionHost.json#L912 |
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️❌~[Staging] SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
️❌ModelValidation: 10 Errors, 0 Warnings failed [Detail]
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
️️✔️ApiDocPreview succeeded [Detail] [Expand]
Please click here to preview with your @microsoft account.
️⚠️SDK Breaking Change Tracking warning [Detail]
Breaking Changes Tracking
⚠️azure-sdk-for-js - @azure/arm-network - 31.0.0+ Interface AdminRuleCollectionsListNextOptionalParams no longer has parameter skipToken + Interface AdminRuleCollectionsListNextOptionalParams no longer has parameter top + Interface AdminRulesListNextOptionalParams no longer has parameter skipToken + Interface AdminRulesListNextOptionalParams no longer has parameter top + Interface ConnectivityConfigurationsListNextOptionalParams no longer has parameter skipToken + Interface ConnectivityConfigurationsListNextOptionalParams no longer has parameter top + Interface DdosProtectionPlan no longer has parameter publicIpAddresses + Interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams no longer has parameter skipToken + Interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams no longer has parameter top + Interface NetworkGroupsListNextOptionalParams no longer has parameter skipToken + Interface NetworkGroupsListNextOptionalParams no longer has parameter top + Interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextOptionalParams no longer has parameter expand + Interface NetworkManagersListBySubscriptionNextOptionalParams no longer has parameter skipToken + Interface NetworkManagersListBySubscriptionNextOptionalParams no longer has parameter top + Interface NetworkManagersListNextOptionalParams no longer has parameter skipToken + Interface NetworkManagersListNextOptionalParams no longer has parameter top + Interface ScopeConnectionsListNextOptionalParams no longer has parameter skipToken + Interface ScopeConnectionsListNextOptionalParams no longer has parameter top + Interface SecurityAdminConfigurationsListNextOptionalParams no longer has parameter skipToken + Interface SecurityAdminConfigurationsListNextOptionalParams no longer has parameter top + Interface ServiceTagInformationListNextOptionalParams no longer has parameter noAddressPrefixes + Interface ServiceTagInformationListNextOptionalParams no longer has parameter tagName + Interface StaticMembersListNextOptionalParams no longer has parameter skipToken + Interface StaticMembersListNextOptionalParams no longer has parameter top + Interface SubscriptionNetworkManagerConnectionsListNextOptionalParams no longer has parameter skipToken + Interface SubscriptionNetworkManagerConnectionsListNextOptionalParams no longer has parameter top + Interface VirtualNetworksListDdosProtectionStatusNextOptionalParams no longer has parameter skipToken + Interface VirtualNetworksListDdosProtectionStatusNextOptionalParams no longer has parameter top
️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
️✔️Succeeded [Logs] Generate from 903017da878e9aad80a362820fa11490d1aea8dc. SDK Automation 14.0.0warn 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 [email protected]/[email protected] --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/network/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
️✔️Microsoft.Azure.Management.Network [View full logs] [Preview SDK Changes]
️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
️✔️Succeeded [Logs] Generate from 903017da878e9aad80a362820fa11490d1aea8dc. SDK Automation 14.0.0command 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.Network [View full logs] [Preview SDK Changes]info [Changelog]
️⚠️ azure-sdk-for-python-track2 warning [Detail]
⚠️Warning [Logs] Generate from 903017da878e9aad80a362820fa11490d1aea8dc. SDK Automation 14.0.0command 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 major version of npm available! 8.19.2 -> 9.2.0 cmderr [automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.2.0> cmderr [automation_generate.sh] npm notice Run `npm install -g [email protected]` to update! cmderr [automation_generate.sh] npm notice
️✔️track2_azure-mgmt-network [View full logs] [Preview SDK Changes]info [Changelog] ### Features Added info [Changelog] info [Changelog] - Model NspLink has a new parameter remote_perimeter_location info [Changelog] - Model NspLinkReference has a new parameter remote_perimeter_location
️⚠️ azure-sdk-for-java warning [Detail]
⚠️Warning [Logs] Generate from 903017da878e9aad80a362820fa11490d1aea8dc. SDK Automation 14.0.0command ./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 available: 22.3 -> 22.3.1 cmderr [init.sh] [notice] To update, run: pip install --upgrade pip cmderr [init.sh] [notice] A new release of pip available: 22.3 -> 22.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-network-generated [View full logs] [Preview SDK Changes]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
️✔️Succeeded [Logs] Generate from 903017da878e9aad80a362820fa11490d1aea8dc. SDK Automation 14.0.0command 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/network/armnetwork [View full logs] [Preview SDK Changes]info [Changelog] ### Features Added info [Changelog] info [Changelog] - New field `EnableKerberos` in struct `BastionHostPropertiesFormat` info [Changelog] - New field `FlowLogs` in struct `VirtualNetworkPropertiesFormat` info [Changelog] info [Changelog] Total 0 breaking change(s), 2 additive change(s).
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
️✔️Succeeded [Logs] Generate from 903017da878e9aad80a362820fa11490d1aea8dc. SDK Automation 14.0.0command 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-network [View full logs] [Preview SDK Changes] Breaking Change Detectedinfo [Changelog] **Features** info [Changelog] info [Changelog] - Interface BastionHost has a new optional parameter enableKerberos info [Changelog] - Interface DdosProtectionPlan has a new optional parameter publicIPAddresses info [Changelog] - Interface VirtualNetwork has a new optional parameter flowLogs info [Changelog] info [Changelog] **Breaking Changes** info [Changelog] info [Changelog] - Interface AdminRuleCollectionsListNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface AdminRuleCollectionsListNextOptionalParams no longer has parameter top info [Changelog] - Interface AdminRulesListNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface AdminRulesListNextOptionalParams no longer has parameter top info [Changelog] - Interface ConnectivityConfigurationsListNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface ConnectivityConfigurationsListNextOptionalParams no longer has parameter top info [Changelog] - Interface DdosProtectionPlan no longer has parameter publicIpAddresses info [Changelog] - Interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface ManagementGroupNetworkManagerConnectionsListNextOptionalParams no longer has parameter top info [Changelog] - Interface NetworkGroupsListNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface NetworkGroupsListNextOptionalParams no longer has parameter top info [Changelog] - Interface NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsNextOptionalParams no longer has parameter expand info [Changelog] - Interface NetworkManagersListBySubscriptionNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface NetworkManagersListBySubscriptionNextOptionalParams no longer has parameter top info [Changelog] - Interface NetworkManagersListNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface NetworkManagersListNextOptionalParams no longer has parameter top info [Changelog] - Interface ScopeConnectionsListNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface ScopeConnectionsListNextOptionalParams no longer has parameter top info [Changelog] - Interface SecurityAdminConfigurationsListNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface SecurityAdminConfigurationsListNextOptionalParams no longer has parameter top info [Changelog] - Interface ServiceTagInformationListNextOptionalParams no longer has parameter noAddressPrefixes info [Changelog] - Interface ServiceTagInformationListNextOptionalParams no longer has parameter tagName info [Changelog] - Interface StaticMembersListNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface StaticMembersListNextOptionalParams no longer has parameter top info [Changelog] - Interface SubscriptionNetworkManagerConnectionsListNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface SubscriptionNetworkManagerConnectionsListNextOptionalParams no longer has parameter top info [Changelog] - Interface VirtualNetworksListDdosProtectionStatusNextOptionalParams no longer has parameter skipToken info [Changelog] - Interface VirtualNetworksListDdosProtectionStatusNextOptionalParams no longer has parameter top
️🔄 azure-resource-manager-schemas inProgress [Detail]
️❌ azure-powershell failed [Detail]
❌Failed [Logs] Generate from 903017da878e9aad80a362820fa11490d1aea8dc. SDK Automation 14.0.0command 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
❌Az.network [View full logs] [Preview SDK Changes]
Generated ApiView
| Language | Package Name | ApiView Link |
|---|---|---|
| Go | sdk/resourcemanager/network/armnetwork | https://apiview.dev/Assemblies/Review/79e0a068453c428e8cb2ac1626fa3c1e |
| Java | azure-resourcemanager-network-generated | https://apiview.dev/Assemblies/Review/d3b912b6478940bf80aec2a192d19fe2 |
| .Net | Azure.ResourceManager.Network | There is no API change compared with the previous version |
| JavaScript | @azure/arm-network | https://apiview.dev/Assemblies/Review/37109be9d200408ead1ca4b70ae2cb44 |