From 2644d53f505e0630365e5e5ce15e8ddbe49d1aab Mon Sep 17 00:00:00 2001 From: Chaoyi Yuan Date: Tue, 21 May 2024 14:02:09 +0800 Subject: [PATCH 1/5] doc: add more samples for import-from-apim command --- Commands/apic/service/_import-from-apim.md | 14 ++++++++++++-- Commands/tree.json | 16 ++++++++++++++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/Commands/apic/service/_import-from-apim.md b/Commands/apic/service/_import-from-apim.md index 1e5df9fff..5ad7ec6ac 100644 --- a/Commands/apic/service/_import-from-apim.md +++ b/Commands/apic/service/_import-from-apim.md @@ -10,9 +10,19 @@ Imports APIs from an Azure API Management service instance. #### examples -- Import From APIM +- Import all APIs from APIM in same resource group + ```bash + apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis * + ``` + +- Import selected APIs from APIM in same resource group + ```bash + apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis [echo,foo] + ``` + +- Import all APIs from APIM in another subscription and resource group ```bash - apic service import-from-apim -g api-center-test --service-name contosoeuap --source-resource-ids '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicegroup/providers/Microsoft.ApiManagement/service/contoso/apis/contosoapi' + apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-subscription 00000000-0000-0000-0000-000000000000 --apim-resource-group apim-rg --apim-name contoso-apim --apim-apis * ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/tree.json b/Commands/tree.json index 2a0211d8f..a15237c63 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -6631,9 +6631,21 @@ "examples": [ { "commands": [ - "apic service import-from-apim -g api-center-test --service-name contosoeuap --source-resource-ids '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicegroup/providers/Microsoft.ApiManagement/service/contoso/apis/contosoapi'" + "apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis *" ], - "name": "Import From APIM" + "name": "Import all APIs from APIM in same resource group" + }, + { + "commands": [ + "apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis [echo,foo]" + ], + "name": "Import selected APIs from APIM in same resource group" + }, + { + "commands": [ + "apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-subscription 00000000-0000-0000-0000-000000000000 --apim-resource-group apim-rg --apim-name contoso-apim --apim-apis *" + ], + "name": "Import all APIs from APIM in another subscription and resource group" } ], "name": "2024-03-01", From 8de42dce17486c3b6d8344ab1e67ba8055821c9b Mon Sep 17 00:00:00 2001 From: Chaoyi Yuan Date: Tue, 21 May 2024 15:08:02 +0800 Subject: [PATCH 2/5] feat!: hide state parameter for deployment command --- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.json index efbca0c42..77c90814f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api deployment", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"type": "string", "var": "$payload.properties.definitionId", "options": ["definition-id"], "group": "Properties", "help": {"short": "API center-scoped definition resource ID."}}, {"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the deployment."}, "format": {"maxLength": 500}}, {"type": "string", "var": "$payload.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "API center-scoped environment resource ID."}}, {"type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server"}, "args": [{"type": "array", "var": "$payload.properties.server.runtimeUri", "options": ["runtime-uri"], "help": {"short": "Base runtime URLs for this deployment."}, "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "var": "$payload.properties.state", "options": ["state"], "group": "Properties", "help": {"short": "State of API deployment."}, "enum": {"items": [{"name": "active", "value": "active"}, {"name": "inactive", "value": "inactive"}]}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Deployment title"}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId", "arg": "$payload.properties.definitionId"}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId", "arg": "$payload.properties.environmentId"}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "runtimeUri", "arg": "$payload.properties.server.runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "arg": "$payload.properties.state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"nullable": true, "type": "string", "var": "$payload.properties.definitionId", "options": ["definition-id"], "group": "Properties", "help": {"short": "Service-scoped definition resource ID."}}, {"nullable": true, "type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the deployment."}, "format": {"maxLength": 500}}, {"nullable": true, "type": "string", "var": "$payload.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "Service-scoped environment resource ID."}}, {"nullable": true, "type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server"}, "args": [{"nullable": true, "type": "array", "var": "$payload.properties.server.runtimeUri", "options": ["runtime-uri"], "help": {"short": "Base runtime URLs for this deployment."}, "item": {"nullable": true, "type": "string", "format": {"maxLength": 200}}}]}, {"nullable": true, "type": "string", "var": "$payload.properties.state", "options": ["state"], "group": "Properties", "help": {"short": "State of API deployment."}, "enum": {"items": [{"name": "active", "value": "active"}, {"name": "inactive", "value": "inactive"}]}}, {"nullable": true, "type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Title"}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Deployment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId", "arg": "$payload.properties.definitionId"}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId", "arg": "$payload.properties.environmentId"}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "runtimeUri", "arg": "$payload.properties.server.runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "arg": "$payload.properties.state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Deployments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Deployment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api deployment", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"type": "string", "var": "$payload.properties.definitionId", "options": ["definition-id"], "group": "Properties", "help": {"short": "API center-scoped definition resource ID."}}, {"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the deployment."}, "format": {"maxLength": 500}}, {"type": "string", "var": "$payload.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "API center-scoped environment resource ID."}}, {"type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server"}, "args": [{"type": "array", "var": "$payload.properties.server.runtimeUri", "options": ["runtime-uri"], "help": {"short": "Base runtime URLs for this deployment."}, "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "var": "$payload.properties.state", "options": ["state"], "hide": true, "group": "Properties", "help": {"short": "State of API deployment."}, "enum": {"items": [{"name": "active", "value": "active"}, {"name": "inactive", "value": "inactive"}]}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Deployment title"}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId", "arg": "$payload.properties.definitionId"}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId", "arg": "$payload.properties.environmentId"}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "runtimeUri", "arg": "$payload.properties.server.runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "arg": "$payload.properties.state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"nullable": true, "type": "string", "var": "$payload.properties.definitionId", "options": ["definition-id"], "group": "Properties", "help": {"short": "Service-scoped definition resource ID."}}, {"nullable": true, "type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the deployment."}, "format": {"maxLength": 500}}, {"nullable": true, "type": "string", "var": "$payload.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "Service-scoped environment resource ID."}}, {"nullable": true, "type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server"}, "args": [{"nullable": true, "type": "array", "var": "$payload.properties.server.runtimeUri", "options": ["runtime-uri"], "help": {"short": "Base runtime URLs for this deployment."}, "item": {"nullable": true, "type": "string", "format": {"maxLength": 200}}}]}, {"nullable": true, "type": "string", "var": "$payload.properties.state", "options": ["state"], "hide": true, "group": "Properties", "help": {"short": "State of API deployment."}, "enum": {"items": [{"name": "active", "value": "active"}, {"name": "inactive", "value": "inactive"}]}}, {"nullable": true, "type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Title"}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Deployment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId", "arg": "$payload.properties.definitionId"}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId", "arg": "$payload.properties.environmentId"}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "runtimeUri", "arg": "$payload.properties.server.runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "arg": "$payload.properties.state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Deployments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Deployment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.xml index 1adeb66c2..9e9ea4375 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.xml @@ -239,7 +239,7 @@ - + @@ -495,7 +495,7 @@ - + From 13fe23a7bc5a28fa669724dbd4c93642d2b97a27 Mon Sep 17 00:00:00 2001 From: Chaoyi Yuan Date: Mon, 27 May 2024 13:13:06 +0800 Subject: [PATCH 3/5] update example commands --- Commands/apic/api/_list.md | 5 +++++ Commands/apic/api/definition/_export-specification.md | 2 +- Commands/apic/api/version/_create.md | 2 +- Commands/tree.json | 10 ++++++++-- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Commands/apic/api/_list.md b/Commands/apic/api/_list.md index c721e992c..133aa1e81 100644 --- a/Commands/apic/api/_list.md +++ b/Commands/apic/api/_list.md @@ -15,6 +15,11 @@ List a collection of APIs. apic api list -g contoso-resources -s contoso ``` +- List APIs with filter + ```bash + apic api list -g contoso-resources -s contoso --filter "kind eq 'rest'" + ``` + ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlz/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/definition/_export-specification.md b/Commands/apic/api/definition/_export-specification.md index 5afeeffc3..e513e09ca 100644 --- a/Commands/apic/api/definition/_export-specification.md +++ b/Commands/apic/api/definition/_export-specification.md @@ -12,7 +12,7 @@ Exports the API specification. - Export Specification ```bash - apic api version definition export-specification -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id default + apic api definition export-specification -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id default --file-name filename.json ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2V4cG9ydHNwZWNpZmljYXRpb24=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/version/_create.md b/Commands/apic/api/version/_create.md index 89955b433..a974b3224 100644 --- a/Commands/apic/api/version/_create.md +++ b/Commands/apic/api/version/_create.md @@ -12,7 +12,7 @@ Create a new API version or update an existing API version. - Create API version ```bash - apic api version create -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --title "2023-01-01" + apic api version create -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --title "2023-01-01" --lifecycle-stage production ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/tree.json b/Commands/tree.json index a15237c63..b65b938cb 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -4389,7 +4389,7 @@ "examples": [ { "commands": [ - "apic api version definition export-specification -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id default" + "apic api definition export-specification -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id default --file-name filename.json" ], "name": "Export Specification" } @@ -5007,7 +5007,7 @@ "examples": [ { "commands": [ - "apic api version create -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --title \"2023-01-01\"" + "apic api version create -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --title \"2023-01-01\" --lifecycle-stage production" ], "name": "Create API version" } @@ -5435,6 +5435,12 @@ "apic api list -g contoso-resources -s contoso" ], "name": "List APIs" + }, + { + "commands": [ + "apic api list -g contoso-resources -s contoso --filter \"kind eq 'rest'\"" + ], + "name": "List APIs with filter" } ], "name": "2024-03-01", From cfd4b21779d306830d6c816a28ad0416d6479198 Mon Sep 17 00:00:00 2001 From: Chaoyi Yuan Date: Tue, 4 Jun 2024 17:04:50 +0800 Subject: [PATCH 4/5] feat!: rename parameters --- Commands/apic/_create.md | 21 + Commands/apic/_delete.md | 16 + Commands/apic/_import-from-apim.md | 26 ++ Commands/apic/_list.md | 17 + Commands/apic/_show.md | 16 + Commands/apic/_update.md | 16 + Commands/apic/api/_create.md | 4 +- Commands/apic/api/_delete.md | 2 +- Commands/apic/api/_list.md | 4 +- Commands/apic/api/_show.md | 2 +- Commands/apic/api/_update.md | 4 +- Commands/apic/api/definition/_create.md | 2 +- Commands/apic/api/definition/_delete.md | 2 +- .../api/definition/_export-specification.md | 2 +- .../api/definition/_import-specification.md | 4 +- Commands/apic/api/definition/_list.md | 2 +- Commands/apic/api/definition/_show.md | 2 +- Commands/apic/api/definition/_update.md | 2 +- Commands/apic/api/deployment/_create.md | 2 +- Commands/apic/api/deployment/_delete.md | 2 +- Commands/apic/api/deployment/_list.md | 2 +- Commands/apic/api/deployment/_show.md | 2 +- Commands/apic/api/deployment/_update.md | 2 +- Commands/apic/api/version/_create.md | 2 +- Commands/apic/api/version/_delete.md | 2 +- Commands/apic/api/version/_list.md | 2 +- Commands/apic/api/version/_show.md | 2 +- Commands/apic/api/version/_update.md | 2 +- Commands/apic/environment/_create.md | 2 +- Commands/apic/environment/_delete.md | 2 +- Commands/apic/environment/_list.md | 2 +- Commands/apic/environment/_show.md | 2 +- Commands/apic/environment/_update.md | 2 +- Commands/apic/metadata/_create.md | 4 +- Commands/apic/metadata/_delete.md | 4 +- Commands/apic/metadata/_export.md | 6 +- Commands/apic/metadata/_list.md | 2 +- Commands/apic/metadata/_show.md | 4 +- Commands/apic/metadata/_update.md | 2 +- Commands/apic/readme.md | 20 + Commands/apic/service/_create.md | 16 - Commands/apic/service/_delete.md | 11 - Commands/apic/service/_import-from-apim.md | 21 - Commands/apic/service/_list.md | 12 - Commands/apic/service/_show.md | 11 - Commands/apic/service/_update.md | 11 - Commands/tree.json | 414 ++++++++++-------- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 2 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 12 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 2 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 30 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 20 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 20 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 20 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 20 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 20 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 20 +- 87 files changed, 538 insertions(+), 420 deletions(-) create mode 100644 Commands/apic/_create.md create mode 100644 Commands/apic/_delete.md create mode 100644 Commands/apic/_import-from-apim.md create mode 100644 Commands/apic/_list.md create mode 100644 Commands/apic/_show.md create mode 100644 Commands/apic/_update.md diff --git a/Commands/apic/_create.md b/Commands/apic/_create.md new file mode 100644 index 000000000..eb17ecf6b --- /dev/null +++ b/Commands/apic/_create.md @@ -0,0 +1,21 @@ +# [Command] _apic create_ + +Creates an instance or update an existing instance of an Azure API Center service. + +## Versions + +### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml) **Stable** + + + +#### examples + +- Create service Example 1 + ```bash + apic create -g contoso-resources -n contoso -l eastus + ``` + +- Create Service Example 2 + ```bash + apic create --resource-group contoso-resources --name contoso --location eastus + ``` diff --git a/Commands/apic/_delete.md b/Commands/apic/_delete.md new file mode 100644 index 000000000..791d98b22 --- /dev/null +++ b/Commands/apic/_delete.md @@ -0,0 +1,16 @@ +# [Command] _apic delete_ + +Deletes an instance of an Azure API Center service. + +## Versions + +### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml) **Stable** + + + +#### examples + +- Delete service + ```bash + apic delete -n contoso -g contoso-resources + ``` diff --git a/Commands/apic/_import-from-apim.md b/Commands/apic/_import-from-apim.md new file mode 100644 index 000000000..ae13e3df1 --- /dev/null +++ b/Commands/apic/_import-from-apim.md @@ -0,0 +1,26 @@ +# [Command] _apic import-from-apim_ + +Imports APIs from an Azure API Management service instance. + +## Versions + +### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-01.xml) **Stable** + + + +#### examples + +- Import all APIs from APIM in same resource group + ```bash + apic import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis * + ``` + +- Import selected APIs from APIM in same resource group + ```bash + apic import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis [echo,foo] + ``` + +- Import all APIs from APIM in another subscription and resource group + ```bash + apic import-from-apim -g api-center-test --service-name contoso-apic --apim-subscription 00000000-0000-0000-0000-000000000000 --apim-resource-group apim-rg --apim-name contoso-apim --apim-apis * + ``` diff --git a/Commands/apic/_list.md b/Commands/apic/_list.md new file mode 100644 index 000000000..cae4ac932 --- /dev/null +++ b/Commands/apic/_list.md @@ -0,0 +1,17 @@ +# [Command] _apic list_ + +Lists Azure API Center services within an Azure subscription. + +## Versions + +### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml) **Stable** + + + + +#### examples + +- List services in resource group + ```bash + apic list -g contoso-resources + ``` diff --git a/Commands/apic/_show.md b/Commands/apic/_show.md new file mode 100644 index 000000000..ffed13f6b --- /dev/null +++ b/Commands/apic/_show.md @@ -0,0 +1,16 @@ +# [Command] _apic show_ + +Show details of an Azure API Center service instance. + +## Versions + +### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml) **Stable** + + + +#### examples + +- Show service details + ```bash + apic show -g contoso-resources -n contoso + ``` diff --git a/Commands/apic/_update.md b/Commands/apic/_update.md new file mode 100644 index 000000000..6a3b3f1ad --- /dev/null +++ b/Commands/apic/_update.md @@ -0,0 +1,16 @@ +# [Command] _apic update_ + +Update an instance of an Azure API Center service. + +## Versions + +### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml) **Stable** + + + +#### examples + +- Update service details + ```bash + apic update -g contoso-resources -n contoso + ``` diff --git a/Commands/apic/api/_create.md b/Commands/apic/api/_create.md index 7c7f50920..b1cad8e0c 100644 --- a/Commands/apic/api/_create.md +++ b/Commands/apic/api/_create.md @@ -12,12 +12,12 @@ Register a new API or update an existing API. - Create API ```bash - apic api create -g contoso-resources -s contoso --api-id echo-api --title "Echo API" --type REST + apic api create -g contoso-resources -n contoso --api-id echo-api --title "Echo API" --type REST ``` - Create API with custom properties ```bash - apic api create -g contoso-resources -s contoso --api-id echo-api --title "Echo API" --type REST --custom-properties '{\"public-facing\":true}' + apic api create -g contoso-resources -n contoso --api-id echo-api --title "Echo API" --type REST --custom-properties '{\"public-facing\":true}' ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/_delete.md b/Commands/apic/api/_delete.md index 98f8d185d..de9b36fc8 100644 --- a/Commands/apic/api/_delete.md +++ b/Commands/apic/api/_delete.md @@ -12,7 +12,7 @@ Delete specified API. - Delete API ```bash - apic api delete -g contoso-resources -s contoso --api-id echo-api + apic api delete -g contoso-resources -n contoso --api-id echo-api ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/_list.md b/Commands/apic/api/_list.md index 133aa1e81..eef5ff97f 100644 --- a/Commands/apic/api/_list.md +++ b/Commands/apic/api/_list.md @@ -12,12 +12,12 @@ List a collection of APIs. - List APIs ```bash - apic api list -g contoso-resources -s contoso + apic api list -g contoso-resources -n contoso ``` - List APIs with filter ```bash - apic api list -g contoso-resources -s contoso --filter "kind eq 'rest'" + apic api list -g contoso-resources -n contoso --filter "kind eq 'rest'" ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlz/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/_show.md b/Commands/apic/api/_show.md index afeae4b83..585863d41 100644 --- a/Commands/apic/api/_show.md +++ b/Commands/apic/api/_show.md @@ -12,7 +12,7 @@ Get details of the API. - Show API details ```bash - apic api show -g contoso-resources -s contoso --api-id echo-api + apic api show -g contoso-resources -n contoso --api-id echo-api ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/_update.md b/Commands/apic/api/_update.md index 66a24c27e..63a997a62 100644 --- a/Commands/apic/api/_update.md +++ b/Commands/apic/api/_update.md @@ -12,12 +12,12 @@ Update existing API. - Update API ```bash - apic api update -g contoso-resources -s contoso --api-id echo-api --summary "Basic REST API service" + apic api update -g contoso-resources -n contoso --api-id echo-api --summary "Basic REST API service" ``` - Update custom properties ```bash - apic api update -g contoso-resources -s contoso --api-id echo-api --custom-properties '{\"public-facing\":true}' + apic api update -g contoso-resources -n contoso --api-id echo-api --custom-properties '{\"public-facing\":true}' ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/definition/_create.md b/Commands/apic/api/definition/_create.md index 9d56a0947..eb691042e 100644 --- a/Commands/apic/api/definition/_create.md +++ b/Commands/apic/api/definition/_create.md @@ -12,7 +12,7 @@ Create a new API definition or update an existing API definition. - Create API definition ```bash - apic api definition create -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id "openapi" --title "OpenAPI" + apic api definition create -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id "openapi" --title "OpenAPI" ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/definition/_delete.md b/Commands/apic/api/definition/_delete.md index bc5240879..0e993bdcb 100644 --- a/Commands/apic/api/definition/_delete.md +++ b/Commands/apic/api/definition/_delete.md @@ -12,7 +12,7 @@ Delete specified API definition. - Delete API definition ```bash - apic api definition delete -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id "openapi" + apic api definition delete -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id "openapi" ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/definition/_export-specification.md b/Commands/apic/api/definition/_export-specification.md index e513e09ca..979a83495 100644 --- a/Commands/apic/api/definition/_export-specification.md +++ b/Commands/apic/api/definition/_export-specification.md @@ -12,7 +12,7 @@ Exports the API specification. - Export Specification ```bash - apic api definition export-specification -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id default --file-name filename.json + apic api definition export-specification -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id default --file-name filename.json ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2V4cG9ydHNwZWNpZmljYXRpb24=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/definition/_import-specification.md b/Commands/apic/api/definition/_import-specification.md index d3ee75d47..5b541db85 100644 --- a/Commands/apic/api/definition/_import-specification.md +++ b/Commands/apic/api/definition/_import-specification.md @@ -12,12 +12,12 @@ Imports the API specification. - Import specification example 1 ```bash - apic api definition import-specification -g api-center-test -s contosoeuap --api-id echo-api-2 --version-id 2023-08-01 --definition-id openapi3 --format "inline" --value '{"openapi":"3.0.1","info":{"title":"httpbin.org","description":"API Management facade for a very handy and free online HTTP tool.","version":"1.0"}}' --specification '{"name":"openapi","version":"3.0.0"}' + apic api definition import-specification -g api-center-test -n contosoeuap --api-id echo-api-2 --version-id 2023-08-01 --definition-id openapi3 --format "inline" --value '{"openapi":"3.0.1","info":{"title":"httpbin.org","description":"API Management facade for a very handy and free online HTTP tool.","version":"1.0"}}' --specification '{"name":"openapi","version":"3.0.0"}' ``` - Import specification example 2 ```bash - apic api definition import-specification -g api-center-test -s contoso --api-id echo-api --version-id 2023-11-01 --definition-id openapi --format "link" --value 'https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.json' --specification '{"name":"openapi","version":"3.0.0"}' + apic api definition import-specification -g api-center-test -n contoso --api-id echo-api --version-id 2023-11-01 --definition-id openapi --format "link" --value 'https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.json' --specification '{"name":"openapi","version":"3.0.0"}' ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2ltcG9ydHNwZWNpZmljYXRpb24=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/definition/_list.md b/Commands/apic/api/definition/_list.md index 6f237b7ea..3140af4f0 100644 --- a/Commands/apic/api/definition/_list.md +++ b/Commands/apic/api/definition/_list.md @@ -12,7 +12,7 @@ List a collection of API definitions. - List API definitions ```bash - apic api definition list -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 + apic api definition list -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25z/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/definition/_show.md b/Commands/apic/api/definition/_show.md index 8c48b5d74..2d9a62569 100644 --- a/Commands/apic/api/definition/_show.md +++ b/Commands/apic/api/definition/_show.md @@ -12,7 +12,7 @@ Get details of the API definition. - Show API definition details ```bash - apic api definition show -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id "openapi" + apic api definition show -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id "openapi" ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/definition/_update.md b/Commands/apic/api/definition/_update.md index e4f614de6..27f187fdf 100644 --- a/Commands/apic/api/definition/_update.md +++ b/Commands/apic/api/definition/_update.md @@ -12,7 +12,7 @@ Update existing API definition. - Update API definition ```bash - apic api definition update -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id "openapi" --title "OpenAPI" + apic api definition update -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id "openapi" --title "OpenAPI" ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/deployment/_create.md b/Commands/apic/api/deployment/_create.md index a03feb4f6..bb9e25c41 100644 --- a/Commands/apic/api/deployment/_create.md +++ b/Commands/apic/api/deployment/_create.md @@ -12,7 +12,7 @@ Create a new API deployment or update an existing API deployment. - Create deployment ```bash - apic api deployment create -g api-center-test -s contoso --deployment-id production --title "Production deployment" --description "Public cloud production deployment." --api-id echo-api --environment-id "/workspaces/default/environments/production" --definition-id "/workspaces/default/apis/echo-api/versions/2023-01-01/definitions/openapi" --server '{\"runtimeUri\":[\"https://example.com\"]}' + apic api deployment create -g api-center-test -n contoso --deployment-id production --title "Production deployment" --description "Public cloud production deployment." --api-id echo-api --environment-id "/workspaces/default/environments/production" --definition-id "/workspaces/default/apis/echo-api/versions/2023-01-01/definitions/openapi" --server '{\"runtimeUri\":[\"https://example.com\"]}' ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/deployment/_delete.md b/Commands/apic/api/deployment/_delete.md index 4f471d148..acdc7c9fe 100644 --- a/Commands/apic/api/deployment/_delete.md +++ b/Commands/apic/api/deployment/_delete.md @@ -12,7 +12,7 @@ Delete API deployment. - Delete API deployment ```bash - apic api deployment delete -g api-center-test -s contoso --deployment-id production --api-id echo-api + apic api deployment delete -g api-center-test -n contoso --deployment-id production --api-id echo-api ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/deployment/_list.md b/Commands/apic/api/deployment/_list.md index 03e01ce06..b0c522284 100644 --- a/Commands/apic/api/deployment/_list.md +++ b/Commands/apic/api/deployment/_list.md @@ -12,7 +12,7 @@ List a collection of API deployments. - List API deployments ```bash - apic api deployment list -g api-center-test -s contoso --api-id echo-api + apic api deployment list -g api-center-test -n contoso --api-id echo-api ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRz/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/deployment/_show.md b/Commands/apic/api/deployment/_show.md index 882a72535..6d75c9d95 100644 --- a/Commands/apic/api/deployment/_show.md +++ b/Commands/apic/api/deployment/_show.md @@ -12,7 +12,7 @@ Get details of the API deployment. - Show API deployment details ```bash - apic api deployment show -g api-center-test -s contoso --deployment-id production --api-id echo-api + apic api deployment show -g api-center-test -n contoso --deployment-id production --api-id echo-api ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/deployment/_update.md b/Commands/apic/api/deployment/_update.md index 0cddb0fe9..07692ef91 100644 --- a/Commands/apic/api/deployment/_update.md +++ b/Commands/apic/api/deployment/_update.md @@ -12,7 +12,7 @@ Update existing API deployment. - Update API deployment ```bash - apic api deployment update -g api-center-test -s contoso --deployment-id production --title "Production deployment" --api-id echo-api + apic api deployment update -g api-center-test -n contoso --deployment-id production --title "Production deployment" --api-id echo-api ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/version/_create.md b/Commands/apic/api/version/_create.md index a974b3224..6068bc1cc 100644 --- a/Commands/apic/api/version/_create.md +++ b/Commands/apic/api/version/_create.md @@ -12,7 +12,7 @@ Create a new API version or update an existing API version. - Create API version ```bash - apic api version create -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --title "2023-01-01" --lifecycle-stage production + apic api version create -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --title "2023-01-01" --lifecycle-stage production ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/version/_delete.md b/Commands/apic/api/version/_delete.md index 2e52dddf0..e6c1f4390 100644 --- a/Commands/apic/api/version/_delete.md +++ b/Commands/apic/api/version/_delete.md @@ -12,7 +12,7 @@ Delete specified API version - Delete API version ```bash - apic api version delete -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 + apic api version delete -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/version/_list.md b/Commands/apic/api/version/_list.md index 694f88fd5..f2c1e598a 100644 --- a/Commands/apic/api/version/_list.md +++ b/Commands/apic/api/version/_list.md @@ -12,7 +12,7 @@ List a collection of API versions. - List API versions ```bash - apic api version list -g api-center-test -s contosoeuap --api-id echo-api + apic api version list -g api-center-test -n contosoeuap --api-id echo-api ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25z/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/version/_show.md b/Commands/apic/api/version/_show.md index b08bd3aae..65fba86dc 100644 --- a/Commands/apic/api/version/_show.md +++ b/Commands/apic/api/version/_show.md @@ -12,7 +12,7 @@ Get details of the API version. - Show API version details ```bash - apic api version show -g api-center-test -s contoso --api-id echo-api --version-id 2023-01-01 + apic api version show -g api-center-test -n contoso --api-id echo-api --version-id 2023-01-01 ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/api/version/_update.md b/Commands/apic/api/version/_update.md index 0b9e60340..1806d15db 100644 --- a/Commands/apic/api/version/_update.md +++ b/Commands/apic/api/version/_update.md @@ -12,7 +12,7 @@ Update existing API version. - Update API version ```bash - apic api version update -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --title "2023-01-01" + apic api version update -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --title "2023-01-01" ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/environment/_create.md b/Commands/apic/environment/_create.md index 9d04a7571..33e35e578 100644 --- a/Commands/apic/environment/_create.md +++ b/Commands/apic/environment/_create.md @@ -12,7 +12,7 @@ Create a new environment or update an existing environment. - Create environment ```bash - apic environment create -g api-center-test -s contosoeuap --environment-id public --title "Public cloud" --type "development" + apic environment create -g api-center-test -n contosoeuap --environment-id public --title "Public cloud" --type "development" ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/environment/_delete.md b/Commands/apic/environment/_delete.md index cae6cdebe..dcba8a2f5 100644 --- a/Commands/apic/environment/_delete.md +++ b/Commands/apic/environment/_delete.md @@ -12,7 +12,7 @@ Delete the environment. - Delete environment ```bash - apic environment delete -g api-center-test -s contosoeuap --environment-id public + apic environment delete -g api-center-test -n contosoeuap --environment-id public ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/environment/_list.md b/Commands/apic/environment/_list.md index 1dff4285c..15539fff9 100644 --- a/Commands/apic/environment/_list.md +++ b/Commands/apic/environment/_list.md @@ -12,7 +12,7 @@ List a collection of environments. - List environments ```bash - apic environment list -g api-center-test -s contosoeuap + apic environment list -g api-center-test -n contosoeuap ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHM=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/environment/_show.md b/Commands/apic/environment/_show.md index a050c2707..5553510cc 100644 --- a/Commands/apic/environment/_show.md +++ b/Commands/apic/environment/_show.md @@ -12,7 +12,7 @@ Get details of the environment. - Show environment details ```bash - apic environment show -g api-center-test -s contosoeuap --environment-id public + apic environment show -g api-center-test -n contosoeuap --environment-id public ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/environment/_update.md b/Commands/apic/environment/_update.md index e2bedbe83..ccac18e7b 100644 --- a/Commands/apic/environment/_update.md +++ b/Commands/apic/environment/_update.md @@ -12,7 +12,7 @@ Update existing environment. - Update environment ```bash - apic environment update -g api-center-test -s contosoeuap --environment-id public --title "Public cloud" + apic environment update -g api-center-test -n contosoeuap --environment-id public --title "Public cloud" ``` ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/metadata/_create.md b/Commands/apic/metadata/_create.md index ff9754efa..dc47ed137 100644 --- a/Commands/apic/metadata/_create.md +++ b/Commands/apic/metadata/_create.md @@ -12,10 +12,10 @@ Create a new metadata schema or update an existing metadata schema. - Create metadata example 1 ```bash - apic metadata create --resource-group api-center-test --service-name contoso --name "test1" --schema '{\"type\":\"string\", \"title\":\"First name\", \"pattern\": \"^[a-zA-Z0-9]+$\"}' --assignments '[{entity:api,required:true,deprecated:false}]' + apic metadata create --resource-group api-center-test --service-name contoso --metadata-name "test1" --schema '{\"type\":\"string\", \"title\":\"First name\", \"pattern\": \"^[a-zA-Z0-9]+$\"}' --assignments '[{entity:api,required:true,deprecated:false}]' ``` - Create metadata example 2 ```bash - apic metadata create --resource-group api-center-test --service-name contoso --name testregion --schema '{\"type\":\"string\",\"title\":\"testregion\",\"oneOf\":[{\"const\":\"Region1\",\"description\":\"\"},{\"const\":\"Region2\",\"description\":\"\"},{\"const\":\"Region3\",\"description\":\"\"}]}' --assignments '[{entity:api,required:true,deprecated:false},{entity:environment,required:true,deprecated:false}]' + apic metadata create --resource-group api-center-test --service-name contoso --metadata-name testregion --schema '{\"type\":\"string\",\"title\":\"testregion\",\"oneOf\":[{\"const\":\"Region1\",\"description\":\"\"},{\"const\":\"Region2\",\"description\":\"\"},{\"const\":\"Region3\",\"description\":\"\"}]}' --assignments '[{entity:api,required:true,deprecated:false},{entity:environment,required:true,deprecated:false}]' ``` diff --git a/Commands/apic/metadata/_delete.md b/Commands/apic/metadata/_delete.md index 3779461eb..3171e9876 100644 --- a/Commands/apic/metadata/_delete.md +++ b/Commands/apic/metadata/_delete.md @@ -12,10 +12,10 @@ Delete specified metadata schema. - Delete Metadata Schema ```bash - apic metadata delete --resource-group api-center-test --service-name contoso --name "test1" + apic metadata delete --resource-group api-center-test --service-name contoso --metadata-name "test1" ``` - Delete schema ```bash - apic metadata delete -g api-center-test -s contosoeuap --name "approver" + apic metadata delete -g api-center-test -n contosoeuap --metadata-name "approver" ``` diff --git a/Commands/apic/metadata/_export.md b/Commands/apic/metadata/_export.md index a2d831862..673f651ae 100644 --- a/Commands/apic/metadata/_export.md +++ b/Commands/apic/metadata/_export.md @@ -12,15 +12,15 @@ Exports the metadata schema. - Export Metadata Schema assigned to api ```bash - apic metadata export -g api-center-test -s contosoeuap --assignments api --file-name filename.json + apic metadata export -g api-center-test -n contosoeuap --assignments api --file-name filename.json ``` - Export Metadata Schema assigned to deployment ```bash - apic metadata export -g api-center-test -s contosoeuap --assignments deployment --file-name filename.json + apic metadata export -g api-center-test -n contosoeuap --assignments deployment --file-name filename.json ``` - Export Metadata Schema assigned to environment ```bash - apic metadata export -g api-center-test -s contosoeuap --assignments environment --file-name filename.json + apic metadata export -g api-center-test -n contosoeuap --assignments environment --file-name filename.json ``` diff --git a/Commands/apic/metadata/_list.md b/Commands/apic/metadata/_list.md index 4cc555e4f..16086e327 100644 --- a/Commands/apic/metadata/_list.md +++ b/Commands/apic/metadata/_list.md @@ -12,5 +12,5 @@ List a collection of metadata schemas. - List schemas ```bash - apic metadata list -g api-center-test -s contosoeuap + apic metadata list -g api-center-test -n contosoeuap ``` diff --git a/Commands/apic/metadata/_show.md b/Commands/apic/metadata/_show.md index 949deccf9..573b692e5 100644 --- a/Commands/apic/metadata/_show.md +++ b/Commands/apic/metadata/_show.md @@ -12,10 +12,10 @@ Get details of the metadata schema. - Show schema details 1 ```bash - apic metadata show -g api-center-test -s contosoeuap --name approver + apic metadata show -g api-center-test -n contosoeuap --metadata-name approver ``` - Show schema details 2 ```bash - apic metadata show --resource-group api-center-test --service-name contoso --name "testchoices" + apic metadata show --resource-group api-center-test --service-name contoso --metadata-name "testchoices" ``` diff --git a/Commands/apic/metadata/_update.md b/Commands/apic/metadata/_update.md index 450ce606c..4bbd1274a 100644 --- a/Commands/apic/metadata/_update.md +++ b/Commands/apic/metadata/_update.md @@ -12,5 +12,5 @@ Update existing metadata schema. - Update schema ```bash - apic metadata update --resource-group api-center-test --service-name contoso --name "test1" --schema '{\"type\":\"string\", \"title\":\"Last name\", \"pattern\": \"^[a-zA-Z0-9]+$\"}' + apic metadata update --resource-group api-center-test --service-name contoso --metadata-name "test1" --schema '{\"type\":\"string\", \"title\":\"Last name\", \"pattern\": \"^[a-zA-Z0-9]+$\"}' ``` diff --git a/Commands/apic/readme.md b/Commands/apic/readme.md index abebf7b49..a47c783f5 100644 --- a/Commands/apic/readme.md +++ b/Commands/apic/readme.md @@ -21,3 +21,23 @@ Manage Azure API Center services - [workspace](/Commands/apic/workspace/readme.md) : Workspace + +## Commands + +- [create](/Commands/apic/_create.md) +: Creates an instance or update an existing instance of an Azure API Center service. + +- [delete](/Commands/apic/_delete.md) +: Deletes an instance of an Azure API Center service. + +- [import-from-apim](/Commands/apic/_import-from-apim.md) +: Imports APIs from an Azure API Management service instance. + +- [list](/Commands/apic/_list.md) +: Lists Azure API Center services within an Azure subscription. + +- [show](/Commands/apic/_show.md) +: Show details of an Azure API Center service instance. + +- [update](/Commands/apic/_update.md) +: Update an instance of an Azure API Center service. diff --git a/Commands/apic/service/_create.md b/Commands/apic/service/_create.md index d762df5eb..7b012dc9f 100644 --- a/Commands/apic/service/_create.md +++ b/Commands/apic/service/_create.md @@ -4,22 +4,6 @@ Creates an instance or update an existing instance of an Azure API Center servic ## Versions -### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml) **Stable** - - - -#### examples - -- Create service Example 1 - ```bash - apic service create -g contoso-resources -s contoso -l eastus - ``` - -- Create Service Example 2 - ```bash - apic service create --resource-group contoso-resources --name contoso --location eastus - ``` - ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/service/_delete.md b/Commands/apic/service/_delete.md index 778f1523d..536b1dcc2 100644 --- a/Commands/apic/service/_delete.md +++ b/Commands/apic/service/_delete.md @@ -4,17 +4,6 @@ Deletes an instance of an Azure API Center service. ## Versions -### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml) **Stable** - - - -#### examples - -- Delete service - ```bash - apic service delete -s contoso -g contoso-resources - ``` - ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/service/_import-from-apim.md b/Commands/apic/service/_import-from-apim.md index 5ad7ec6ac..4e071054c 100644 --- a/Commands/apic/service/_import-from-apim.md +++ b/Commands/apic/service/_import-from-apim.md @@ -4,27 +4,6 @@ Imports APIs from an Azure API Management service instance. ## Versions -### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-01.xml) **Stable** - - - -#### examples - -- Import all APIs from APIM in same resource group - ```bash - apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis * - ``` - -- Import selected APIs from APIM in same resource group - ```bash - apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis [echo,foo] - ``` - -- Import all APIs from APIM in another subscription and resource group - ```bash - apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-subscription 00000000-0000-0000-0000-000000000000 --apim-resource-group apim-rg --apim-name contoso-apim --apim-apis * - ``` - ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/service/_list.md b/Commands/apic/service/_list.md index 2e2e1d24e..f8d0cc8a9 100644 --- a/Commands/apic/service/_list.md +++ b/Commands/apic/service/_list.md @@ -4,18 +4,6 @@ Lists Azure API Center services within an Azure subscription. ## Versions -### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml) **Stable** - - - - -#### examples - -- List services in resource group - ```bash - apic service list -g contoso-resources - ``` - ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/service/_show.md b/Commands/apic/service/_show.md index 40408107c..9600ede37 100644 --- a/Commands/apic/service/_show.md +++ b/Commands/apic/service/_show.md @@ -4,17 +4,6 @@ Show details of an Azure API Center service instance. ## Versions -### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml) **Stable** - - - -#### examples - -- Show service details - ```bash - apic service show -g contoso-resources -s contoso - ``` - ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/apic/service/_update.md b/Commands/apic/service/_update.md index 5b9de02d8..c239c31a1 100644 --- a/Commands/apic/service/_update.md +++ b/Commands/apic/service/_update.md @@ -4,17 +4,6 @@ Update an instance of an Azure API Center service. ## Versions -### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml) **Stable** - - - -#### examples - -- Update service details - ```bash - apic service update -g contoso-resources -s contoso - ``` - ### [2024-03-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-15-preview.xml) **Stable** diff --git a/Commands/tree.json b/Commands/tree.json index b65b938cb..d6ad9dcb1 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -4291,7 +4291,7 @@ "examples": [ { "commands": [ - "apic api definition create -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id \"openapi\" --title \"OpenAPI\"" + "apic api definition create -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id \"openapi\" --title \"OpenAPI\"" ], "name": "Create API definition" } @@ -4340,7 +4340,7 @@ "examples": [ { "commands": [ - "apic api definition delete -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id \"openapi\"" + "apic api definition delete -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id \"openapi\"" ], "name": "Delete API definition" } @@ -4389,7 +4389,7 @@ "examples": [ { "commands": [ - "apic api definition export-specification -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id default --file-name filename.json" + "apic api definition export-specification -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id default --file-name filename.json" ], "name": "Export Specification" } @@ -4467,13 +4467,13 @@ "examples": [ { "commands": [ - "apic api definition import-specification -g api-center-test -s contosoeuap --api-id echo-api-2 --version-id 2023-08-01 --definition-id openapi3 --format \"inline\" --value '{\"openapi\":\"3.0.1\",\"info\":{\"title\":\"httpbin.org\",\"description\":\"API Management facade for a very handy and free online HTTP tool.\",\"version\":\"1.0\"}}' --specification '{\"name\":\"openapi\",\"version\":\"3.0.0\"}'" + "apic api definition import-specification -g api-center-test -n contosoeuap --api-id echo-api-2 --version-id 2023-08-01 --definition-id openapi3 --format \"inline\" --value '{\"openapi\":\"3.0.1\",\"info\":{\"title\":\"httpbin.org\",\"description\":\"API Management facade for a very handy and free online HTTP tool.\",\"version\":\"1.0\"}}' --specification '{\"name\":\"openapi\",\"version\":\"3.0.0\"}'" ], "name": "Import specification example 1" }, { "commands": [ - "apic api definition import-specification -g api-center-test -s contoso --api-id echo-api --version-id 2023-11-01 --definition-id openapi --format \"link\" --value 'https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.json' --specification '{\"name\":\"openapi\",\"version\":\"3.0.0\"}'" + "apic api definition import-specification -g api-center-test -n contoso --api-id echo-api --version-id 2023-11-01 --definition-id openapi --format \"link\" --value 'https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.json' --specification '{\"name\":\"openapi\",\"version\":\"3.0.0\"}'" ], "name": "Import specification example 2" } @@ -4522,7 +4522,7 @@ "examples": [ { "commands": [ - "apic api definition list -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01" + "apic api definition list -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01" ], "name": "List API definitions" } @@ -4571,7 +4571,7 @@ "examples": [ { "commands": [ - "apic api definition show -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id \"openapi\"" + "apic api definition show -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id \"openapi\"" ], "name": "Show API definition details" } @@ -4620,7 +4620,7 @@ "examples": [ { "commands": [ - "apic api definition update -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id \"openapi\" --title \"OpenAPI\"" + "apic api definition update -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --definition-id \"openapi\" --title \"OpenAPI\"" ], "name": "Update API definition" } @@ -4704,7 +4704,7 @@ "examples": [ { "commands": [ - "apic api deployment create -g api-center-test -s contoso --deployment-id production --title \"Production deployment\" --description \"Public cloud production deployment.\" --api-id echo-api --environment-id \"/workspaces/default/environments/production\" --definition-id \"/workspaces/default/apis/echo-api/versions/2023-01-01/definitions/openapi\" --server '{\\\"runtimeUri\\\":[\\\"https://example.com\\\"]}'" + "apic api deployment create -g api-center-test -n contoso --deployment-id production --title \"Production deployment\" --description \"Public cloud production deployment.\" --api-id echo-api --environment-id \"/workspaces/default/environments/production\" --definition-id \"/workspaces/default/apis/echo-api/versions/2023-01-01/definitions/openapi\" --server '{\\\"runtimeUri\\\":[\\\"https://example.com\\\"]}'" ], "name": "Create deployment" } @@ -4753,7 +4753,7 @@ "examples": [ { "commands": [ - "apic api deployment delete -g api-center-test -s contoso --deployment-id production --api-id echo-api" + "apic api deployment delete -g api-center-test -n contoso --deployment-id production --api-id echo-api" ], "name": "Delete API deployment" } @@ -4825,7 +4825,7 @@ "examples": [ { "commands": [ - "apic api deployment list -g api-center-test -s contoso --api-id echo-api" + "apic api deployment list -g api-center-test -n contoso --api-id echo-api" ], "name": "List API deployments" } @@ -4874,7 +4874,7 @@ "examples": [ { "commands": [ - "apic api deployment show -g api-center-test -s contoso --deployment-id production --api-id echo-api" + "apic api deployment show -g api-center-test -n contoso --deployment-id production --api-id echo-api" ], "name": "Show API deployment details" } @@ -4923,7 +4923,7 @@ "examples": [ { "commands": [ - "apic api deployment update -g api-center-test -s contoso --deployment-id production --title \"Production deployment\" --api-id echo-api" + "apic api deployment update -g api-center-test -n contoso --deployment-id production --title \"Production deployment\" --api-id echo-api" ], "name": "Update API deployment" } @@ -5007,7 +5007,7 @@ "examples": [ { "commands": [ - "apic api version create -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --title \"2023-01-01\" --lifecycle-stage production" + "apic api version create -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --title \"2023-01-01\" --lifecycle-stage production" ], "name": "Create API version" } @@ -5056,7 +5056,7 @@ "examples": [ { "commands": [ - "apic api version delete -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01" + "apic api version delete -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01" ], "name": "Delete API version" } @@ -5128,7 +5128,7 @@ "examples": [ { "commands": [ - "apic api version list -g api-center-test -s contosoeuap --api-id echo-api" + "apic api version list -g api-center-test -n contosoeuap --api-id echo-api" ], "name": "List API versions" } @@ -5177,7 +5177,7 @@ "examples": [ { "commands": [ - "apic api version show -g api-center-test -s contoso --api-id echo-api --version-id 2023-01-01" + "apic api version show -g api-center-test -n contoso --api-id echo-api --version-id 2023-01-01" ], "name": "Show API version details" } @@ -5226,7 +5226,7 @@ "examples": [ { "commands": [ - "apic api version update -g api-center-test -s contosoeuap --api-id echo-api --version-id 2023-01-01 --title \"2023-01-01\"" + "apic api version update -g api-center-test -n contosoeuap --api-id echo-api --version-id 2023-01-01 --title \"2023-01-01\"" ], "name": "Update API version" } @@ -5308,13 +5308,13 @@ "examples": [ { "commands": [ - "apic api create -g contoso-resources -s contoso --api-id echo-api --title \"Echo API\" --type REST" + "apic api create -g contoso-resources -n contoso --api-id echo-api --title \"Echo API\" --type REST" ], "name": "Create API" }, { "commands": [ - "apic api create -g contoso-resources -s contoso --api-id echo-api --title \"Echo API\" --type REST --custom-properties '{\\\"public-facing\\\":true}'" + "apic api create -g contoso-resources -n contoso --api-id echo-api --title \"Echo API\" --type REST --custom-properties '{\\\"public-facing\\\":true}'" ], "name": "Create API with custom properties" } @@ -5362,7 +5362,7 @@ "examples": [ { "commands": [ - "apic api delete -g contoso-resources -s contoso --api-id echo-api" + "apic api delete -g contoso-resources -n contoso --api-id echo-api" ], "name": "Delete API" } @@ -5432,13 +5432,13 @@ "examples": [ { "commands": [ - "apic api list -g contoso-resources -s contoso" + "apic api list -g contoso-resources -n contoso" ], "name": "List APIs" }, { "commands": [ - "apic api list -g contoso-resources -s contoso --filter \"kind eq 'rest'\"" + "apic api list -g contoso-resources -n contoso --filter \"kind eq 'rest'\"" ], "name": "List APIs with filter" } @@ -5486,7 +5486,7 @@ "examples": [ { "commands": [ - "apic api show -g contoso-resources -s contoso --api-id echo-api" + "apic api show -g contoso-resources -n contoso --api-id echo-api" ], "name": "Show API details" } @@ -5534,13 +5534,13 @@ "examples": [ { "commands": [ - "apic api update -g contoso-resources -s contoso --api-id echo-api --summary \"Basic REST API service\"" + "apic api update -g contoso-resources -n contoso --api-id echo-api --summary \"Basic REST API service\"" ], "name": "Update API" }, { "commands": [ - "apic api update -g contoso-resources -s contoso --api-id echo-api --custom-properties '{\\\"public-facing\\\":true}'" + "apic api update -g contoso-resources -n contoso --api-id echo-api --custom-properties '{\\\"public-facing\\\":true}'" ], "name": "Update custom properties" } @@ -5621,7 +5621,7 @@ "examples": [ { "commands": [ - "apic environment create -g api-center-test -s contosoeuap --environment-id public --title \"Public cloud\" --type \"development\"" + "apic environment create -g api-center-test -n contosoeuap --environment-id public --title \"Public cloud\" --type \"development\"" ], "name": "Create environment" } @@ -5669,7 +5669,7 @@ "examples": [ { "commands": [ - "apic environment delete -g api-center-test -s contosoeuap --environment-id public" + "apic environment delete -g api-center-test -n contosoeuap --environment-id public" ], "name": "Delete environment" } @@ -5739,7 +5739,7 @@ "examples": [ { "commands": [ - "apic environment list -g api-center-test -s contosoeuap" + "apic environment list -g api-center-test -n contosoeuap" ], "name": "List environments" } @@ -5787,7 +5787,7 @@ "examples": [ { "commands": [ - "apic environment show -g api-center-test -s contosoeuap --environment-id public" + "apic environment show -g api-center-test -n contosoeuap --environment-id public" ], "name": "Show environment details" } @@ -5835,7 +5835,7 @@ "examples": [ { "commands": [ - "apic environment update -g api-center-test -s contosoeuap --environment-id public --title \"Public cloud\"" + "apic environment update -g api-center-test -n contosoeuap --environment-id public --title \"Public cloud\"" ], "name": "Update environment" } @@ -5898,13 +5898,13 @@ "examples": [ { "commands": [ - "apic metadata create --resource-group api-center-test --service-name contoso --name \"test1\" --schema '{\\\"type\\\":\\\"string\\\", \\\"title\\\":\\\"First name\\\", \\\"pattern\\\": \\\"^[a-zA-Z0-9]+$\\\"}' --assignments '[{entity:api,required:true,deprecated:false}]'" + "apic metadata create --resource-group api-center-test --service-name contoso --metadata-name \"test1\" --schema '{\\\"type\\\":\\\"string\\\", \\\"title\\\":\\\"First name\\\", \\\"pattern\\\": \\\"^[a-zA-Z0-9]+$\\\"}' --assignments '[{entity:api,required:true,deprecated:false}]'" ], "name": "Create metadata example 1" }, { "commands": [ - "apic metadata create --resource-group api-center-test --service-name contoso --name testregion --schema '{\\\"type\\\":\\\"string\\\",\\\"title\\\":\\\"testregion\\\",\\\"oneOf\\\":[{\\\"const\\\":\\\"Region1\\\",\\\"description\\\":\\\"\\\"},{\\\"const\\\":\\\"Region2\\\",\\\"description\\\":\\\"\\\"},{\\\"const\\\":\\\"Region3\\\",\\\"description\\\":\\\"\\\"}]}' --assignments '[{entity:api,required:true,deprecated:false},{entity:environment,required:true,deprecated:false}]'" + "apic metadata create --resource-group api-center-test --service-name contoso --metadata-name testregion --schema '{\\\"type\\\":\\\"string\\\",\\\"title\\\":\\\"testregion\\\",\\\"oneOf\\\":[{\\\"const\\\":\\\"Region1\\\",\\\"description\\\":\\\"\\\"},{\\\"const\\\":\\\"Region2\\\",\\\"description\\\":\\\"\\\"},{\\\"const\\\":\\\"Region3\\\",\\\"description\\\":\\\"\\\"}]}' --assignments '[{entity:api,required:true,deprecated:false},{entity:environment,required:true,deprecated:false}]'" ], "name": "Create metadata example 2" } @@ -5934,13 +5934,13 @@ "examples": [ { "commands": [ - "apic metadata delete --resource-group api-center-test --service-name contoso --name \"test1\"" + "apic metadata delete --resource-group api-center-test --service-name contoso --metadata-name \"test1\"" ], "name": "Delete Metadata Schema" }, { "commands": [ - "apic metadata delete -g api-center-test -s contosoeuap --name \"approver\"" + "apic metadata delete -g api-center-test -n contosoeuap --metadata-name \"approver\"" ], "name": "Delete schema" } @@ -5970,19 +5970,19 @@ "examples": [ { "commands": [ - "apic metadata export -g api-center-test -s contosoeuap --assignments api --file-name filename.json" + "apic metadata export -g api-center-test -n contosoeuap --assignments api --file-name filename.json" ], "name": "Export Metadata Schema assigned to api" }, { "commands": [ - "apic metadata export -g api-center-test -s contosoeuap --assignments deployment --file-name filename.json" + "apic metadata export -g api-center-test -n contosoeuap --assignments deployment --file-name filename.json" ], "name": "Export Metadata Schema assigned to deployment" }, { "commands": [ - "apic metadata export -g api-center-test -s contosoeuap --assignments environment --file-name filename.json" + "apic metadata export -g api-center-test -n contosoeuap --assignments environment --file-name filename.json" ], "name": "Export Metadata Schema assigned to environment" } @@ -6012,7 +6012,7 @@ "examples": [ { "commands": [ - "apic metadata list -g api-center-test -s contosoeuap" + "apic metadata list -g api-center-test -n contosoeuap" ], "name": "List schemas" } @@ -6042,13 +6042,13 @@ "examples": [ { "commands": [ - "apic metadata show -g api-center-test -s contosoeuap --name approver" + "apic metadata show -g api-center-test -n contosoeuap --metadata-name approver" ], "name": "Show schema details 1" }, { "commands": [ - "apic metadata show --resource-group api-center-test --service-name contoso --name \"testchoices\"" + "apic metadata show --resource-group api-center-test --service-name contoso --metadata-name \"testchoices\"" ], "name": "Show schema details 2" } @@ -6078,7 +6078,7 @@ "examples": [ { "commands": [ - "apic metadata update --resource-group api-center-test --service-name contoso --name \"test1\" --schema '{\\\"type\\\":\\\"string\\\", \\\"title\\\":\\\"Last name\\\", \\\"pattern\\\": \\\"^[a-zA-Z0-9]+$\\\"}'" + "apic metadata update --resource-group api-center-test --service-name contoso --metadata-name \"test1\" --schema '{\\\"type\\\":\\\"string\\\", \\\"title\\\":\\\"Last name\\\", \\\"pattern\\\": \\\"^[a-zA-Z0-9]+$\\\"}'" ], "name": "Update schema" } @@ -6530,30 +6530,6 @@ "version": "2024-03-15-preview" } ] - }, - { - "examples": [ - { - "commands": [ - "apic service create -g contoso-resources -s contoso -l eastus" - ], - "name": "Create service Example 1" - }, - { - "commands": [ - "apic service create --resource-group contoso-resources --name contoso --location eastus" - ], - "name": "Create Service Example 2" - } - ], - "name": "2024-03-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", - "plane": "mgmt-plane", - "version": "2024-03-01" - } - ] } ] }, @@ -6584,24 +6560,6 @@ "version": "2024-03-15-preview" } ] - }, - { - "examples": [ - { - "commands": [ - "apic service delete -s contoso -g contoso-resources" - ], - "name": "Delete service" - } - ], - "name": "2024-03-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", - "plane": "mgmt-plane", - "version": "2024-03-01" - } - ] } ] }, @@ -6632,36 +6590,6 @@ "version": "2024-03-15-preview" } ] - }, - { - "examples": [ - { - "commands": [ - "apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis *" - ], - "name": "Import all APIs from APIM in same resource group" - }, - { - "commands": [ - "apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis [echo,foo]" - ], - "name": "Import selected APIs from APIM in same resource group" - }, - { - "commands": [ - "apic service import-from-apim -g api-center-test --service-name contoso-apic --apim-subscription 00000000-0000-0000-0000-000000000000 --apim-resource-group apim-rg --apim-name contoso-apim --apim-apis *" - ], - "name": "Import all APIs from APIM in another subscription and resource group" - } - ], - "name": "2024-03-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/importfromapim", - "plane": "mgmt-plane", - "version": "2024-03-01" - } - ] } ] }, @@ -6697,29 +6625,6 @@ "version": "2024-03-15-preview" } ] - }, - { - "examples": [ - { - "commands": [ - "apic service list -g contoso-resources" - ], - "name": "List services in resource group" - } - ], - "name": "2024-03-01", - "resources": [ - { - "id": "/subscriptions/{}/providers/microsoft.apicenter/services", - "plane": "mgmt-plane", - "version": "2024-03-01" - }, - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services", - "plane": "mgmt-plane", - "version": "2024-03-01" - } - ] } ] }, @@ -6750,24 +6655,6 @@ "version": "2024-03-15-preview" } ] - }, - { - "examples": [ - { - "commands": [ - "apic service show -g contoso-resources -s contoso" - ], - "name": "Show service details" - } - ], - "name": "2024-03-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", - "plane": "mgmt-plane", - "version": "2024-03-01" - } - ] } ] }, @@ -6798,24 +6685,6 @@ "version": "2024-03-15-preview" } ] - }, - { - "examples": [ - { - "commands": [ - "apic service update -g contoso-resources -s contoso" - ], - "name": "Update service details" - } - ], - "name": "2024-03-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", - "plane": "mgmt-plane", - "version": "2024-03-01" - } - ] } ] } @@ -7112,6 +6981,205 @@ ] } }, + "commands": { + "create": { + "help": { + "short": "Creates an instance or update an existing instance of an Azure API Center service." + }, + "names": [ + "apic", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic create -g contoso-resources -n contoso -l eastus" + ], + "name": "Create service Example 1" + }, + { + "commands": [ + "apic create --resource-group contoso-resources --name contoso --location eastus" + ], + "name": "Create Service Example 2" + } + ], + "name": "2024-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", + "plane": "mgmt-plane", + "version": "2024-03-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Deletes an instance of an Azure API Center service." + }, + "names": [ + "apic", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic delete -n contoso -g contoso-resources" + ], + "name": "Delete service" + } + ], + "name": "2024-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", + "plane": "mgmt-plane", + "version": "2024-03-01" + } + ] + } + ] + }, + "import-from-apim": { + "help": { + "short": "Imports APIs from an Azure API Management service instance." + }, + "names": [ + "apic", + "import-from-apim" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis *" + ], + "name": "Import all APIs from APIM in same resource group" + }, + { + "commands": [ + "apic import-from-apim -g api-center-test --service-name contoso-apic --apim-name contoso-apim --apim-apis [echo,foo]" + ], + "name": "Import selected APIs from APIM in same resource group" + }, + { + "commands": [ + "apic import-from-apim -g api-center-test --service-name contoso-apic --apim-subscription 00000000-0000-0000-0000-000000000000 --apim-resource-group apim-rg --apim-name contoso-apim --apim-apis *" + ], + "name": "Import all APIs from APIM in another subscription and resource group" + } + ], + "name": "2024-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/importfromapim", + "plane": "mgmt-plane", + "version": "2024-03-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "Lists Azure API Center services within an Azure subscription." + }, + "names": [ + "apic", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic list -g contoso-resources" + ], + "name": "List services in resource group" + } + ], + "name": "2024-03-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.apicenter/services", + "plane": "mgmt-plane", + "version": "2024-03-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services", + "plane": "mgmt-plane", + "version": "2024-03-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Show details of an Azure API Center service instance." + }, + "names": [ + "apic", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic show -g contoso-resources -n contoso" + ], + "name": "Show service details" + } + ], + "name": "2024-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", + "plane": "mgmt-plane", + "version": "2024-03-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update an instance of an Azure API Center service." + }, + "names": [ + "apic", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic update -g contoso-resources -n contoso" + ], + "name": "Update service details" + } + ], + "name": "2024-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", + "plane": "mgmt-plane", + "version": "2024-03-01" + } + ] + } + ] + } + }, "help": { "short": "Manage Azure API Center services" }, diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.json index 01c9c1e8d..35d4d10e5 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaUNlbnRlci9zZXJ2aWNlcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2Vz/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic service", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaUNlbnRlci9zZXJ2aWNlcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2Vz/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Services_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Services_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Services_ListByResourceGroup"], "operationId": "Services_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Services_ListBySubscription"], "operationId": "Services_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.ApiCenter/services", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaUNlbnRlci9zZXJ2aWNlcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2Vz/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaUNlbnRlci9zZXJ2aWNlcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2Vz/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Services_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Services_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Services_ListByResourceGroup"], "operationId": "Services_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Services_ListBySubscription"], "operationId": "Services_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.ApiCenter/services", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml index e88189868..a3a13d2ad 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml @@ -2,7 +2,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.json index 357b8141b..c93499b9f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic service", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "name", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Services_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "name", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Services_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "name", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$resource.identity", "options": ["identity"], "group": "", "help": {"short": "The managed service identities assigned to this resource."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "Services_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "name", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$payload.identity", "options": ["identity"], "group": "", "help": {"short": "The managed service identities assigned to this resource."}, "args": [{"type": "string", "var": "$payload.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$payload.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$payload.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "Services_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$payload.identity", "props": [{"type": "string", "name": "type", "arg": "$payload.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$payload.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "object", "name": "tags", "arg": "$payload.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Services_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Services_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$resource.identity", "options": ["identity"], "group": "", "help": {"short": "The managed service identities assigned to this resource."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "Services_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$payload.identity", "options": ["identity"], "group": "", "help": {"short": "The managed service identities assigned to this resource."}, "args": [{"type": "string", "var": "$payload.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$payload.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$payload.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "Services_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$payload.identity", "props": [{"type": "string", "name": "type", "arg": "$payload.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$payload.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "object", "name": "tags", "arg": "$payload.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml index f426de038..97605e696 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml @@ -1,12 +1,12 @@ - + - + @@ -117,7 +117,7 @@ - + @@ -158,7 +158,7 @@ - + @@ -325,8 +325,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vZXhwb3J0bWV0YWRhdGFzY2hlbWE=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vZXhwb3J0bWV0YWRhdGFzY2hlbWE=/2024-03-01.json index d6a12ca10..65135b105 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vZXhwb3J0bWV0YWRhdGFzY2hlbWE=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vZXhwb3J0bWV0YWRhdGFzY2hlbWE=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/exportmetadataschema", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vZXhwb3J0TWV0YWRhdGFTY2hlbWE=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic metadata", "commands": [{"name": "export", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/exportmetadataschema", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vZXhwb3J0TWV0YWRhdGFTY2hlbWE=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "name", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Payload", "args": [{"type": "string", "var": "$payload.assignedTo", "options": ["assignments"], "group": "Payload", "help": {"short": "An entity the metadata schema is requested for."}, "enum": {"items": [{"name": "api", "value": "api"}, {"name": "deployment", "value": "deployment"}, {"name": "environment", "value": "environment"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Services_ExportMetadataSchema", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/exportMetadataSchema", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "string", "name": "assignedTo", "arg": "$payload.assignedTo", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "format", "enum": {"items": [{"value": "inline"}, {"value": "link"}]}}, {"type": "string", "name": "value"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/exportmetadataschema", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vZXhwb3J0TWV0YWRhdGFTY2hlbWE=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic metadata", "commands": [{"name": "export", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/exportmetadataschema", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vZXhwb3J0TWV0YWRhdGFTY2hlbWE=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Payload", "args": [{"type": "string", "var": "$payload.assignedTo", "options": ["assignments"], "group": "Payload", "help": {"short": "An entity the metadata schema is requested for."}, "enum": {"items": [{"name": "api", "value": "api"}, {"name": "deployment", "value": "deployment"}, {"name": "environment", "value": "environment"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Services_ExportMetadataSchema", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/exportMetadataSchema", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "string", "name": "assignedTo", "arg": "$payload.assignedTo", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "format", "enum": {"items": [{"value": "inline"}, {"value": "link"}]}}, {"type": "string", "name": "value"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vZXhwb3J0bWV0YWRhdGFzY2hlbWE=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vZXhwb3J0bWV0YWRhdGFzY2hlbWE=/2024-03-01.xml index 5e4e20927..03f56aa74 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vZXhwb3J0bWV0YWRhdGFzY2hlbWE=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vZXhwb3J0bWV0YWRhdGFzY2hlbWE=/2024-03-01.xml @@ -6,7 +6,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-01.json index 67bbc204d..30bb1047b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/importfromapim", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vaW1wb3J0RnJvbUFwaW0=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic service", "commands": [{"name": "import-from-apim", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/importfromapim", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vaW1wb3J0RnJvbUFwaW0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Payload", "args": [{"type": "array", "var": "$payload.sourceResourceIds", "options": ["source-resource-ids"], "group": "Payload", "item": {"type": "string"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ImportFromAPIM", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/importFromApim", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "array", "name": "sourceResourceIds", "arg": "$payload.sourceResourceIds", "item": {"type": "string"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/importfromapim", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vaW1wb3J0RnJvbUFwaW0=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic", "commands": [{"name": "import-from-apim", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/importfromapim", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vaW1wb3J0RnJvbUFwaW0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Payload", "args": [{"type": "array", "var": "$payload.sourceResourceIds", "options": ["source-resource-ids"], "group": "Payload", "item": {"type": "string"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ImportFromAPIM", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/importFromApim", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "array", "name": "sourceResourceIds", "arg": "$payload.sourceResourceIds", "item": {"type": "string"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-01.xml index fdf764142..ea10f972d 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vaW1wb3J0ZnJvbWFwaW0=/2024-03-01.xml @@ -1,12 +1,12 @@ - + - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFz/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFz/2024-03-01.json index 1d6d2a6b2..3b97b4511 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFz/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFz/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFz/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic metadata", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFz/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "MetadataSchemas_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/metadataSchemas/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated"}, {"type": "string", "name": "entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required"}]}}, {"type": "string", "name": "schema", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFz/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic metadata", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFz/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "MetadataSchemas_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/metadataSchemas/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated"}, {"type": "string", "name": "entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required"}]}}, {"type": "string", "name": "schema", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFz/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFz/2024-03-01.xml index a3d73e3da..690e89154 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFz/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFz/2024-03-01.xml @@ -6,8 +6,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFzL3t9/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFzL3t9/2024-03-01.json index 31bcfa042..db2565663 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFzL3t9/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFzL3t9/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic metadata", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.metadataSchemaName", "options": ["name", "metadata-schema", "metadata-schema-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the metadata schema."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "MetadataSchemas_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/metadataSchemas/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated"}, {"type": "string", "name": "entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required"}]}}, {"type": "string", "name": "schema", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.metadataSchemaName", "options": ["name", "metadata-schema", "metadata-schema-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the metadata schema."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "MetadataSchemas_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.metadataSchemaName", "options": ["name", "metadata-schema", "metadata-schema-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the metadata schema."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "array", "var": "$payload.properties.assignedTo", "options": ["assignments"], "group": "Properties", "help": {"short": "Defines the assignment scope for the custom metadata, e.g. \"[{entity:api,required:true,deprecated:false}]\". The available entity values are: api, deployment, environment."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$payload.properties.assignedTo[].deprecated", "options": ["deprecated"], "help": {"short": "Deprecated assignment"}}, {"type": "string", "var": "$payload.properties.assignedTo[].entity", "options": ["entity"], "help": {"short": "The entities this metadata schema component gets applied to."}, "enum": {"items": [{"name": "api", "value": "api"}, {"name": "deployment", "value": "deployment"}, {"name": "environment", "value": "environment"}]}}, {"type": "boolean", "var": "$payload.properties.assignedTo[].required", "options": ["required"], "help": {"short": "Required assignment"}}]}}, {"type": "string", "var": "$payload.properties.schema", "options": ["schema"], "required": true, "group": "Properties", "help": {"short": "JSON schema defining the type."}}]}], "operations": [{"operationId": "MetadataSchemas_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "arg": "$payload.properties.assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated", "arg": "$payload.properties.assignedTo[].deprecated"}, {"type": "string", "name": "entity", "arg": "$payload.properties.assignedTo[].entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required", "arg": "$payload.properties.assignedTo[].required"}]}}, {"type": "string", "name": "schema", "arg": "$payload.properties.schema", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/metadataSchemas/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated"}, {"type": "string", "name": "entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required"}]}}, {"type": "string", "name": "schema", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.metadataSchemaName", "options": ["name", "metadata-schema", "metadata-schema-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the metadata schema."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "MetadataSchemas_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.metadataSchemaName", "options": ["name", "metadata-schema", "metadata-schema-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the metadata schema."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$payload.properties.assignedTo", "options": ["assignments"], "group": "Properties", "help": {"short": "Defines the assignment scope for the custom metadata, e.g. \"[{entity:api,required:true,deprecated:false}]\". The available entity values are: api, deployment, environment."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "boolean", "var": "$payload.properties.assignedTo[].deprecated", "options": ["deprecated"], "help": {"short": "Deprecated assignment"}}, {"nullable": true, "type": "string", "var": "$payload.properties.assignedTo[].entity", "options": ["entity"], "help": {"short": "The entities this metadata schema component gets applied to."}, "enum": {"items": [{"name": "api", "value": "api"}, {"name": "deployment", "value": "deployment"}, {"name": "environment", "value": "environment"}]}}, {"nullable": true, "type": "boolean", "var": "$payload.properties.assignedTo[].required", "options": ["required"], "help": {"short": "Required assignment"}}]}}, {"type": "string", "var": "$payload.properties.schema", "options": ["schema"], "group": "Properties", "help": {"short": "YAML schema defining the type."}}]}], "operations": [{"operationId": "MetadataSchemas_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/metadataSchemas/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated"}, {"type": "string", "name": "entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required"}]}}, {"type": "string", "name": "schema", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "MetadataSchema_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "arg": "$payload.properties.assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated", "arg": "$payload.properties.assignedTo[].deprecated"}, {"type": "string", "name": "entity", "arg": "$payload.properties.assignedTo[].entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required", "arg": "$payload.properties.assignedTo[].required"}]}}, {"type": "string", "name": "schema", "arg": "$payload.properties.schema", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "MetadataSchemas_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@MetadataSchema_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic metadata", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.metadataSchemaName", "options": ["metadata-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the metadata schema."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "MetadataSchemas_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/metadataSchemas/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated"}, {"type": "string", "name": "entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required"}]}}, {"type": "string", "name": "schema", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.metadataSchemaName", "options": ["metadata-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the metadata schema."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "MetadataSchemas_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.metadataSchemaName", "options": ["metadata-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the metadata schema."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "array", "var": "$payload.properties.assignedTo", "options": ["assignments"], "group": "Properties", "help": {"short": "Defines the assignment scope for the custom metadata, e.g. \"[{entity:api,required:true,deprecated:false}]\". The available entity values are: api, deployment, environment."}, "item": {"type": "object", "args": [{"type": "boolean", "var": "$payload.properties.assignedTo[].deprecated", "options": ["deprecated"], "help": {"short": "Deprecated assignment"}}, {"type": "string", "var": "$payload.properties.assignedTo[].entity", "options": ["entity"], "help": {"short": "The entities this metadata schema component gets applied to."}, "enum": {"items": [{"name": "api", "value": "api"}, {"name": "deployment", "value": "deployment"}, {"name": "environment", "value": "environment"}]}}, {"type": "boolean", "var": "$payload.properties.assignedTo[].required", "options": ["required"], "help": {"short": "Required assignment"}}]}}, {"type": "string", "var": "$payload.properties.schema", "options": ["schema"], "required": true, "group": "Properties", "help": {"short": "JSON schema defining the type."}}]}], "operations": [{"operationId": "MetadataSchemas_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "arg": "$payload.properties.assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated", "arg": "$payload.properties.assignedTo[].deprecated"}, {"type": "string", "name": "entity", "arg": "$payload.properties.assignedTo[].entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required", "arg": "$payload.properties.assignedTo[].required"}]}}, {"type": "string", "name": "schema", "arg": "$payload.properties.schema", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/metadataSchemas/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated"}, {"type": "string", "name": "entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required"}]}}, {"type": "string", "name": "schema", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.metadataSchemaName", "options": ["metadata-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the metadata schema."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "MetadataSchemas_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/metadataschemas/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vbWV0YWRhdGFTY2hlbWFzL3ttZXRhZGF0YVNjaGVtYU5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.metadataSchemaName", "options": ["metadata-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the metadata schema."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$payload.properties.assignedTo", "options": ["assignments"], "group": "Properties", "help": {"short": "Defines the assignment scope for the custom metadata, e.g. \"[{entity:api,required:true,deprecated:false}]\". The available entity values are: api, deployment, environment."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "boolean", "var": "$payload.properties.assignedTo[].deprecated", "options": ["deprecated"], "help": {"short": "Deprecated assignment"}}, {"nullable": true, "type": "string", "var": "$payload.properties.assignedTo[].entity", "options": ["entity"], "help": {"short": "The entities this metadata schema component gets applied to."}, "enum": {"items": [{"name": "api", "value": "api"}, {"name": "deployment", "value": "deployment"}, {"name": "environment", "value": "environment"}]}}, {"nullable": true, "type": "boolean", "var": "$payload.properties.assignedTo[].required", "options": ["required"], "help": {"short": "Required assignment"}}]}}, {"type": "string", "var": "$payload.properties.schema", "options": ["schema"], "group": "Properties", "help": {"short": "YAML schema defining the type."}}]}], "operations": [{"operationId": "MetadataSchemas_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/metadataSchemas/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated"}, {"type": "string", "name": "entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required"}]}}, {"type": "string", "name": "schema", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "MetadataSchema_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "assignedTo", "arg": "$payload.properties.assignedTo", "item": {"type": "object", "props": [{"type": "boolean", "name": "deprecated", "arg": "$payload.properties.assignedTo[].deprecated"}, {"type": "string", "name": "entity", "arg": "$payload.properties.assignedTo[].entity", "enum": {"items": [{"value": "api"}, {"value": "deployment"}, {"value": "environment"}]}}, {"type": "boolean", "name": "required", "arg": "$payload.properties.assignedTo[].required"}]}}, {"type": "string", "name": "schema", "arg": "$payload.properties.schema", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "MetadataSchemas_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/metadataSchemas/{metadataSchemaName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "metadataSchemaName", "arg": "$Path.metadataSchemaName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@MetadataSchema_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFzL3t9/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFzL3t9/2024-03-01.xml index 926a32ba9..d3b0f281b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFzL3t9/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vbWV0YWRhdGFzY2hlbWFzL3t9/2024-03-01.xml @@ -5,13 +5,13 @@ - + - - + + @@ -106,13 +106,13 @@ - + - - + + @@ -154,13 +154,13 @@ - + - - + + @@ -301,13 +301,13 @@ - + - - + + @@ -348,13 +348,13 @@ - + - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcw==/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcw==/2024-03-01.json index a2fcb9205..78c42c7e9 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcw==/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcw==/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcw==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic workspace", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcw==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "Workspaces_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcw==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic workspace", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcw==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "Workspaces_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcw==/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcw==/2024-03-01.xml index a1e2bc2b4..d22ba6b3c 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcw==/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcw==/2024-03-01.xml @@ -6,8 +6,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fQ==/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fQ==/2024-03-01.json index 5a011c999..26eac9c28 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fQ==/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fQ==/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic workspace", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "name", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "name", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "name", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Workspace description."}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Workspace display name."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "description", "arg": "$payload.properties.description"}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "head", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "name", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "name", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "clientFlatten": true}}}}, {"operationId": "Workspaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic workspace", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "name", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "name", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "name", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Workspace description."}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Workspace display name."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "description", "arg": "$payload.properties.description"}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "head", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "name", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "name", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Workspaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "clientFlatten": true}}}}, {"operationId": "Workspaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Workspace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fQ==/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fQ==/2024-03-01.xml index a2ef8b85f..8ee400fcf 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fQ==/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fQ==/2024-03-01.xml @@ -6,8 +6,8 @@ - - + + @@ -98,8 +98,8 @@ - - + + @@ -147,8 +147,8 @@ - - + + @@ -260,8 +260,8 @@ - - + + @@ -308,8 +308,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlz/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlz/2024-03-01.json index f22e40e97..25e21f513 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlz/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlz/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcw==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcw==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "Apis_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "props": [{"type": "string", "name": "identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}, {"readOnly": true, "type": "string", "name": "lifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "props": [{"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcw==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcw==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "Apis_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "props": [{"type": "string", "name": "identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}, {"readOnly": true, "type": "string", "name": "lifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "props": [{"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlz/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlz/2024-03-01.xml index 9e4035a33..42408378b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlz/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlz/2024-03-01.xml @@ -6,8 +6,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-01.json index b39a7b572..85c5c2da9 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Apis_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "props": [{"type": "string", "name": "identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}, {"readOnly": true, "type": "string", "name": "lifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "props": [{"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Apis_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$payload.properties.contacts", "options": ["contacts"], "group": "Properties", "help": {"short": "The contact information for the API."}, "item": {"type": "object", "args": [{"type": "string", "var": "$payload.properties.contacts[].email", "options": ["email"], "help": {"short": "Email address of the contact."}, "format": {"maxLength": 100}}, {"type": "string", "var": "$payload.properties.contacts[].name", "options": ["name"], "help": {"short": "Name of the contact."}, "format": {"maxLength": 100}}, {"type": "string", "var": "$payload.properties.contacts[].url", "options": ["url"], "help": {"short": "URL for the contact."}, "format": {"maxLength": 200}}]}}, {"blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the API."}, "format": {"maxLength": 1000}}, {"type": "array", "var": "$payload.properties.externalDocumentation", "options": ["external-documentation"], "group": "Properties", "help": {"short": "Additional, external documentation for the API."}, "item": {"type": "object", "args": [{"type": "string", "var": "$payload.properties.externalDocumentation[].description", "options": ["description"], "help": {"short": "Description of the documentation."}, "format": {"maxLength": 500}}, {"type": "string", "var": "$payload.properties.externalDocumentation[].title", "options": ["title"], "help": {"short": "Title of the documentation."}, "format": {"maxLength": 50}}, {"type": "string", "var": "$payload.properties.externalDocumentation[].url", "options": ["url"], "required": true, "help": {"short": "URL pointing to the documentation."}, "format": {"maxLength": 200}}]}}, {"type": "string", "var": "$payload.properties.kind", "options": ["type"], "required": true, "group": "Properties", "help": {"short": "Type of API."}, "enum": {"items": [{"name": "graphql", "value": "graphql"}, {"name": "grpc", "value": "grpc"}, {"name": "rest", "value": "rest"}, {"name": "soap", "value": "soap"}, {"name": "webhook", "value": "webhook"}, {"name": "websocket", "value": "websocket"}]}}, {"type": "object", "var": "$payload.properties.license", "options": ["license"], "group": "Properties", "help": {"short": "The license information for the API."}, "args": [{"type": "string", "var": "$payload.properties.license.identifier", "options": ["identifier"], "help": {"short": "SPDX license information for the API. The identifier field is mutually exclusive of the URL field."}, "format": {"maxLength": 50}}, {"type": "string", "var": "$payload.properties.license.name", "options": ["name"], "help": {"short": "Name of the license."}, "format": {"maxLength": 100}}, {"type": "string", "var": "$payload.properties.license.url", "options": ["url"], "help": {"short": "URL pointing to the license details. The URL field is mutually exclusive of the identifier field."}, "format": {"maxLength": 200}}]}, {"type": "string", "var": "$payload.properties.summary", "options": ["summary"], "group": "Properties", "help": {"short": "Short description of the API."}, "format": {"maxLength": 200}}, {"type": "object", "var": "$payload.properties.termsOfService", "options": ["terms-of-service"], "hide": true, "group": "Properties", "help": {"short": "Terms of service for the API."}, "args": [{"type": "string", "var": "$payload.properties.termsOfService.url", "options": ["url"], "required": true, "help": {"short": "URL pointing to the terms of service."}, "format": {"maxLength": 200}}]}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "required": true, "group": "Properties", "help": {"short": "API title."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Apis_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "arg": "$payload.properties.contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "arg": "$payload.properties.contacts[].email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "arg": "$payload.properties.contacts[].name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "arg": "$payload.properties.contacts[].url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "arg": "$payload.properties.externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "$payload.properties.externalDocumentation[].description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "arg": "$payload.properties.externalDocumentation[].title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "arg": "$payload.properties.externalDocumentation[].url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "arg": "$payload.properties.kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "arg": "$payload.properties.license", "props": [{"type": "string", "name": "identifier", "arg": "$payload.properties.license.identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "arg": "$payload.properties.license.name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "arg": "$payload.properties.license.url", "format": {"maxLength": 200}}]}, {"type": "string", "name": "summary", "arg": "$payload.properties.summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "arg": "$payload.properties.termsOfService", "props": [{"type": "string", "name": "url", "arg": "$payload.properties.termsOfService.url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "props": [{"type": "string", "name": "identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}, {"readOnly": true, "type": "string", "name": "lifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "props": [{"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Apis_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$payload.properties.contacts", "options": ["contacts"], "group": "Properties", "help": {"short": "The contact information for the API."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$payload.properties.contacts[].email", "options": ["email"], "help": {"short": "Email address of the contact."}, "format": {"maxLength": 100}}, {"nullable": true, "type": "string", "var": "$payload.properties.contacts[].name", "options": ["name"], "help": {"short": "Name of the contact."}, "format": {"maxLength": 100}}, {"nullable": true, "type": "string", "var": "$payload.properties.contacts[].url", "options": ["url"], "help": {"short": "URL for the contact."}, "format": {"maxLength": 200}}]}}, {"nullable": true, "blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"nullable": true, "type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the API."}, "format": {"maxLength": 1000}}, {"nullable": true, "type": "array", "var": "$payload.properties.externalDocumentation", "options": ["external-documentation"], "group": "Properties", "help": {"short": "Additional, external documentation for the API."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$payload.properties.externalDocumentation[].description", "options": ["description"], "help": {"short": "Description of the documentation."}, "format": {"maxLength": 500}}, {"nullable": true, "type": "string", "var": "$payload.properties.externalDocumentation[].title", "options": ["title"], "help": {"short": "Title of the documentation."}, "format": {"maxLength": 50}}, {"type": "string", "var": "$payload.properties.externalDocumentation[].url", "options": ["url"], "help": {"short": "URL pointing to the documentation."}, "format": {"maxLength": 200}}]}}, {"type": "string", "var": "$payload.properties.kind", "options": ["type"], "group": "Properties", "help": {"short": "Type of API."}, "enum": {"items": [{"name": "graphql", "value": "graphql"}, {"name": "grpc", "value": "grpc"}, {"name": "rest", "value": "rest"}, {"name": "soap", "value": "soap"}, {"name": "webhook", "value": "webhook"}, {"name": "websocket", "value": "websocket"}]}}, {"nullable": true, "type": "object", "var": "$payload.properties.license", "options": ["license"], "group": "Properties", "help": {"short": "The license information for the API."}, "args": [{"nullable": true, "type": "string", "var": "$payload.properties.license.identifier", "options": ["identifier"], "help": {"short": "SPDX license information for the API. The identifier field is mutually exclusive of the URL field."}, "format": {"maxLength": 50}}, {"nullable": true, "type": "string", "var": "$payload.properties.license.name", "options": ["name"], "help": {"short": "Name of the license."}, "format": {"maxLength": 100}}, {"nullable": true, "type": "string", "var": "$payload.properties.license.url", "options": ["url"], "help": {"short": "URL pointing to the license details. The URL field is mutually exclusive of the identifier field."}, "format": {"maxLength": 200}}]}, {"nullable": true, "type": "string", "var": "$payload.properties.summary", "options": ["summary"], "group": "Properties", "help": {"short": "Short description of the API."}, "format": {"maxLength": 200}}, {"nullable": true, "type": "object", "var": "$payload.properties.termsOfService", "options": ["terms-of-service"], "hide": true, "group": "Properties", "help": {"short": "Terms of service for the API."}, "args": [{"type": "string", "var": "$payload.properties.termsOfService.url", "options": ["url"], "help": {"short": "URL pointing to the terms of service."}, "format": {"maxLength": 200}}]}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "API title."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Apis_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "props": [{"type": "string", "name": "identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}, {"readOnly": true, "type": "string", "name": "lifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "props": [{"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Api_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "arg": "$payload.properties.contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "arg": "$payload.properties.contacts[].email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "arg": "$payload.properties.contacts[].name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "arg": "$payload.properties.contacts[].url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "arg": "$payload.properties.externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "$payload.properties.externalDocumentation[].description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "arg": "$payload.properties.externalDocumentation[].title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "arg": "$payload.properties.externalDocumentation[].url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "arg": "$payload.properties.kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "arg": "$payload.properties.license", "props": [{"type": "string", "name": "identifier", "arg": "$payload.properties.license.identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "arg": "$payload.properties.license.name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "arg": "$payload.properties.license.url", "format": {"maxLength": 200}}]}, {"type": "string", "name": "summary", "arg": "$payload.properties.summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "arg": "$payload.properties.termsOfService", "props": [{"type": "string", "name": "url", "arg": "$payload.properties.termsOfService.url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Apis_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Api_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Apis_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "props": [{"type": "string", "name": "identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}, {"readOnly": true, "type": "string", "name": "lifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "props": [{"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Apis_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$payload.properties.contacts", "options": ["contacts"], "group": "Properties", "help": {"short": "The contact information for the API."}, "item": {"type": "object", "args": [{"type": "string", "var": "$payload.properties.contacts[].email", "options": ["email"], "help": {"short": "Email address of the contact."}, "format": {"maxLength": 100}}, {"type": "string", "var": "$payload.properties.contacts[].name", "options": ["name"], "help": {"short": "Name of the contact."}, "format": {"maxLength": 100}}, {"type": "string", "var": "$payload.properties.contacts[].url", "options": ["url"], "help": {"short": "URL for the contact."}, "format": {"maxLength": 200}}]}}, {"blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the API."}, "format": {"maxLength": 1000}}, {"type": "array", "var": "$payload.properties.externalDocumentation", "options": ["external-documentation"], "group": "Properties", "help": {"short": "Additional, external documentation for the API."}, "item": {"type": "object", "args": [{"type": "string", "var": "$payload.properties.externalDocumentation[].description", "options": ["description"], "help": {"short": "Description of the documentation."}, "format": {"maxLength": 500}}, {"type": "string", "var": "$payload.properties.externalDocumentation[].title", "options": ["title"], "help": {"short": "Title of the documentation."}, "format": {"maxLength": 50}}, {"type": "string", "var": "$payload.properties.externalDocumentation[].url", "options": ["url"], "required": true, "help": {"short": "URL pointing to the documentation."}, "format": {"maxLength": 200}}]}}, {"type": "string", "var": "$payload.properties.kind", "options": ["type"], "required": true, "group": "Properties", "help": {"short": "Type of API."}, "enum": {"items": [{"name": "graphql", "value": "graphql"}, {"name": "grpc", "value": "grpc"}, {"name": "rest", "value": "rest"}, {"name": "soap", "value": "soap"}, {"name": "webhook", "value": "webhook"}, {"name": "websocket", "value": "websocket"}]}}, {"type": "object", "var": "$payload.properties.license", "options": ["license"], "group": "Properties", "help": {"short": "The license information for the API."}, "args": [{"type": "string", "var": "$payload.properties.license.identifier", "options": ["identifier"], "help": {"short": "SPDX license information for the API. The identifier field is mutually exclusive of the URL field."}, "format": {"maxLength": 50}}, {"type": "string", "var": "$payload.properties.license.name", "options": ["name"], "help": {"short": "Name of the license."}, "format": {"maxLength": 100}}, {"type": "string", "var": "$payload.properties.license.url", "options": ["url"], "help": {"short": "URL pointing to the license details. The URL field is mutually exclusive of the identifier field."}, "format": {"maxLength": 200}}]}, {"type": "string", "var": "$payload.properties.summary", "options": ["summary"], "group": "Properties", "help": {"short": "Short description of the API."}, "format": {"maxLength": 200}}, {"type": "object", "var": "$payload.properties.termsOfService", "options": ["terms-of-service"], "hide": true, "group": "Properties", "help": {"short": "Terms of service for the API."}, "args": [{"type": "string", "var": "$payload.properties.termsOfService.url", "options": ["url"], "required": true, "help": {"short": "URL pointing to the terms of service."}, "format": {"maxLength": 200}}]}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "required": true, "group": "Properties", "help": {"short": "API title."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Apis_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "arg": "$payload.properties.contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "arg": "$payload.properties.contacts[].email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "arg": "$payload.properties.contacts[].name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "arg": "$payload.properties.contacts[].url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "arg": "$payload.properties.externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "$payload.properties.externalDocumentation[].description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "arg": "$payload.properties.externalDocumentation[].title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "arg": "$payload.properties.externalDocumentation[].url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "arg": "$payload.properties.kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "arg": "$payload.properties.license", "props": [{"type": "string", "name": "identifier", "arg": "$payload.properties.license.identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "arg": "$payload.properties.license.name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "arg": "$payload.properties.license.url", "format": {"maxLength": 200}}]}, {"type": "string", "name": "summary", "arg": "$payload.properties.summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "arg": "$payload.properties.termsOfService", "props": [{"type": "string", "name": "url", "arg": "$payload.properties.termsOfService.url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "props": [{"type": "string", "name": "identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}, {"readOnly": true, "type": "string", "name": "lifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "props": [{"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Apis_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$payload.properties.contacts", "options": ["contacts"], "group": "Properties", "help": {"short": "The contact information for the API."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$payload.properties.contacts[].email", "options": ["email"], "help": {"short": "Email address of the contact."}, "format": {"maxLength": 100}}, {"nullable": true, "type": "string", "var": "$payload.properties.contacts[].name", "options": ["name"], "help": {"short": "Name of the contact."}, "format": {"maxLength": 100}}, {"nullable": true, "type": "string", "var": "$payload.properties.contacts[].url", "options": ["url"], "help": {"short": "URL for the contact."}, "format": {"maxLength": 200}}]}}, {"nullable": true, "blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"nullable": true, "type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the API."}, "format": {"maxLength": 1000}}, {"nullable": true, "type": "array", "var": "$payload.properties.externalDocumentation", "options": ["external-documentation"], "group": "Properties", "help": {"short": "Additional, external documentation for the API."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$payload.properties.externalDocumentation[].description", "options": ["description"], "help": {"short": "Description of the documentation."}, "format": {"maxLength": 500}}, {"nullable": true, "type": "string", "var": "$payload.properties.externalDocumentation[].title", "options": ["title"], "help": {"short": "Title of the documentation."}, "format": {"maxLength": 50}}, {"type": "string", "var": "$payload.properties.externalDocumentation[].url", "options": ["url"], "help": {"short": "URL pointing to the documentation."}, "format": {"maxLength": 200}}]}}, {"type": "string", "var": "$payload.properties.kind", "options": ["type"], "group": "Properties", "help": {"short": "Type of API."}, "enum": {"items": [{"name": "graphql", "value": "graphql"}, {"name": "grpc", "value": "grpc"}, {"name": "rest", "value": "rest"}, {"name": "soap", "value": "soap"}, {"name": "webhook", "value": "webhook"}, {"name": "websocket", "value": "websocket"}]}}, {"nullable": true, "type": "object", "var": "$payload.properties.license", "options": ["license"], "group": "Properties", "help": {"short": "The license information for the API."}, "args": [{"nullable": true, "type": "string", "var": "$payload.properties.license.identifier", "options": ["identifier"], "help": {"short": "SPDX license information for the API. The identifier field is mutually exclusive of the URL field."}, "format": {"maxLength": 50}}, {"nullable": true, "type": "string", "var": "$payload.properties.license.name", "options": ["name"], "help": {"short": "Name of the license."}, "format": {"maxLength": 100}}, {"nullable": true, "type": "string", "var": "$payload.properties.license.url", "options": ["url"], "help": {"short": "URL pointing to the license details. The URL field is mutually exclusive of the identifier field."}, "format": {"maxLength": 200}}]}, {"nullable": true, "type": "string", "var": "$payload.properties.summary", "options": ["summary"], "group": "Properties", "help": {"short": "Short description of the API."}, "format": {"maxLength": 200}}, {"nullable": true, "type": "object", "var": "$payload.properties.termsOfService", "options": ["terms-of-service"], "hide": true, "group": "Properties", "help": {"short": "Terms of service for the API."}, "args": [{"type": "string", "var": "$payload.properties.termsOfService.url", "options": ["url"], "help": {"short": "URL pointing to the terms of service."}, "format": {"maxLength": 200}}]}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "API title."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Apis_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "props": [{"type": "string", "name": "identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "format": {"maxLength": 200}}]}, {"readOnly": true, "type": "string", "name": "lifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "props": [{"type": "string", "name": "url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Api_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "contacts", "arg": "$payload.properties.contacts", "item": {"type": "object", "props": [{"type": "string", "name": "email", "arg": "$payload.properties.contacts[].email", "format": {"maxLength": 100}}, {"type": "string", "name": "name", "arg": "$payload.properties.contacts[].name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "arg": "$payload.properties.contacts[].url", "format": {"maxLength": 200}}]}}, {"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 1000}}, {"type": "array", "name": "externalDocumentation", "arg": "$payload.properties.externalDocumentation", "item": {"type": "object", "props": [{"type": "string", "name": "description", "arg": "$payload.properties.externalDocumentation[].description", "format": {"maxLength": 500}}, {"type": "string", "name": "title", "arg": "$payload.properties.externalDocumentation[].title", "format": {"maxLength": 50}}, {"type": "string", "name": "url", "arg": "$payload.properties.externalDocumentation[].url", "required": true, "format": {"maxLength": 200}}]}}, {"type": "string", "name": "kind", "arg": "$payload.properties.kind", "required": true, "enum": {"items": [{"value": "graphql"}, {"value": "grpc"}, {"value": "rest"}, {"value": "soap"}, {"value": "webhook"}, {"value": "websocket"}]}}, {"type": "object", "name": "license", "arg": "$payload.properties.license", "props": [{"type": "string", "name": "identifier", "arg": "$payload.properties.license.identifier", "format": {"maxLength": 50}}, {"type": "string", "name": "name", "arg": "$payload.properties.license.name", "format": {"maxLength": 100}}, {"type": "string", "name": "url", "arg": "$payload.properties.license.url", "format": {"maxLength": 200}}]}, {"type": "string", "name": "summary", "arg": "$payload.properties.summary", "format": {"maxLength": 200}}, {"type": "object", "name": "termsOfService", "arg": "$payload.properties.termsOfService", "props": [{"type": "string", "name": "url", "arg": "$payload.properties.termsOfService.url", "required": true, "format": {"maxLength": 200}}]}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Apis_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Api_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-01.xml index 889ec77b2..ae4949146 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9/2024-03-01.xml @@ -10,8 +10,8 @@ - - + + @@ -180,8 +180,8 @@ - - + + @@ -236,8 +236,8 @@ - - + + @@ -564,8 +564,8 @@ - - + + @@ -619,8 +619,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRz/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRz/2024-03-01.json index 4a80e64eb..9bb81b33f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRz/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRz/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHM=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api deployment", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHM=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "Deployments_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHM=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api deployment", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHM=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "Deployments_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRz/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRz/2024-03-01.xml index d36cdb14f..678bc33c0 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRz/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRz/2024-03-01.xml @@ -10,8 +10,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.json index 77c90814f..461e66b7f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api deployment", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"type": "string", "var": "$payload.properties.definitionId", "options": ["definition-id"], "group": "Properties", "help": {"short": "API center-scoped definition resource ID."}}, {"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the deployment."}, "format": {"maxLength": 500}}, {"type": "string", "var": "$payload.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "API center-scoped environment resource ID."}}, {"type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server"}, "args": [{"type": "array", "var": "$payload.properties.server.runtimeUri", "options": ["runtime-uri"], "help": {"short": "Base runtime URLs for this deployment."}, "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "var": "$payload.properties.state", "options": ["state"], "hide": true, "group": "Properties", "help": {"short": "State of API deployment."}, "enum": {"items": [{"name": "active", "value": "active"}, {"name": "inactive", "value": "inactive"}]}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Deployment title"}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId", "arg": "$payload.properties.definitionId"}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId", "arg": "$payload.properties.environmentId"}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "runtimeUri", "arg": "$payload.properties.server.runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "arg": "$payload.properties.state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"nullable": true, "type": "string", "var": "$payload.properties.definitionId", "options": ["definition-id"], "group": "Properties", "help": {"short": "Service-scoped definition resource ID."}}, {"nullable": true, "type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the deployment."}, "format": {"maxLength": 500}}, {"nullable": true, "type": "string", "var": "$payload.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "Service-scoped environment resource ID."}}, {"nullable": true, "type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server"}, "args": [{"nullable": true, "type": "array", "var": "$payload.properties.server.runtimeUri", "options": ["runtime-uri"], "help": {"short": "Base runtime URLs for this deployment."}, "item": {"nullable": true, "type": "string", "format": {"maxLength": 200}}}]}, {"nullable": true, "type": "string", "var": "$payload.properties.state", "options": ["state"], "hide": true, "group": "Properties", "help": {"short": "State of API deployment."}, "enum": {"items": [{"name": "active", "value": "active"}, {"name": "inactive", "value": "inactive"}]}}, {"nullable": true, "type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Title"}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Deployment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId", "arg": "$payload.properties.definitionId"}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId", "arg": "$payload.properties.environmentId"}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "runtimeUri", "arg": "$payload.properties.server.runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "arg": "$payload.properties.state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Deployments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Deployment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api deployment", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"type": "string", "var": "$payload.properties.definitionId", "options": ["definition-id"], "group": "Properties", "help": {"short": "API center-scoped definition resource ID."}}, {"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the deployment."}, "format": {"maxLength": 500}}, {"type": "string", "var": "$payload.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "API center-scoped environment resource ID."}}, {"type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server"}, "args": [{"type": "array", "var": "$payload.properties.server.runtimeUri", "options": ["runtime-uri"], "help": {"short": "Base runtime URLs for this deployment."}, "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "var": "$payload.properties.state", "options": ["state"], "hide": true, "group": "Properties", "help": {"short": "State of API deployment."}, "enum": {"items": [{"name": "active", "value": "active"}, {"name": "inactive", "value": "inactive"}]}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Deployment title"}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId", "arg": "$payload.properties.definitionId"}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId", "arg": "$payload.properties.environmentId"}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "runtimeUri", "arg": "$payload.properties.server.runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "arg": "$payload.properties.state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/deployments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vZGVwbG95bWVudHMve2RlcGxveW1lbnROYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.deploymentName", "options": ["deployment-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API deployment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"nullable": true, "type": "string", "var": "$payload.properties.definitionId", "options": ["definition-id"], "group": "Properties", "help": {"short": "Service-scoped definition resource ID."}}, {"nullable": true, "type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description of the deployment."}, "format": {"maxLength": 500}}, {"nullable": true, "type": "string", "var": "$payload.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "Service-scoped environment resource ID."}}, {"nullable": true, "type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server"}, "args": [{"nullable": true, "type": "array", "var": "$payload.properties.server.runtimeUri", "options": ["runtime-uri"], "help": {"short": "Base runtime URLs for this deployment."}, "item": {"nullable": true, "type": "string", "format": {"maxLength": 200}}}]}, {"nullable": true, "type": "string", "var": "$payload.properties.state", "options": ["state"], "hide": true, "group": "Properties", "help": {"short": "State of API deployment."}, "enum": {"items": [{"name": "active", "value": "active"}, {"name": "inactive", "value": "inactive"}]}}, {"nullable": true, "type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Title"}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Deployments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/deployments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId"}, {"type": "string", "name": "description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId"}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Deployment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "definitionId", "arg": "$payload.properties.definitionId"}, {"type": "string", "name": "description", "arg": "$payload.properties.description", "format": {"maxLength": 500}}, {"type": "string", "name": "environmentId", "arg": "$payload.properties.environmentId"}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "runtimeUri", "arg": "$payload.properties.server.runtimeUri", "item": {"type": "string", "format": {"maxLength": 200}}}]}, {"type": "string", "name": "state", "arg": "$payload.properties.state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Deployments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "deploymentName", "arg": "$Path.deploymentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Deployment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.xml index 9e9ea4375..010d58bd5 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L2RlcGxveW1lbnRzL3t9/2024-03-01.xml @@ -14,8 +14,8 @@ - - + + @@ -140,8 +140,8 @@ - - + + @@ -203,8 +203,8 @@ - - + + @@ -398,8 +398,8 @@ - - + + @@ -460,8 +460,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25z/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25z/2024-03-01.json index 5e3948d9a..285c6ce5f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25z/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25z/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnM=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api version", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnM=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "ApiVersions_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnM=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api version", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnM=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "ApiVersions_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25z/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25z/2024-03-01.xml index f2292e513..9044fe961 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25z/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25z/2024-03-01.xml @@ -10,8 +10,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-01.json index 8f9a19fdf..10a9c66e3 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api version", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiVersions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiVersions_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$payload.properties.lifecycleStage", "options": ["lifecycle-stage"], "required": true, "group": "Properties", "help": {"short": "Current lifecycle stage of the API."}, "enum": {"items": [{"name": "deprecated", "value": "deprecated"}, {"name": "design", "value": "design"}, {"name": "development", "value": "development"}, {"name": "preview", "value": "preview"}, {"name": "production", "value": "production"}, {"name": "retired", "value": "retired"}, {"name": "testing", "value": "testing"}]}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "required": true, "group": "Properties", "help": {"short": "API version."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "ApiVersions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "arg": "$payload.properties.lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiVersions_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$payload.properties.lifecycleStage", "options": ["lifecycle-stage"], "group": "Properties", "help": {"short": "Current lifecycle stage of the API."}, "enum": {"items": [{"name": "deprecated", "value": "deprecated"}, {"name": "design", "value": "design"}, {"name": "development", "value": "development"}, {"name": "preview", "value": "preview"}, {"name": "production", "value": "production"}, {"name": "retired", "value": "retired"}, {"name": "testing", "value": "testing"}]}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "API version."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "ApiVersions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ApiVersion_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "arg": "$payload.properties.lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "ApiVersions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@ApiVersion_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api version", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiVersions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiVersions_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$payload.properties.lifecycleStage", "options": ["lifecycle-stage"], "required": true, "group": "Properties", "help": {"short": "Current lifecycle stage of the API."}, "enum": {"items": [{"name": "deprecated", "value": "deprecated"}, {"name": "design", "value": "design"}, {"name": "development", "value": "development"}, {"name": "preview", "value": "preview"}, {"name": "production", "value": "production"}, {"name": "retired", "value": "retired"}, {"name": "testing", "value": "testing"}]}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "required": true, "group": "Properties", "help": {"short": "API version."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "ApiVersions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "arg": "$payload.properties.lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiVersions_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfQ==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$payload.properties.lifecycleStage", "options": ["lifecycle-stage"], "group": "Properties", "help": {"short": "Current lifecycle stage of the API."}, "enum": {"items": [{"name": "deprecated", "value": "deprecated"}, {"name": "design", "value": "design"}, {"name": "development", "value": "development"}, {"name": "preview", "value": "preview"}, {"name": "production", "value": "production"}, {"name": "retired", "value": "retired"}, {"name": "testing", "value": "testing"}]}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "API version."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "ApiVersions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ApiVersion_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "lifecycleStage", "arg": "$payload.properties.lifecycleStage", "required": true, "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "ApiVersions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@ApiVersion_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-01.xml index c0a4e0d3b..5873e9505 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9/2024-03-01.xml @@ -10,8 +10,8 @@ - - + + @@ -126,8 +126,8 @@ - - + + @@ -189,8 +189,8 @@ - - + + @@ -345,8 +345,8 @@ - - + + @@ -407,8 +407,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25z/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25z/2024-03-01.json index 3f3ed9524..5cb9caa6c 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25z/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25z/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucw==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api definition", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucw==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "ApiDefinitions_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "specification", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "version"}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucw==/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api definition", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucw==/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "ApiDefinitions_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "specification", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "version"}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25z/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25z/2024-03-01.xml index fad7dd7f2..5ef4c7731 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25z/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25z/2024-03-01.xml @@ -10,8 +10,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-01.json index 21caeb8e7..392484f4c 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api definition", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiDefinitions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "specification", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "version"}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiDefinitions_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "API definition description."}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "required": true, "group": "Properties", "help": {"short": "API version."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "ApiDefinitions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description", "arg": "$payload.properties.description"}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "specification", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "version"}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiDefinitions_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "API definition description."}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "API version title."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "ApiDefinitions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "specification", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "version"}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ApiDefinition_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description", "arg": "$payload.properties.description"}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "ApiDefinitions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@ApiDefinition_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api definition", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiDefinitions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "specification", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "version"}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiDefinitions_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "API definition description."}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "required": true, "group": "Properties", "help": {"short": "API version."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "ApiDefinitions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description", "arg": "$payload.properties.description"}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "specification", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "version"}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiDefinitions_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "API definition description."}}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "API version title."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "ApiDefinitions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "specification", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "version"}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ApiDefinition_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description", "arg": "$payload.properties.description"}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "ApiDefinitions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@ApiDefinition_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-01.xml index 7ebd1561d..31ad92b4f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9/2024-03-01.xml @@ -14,8 +14,8 @@ - - + + @@ -131,8 +131,8 @@ - - + + @@ -201,8 +201,8 @@ - - + + @@ -339,8 +339,8 @@ - - + + @@ -408,8 +408,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2V4cG9ydHNwZWNpZmljYXRpb24=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2V4cG9ydHNwZWNpZmljYXRpb24=/2024-03-01.json index d085d1f90..06a1c9549 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2V4cG9ydHNwZWNpZmljYXRpb24=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2V4cG9ydHNwZWNpZmljYXRpb24=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}/exportspecification", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9L2V4cG9ydFNwZWNpZmljYXRpb24=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api definition", "commands": [{"name": "export-specification", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}/exportspecification", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9L2V4cG9ydFNwZWNpZmljYXRpb24=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ApiDefinitions_ExportSpecification", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}/exportSpecification", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "format", "enum": {"items": [{"value": "inline"}, {"value": "link"}]}}, {"type": "string", "name": "value"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}/exportspecification", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9L2V4cG9ydFNwZWNpZmljYXRpb24=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api definition", "commands": [{"name": "export-specification", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}/exportspecification", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9L2V4cG9ydFNwZWNpZmljYXRpb24=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ApiDefinitions_ExportSpecification", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}/exportSpecification", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "format", "enum": {"items": [{"value": "inline"}, {"value": "link"}]}}, {"type": "string", "name": "value"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2V4cG9ydHNwZWNpZmljYXRpb24=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2V4cG9ydHNwZWNpZmljYXRpb24=/2024-03-01.xml index 102cc95ac..4b66b974e 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2V4cG9ydHNwZWNpZmljYXRpb24=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2V4cG9ydHNwZWNpZmljYXRpb24=/2024-03-01.xml @@ -14,8 +14,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2ltcG9ydHNwZWNpZmljYXRpb24=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2ltcG9ydHNwZWNpZmljYXRpb24=/2024-03-01.json index 0bd9d4bda..930f424cf 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2ltcG9ydHNwZWNpZmljYXRpb24=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2ltcG9ydHNwZWNpZmljYXRpb24=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}/importspecification", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9L2ltcG9ydFNwZWNpZmljYXRpb24=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api definition", "commands": [{"name": "import-specification", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}/importspecification", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9L2ltcG9ydFNwZWNpZmljYXRpb24=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Payload", "args": [{"type": "string", "var": "$payload.format", "options": ["format"], "group": "Payload", "help": {"short": "Format of the API specification source."}, "enum": {"items": [{"name": "inline", "value": "inline"}, {"name": "link", "value": "link"}]}}, {"type": "object", "var": "$payload.specification", "options": ["specification"], "group": "Payload", "help": {"short": "API specification details."}, "args": [{"type": "string", "var": "$payload.specification.name", "options": ["name"], "help": {"short": "Specification name."}}, {"type": "string", "var": "$payload.specification.version", "options": ["version"], "help": {"short": "Specification version."}}]}, {"type": "string", "var": "$payload.value", "options": ["value"], "group": "Payload", "help": {"short": "Value of the API specification source."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ApiDefinitions_ImportSpecification", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}/importSpecification", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "string", "name": "format", "arg": "$payload.format", "enum": {"items": [{"value": "inline"}, {"value": "link"}]}}, {"type": "object", "name": "specification", "arg": "$payload.specification", "props": [{"type": "string", "name": "name", "arg": "$payload.specification.name"}, {"type": "string", "name": "version", "arg": "$payload.specification.version"}]}, {"type": "string", "name": "value", "arg": "$payload.value"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}/importspecification", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9L2ltcG9ydFNwZWNpZmljYXRpb24=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic api definition", "commands": [{"name": "import-specification", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apis/{}/versions/{}/definitions/{}/importspecification", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpcy97YXBpTmFtZX0vdmVyc2lvbnMve3ZlcnNpb25OYW1lfS9kZWZpbml0aW9ucy97ZGVmaW5pdGlvbk5hbWV9L2ltcG9ydFNwZWNpZmljYXRpb24=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiName", "options": ["api-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the API."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.definitionName", "options": ["definition-id"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "The id of the API definition."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.versionName", "options": ["version-id"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The id of the API version."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Payload", "args": [{"type": "string", "var": "$payload.format", "options": ["format"], "group": "Payload", "help": {"short": "Format of the API specification source."}, "enum": {"items": [{"name": "inline", "value": "inline"}, {"name": "link", "value": "link"}]}}, {"type": "object", "var": "$payload.specification", "options": ["specification"], "group": "Payload", "help": {"short": "API specification details."}, "args": [{"type": "string", "var": "$payload.specification.name", "options": ["name"], "help": {"short": "Specification name."}}, {"type": "string", "var": "$payload.specification.version", "options": ["version"], "help": {"short": "Specification version."}}]}, {"type": "string", "var": "$payload.value", "options": ["value"], "group": "Payload", "help": {"short": "Value of the API specification source."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ApiDefinitions_ImportSpecification", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}/importSpecification", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "apiName", "arg": "$Path.apiName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "definitionName", "arg": "$Path.definitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "versionName", "arg": "$Path.versionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "string", "name": "format", "arg": "$payload.format", "enum": {"items": [{"value": "inline"}, {"value": "link"}]}}, {"type": "object", "name": "specification", "arg": "$payload.specification", "props": [{"type": "string", "name": "name", "arg": "$payload.specification.name"}, {"type": "string", "name": "version", "arg": "$payload.specification.version"}]}, {"type": "string", "name": "value", "arg": "$payload.value"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2ltcG9ydHNwZWNpZmljYXRpb24=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2ltcG9ydHNwZWNpZmljYXRpb24=/2024-03-01.xml index 2fd361b0b..4ae391f46 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2ltcG9ydHNwZWNpZmljYXRpb24=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzL3t9L3ZlcnNpb25zL3t9L2RlZmluaXRpb25zL3t9L2ltcG9ydHNwZWNpZmljYXRpb24=/2024-03-01.xml @@ -14,8 +14,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHM=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHM=/2024-03-01.json index c02651c11..711d10152 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHM=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHM=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRz/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic environment", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRz/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "Environments_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/environments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description"}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "props": [{"type": "array", "name": "developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions"}]}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRz/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic environment", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRz/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "Environments_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/environments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description"}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "props": [{"type": "array", "name": "developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions"}]}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHM=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHM=/2024-03-01.xml index 3ae7ae201..120ba990b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHM=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHM=/2024-03-01.xml @@ -6,8 +6,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-01.json index cbcccb243..18d9c9141 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic environment", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.environmentName", "options": ["environment-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the environment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Environments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/environments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description"}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "props": [{"type": "array", "name": "developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions"}]}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.environmentName", "options": ["environment-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the environment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Environments_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.environmentName", "options": ["environment-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the environment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Environment description."}}, {"type": "string", "var": "$payload.properties.kind", "options": ["type"], "required": true, "group": "Properties", "help": {"short": "Environment type."}, "enum": {"items": [{"name": "development", "value": "development"}, {"name": "production", "value": "production"}, {"name": "staging", "value": "staging"}, {"name": "testing", "value": "testing"}]}}, {"type": "object", "var": "$payload.properties.onboarding", "options": ["onboarding"], "group": "Properties", "help": {"short": "Provide onboarding documentation related to your environment, e.g. {developerPortalUri:['https://developer.contoso.com'],instructions:'instructions markdown'}"}, "args": [{"type": "array", "var": "$payload.properties.onboarding.developerPortalUri", "options": ["developer-portal-uri"], "help": {"short": "The location of the development portal"}, "item": {"type": "string"}}, {"type": "string", "var": "$payload.properties.onboarding.instructions", "options": ["instructions"], "help": {"short": "Onboarding guide."}}]}, {"type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server information of the environment."}, "args": [{"type": "array", "var": "$payload.properties.server.managementPortalUri", "options": ["management-portal-uri"], "help": {"short": "The location of the management portal"}, "item": {"type": "string"}}, {"type": "string", "var": "$payload.properties.server.type", "options": ["type"], "help": {"short": "Type of the server that represents the environment."}, "enum": {"items": [{"name": "AWS API Gateway", "value": "AWS API Gateway"}, {"name": "Apigee API Management", "value": "Apigee API Management"}, {"name": "Azure API Management", "value": "Azure API Management"}, {"name": "Azure compute service", "value": "Azure compute service"}, {"name": "Kong API Gateway", "value": "Kong API Gateway"}, {"name": "Kubernetes", "value": "Kubernetes"}, {"name": "MuleSoft API Management", "value": "MuleSoft API Management"}]}}]}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "required": true, "group": "Properties", "help": {"short": "Environment title."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Environments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "arg": "$payload.properties.description"}, {"type": "string", "name": "kind", "arg": "$payload.properties.kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "arg": "$payload.properties.onboarding", "props": [{"type": "array", "name": "developerPortalUri", "arg": "$payload.properties.onboarding.developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions", "arg": "$payload.properties.onboarding.instructions"}]}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "managementPortalUri", "arg": "$payload.properties.server.managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "arg": "$payload.properties.server.type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/environments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description"}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "props": [{"type": "array", "name": "developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions"}]}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.environmentName", "options": ["environment-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the environment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Environments_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.environmentName", "options": ["environment-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the environment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["s", "service", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"nullable": true, "type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description."}}, {"type": "string", "var": "$payload.properties.kind", "options": ["type"], "group": "Properties", "help": {"short": "Environment type."}, "enum": {"items": [{"name": "development", "value": "development"}, {"name": "production", "value": "production"}, {"name": "staging", "value": "staging"}, {"name": "testing", "value": "testing"}]}}, {"nullable": true, "type": "object", "var": "$payload.properties.onboarding", "options": ["onboarding"], "group": "Properties", "help": {"short": "{developerPortalUri:['https://developer.contoso.com'],instructions:'instructions markdown'}"}, "args": [{"nullable": true, "type": "array", "var": "$payload.properties.onboarding.developerPortalUri", "options": ["developer-portal-uri"], "help": {"short": "The location of the development portal"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$payload.properties.onboarding.instructions", "options": ["instructions"], "help": {"short": "Onboarding guide."}}]}, {"nullable": true, "type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server information of the environment."}, "args": [{"nullable": true, "type": "array", "var": "$payload.properties.server.managementPortalUri", "options": ["management-portal-uri"], "help": {"short": "The location of the management portal"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$payload.properties.server.type", "options": ["type"], "help": {"short": "Type of the server that represents the environment."}, "enum": {"items": [{"name": "AWS API Gateway", "value": "AWS API Gateway"}, {"name": "Apigee API Management", "value": "Apigee API Management"}, {"name": "Azure API Management", "value": "Azure API Management"}, {"name": "Azure compute service", "value": "Azure compute service"}, {"name": "Kong API Gateway", "value": "Kong API Gateway"}, {"name": "Kubernetes", "value": "Kubernetes"}, {"name": "MuleSoft API Management", "value": "MuleSoft API Management"}]}}]}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Environment title."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Environments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/environments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description"}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "props": [{"type": "array", "name": "developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions"}]}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Environment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "arg": "$payload.properties.description"}, {"type": "string", "name": "kind", "arg": "$payload.properties.kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "arg": "$payload.properties.onboarding", "props": [{"type": "array", "name": "developerPortalUri", "arg": "$payload.properties.onboarding.developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions", "arg": "$payload.properties.onboarding.instructions"}]}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "managementPortalUri", "arg": "$payload.properties.server.managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "arg": "$payload.properties.server.type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Environments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Environment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic environment", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.environmentName", "options": ["environment-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the environment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Environments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/environments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description"}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "props": [{"type": "array", "name": "developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions"}]}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.environmentName", "options": ["environment-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the environment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Environments_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.environmentName", "options": ["environment-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the environment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Environment description."}}, {"type": "string", "var": "$payload.properties.kind", "options": ["type"], "required": true, "group": "Properties", "help": {"short": "Environment type."}, "enum": {"items": [{"name": "development", "value": "development"}, {"name": "production", "value": "production"}, {"name": "staging", "value": "staging"}, {"name": "testing", "value": "testing"}]}}, {"type": "object", "var": "$payload.properties.onboarding", "options": ["onboarding"], "group": "Properties", "help": {"short": "Provide onboarding documentation related to your environment, e.g. {developerPortalUri:['https://developer.contoso.com'],instructions:'instructions markdown'}"}, "args": [{"type": "array", "var": "$payload.properties.onboarding.developerPortalUri", "options": ["developer-portal-uri"], "help": {"short": "The location of the development portal"}, "item": {"type": "string"}}, {"type": "string", "var": "$payload.properties.onboarding.instructions", "options": ["instructions"], "help": {"short": "Onboarding guide."}}]}, {"type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server information of the environment."}, "args": [{"type": "array", "var": "$payload.properties.server.managementPortalUri", "options": ["management-portal-uri"], "help": {"short": "The location of the management portal"}, "item": {"type": "string"}}, {"type": "string", "var": "$payload.properties.server.type", "options": ["type"], "help": {"short": "Type of the server that represents the environment."}, "enum": {"items": [{"name": "AWS API Gateway", "value": "AWS API Gateway"}, {"name": "Apigee API Management", "value": "Apigee API Management"}, {"name": "Azure API Management", "value": "Azure API Management"}, {"name": "Azure compute service", "value": "Azure compute service"}, {"name": "Kong API Gateway", "value": "Kong API Gateway"}, {"name": "Kubernetes", "value": "Kubernetes"}, {"name": "MuleSoft API Management", "value": "MuleSoft API Management"}]}}]}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "required": true, "group": "Properties", "help": {"short": "Environment title."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Environments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "arg": "$payload.properties.description"}, {"type": "string", "name": "kind", "arg": "$payload.properties.kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "arg": "$payload.properties.onboarding", "props": [{"type": "array", "name": "developerPortalUri", "arg": "$payload.properties.onboarding.developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions", "arg": "$payload.properties.onboarding.instructions"}]}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "managementPortalUri", "arg": "$payload.properties.server.managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "arg": "$payload.properties.server.type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/environments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description"}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "props": [{"type": "array", "name": "developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions"}]}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "check-exists", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.environmentName", "options": ["environment-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the environment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "default": {"value": "default"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "Environments_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/environments/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vZW52aXJvbm1lbnRzL3tlbnZpcm9ubWVudE5hbWV9/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.environmentName", "options": ["environment-id"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The id of the environment."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["w", "workspace", "workspace-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "blank": {"value": {}}, "type": "object", "var": "$payload.properties.customProperties", "options": ["custom-properties"], "group": "Properties", "help": {"short": "The custom metadata defined for API catalog entities."}, "additionalProps": {"anyType": true}}, {"nullable": true, "type": "string", "var": "$payload.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "Description."}}, {"type": "string", "var": "$payload.properties.kind", "options": ["type"], "group": "Properties", "help": {"short": "Environment type."}, "enum": {"items": [{"name": "development", "value": "development"}, {"name": "production", "value": "production"}, {"name": "staging", "value": "staging"}, {"name": "testing", "value": "testing"}]}}, {"nullable": true, "type": "object", "var": "$payload.properties.onboarding", "options": ["onboarding"], "group": "Properties", "help": {"short": "{developerPortalUri:['https://developer.contoso.com'],instructions:'instructions markdown'}"}, "args": [{"nullable": true, "type": "array", "var": "$payload.properties.onboarding.developerPortalUri", "options": ["developer-portal-uri"], "help": {"short": "The location of the development portal"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$payload.properties.onboarding.instructions", "options": ["instructions"], "help": {"short": "Onboarding guide."}}]}, {"nullable": true, "type": "object", "var": "$payload.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "Server information of the environment."}, "args": [{"nullable": true, "type": "array", "var": "$payload.properties.server.managementPortalUri", "options": ["management-portal-uri"], "help": {"short": "The location of the management portal"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$payload.properties.server.type", "options": ["type"], "help": {"short": "Type of the server that represents the environment."}, "enum": {"items": [{"name": "AWS API Gateway", "value": "AWS API Gateway"}, {"name": "Apigee API Management", "value": "Apigee API Management"}, {"name": "Azure API Management", "value": "Azure API Management"}, {"name": "Azure compute service", "value": "Azure compute service"}, {"name": "Kong API Gateway", "value": "Kong API Gateway"}, {"name": "Kubernetes", "value": "Kubernetes"}, {"name": "MuleSoft API Management", "value": "MuleSoft API Management"}]}}]}, {"type": "string", "var": "$payload.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "Environment title."}, "format": {"maxLength": 50, "minLength": 1}}]}], "operations": [{"operationId": "Environments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/environments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description"}, {"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "props": [{"type": "array", "name": "developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions"}]}, {"type": "object", "name": "server", "props": [{"type": "array", "name": "managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Environment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "customProperties", "arg": "$payload.properties.customProperties", "additionalProps": {"anyType": true}}, {"type": "string", "name": "description", "arg": "$payload.properties.description"}, {"type": "string", "name": "kind", "arg": "$payload.properties.kind", "required": true, "enum": {"items": [{"value": "development"}, {"value": "production"}, {"value": "staging"}, {"value": "testing"}]}}, {"type": "object", "name": "onboarding", "arg": "$payload.properties.onboarding", "props": [{"type": "array", "name": "developerPortalUri", "arg": "$payload.properties.onboarding.developerPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "instructions", "arg": "$payload.properties.onboarding.instructions"}]}, {"type": "object", "name": "server", "arg": "$payload.properties.server", "props": [{"type": "array", "name": "managementPortalUri", "arg": "$payload.properties.server.managementPortalUri", "item": {"type": "string"}}, {"type": "string", "name": "type", "arg": "$payload.properties.server.type", "enum": {"items": [{"value": "AWS API Gateway"}, {"value": "Apigee API Management"}, {"value": "Azure API Management"}, {"value": "Azure compute service"}, {"value": "Kong API Gateway"}, {"value": "Kubernetes"}, {"value": "MuleSoft API Management"}]}}]}, {"type": "string", "name": "title", "arg": "$payload.properties.title", "required": true, "format": {"maxLength": 50, "minLength": 1}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Environments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/environments/{environmentName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "environmentName", "arg": "$Path.environmentName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Environment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-01.xml index 4e5c6ec05..b11e9af57 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9lbnZpcm9ubWVudHMve30=/2024-03-01.xml @@ -10,8 +10,8 @@ - - + + @@ -142,8 +142,8 @@ - - + + @@ -198,8 +198,8 @@ - - + + @@ -427,8 +427,8 @@ - - + + @@ -482,8 +482,8 @@ - - + + From 5dbccc98ccb8dbb65cc3814a4dfb84a76ba53c34 Mon Sep 17 00:00:00 2001 From: Chaoyi Yuan Date: Mon, 24 Jun 2024 16:02:14 +0800 Subject: [PATCH 5/5] add sku support --- Commands/apic/_list.md | 2 + Commands/tree.json | 3 + .../2024-03-01.json | 2 +- .../2024-03-01.xml | 28 +++ .../2024-03-01.json | 2 +- .../2024-03-01.xml | 225 +++++++++++++++--- 6 files changed, 226 insertions(+), 36 deletions(-) diff --git a/Commands/apic/_list.md b/Commands/apic/_list.md index cae4ac932..24fd69dbe 100644 --- a/Commands/apic/_list.md +++ b/Commands/apic/_list.md @@ -2,6 +2,8 @@ Lists Azure API Center services within an Azure subscription. +There is a known issue that listing all resources under a subscription does not work. Please list resources by resource group. + ## Versions ### [2024-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml) **Stable** diff --git a/Commands/tree.json b/Commands/tree.json index d6ad9dcb1..fa3de77b3 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -7089,6 +7089,9 @@ }, "list": { "help": { + "lines": [ + "There is a known issue that listing all resources under a subscription does not work. Please list resources by resource group." + ], "short": "Lists Azure API Center services within an Azure subscription." }, "names": [ diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.json index 35d4d10e5..7e4094789 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaUNlbnRlci9zZXJ2aWNlcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2Vz/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaUNlbnRlci9zZXJ2aWNlcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2Vz/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Services_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Services_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Services_ListByResourceGroup"], "operationId": "Services_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Services_ListBySubscription"], "operationId": "Services_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.ApiCenter/services", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaUNlbnRlci9zZXJ2aWNlcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2Vz/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaUNlbnRlci9zZXJ2aWNlcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2Vz/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Services_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Services_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Services_ListByResourceGroup"], "operationId": "Services_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Services_ListBySubscription"], "operationId": "Services_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.ApiCenter/services", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml index a3a13d2ad..c78d06982 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXM=/2024-03-01.xml @@ -82,6 +82,20 @@ + + + + + + + + + + + + + + @@ -180,6 +194,20 @@ + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.json index c93499b9f..818d0774d 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Services_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Services_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$resource.identity", "options": ["identity"], "group": "", "help": {"short": "The managed service identities assigned to this resource."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "Services_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$payload.identity", "options": ["identity"], "group": "", "help": {"short": "The managed service identities assigned to this resource."}, "args": [{"type": "string", "var": "$payload.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$payload.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "object", "var": "$payload.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "Services_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "payload", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$payload.identity", "props": [{"type": "string", "name": "type", "arg": "$payload.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$payload.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "object", "name": "tags", "arg": "$payload.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "apic", "commands": [{"name": "show", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Services_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Services_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$resource.identity", "options": ["identity"], "group": "", "help": {"short": "The managed service identities assigned to this resource."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Sku", "args": [{"type": "integer32", "var": "$resource.sku.capacity", "options": ["sku-capacity"], "hide": true, "group": "Sku", "help": {"short": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."}}, {"type": "string", "var": "$resource.sku.family", "options": ["sku-family"], "hide": true, "group": "Sku", "help": {"short": "If the service has different generations of hardware, for the same SKU, then that can be captured here."}}, {"type": "string", "var": "$resource.sku.name", "options": ["sku-name"], "group": "Sku", "help": {"short": "The name of the SKU. E.g. P3. It is typically a letter+number code"}, "default": {"value": "Free"}}, {"type": "string", "var": "$resource.sku.size", "options": ["sku-size"], "hide": true, "group": "Sku", "help": {"short": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code."}}, {"type": "string", "var": "$resource.sku.tier", "options": ["sku-tier"], "hide": true, "group": "Sku", "help": {"short": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}]}}]}], "operations": [{"operationId": "Services_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity", "arg": "$resource.sku.capacity"}, {"type": "string", "name": "family", "arg": "$resource.sku.family"}, {"type": "string", "name": "name", "arg": "$resource.sku.name", "required": true}, {"type": "string", "name": "size", "arg": "$resource.sku.size"}, {"type": "string", "name": "tier", "arg": "$resource.sku.tier", "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}", "version": "2024-03-01", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"nullable": true, "type": "object", "var": "$resource.identity", "options": ["identity"], "group": "", "help": {"short": "The managed service identities assigned to this resource."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Sku", "args": [{"nullable": true, "type": "integer32", "var": "$resource.sku.capacity", "options": ["sku-capacity"], "hide": true, "group": "Sku", "help": {"short": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."}}, {"nullable": true, "type": "string", "var": "$resource.sku.family", "options": ["sku-family"], "hide": true, "group": "Sku", "help": {"short": "If the service has different generations of hardware, for the same SKU, then that can be captured here."}}, {"type": "string", "var": "$resource.sku.name", "options": ["sku-name"], "hide": true, "group": "Sku", "help": {"short": "The name of the SKU. E.g. P3. It is typically a letter+number code"}}, {"nullable": true, "type": "string", "var": "$resource.sku.size", "options": ["sku-size"], "hide": true, "group": "Sku", "help": {"short": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code."}}, {"nullable": true, "type": "string", "var": "$resource.sku.tier", "options": ["sku-tier"], "hide": true, "group": "Sku", "help": {"short": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Free", "value": "Free"}, {"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}]}}]}], "operations": [{"operationId": "Services_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dataApiHostname"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "string", "name": "name", "required": true}, {"type": "string", "name": "size"}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Service_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity", "arg": "$resource.sku.capacity"}, {"type": "string", "name": "family", "arg": "$resource.sku.family"}, {"type": "string", "name": "name", "arg": "$resource.sku.name", "required": true}, {"type": "string", "name": "size", "arg": "$resource.sku.size"}, {"type": "string", "name": "tier", "arg": "$resource.sku.tier", "enum": {"items": [{"value": "Basic"}, {"value": "Free"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "Services_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Service_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml index 97605e696..acf324c7f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml @@ -70,6 +70,20 @@ + + + + + + + + + + + + + + @@ -193,6 +207,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -230,6 +268,20 @@ + + + + + + + + + + + + + + @@ -278,6 +330,20 @@ + + + + + + + + + + + + + + @@ -330,9 +396,9 @@ - + - + @@ -341,7 +407,7 @@ - + @@ -350,16 +416,39 @@ - + - + - + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -375,37 +464,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -441,6 +504,20 @@ + + + + + + + + + + + + + + @@ -482,6 +559,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +