From b6c90524d2b734af05d0c6fd9055b9dde5945566 Mon Sep 17 00:00:00 2001 From: Meghana Gupta Date: Mon, 20 Apr 2026 21:57:49 -0400 Subject: [PATCH 1/2] Add service-group command models (Microsoft.Management/serviceGroups 2024-02-01-preview) Register AAZ command models for the new service-group CLI extension: - service-group create (PUT LRO) - service-group show (GET) - service-group update (PATCH LRO) - service-group delete (DELETE LRO) - service-group list-ancestors (POST action) Related CLI extension PR: Azure/azure-cli-extensions#9805 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Commands/readme.md | 3 + Commands/service-group/_create.md | 9 + Commands/service-group/_delete.md | 9 + Commands/service-group/_list-ancestors.md | 9 + Commands/service-group/_show.md | 9 + Commands/service-group/_update.md | 9 + Commands/service-group/readme.md | 20 + .../2024-02-01-preview.json | 1 + .../2024-02-01-preview.xml | 444 ++++++++++++++++++ .../2024-02-01-preview.json | 1 + .../2024-02-01-preview.xml | 105 +++++ 11 files changed, 619 insertions(+) create mode 100644 Commands/service-group/_create.md create mode 100644 Commands/service-group/_delete.md create mode 100644 Commands/service-group/_list-ancestors.md create mode 100644 Commands/service-group/_show.md create mode 100644 Commands/service-group/_update.md create mode 100644 Commands/service-group/readme.md create mode 100644 Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.json create mode 100644 Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.xml create mode 100644 Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L2xpc3RhbmNlc3RvcnM=/2024-02-01-preview.json create mode 100644 Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L2xpc3RhbmNlc3RvcnM=/2024-02-01-preview.xml diff --git a/Commands/readme.md b/Commands/readme.md index a7227d368..7667382d5 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -329,6 +329,9 @@ - [sentinel](/Commands/sentinel/readme.md) : Manage Microsoft Sentinel. +- [service-group](/Commands/service-group/readme.md) +: Manage Service Group + - [service-networking](/Commands/service-networking/readme.md) : Manage Service Networking Resources diff --git a/Commands/service-group/_create.md b/Commands/service-group/_create.md new file mode 100644 index 000000000..ccb162419 --- /dev/null +++ b/Commands/service-group/_create.md @@ -0,0 +1,9 @@ +# [Command] _service-group create_ + +Create a serviceGroup + +## Versions + +### [2024-02-01-preview](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.xml) **Preview** + + diff --git a/Commands/service-group/_delete.md b/Commands/service-group/_delete.md new file mode 100644 index 000000000..a35cee2b0 --- /dev/null +++ b/Commands/service-group/_delete.md @@ -0,0 +1,9 @@ +# [Command] _service-group delete_ + +Delete a ServiceGroup + +## Versions + +### [2024-02-01-preview](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.xml) **Preview** + + diff --git a/Commands/service-group/_list-ancestors.md b/Commands/service-group/_list-ancestors.md new file mode 100644 index 000000000..30f33acc4 --- /dev/null +++ b/Commands/service-group/_list-ancestors.md @@ -0,0 +1,9 @@ +# [Command] _service-group list-ancestors_ + +Get the details of the serviceGroup's ancestors + +## Versions + +### [2024-02-01-preview](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L2xpc3RhbmNlc3RvcnM=/2024-02-01-preview.xml) **Preview** + + diff --git a/Commands/service-group/_show.md b/Commands/service-group/_show.md new file mode 100644 index 000000000..0427ce04c --- /dev/null +++ b/Commands/service-group/_show.md @@ -0,0 +1,9 @@ +# [Command] _service-group show_ + +Get the details of the serviceGroup + +## Versions + +### [2024-02-01-preview](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.xml) **Preview** + + diff --git a/Commands/service-group/_update.md b/Commands/service-group/_update.md new file mode 100644 index 000000000..93c7b2b64 --- /dev/null +++ b/Commands/service-group/_update.md @@ -0,0 +1,9 @@ +# [Command] _service-group update_ + +Update a serviceGroup + +## Versions + +### [2024-02-01-preview](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.xml) **Preview** + + diff --git a/Commands/service-group/readme.md b/Commands/service-group/readme.md new file mode 100644 index 000000000..207d8a4ca --- /dev/null +++ b/Commands/service-group/readme.md @@ -0,0 +1,20 @@ +# [Group] _service-group_ + +Manage Service Group + +## Commands + +- [create](/Commands/service-group/_create.md) +: Create a serviceGroup + +- [delete](/Commands/service-group/_delete.md) +: Delete a ServiceGroup + +- [list-ancestors](/Commands/service-group/_list-ancestors.md) +: Get the details of the serviceGroup's ancestors + +- [show](/Commands/service-group/_show.md) +: Get the details of the serviceGroup + +- [update](/Commands/service-group/_update.md) +: Update a serviceGroup diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.json b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.json new file mode 100644 index 000000000..226d4f87e --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.management/servicegroups/{}", "version": "2024-02-01-preview", "swagger": "mgmt-plane/management/ResourceProviders/Microsoft.Management/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9zZXJ2aWNlR3JvdXBzL3tzZXJ2aWNlR3JvdXBOYW1lfQ==/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "service-group", "commands": [{"name": "show", "version": "2024-02-01-preview", "resources": [{"id": "/providers/microsoft.management/servicegroups/{}", "version": "2024-02-01-preview", "swagger": "mgmt-plane/management/ResourceProviders/Microsoft.Management/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9zZXJ2aWNlR3JvdXBzL3tzZXJ2aWNlR3JvdXBOYW1lfQ==/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.serviceGroupName", "options": ["service-group-name"], "required": true, "help": {"short": "ServiceGroup Name."}, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}], "operations": [{"operationId": "ServiceGroups_Get", "http": {"path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "serviceGroupName", "arg": "$Path.serviceGroupName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "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": "/providers/Microsoft.Management/serviceGroups/{}"}}, {"type": "string", "name": "kind"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName"}, {"type": "object", "name": "parent", "props": [{"type": "ResourceId", "name": "resourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "NotStarted"}, {"value": "Running"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"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}]}, {"name": "delete", "version": "2024-02-01-preview", "resources": [{"id": "/providers/microsoft.management/servicegroups/{}", "version": "2024-02-01-preview", "swagger": "mgmt-plane/management/ResourceProviders/Microsoft.Management/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9zZXJ2aWNlR3JvdXBzL3tzZXJ2aWNlR3JvdXBOYW1lfQ==/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.serviceGroupName", "options": ["service-group-name"], "required": true, "help": {"short": "ServiceGroup Name."}, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "DeleteServiceGroup", "http": {"path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "serviceGroupName", "arg": "$Path.serviceGroupName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to delete this service group?"}, {"name": "create", "version": "2024-02-01-preview", "resources": [{"id": "/providers/microsoft.management/servicegroups/{}", "version": "2024-02-01-preview", "swagger": "mgmt-plane/management/ResourceProviders/Microsoft.Management/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9zZXJ2aWNlR3JvdXBzL3tzZXJ2aWNlR3JvdXBOYW1lfQ==/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.serviceGroupName", "options": ["service-group-name"], "required": true, "help": {"short": "ServiceGroup Name."}, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}, {"name": "CreateServiceGroupRequest", "args": [{"type": "string", "var": "$createServiceGroupRequest.kind", "options": ["kind"], "group": "CreateServiceGroupRequest", "help": {"short": "The kind of the serviceGroup."}}, {"type": "object", "var": "$createServiceGroupRequest.tags", "options": ["tags"], "group": "CreateServiceGroupRequest", "help": {"short": "The serviceGroup tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$createServiceGroupRequest.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "The display name of the serviceGroup. For example, ServiceGroupTest1"}}, {"type": "object", "var": "$createServiceGroupRequest.properties.parent", "options": ["parent"], "group": "Properties", "help": {"short": "The details of the parent serviceGroup."}, "args": [{"type": "ResourceId", "var": "$createServiceGroupRequest.properties.parent.resourceId", "options": ["resource-id"], "help": {"short": "The fully qualified ID of the parent serviceGroup. For example, '/providers/Microsoft.Management/serviceGroups/TestServiceGroup'"}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "CreateOrUpdateServiceGroup", "http": {"path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "serviceGroupName", "arg": "$Path.serviceGroupName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "createServiceGroupRequest", "required": true, "props": [{"type": "string", "name": "kind", "arg": "$createServiceGroupRequest.kind"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName", "arg": "$createServiceGroupRequest.properties.displayName"}, {"type": "object", "name": "parent", "arg": "$createServiceGroupRequest.properties.parent", "props": [{"type": "ResourceId", "name": "resourceId", "arg": "$createServiceGroupRequest.properties.parent.resourceId"}]}]}, {"type": "object", "name": "tags", "arg": "$createServiceGroupRequest.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": "/providers/Microsoft.Management/serviceGroups/{}"}}, {"type": "string", "name": "kind"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName"}, {"type": "object", "name": "parent", "props": [{"type": "ResourceId", "name": "resourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "NotStarted"}, {"value": "Running"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"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}]}, {"name": "update", "version": "2024-02-01-preview", "resources": [{"id": "/providers/microsoft.management/servicegroups/{}", "version": "2024-02-01-preview", "swagger": "mgmt-plane/management/ResourceProviders/Microsoft.Management/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9zZXJ2aWNlR3JvdXBzL3tzZXJ2aWNlR3JvdXBOYW1lfQ==/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.serviceGroupName", "options": ["service-group-name"], "required": true, "help": {"short": "ServiceGroup Name."}, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}, {"name": "CreateServiceGroupRequest", "args": [{"nullable": true, "type": "object", "var": "$createServiceGroupRequest.tags", "options": ["tags"], "group": "CreateServiceGroupRequest", "help": {"short": "The serviceGroup tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$createServiceGroupRequest.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "The display name of the serviceGroup. For example, ServiceGroupTest1"}}, {"nullable": true, "type": "object", "var": "$createServiceGroupRequest.properties.parent", "options": ["parent"], "group": "Properties", "help": {"short": "The details of the parent serviceGroup."}, "args": [{"nullable": true, "type": "ResourceId", "var": "$createServiceGroupRequest.properties.parent.resourceId", "options": ["resource-id"], "help": {"short": "The fully qualified ID of the parent serviceGroup. For example, '/providers/Microsoft.Management/serviceGroups/TestServiceGroup'"}}]}]}], "operations": [{"operationId": "ServiceGroups_Get", "http": {"path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "serviceGroupName", "arg": "$Path.serviceGroupName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "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": "/providers/Microsoft.Management/serviceGroups/{}"}}, {"type": "string", "name": "kind"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName"}, {"type": "object", "name": "parent", "props": [{"type": "ResourceId", "name": "resourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "NotStarted"}, {"value": "Running"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"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": "ServiceGroup_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "createServiceGroupRequest", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName", "arg": "$createServiceGroupRequest.properties.displayName"}, {"type": "object", "name": "parent", "arg": "$createServiceGroupRequest.properties.parent", "props": [{"type": "ResourceId", "name": "resourceId", "arg": "$createServiceGroupRequest.properties.parent.resourceId"}]}]}, {"type": "object", "name": "tags", "arg": "$createServiceGroupRequest.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "CreateOrUpdateServiceGroup", "http": {"path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "serviceGroupName", "arg": "$Path.serviceGroupName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ServiceGroup_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/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.xml b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.xml new file mode 100644 index 000000000..ba13c67f7 --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9/2024-02-01-preview.xml @@ -0,0 +1,444 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L2xpc3RhbmNlc3RvcnM=/2024-02-01-preview.json b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L2xpc3RhbmNlc3RvcnM=/2024-02-01-preview.json new file mode 100644 index 000000000..0f207711e --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L2xpc3RhbmNlc3RvcnM=/2024-02-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.management/servicegroups/{}/listancestors", "version": "2024-02-01-preview", "swagger": "mgmt-plane/management/ResourceProviders/Microsoft.Management/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9zZXJ2aWNlR3JvdXBzL3tzZXJ2aWNlR3JvdXBOYW1lfS9saXN0QW5jZXN0b3Jz/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "service-group", "commands": [{"name": "list-ancestors", "version": "2024-02-01-preview", "resources": [{"id": "/providers/microsoft.management/servicegroups/{}/listancestors", "version": "2024-02-01-preview", "swagger": "mgmt-plane/management/ResourceProviders/Microsoft.Management/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9zZXJ2aWNlR3JvdXBzL3tzZXJ2aWNlR3JvdXBOYW1lfS9saXN0QW5jZXN0b3Jz/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.serviceGroupName", "options": ["service-group-name"], "required": true, "help": {"short": "ServiceGroup Name."}, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}], "operations": [{"operationId": "ServiceGroups_ListAncestors", "http": {"path": "/providers/Microsoft.Management/serviceGroups/{serviceGroupName}/listAncestors", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "serviceGroupName", "arg": "$Path.serviceGroupName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-_().]{1,90}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/providers/Microsoft.Management/serviceGroups/{}"}}, {"type": "string", "name": "kind"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName"}, {"type": "object", "name": "parent", "props": [{"type": "ResourceId", "name": "resourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "NotStarted"}, {"value": "Running"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"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}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L2xpc3RhbmNlc3RvcnM=/2024-02-01-preview.xml b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L2xpc3RhbmNlc3RvcnM=/2024-02-01-preview.xml new file mode 100644 index 000000000..249af09a0 --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L2xpc3RhbmNlc3RvcnM=/2024-02-01-preview.xml @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 9f6310b0a7e51e19405c21b176bdaa9cb5ff5e94 Mon Sep 17 00:00:00 2001 From: Meghana Gupta Date: Mon, 20 Apr 2026 23:04:25 -0400 Subject: [PATCH 2/2] Add command models for relationship extension (Microsoft.Relationships) Generated via aaz-dev-tools from TypeSpec spec. Commands: relationship dependency-of create/show/delete, relationship service-group-member create/show/delete. API version: 2023-09-01-preview. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Commands/readme.md | 3 + .../relationship/dependency-of/_create.md | 9 + .../relationship/dependency-of/_delete.md | 9 + Commands/relationship/dependency-of/_show.md | 9 + .../relationship/dependency-of/_update.md | 9 + Commands/relationship/dependency-of/readme.md | 17 + Commands/relationship/readme.md | 11 + .../service-group-member/_create.md | 9 + .../service-group-member/_delete.md | 9 + .../service-group-member/_show.md | 9 + .../service-group-member/_update.md | 9 + .../service-group-member/readme.md | 17 + .../2023-09-01-preview.json | 1 + .../2023-09-01-preview.xml | 451 ++++++++++++++++++ .../2023-09-01-preview.json | 1 + .../2023-09-01-preview.xml | 451 ++++++++++++++++++ 16 files changed, 1024 insertions(+) create mode 100644 Commands/relationship/dependency-of/_create.md create mode 100644 Commands/relationship/dependency-of/_delete.md create mode 100644 Commands/relationship/dependency-of/_show.md create mode 100644 Commands/relationship/dependency-of/_update.md create mode 100644 Commands/relationship/dependency-of/readme.md create mode 100644 Commands/relationship/readme.md create mode 100644 Commands/relationship/service-group-member/_create.md create mode 100644 Commands/relationship/service-group-member/_delete.md create mode 100644 Commands/relationship/service-group-member/_show.md create mode 100644 Commands/relationship/service-group-member/_update.md create mode 100644 Commands/relationship/service-group-member/readme.md create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.xml create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.json create mode 100644 Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.xml diff --git a/Commands/readme.md b/Commands/readme.md index 7667382d5..394d96bc8 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -302,6 +302,9 @@ - [redisenterprise](/Commands/redisenterprise/readme.md) : Manage the redisenterprise cache +- [relationship](/Commands/relationship/readme.md) +: Manage Relationships + - [relay](/Commands/relay/readme.md) : Manage Azure Relay Service namespaces, WCF relays, hybrid connections, and rules. diff --git a/Commands/relationship/dependency-of/_create.md b/Commands/relationship/dependency-of/_create.md new file mode 100644 index 000000000..cf809badf --- /dev/null +++ b/Commands/relationship/dependency-of/_create.md @@ -0,0 +1,9 @@ +# [Command] _relationship dependency-of create_ + +Create a DependencyOfRelationship + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.xml) **Preview** + + diff --git a/Commands/relationship/dependency-of/_delete.md b/Commands/relationship/dependency-of/_delete.md new file mode 100644 index 000000000..3a4f5498a --- /dev/null +++ b/Commands/relationship/dependency-of/_delete.md @@ -0,0 +1,9 @@ +# [Command] _relationship dependency-of delete_ + +Delete a DependencyOfRelationship + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.xml) **Preview** + + diff --git a/Commands/relationship/dependency-of/_show.md b/Commands/relationship/dependency-of/_show.md new file mode 100644 index 000000000..960927b43 --- /dev/null +++ b/Commands/relationship/dependency-of/_show.md @@ -0,0 +1,9 @@ +# [Command] _relationship dependency-of show_ + +Get a DependencyOfRelationship + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.xml) **Preview** + + diff --git a/Commands/relationship/dependency-of/_update.md b/Commands/relationship/dependency-of/_update.md new file mode 100644 index 000000000..a512bbb77 --- /dev/null +++ b/Commands/relationship/dependency-of/_update.md @@ -0,0 +1,9 @@ +# [Command] _relationship dependency-of update_ + +Update a DependencyOfRelationship + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.xml) **Preview** + + diff --git a/Commands/relationship/dependency-of/readme.md b/Commands/relationship/dependency-of/readme.md new file mode 100644 index 000000000..1e5d8b3ee --- /dev/null +++ b/Commands/relationship/dependency-of/readme.md @@ -0,0 +1,17 @@ +# [Group] _relationship dependency-of_ + +Manage Dependency Of + +## Commands + +- [create](/Commands/relationship/dependency-of/_create.md) +: Create a DependencyOfRelationship + +- [delete](/Commands/relationship/dependency-of/_delete.md) +: Delete a DependencyOfRelationship + +- [show](/Commands/relationship/dependency-of/_show.md) +: Get a DependencyOfRelationship + +- [update](/Commands/relationship/dependency-of/_update.md) +: Update a DependencyOfRelationship diff --git a/Commands/relationship/readme.md b/Commands/relationship/readme.md new file mode 100644 index 000000000..dba6a0a43 --- /dev/null +++ b/Commands/relationship/readme.md @@ -0,0 +1,11 @@ +# [Group] _relationship_ + +Manage Relationships + +## Subgroups + +- [dependency-of](/Commands/relationship/dependency-of/readme.md) +: Manage Dependency Of + +- [service-group-member](/Commands/relationship/service-group-member/readme.md) +: Manage Service Group Member diff --git a/Commands/relationship/service-group-member/_create.md b/Commands/relationship/service-group-member/_create.md new file mode 100644 index 000000000..193b6ad7d --- /dev/null +++ b/Commands/relationship/service-group-member/_create.md @@ -0,0 +1,9 @@ +# [Command] _relationship service-group-member create_ + +Create a ServiceGroupMemberRelationship + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.xml) **Preview** + + diff --git a/Commands/relationship/service-group-member/_delete.md b/Commands/relationship/service-group-member/_delete.md new file mode 100644 index 000000000..88654e607 --- /dev/null +++ b/Commands/relationship/service-group-member/_delete.md @@ -0,0 +1,9 @@ +# [Command] _relationship service-group-member delete_ + +Delete a ServiceGroupMemberRelationship + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.xml) **Preview** + + diff --git a/Commands/relationship/service-group-member/_show.md b/Commands/relationship/service-group-member/_show.md new file mode 100644 index 000000000..fe0884b6e --- /dev/null +++ b/Commands/relationship/service-group-member/_show.md @@ -0,0 +1,9 @@ +# [Command] _relationship service-group-member show_ + +Get a ServiceGroupMemberRelationship + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.xml) **Preview** + + diff --git a/Commands/relationship/service-group-member/_update.md b/Commands/relationship/service-group-member/_update.md new file mode 100644 index 000000000..40d438731 --- /dev/null +++ b/Commands/relationship/service-group-member/_update.md @@ -0,0 +1,9 @@ +# [Command] _relationship service-group-member update_ + +Update a ServiceGroupMemberRelationship + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.xml) **Preview** + + diff --git a/Commands/relationship/service-group-member/readme.md b/Commands/relationship/service-group-member/readme.md new file mode 100644 index 000000000..fe3bfd3e8 --- /dev/null +++ b/Commands/relationship/service-group-member/readme.md @@ -0,0 +1,17 @@ +# [Group] _relationship service-group-member_ + +Manage Service Group Member + +## Commands + +- [create](/Commands/relationship/service-group-member/_create.md) +: Create a ServiceGroupMemberRelationship + +- [delete](/Commands/relationship/service-group-member/_delete.md) +: Delete a ServiceGroupMemberRelationship + +- [show](/Commands/relationship/service-group-member/_show.md) +: Get a ServiceGroupMemberRelationship + +- [update](/Commands/relationship/service-group-member/_update.md) +: Update a ServiceGroupMemberRelationship diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.json new file mode 100644 index 000000000..a9ab65449 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceuri}/providers/microsoft.relationships/dependencyof/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/relationships/ResourceProviders/Microsoft.Relationships/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5SZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lPZi97bmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "relationship dependency-of", "commands": [{"name": "show", "version": "2023-09-01-preview", "resources": [{"id": "/{resourceuri}/providers/microsoft.relationships/dependencyof/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/relationships/ResourceProviders/Microsoft.Relationships/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5SZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lPZi97bmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "help": {"short": "Name of dependencyOf relationship."}, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource-uri"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}], "operations": [{"operationId": "DependencyOfRelationships_Get", "http": {"path": "/{resourceUri}/providers/Microsoft.Relationships/dependencyOf/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "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": "/{resourceUri}/providers/Microsoft.Relationships/dependencyOf/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "sourceType"}, {"readOnly": true, "type": "string", "name": "targetType"}]}, {"readOnly": true, "type": "object", "name": "originInformation", "props": [{"readOnly": true, "type": "string", "name": "discoveryEngine"}, {"readOnly": true, "type": "string", "name": "relationshipOriginType", "enum": {"items": [{"value": "ServiceExplicitlyCreated"}, {"value": "SystemDiscoveredByRule"}, {"value": "UserDiscoveredByRule"}, {"value": "UserExplicitlyCreated"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceId"}, {"type": "ResourceId", "name": "targetId", "required": true}, {"type": "string", "name": "targetTenant"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"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": "2023-09-01-preview", "resources": [{"id": "/{resourceuri}/providers/microsoft.relationships/dependencyof/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/relationships/ResourceProviders/Microsoft.Relationships/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5SZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lPZi97bmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "help": {"short": "Name of dependencyOf relationship."}, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource-uri"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "DependencyOfRelationships_Delete", "http": {"path": "/{resourceUri}/providers/Microsoft.Relationships/dependencyOf/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to delete this relationship?"}, {"name": "create", "version": "2023-09-01-preview", "resources": [{"id": "/{resourceuri}/providers/microsoft.relationships/dependencyof/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/relationships/ResourceProviders/Microsoft.Relationships/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5SZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lPZi97bmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "help": {"short": "Name of dependencyOf relationship."}, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource-uri"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}, {"name": "Properties", "args": [{"type": "ResourceId", "var": "$resource.properties.targetId", "options": ["target-id"], "group": "Properties", "help": {"short": "The relationship target resource id."}}, {"type": "string", "var": "$resource.properties.targetTenant", "options": ["target-tenant"], "group": "Properties", "help": {"short": "The relationship target tenant id."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DependencyOfRelationships_CreateOrUpdate", "http": {"path": "/{resourceUri}/providers/Microsoft.Relationships/dependencyOf/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "ResourceId", "name": "targetId", "arg": "$resource.properties.targetId", "required": true}, {"type": "string", "name": "targetTenant", "arg": "$resource.properties.targetTenant"}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{resourceUri}/providers/Microsoft.Relationships/dependencyOf/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "sourceType"}, {"readOnly": true, "type": "string", "name": "targetType"}]}, {"readOnly": true, "type": "object", "name": "originInformation", "props": [{"readOnly": true, "type": "string", "name": "discoveryEngine"}, {"readOnly": true, "type": "string", "name": "relationshipOriginType", "enum": {"items": [{"value": "ServiceExplicitlyCreated"}, {"value": "SystemDiscoveredByRule"}, {"value": "UserDiscoveredByRule"}, {"value": "UserExplicitlyCreated"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceId"}, {"type": "ResourceId", "name": "targetId", "required": true}, {"type": "string", "name": "targetTenant"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"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": "update", "version": "2023-09-01-preview", "resources": [{"id": "/{resourceuri}/providers/microsoft.relationships/dependencyof/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/relationships/ResourceProviders/Microsoft.Relationships/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5SZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lPZi97bmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "help": {"short": "Name of dependencyOf relationship."}, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource-uri"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}, {"name": "Properties", "args": [{"type": "ResourceId", "var": "$resource.properties.targetId", "options": ["target-id"], "group": "Properties", "help": {"short": "The relationship target resource id."}}, {"nullable": true, "type": "string", "var": "$resource.properties.targetTenant", "options": ["target-tenant"], "group": "Properties", "help": {"short": "The relationship target tenant id."}}]}], "operations": [{"operationId": "DependencyOfRelationships_Get", "http": {"path": "/{resourceUri}/providers/Microsoft.Relationships/dependencyOf/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "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": "/{resourceUri}/providers/Microsoft.Relationships/dependencyOf/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "sourceType"}, {"readOnly": true, "type": "string", "name": "targetType"}]}, {"readOnly": true, "type": "object", "name": "originInformation", "props": [{"readOnly": true, "type": "string", "name": "discoveryEngine"}, {"readOnly": true, "type": "string", "name": "relationshipOriginType", "enum": {"items": [{"value": "ServiceExplicitlyCreated"}, {"value": "SystemDiscoveredByRule"}, {"value": "UserDiscoveredByRule"}, {"value": "UserExplicitlyCreated"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceId"}, {"type": "ResourceId", "name": "targetId", "required": true}, {"type": "string", "name": "targetTenant"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"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": "DependencyOfRelationship_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "ResourceId", "name": "targetId", "arg": "$resource.properties.targetId", "required": true}, {"type": "string", "name": "targetTenant", "arg": "$resource.properties.targetTenant"}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DependencyOfRelationships_CreateOrUpdate", "http": {"path": "/{resourceUri}/providers/Microsoft.Relationships/dependencyOf/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@DependencyOfRelationship_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/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.xml new file mode 100644 index 000000000..2a302e5d6 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL2RlcGVuZGVuY3lvZi97fQ==/2023-09-01-preview.xml @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.json b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.json new file mode 100644 index 000000000..ef19a55fd --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceuri}/providers/microsoft.relationships/servicegroupmember/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/relationships/ResourceProviders/Microsoft.Relationships/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5SZWxhdGlvbnNoaXBzL3NlcnZpY2VHcm91cE1lbWJlci97bmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "relationship service-group-member", "commands": [{"name": "show", "version": "2023-09-01-preview", "resources": [{"id": "/{resourceuri}/providers/microsoft.relationships/servicegroupmember/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/relationships/ResourceProviders/Microsoft.Relationships/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5SZWxhdGlvbnNoaXBzL3NlcnZpY2VHcm91cE1lbWJlci97bmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "help": {"short": "Name of ServiceGroupMember relationship."}, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource-uri"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}], "operations": [{"operationId": "ServiceGroupMemberRelationships_Get", "http": {"path": "/{resourceUri}/providers/Microsoft.Relationships/serviceGroupMember/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "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": "/{resourceUri}/providers/Microsoft.Relationships/serviceGroupMember/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "sourceType"}, {"readOnly": true, "type": "string", "name": "targetType"}]}, {"readOnly": true, "type": "object", "name": "originInformation", "props": [{"readOnly": true, "type": "string", "name": "discoveryEngine"}, {"readOnly": true, "type": "string", "name": "relationshipOriginType", "enum": {"items": [{"value": "ServiceExplicitlyCreated"}, {"value": "SystemDiscoveredByRule"}, {"value": "UserDiscoveredByRule"}, {"value": "UserExplicitlyCreated"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceId"}, {"type": "ResourceId", "name": "targetId", "required": true}, {"type": "string", "name": "targetTenant"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"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": "2023-09-01-preview", "resources": [{"id": "/{resourceuri}/providers/microsoft.relationships/servicegroupmember/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/relationships/ResourceProviders/Microsoft.Relationships/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5SZWxhdGlvbnNoaXBzL3NlcnZpY2VHcm91cE1lbWJlci97bmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "help": {"short": "Name of ServiceGroupMember relationship."}, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource-uri"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ServiceGroupMemberRelationships_Delete", "http": {"path": "/{resourceUri}/providers/Microsoft.Relationships/serviceGroupMember/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to delete this relationship?"}, {"name": "create", "version": "2023-09-01-preview", "resources": [{"id": "/{resourceuri}/providers/microsoft.relationships/servicegroupmember/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/relationships/ResourceProviders/Microsoft.Relationships/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5SZWxhdGlvbnNoaXBzL3NlcnZpY2VHcm91cE1lbWJlci97bmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "help": {"short": "Name of ServiceGroupMember relationship."}, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource-uri"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}, {"name": "Properties", "args": [{"type": "ResourceId", "var": "$resource.properties.targetId", "options": ["target-id"], "group": "Properties", "help": {"short": "The relationship target resource id."}}, {"type": "string", "var": "$resource.properties.targetTenant", "options": ["target-tenant"], "group": "Properties", "help": {"short": "The relationship target tenant id."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ServiceGroupMemberRelationships_CreateOrUpdate", "http": {"path": "/{resourceUri}/providers/Microsoft.Relationships/serviceGroupMember/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "ResourceId", "name": "targetId", "arg": "$resource.properties.targetId", "required": true}, {"type": "string", "name": "targetTenant", "arg": "$resource.properties.targetTenant"}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{resourceUri}/providers/Microsoft.Relationships/serviceGroupMember/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "sourceType"}, {"readOnly": true, "type": "string", "name": "targetType"}]}, {"readOnly": true, "type": "object", "name": "originInformation", "props": [{"readOnly": true, "type": "string", "name": "discoveryEngine"}, {"readOnly": true, "type": "string", "name": "relationshipOriginType", "enum": {"items": [{"value": "ServiceExplicitlyCreated"}, {"value": "SystemDiscoveredByRule"}, {"value": "UserDiscoveredByRule"}, {"value": "UserExplicitlyCreated"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceId"}, {"type": "ResourceId", "name": "targetId", "required": true}, {"type": "string", "name": "targetTenant"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"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": "update", "version": "2023-09-01-preview", "resources": [{"id": "/{resourceuri}/providers/microsoft.relationships/servicegroupmember/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/relationships/ResourceProviders/Microsoft.Relationships/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5SZWxhdGlvbnNoaXBzL3NlcnZpY2VHcm91cE1lbWJlci97bmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "help": {"short": "Name of ServiceGroupMember relationship."}, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource-uri"], "required": true, "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}]}, {"name": "Properties", "args": [{"type": "ResourceId", "var": "$resource.properties.targetId", "options": ["target-id"], "group": "Properties", "help": {"short": "The relationship target resource id."}}, {"nullable": true, "type": "string", "var": "$resource.properties.targetTenant", "options": ["target-tenant"], "group": "Properties", "help": {"short": "The relationship target tenant id."}}]}], "operations": [{"operationId": "ServiceGroupMemberRelationships_Get", "http": {"path": "/{resourceUri}/providers/Microsoft.Relationships/serviceGroupMember/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "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": "/{resourceUri}/providers/Microsoft.Relationships/serviceGroupMember/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "sourceType"}, {"readOnly": true, "type": "string", "name": "targetType"}]}, {"readOnly": true, "type": "object", "name": "originInformation", "props": [{"readOnly": true, "type": "string", "name": "discoveryEngine"}, {"readOnly": true, "type": "string", "name": "relationshipOriginType", "enum": {"items": [{"value": "ServiceExplicitlyCreated"}, {"value": "SystemDiscoveredByRule"}, {"value": "UserDiscoveredByRule"}, {"value": "UserExplicitlyCreated"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceId"}, {"type": "ResourceId", "name": "targetId", "required": true}, {"type": "string", "name": "targetTenant"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"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": "ServiceGroupMemberRelationship_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "ResourceId", "name": "targetId", "arg": "$resource.properties.targetId", "required": true}, {"type": "string", "name": "targetTenant", "arg": "$resource.properties.targetTenant"}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ServiceGroupMemberRelationships_CreateOrUpdate", "http": {"path": "/{resourceUri}/providers/Microsoft.Relationships/serviceGroupMember/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{3,64}$"}}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ServiceGroupMemberRelationship_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/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.xml new file mode 100644 index 000000000..595f248d9 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxhdGlvbnNoaXBzL3NlcnZpY2Vncm91cG1lbWJlci97fQ==/2023-09-01-preview.xml @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+