-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Dev containerservice microsoft.container service 2020 09 01 #10634
Dev containerservice microsoft.container service 2020 09 01 #10634
Conversation
…/2020-07-01 to version 2020-09-01
* add cluster autoscaler profile for september api * add to spell check
* add ephemeral os api types * add example link * fix default appearance
[Staging] Swagger Validation Report
️✔️ |
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-go - Release
|
Azure CLI Extension Generation - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
azure-sdk-for-java - Release
|
azure-sdk-for-js - Release
|
azure-sdk-for-python - Release
|
azure-sdk-for-net - Release
|
azure-resource-manager-schemas - Release
|
Trenton Generation - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
"description": "The collection value.", | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/PrivateLinkResource" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you pls use https://github.com/Azure/azure-rest-api-specs/blob/master/specification/common-types/resource-management/v1/privatelinks.json#L99 ? We're trying to use common definition for privatelink cross services for consistency. cc @allenjzhang .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can't use the common definition for this currently, there are some differences, like 'readonly' field.
Had talked this to Catherine offline, she is okay with it.
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resolvePrivateLinkServiceId": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems this operation is specific to aks. It's little confusing of "resolve private link service Id", from return type it should be "private link resource"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
None of the stuff here is new. This is a merge from the dev branch to master. Nothing here is new.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for "resolve private link service Id", it returns the private link resource as expected. BTW, privatelinkserviceId is part of private link resource.
cc @allenjzhang since this PR contains adding privatelink support. |
since new api added, add label "WaitForARMFeedback" |
@marwanad synced with me offline, changes in this PR is reviewed before merging to feature branch. For private link, here's the PR https://github.com/Azure/azure-rest-api-specs/pull/10548/files. I do see some issues there. Will trigger an email for further discussion. |
* update readme for sdks * update the remaining readme.md * fix space
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-python-track2 - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
"privateEndpoint": { | ||
"id": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2" | ||
}, | ||
"privateLinkServiceConnectionState": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing description and actiosRequired
NRP Spec section 7.4:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are AKS API instead of NRP API. They won't be invoked by NRP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know is AKS API, still those properties would be missing like all other Privately Linkable Resources
"privateEndpoint": { | ||
"id": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2" | ||
}, | ||
"privateLinkServiceConnectionState": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing description and actionsRequired
NRP Spec section 7.4:
"parameters": { | ||
"properties": { | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing description and actionsRequired
NRP Spec section 7.4:
"requiredMembers": [ | ||
"management" | ||
], | ||
"privateLinkServiceID": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/plsName" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PLS ID Not required on Swagger
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be more clear to have it here, and AKS already have logic to make sure PLSID is only exposed to NRP calls. I would like to have it as a part of swagger, unless you don't want to have swagger for these APIs.
"name": "management", | ||
"type": "Microsoft.ContainerService/managedClusters/privateLinkResources", | ||
"groupId": "management", | ||
"requiredMembers": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing requiredZoneNames property
NRP Spec section 7.5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is implemented with spec Private Link for AKS, not the 1st party spec. requiredZoneNames
is not used there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, let's take it for next iteration once supported
@@ -0,0 +1,18 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this API required on Swagger @ajinkyapotdarvjti ?
#sign-off |
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.
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 there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.
Please follow the link to find more details on PR review process.