-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Added new API and API version for private DNS zone suffix #13789
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
Merged
zhenglaizhang
merged 19 commits into
Azure:master
from
taogems:user/tazhang/AddGetPrivateDnsZoneSuffixAPI
Apr 16, 2021
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
03a89b1
Added new API and API version for private DNS zone suffix
taogems 6a364c2
trigger validation pipelines
taogems 011a5d3
Add new API to readme
taogems a713001
Fix ARM pipelines
taogems 26981d3
Try fix again
taogems 98d3798
Fix again
taogems 9d4ca9e
Add Operations API
taogems 7cf197c
Revert "Add Operations API"
taogems 0574439
Revert "Revert "Add Operations API""
taogems 61b76b1
Revert "Revert "Revert "Add Operations API"""
taogems 9f55eb4
Revert "Revert "Revert "Revert "Add Operations API""""
taogems 34ae6c7
Revert "Revert "Revert "Revert "Revert "Add Operations API"""""
taogems cb6d1b0
Address review comment from ARM
taogems 227cf73
Revert "Address review comment from ARM"
taogems ed562f4
Revert "Revert "Address review comment from ARM""
taogems a11c889
Revert "Revert "Revert "Revert "Revert "Revert "Add Operations API""""""
taogems 15975fc
Revert "Revert "Revert "Revert "Revert "Revert "Revert "Add Operation…
taogems aff6fd3
Add previous APIs to tag
taogems f05a662
Retrigger build
taogems File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
105 changes: 105 additions & 0 deletions
105
...e-manager/Microsoft.DBforPostgreSQL/preview/2021-03-31-privatepreview/PrivateDnsZone.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| { | ||
| "swagger": "2.0", | ||
| "info": { | ||
| "version": "2021-03-31-privatepreview", | ||
| "title": "PostgreSQLManagementClient", | ||
| "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model." | ||
| }, | ||
| "host": "management.azure.com", | ||
| "schemes": [ | ||
| "https" | ||
| ], | ||
| "consumes": [ | ||
| "application/json" | ||
| ], | ||
| "produces": [ | ||
| "application/json" | ||
| ], | ||
| "security": [ | ||
| { | ||
| "azure_auth": [ | ||
| "user_impersonation" | ||
| ] | ||
| } | ||
| ], | ||
| "securityDefinitions": { | ||
| "azure_auth": { | ||
| "type": "oauth2", | ||
| "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
| "flow": "implicit", | ||
| "description": "Azure Active Directory OAuth2 Flow", | ||
| "scopes": { | ||
| "user_impersonation": "impersonate your user account" | ||
| } | ||
| } | ||
| }, | ||
| "paths": { | ||
| "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/getPrivateDnsZoneSuffix": { | ||
| "post": { | ||
| "tags": [ | ||
| "GetPrivateDnsZoneSuffix" | ||
| ], | ||
| "operationId": "GetPrivateDnsZoneSuffix_Execute", | ||
| "x-ms-examples": { | ||
| "GetPrivateDnsZoneSuffix": { | ||
| "$ref": "./examples/GetPrivateDnsZoneSuffix.json" | ||
| } | ||
| }, | ||
| "description": "Get private DNS zone suffix in the cloud", | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" | ||
| }, | ||
| { | ||
| "in": "body", | ||
| "name": "body", | ||
| "required": true, | ||
| "schema": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "PostgreSQL", | ||
| "PostgreSQLCitus", | ||
| "MySQL", | ||
| "MariaDb", | ||
| "Oracle" | ||
| ] | ||
| }, | ||
| "description": "The required parameters for getting private DNS zone suffix based on server type." | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "OK", | ||
| "schema": { | ||
| "$ref": "#/definitions/PrivateDnsZoneSuffix" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "#/definitions/CloudError" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "definitions": { | ||
| "PrivateDnsZoneSuffix": { | ||
| "type": "string", | ||
| "description": "Represents a resource name availability." | ||
| }, | ||
| "CloudError": { | ||
| "x-ms-external": true, | ||
| "properties": { | ||
| "error": { | ||
| "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" | ||
| } | ||
| }, | ||
| "description": "An error response from the Batch service." | ||
| } | ||
| } | ||
| } | ||
12 changes: 12 additions & 0 deletions
12
...t.DBforPostgreSQL/preview/2021-03-31-privatepreview/examples/GetPrivateDnsZoneSuffix.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2021-03-31-privatepreview", | ||
| "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", | ||
| "body": "PostgreSQL" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": "postgres.database.azure.com" | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.