-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Swagger specs for ARE[Azure Runtime Environment] (#23988)
* First Commit of Stable version * Add Swagger file for ARE * rename name to packageName * fix Package operation examples * Fixed Avacado errors * Fixed duplicate schema * Fix Duplicate schema erors. * Fix Duplicate schema erors. * Fix Duplicate Schema error * Fix Errors * Testing * Fix errors * Removed uuid format for PrincipalId in Identity properties * Fix example for ModelValidation Failure * Re-run Go SDK --------- Co-authored-by: Sushil Upadhyay <supadhyay@microsoft.com> Co-authored-by: Alancere <804873052@qq.com> Co-authored-by: mahakjain314 <50352900+mahakjain314@users.noreply.github.com>
- Loading branch information
1 parent
2e6751f
commit 2f88bb8
Showing
236 changed files
with
44,474 additions
and
2 deletions.
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": { | ||
"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.