Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 9 additions & 0 deletions Commands/service-group/_create.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /providers/microsoft.management/servicegroups/{} 2024-02-01-preview -->
9 changes: 9 additions & 0 deletions Commands/service-group/_delete.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /providers/microsoft.management/servicegroups/{} 2024-02-01-preview -->
9 changes: 9 additions & 0 deletions Commands/service-group/_list-ancestors.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /providers/microsoft.management/servicegroups/{}/listancestors 2024-02-01-preview -->
9 changes: 9 additions & 0 deletions Commands/service-group/_show.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /providers/microsoft.management/servicegroups/{} 2024-02-01-preview -->
9 changes: 9 additions & 0 deletions Commands/service-group/_update.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /providers/microsoft.management/servicegroups/{} 2024-02-01-preview -->
20 changes: 20 additions & 0 deletions Commands/service-group/readme.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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}]}]}]}
Loading
Loading