Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataBoundaries Changes #584

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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Commands/data-boundary/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _data-boundary create_

Create tenant to data boundary.

## Versions

### [2024-08-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQucmVzb3VyY2VzL2RhdGFib3VuZGFyaWVzL3t9/2024-08-01.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.resources/databoundaries/{} 2024-08-01 -->

#### examples

- Opt-in to data boundary
```bash
data-boundary create --data-boundary EU --default default
```
16 changes: 16 additions & 0 deletions Commands/data-boundary/_show-tenant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _data-boundary show-tenant_

Get data boundary of tenant.

## Versions

### [2024-08-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQucmVzb3VyY2VzL2RhdGFib3VuZGFyaWVzL3t9/2024-08-01.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.resources/databoundaries/{} 2024-08-01 -->

#### examples

- Get data boundary for tenant
```bash
data-boundary show-tenant --default default
```
17 changes: 17 additions & 0 deletions Commands/data-boundary/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Command] _data-boundary show_

Get data boundary at specified scope

## Versions

### [2024-08-01](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5yZXNvdXJjZXMvZGF0YWJvdW5kYXJpZXMve30=/2024-08-01.xml) **Stable**

<!-- mgmt-plane /{scope}/providers/microsoft.resources/databoundaries/{} 2024-08-01 -->

#### examples

- Get data boundary at scope
```bash
data-boundary show --scope subscriptions/11111111-1111-1111-1111-111111111111 --default default
data-boundary show --scope subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/my-resource-group --default default
```
14 changes: 14 additions & 0 deletions Commands/data-boundary/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# [Group] _data-boundary_

data boundary operations

## Commands

- [create](/Commands/data-boundary/_create.md)
: Create tenant to data boundary.

- [show](/Commands/data-boundary/_show.md)
: Get data boundary at specified scope

- [show-tenant](/Commands/data-boundary/_show-tenant.md)
: Get data boundary of tenant.
3 changes: 3 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
- [costmanagement](/Commands/costmanagement/readme.md)
: costmanagement

- [data-boundary](/Commands/data-boundary/readme.md)
: data boundary operations

- [databox](/Commands/databox/readme.md)
: Manage data box

Expand Down
98 changes: 98 additions & 0 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -22248,6 +22248,104 @@
"costmanagement"
]
},
"data-boundary": {
"commands": {
"create": {
"help": {
"short": "Create tenant to data boundary."
},
"names": [
"data-boundary",
"create"
],
"versions": [
{
"examples": [
{
"commands": [
"data-boundary create --data-boundary EU --default default"
],
"name": "Opt-in to data boundary"
}
],
"name": "2024-08-01",
"resources": [
{
"id": "/providers/microsoft.resources/databoundaries/{}",
"plane": "mgmt-plane",
"version": "2024-08-01"
}
]
}
]
},
"show": {
"help": {
"short": "Get data boundary at specified scope"
},
"names": [
"data-boundary",
"show"
],
"versions": [
{
"examples": [
{
"commands": [
"data-boundary show --scope subscriptions/11111111-1111-1111-1111-111111111111 --default default",
"data-boundary show --scope subscriptions/11111111-1111-1111-1111-111111111111/resourcegroups/my-resource-group --default default"
],
"name": "Get data boundary at scope"
}
],
"name": "2024-08-01",
"resources": [
{
"id": "/{scope}/providers/microsoft.resources/databoundaries/{}",
"plane": "mgmt-plane",
"version": "2024-08-01"
}
]
}
]
},
"show-tenant": {
"help": {
"short": "Get data boundary of tenant."
},
"names": [
"data-boundary",
"show-tenant"
],
"versions": [
{
"examples": [
{
"commands": [
"data-boundary show-tenant --default default"
],
"name": "Get data boundary for tenant"
}
],
"name": "2024-08-01",
"resources": [
{
"id": "/providers/microsoft.resources/databoundaries/{}",
"plane": "mgmt-plane",
"version": "2024-08-01"
}
]
}
]
}
},
"help": {
"short": "data boundary operations"
},
"names": [
"data-boundary"
]
},
"databox": {
"commandGroups": {
"job": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.resources/databoundaries/{}", "version": "2024-08-01", "swagger": "mgmt-plane/resources/ResourceProviders/Microsoft.Resources/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RhdGFCb3VuZGFyaWVzL3tkZWZhdWx0fQ==/V/MjAyNC0wOC0wMQ=="}], "commandGroups": [{"name": "data-boundary", "commands": [{"name": "create", "version": "2024-08-01", "resources": [{"id": "/providers/microsoft.resources/databoundaries/{}", "version": "2024-08-01", "swagger": "mgmt-plane/resources/ResourceProviders/Microsoft.Resources/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RhdGFCb3VuZGFyaWVzL3tkZWZhdWx0fQ==/V/MjAyNC0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.default", "options": ["default"], "required": true, "help": {"short": "Default string modeled as parameter for auto generation to work correctly."}, "enum": {"items": [{"name": "default", "value": "default"}]}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$dataBoundaryDefinition.properties.dataBoundary", "options": ["data-boundary"], "group": "Properties", "help": {"short": "The data boundary definition."}, "enum": {"items": [{"name": "EU", "value": "EU"}, {"name": "Global", "value": "Global"}, {"name": "NotDefined", "value": "NotDefined"}]}}]}], "operations": [{"operationId": "DataBoundaries_Put", "http": {"path": "/providers/Microsoft.Resources/dataBoundaries/{default}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "default", "arg": "$Path.default", "required": true, "enum": {"items": [{"value": "default"}]}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "dataBoundaryDefinition", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataBoundary", "arg": "$dataBoundaryDefinition.properties.dataBoundary", "enum": {"items": [{"value": "EU"}, {"value": "Global"}, {"value": "NotDefined"}]}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataBoundary", "enum": {"items": [{"value": "EU"}, {"value": "Global"}, {"value": "NotDefined"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"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": "show-tenant", "version": "2024-08-01", "resources": [{"id": "/providers/microsoft.resources/databoundaries/{}", "version": "2024-08-01", "swagger": "mgmt-plane/resources/ResourceProviders/Microsoft.Resources/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RhdGFCb3VuZGFyaWVzL3tkZWZhdWx0fQ==/V/MjAyNC0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.default", "options": ["default"], "required": true, "help": {"short": "Default string modeled as parameter for auto generation to work correctly."}, "enum": {"items": [{"name": "default", "value": "default"}]}}]}], "operations": [{"operationId": "DataBoundaries_GetTenant", "http": {"path": "/providers/Microsoft.Resources/dataBoundaries/{default}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "default", "arg": "$Path.default", "required": true, "enum": {"items": [{"value": "default"}]}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-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"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataBoundary", "enum": {"items": [{"value": "EU"}, {"value": "Global"}, {"value": "NotDefined"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"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": ""}]}]}
Loading
Loading