-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 Swagger specs for ARE[Azure Runtime Environment] #23988
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6e2d2cd
First Commit of Stable version
7a50c2b
Add Swagger file for ARE
d65f660
rename name to packageName
Alancere 4f1d329
fix Package operation examples
Alancere 516c06e
Fixed Avacado errors
e1d7038
Fixed duplicate schema
8c301e1
Fix Duplicate schema erors.
534a625
Fix Duplicate schema erors.
f5b57bb
Fix Duplicate Schema error
e63adcf
Fix Errors
3e259d8
Testing
390ef67
Fix errors
13447bb
Removed uuid format for PrincipalId in Identity properties
mahakjain314 91b0682
Fix example for ModelValidation Failure
mahakjain314 c601b0d
Re-run Go SDK
mahakjain314 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
118 changes: 118 additions & 0 deletions
118
specification/automation/resource-manager/Microsoft.Automation/common/v5/definitions.json
This file contains 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,118 @@ | ||
{ | ||
"swagger": "2.0", | ||
"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" | ||
} | ||
} | ||
}, | ||
"info": { | ||
"version": "2018-06-10", | ||
"title": "Common types" | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"PrivateEndpointConnection": { | ||
"description": "A private endpoint connection", | ||
"type": "object", | ||
"properties": { | ||
"properties": { | ||
"$ref": "#/definitions/PrivateEndpointConnectionProperties", | ||
"description": "Resource properties.", | ||
"x-ms-client-flatten": true | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" | ||
} | ||
] | ||
}, | ||
"PrivateEndpointConnectionProperties": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pls consider using these properties from |
||
"description": "Properties of a private endpoint connection.", | ||
"type": "object", | ||
"properties": { | ||
"privateEndpoint": { | ||
"$ref": "#/definitions/PrivateEndpointProperty", | ||
"description": "Private endpoint which the connection belongs to." | ||
}, | ||
"groupIds": { | ||
"$ref": "#/definitions/GroupIdsProperty", | ||
"description": "Gets the groupIds." | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty", | ||
"description": "Connection State of the Private Endpoint Connection." | ||
} | ||
} | ||
}, | ||
"PrivateEndpointProperty": { | ||
"type": "object", | ||
"description": "Private endpoint which the connection belongs to.", | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"description": "Resource id of the private endpoint." | ||
} | ||
} | ||
}, | ||
"GroupIdsProperty": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Gets the groupIds." | ||
}, | ||
"PrivateLinkServiceConnectionStateProperty": { | ||
"type": "object", | ||
"description": "Connection State of the Private Endpoint Connection.", | ||
"properties": { | ||
"status": { | ||
"type": "string", | ||
"description": "The private link service connection status." | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "The private link service connection description." | ||
}, | ||
"actionsRequired": { | ||
"type": "string", | ||
"description": "Any action that is required beyond basic workflow (approve/ reject/ disconnect)", | ||
"readOnly": true | ||
} | ||
} | ||
} | ||
}, | ||
"parameters": { | ||
"RuntimeEnvironmentNameParameter": { | ||
"name": "runtimeEnvironmentName", | ||
"description": "The name of the Runtime Environment.", | ||
"type": "string", | ||
"required": true, | ||
"in": "path", | ||
"x-ms-parameter-location": "method", | ||
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" | ||
}, | ||
"AutomationAccountNameParameter": { | ||
"name": "automationAccountName", | ||
"description": "The name of the automation account.", | ||
"type": "string", | ||
"required": true, | ||
"in": "path", | ||
"x-ms-parameter-location": "method", | ||
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" | ||
} | ||
} | ||
} |
Oops, something went wrong.
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.
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 check to refer these from common types. I see
privateEndpoint
related object types are similar to the ones available in the common-types here -specification/common-types/resource-management/v5/privatelinks.json