Skip to content
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

[AutoPR logic] Update all azureresourceschema.md files #247

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
304 changes: 248 additions & 56 deletions schemas/2015-02-01-preview/Microsoft.Logic.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,169 @@
"workflows": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2015-02-01-preview"
]
},
"id": {
"type": "string",
"description": "Gets or sets the resource id."
},
"location": {
"type": "string",
"description": "Gets or sets the resource location."
},
"name": {
"type": "string",
"description": "The workflow name."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/WorkflowProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/workflows_accessKeys_childResource"
}
]
}
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Logic/workflows"
]
},
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Logic/workflows"
},
"workflows_accessKeys": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2015-02-01-preview"
]
},
"id": {
"type": "string",
"description": "Gets or sets the resource id."
},
"name": {
"type": "string",
"description": "The workflow access key name."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/WorkflowProperties"
"$ref": "#/definitions/WorkflowAccessKeyProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the workflow properties."
]
},
"type": {
"type": "string",
"enum": [
"Microsoft.Logic/workflows/accessKeys"
]
}
},
"required": [
"type",
"apiVersion",
"properties"
"name",
"properties",
"type"
],
"description": "Microsoft.Logic/workflows"
"description": "Microsoft.Logic/workflows/accessKeys"
}
},
"definitions": {
"ContentHash": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"description": "Gets or sets the algorithm."
},
"value": {
"type": "string",
"description": "Gets or sets the value."
}
}
},
"ContentLink": {
"type": "object",
"properties": {
"contentHash": {
"oneOf": [
{
"$ref": "#/definitions/ContentHash"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"contentSize": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the content size."
},
"contentVersion": {
"type": "string",
"description": "Gets or sets the content version."
},
"metadata": {
"type": "object",
"properties": {}
},
"uri": {
"type": "string",
"description": "Gets or sets the content link URI."
}
}
},
"ResourceReference": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -79,73 +209,101 @@
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the reference to plan."
]
}
}
},
"WorkflowAccessKeyProperties": {
"type": "object",
"properties": {
"notAfter": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the not-after time."
},
"notBefore": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the not-before time."
}
}
},
"WorkflowParameter": {
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {}
},
"type": {
"type": "string",
"enum": [
"NotSpecified",
"String",
"SecureString",
"Int",
"Float",
"Bool",
"Array",
"Object",
"SecureObject"
"oneOf": [
{
"type": "string",
"enum": [
"NotSpecified",
"String",
"SecureString",
"Int",
"Float",
"Bool",
"Array",
"Object",
"SecureObject"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the type."
},
"value": {
"type": "object",
"properties": {}
}
}
},
"WorkflowProperties": {
"type": "object",
"properties": {
"definition": {
"type": "object",
"properties": {}
},
"definitionLink": {
"oneOf": [
{
"type": "object"
"$ref": "#/definitions/ContentLink"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the value."
]
},
"metadata": {
"parameters": {
"oneOf": [
{
"type": "object"
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/WorkflowParameter"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the metadata."
}
}
},
"WorkflowProperties": {
"type": "object",
"properties": {
"state": {
"description": "Gets or sets the parameters."
},
"parametersLink": {
"oneOf": [
{
"type": "string",
"enum": [
"NotSpecified",
"Enabled",
"Disabled",
"Deleted",
"Suspended"
]
"$ref": "#/definitions/ContentLink"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the state."
]
},
"sku": {
"oneOf": [
Expand All @@ -155,35 +313,69 @@
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the sku."
]
},
"definition": {
"state": {
"oneOf": [
{
"type": "object"
"type": "string",
"enum": [
"NotSpecified",
"Enabled",
"Disabled",
"Deleted",
"Suspended"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the definition."
"description": "Gets or sets the state."
}
}
},
"workflows_accessKeys_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2015-02-01-preview"
]
},
"parameters": {
"id": {
"type": "string",
"description": "Gets or sets the resource id."
},
"name": {
"type": "string",
"description": "The workflow access key name."
},
"properties": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/WorkflowParameter"
}
"$ref": "#/definitions/WorkflowAccessKeyProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the parameters."
]
},
"type": {
"type": "string",
"enum": [
"accessKeys"
]
}
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Logic/workflows/accessKeys"
}
}
}
Loading