-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Add PrivateEndpointConnection Swagger #6727
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 PrivateEndpointConnection Swagger #6727
Conversation
Automation for azure-sdk-for-pythonA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
|
Can one of the admins verify this patch? |
Automation for azure-sdk-for-goNothing to generate for azure-sdk-for-go |
| ], | ||
| "properties": {} | ||
| }, | ||
| "PrivateLink": { |
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.
Please check with Mario whether this should be PrivateLink vs 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.
Discussed with Bo from NRP and he said we should use PrivateLinkResource. Fixed in most recent commit.
| - Microsoft.Sql/preview/2018-06-01-preview/managedInstances.json | ||
| - Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json | ||
| - Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json | ||
| - Microsoft.Sql/preview/2018-06-01-preview/PrivateEndpointConnections.json |
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.
Please also add to package-composite-v3
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.
Fixed
| } | ||
| }, | ||
| "definitions": { | ||
| "PrivateLinkListResult": { |
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.
PrivateLinkResourceListResult
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.
removed from this PR. Will address when I create PLR PR
| "properties": { | ||
| "privateLinkServiceConnectionState": { | ||
| "status": "Approved", | ||
| "description": "Approved by [email protected]" |
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.
You know company.com is real? I don't think they want us to use them as an example ;) Please use known examples such as contoso or example.com. "[email protected]" would be perfect.
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.
removed from this PR. Will address when I create PLR PR
| }, | ||
| "privateLinkServiceConnectionState": { | ||
| "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty", | ||
| "description": "Connection State of the Private Endpoint Connection." |
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.
Nit: capitalization is only for products (e.g. "Azure SQL Database"), not product features ("private endpoint connection"). Please find & replace.
|
This is ready for merging now |
|
@sergey-shandar could you approve/merge pls |
...ql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/PrivateEndpointConnections.json
Show resolved
Hide resolved
...ql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/PrivateEndpointConnections.json
Show resolved
Hide resolved
| } | ||
| } | ||
| }, | ||
| "PrivateEndpointProperty": { |
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.
Can you mark this as a resource id? See
Line 137 in a3a5331
| "SubResource": { |
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.
@jaredmoo is this possible with our Framework?
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.
Anthony, can you clarify which part of the example you are referring to? Is it x-ms-azure-resource: true?
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.
Yup, sorry - my comment wasn't very clear. I'm just referring to x-ms-azure-resource: true
| "type": "string" | ||
| }, | ||
| "actionsRequired": { | ||
| "description": "The private link service connection description.", |
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.
Update description
...ql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/PrivateEndpointConnections.json
Show resolved
Hide resolved
…rha/azure-rest-api-specs into privateendpointconnections
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.