diff --git a/Commands/attestation/_create.md b/Commands/attestation/_create.md new file mode 100644 index 000000000..3bc240d3a --- /dev/null +++ b/Commands/attestation/_create.md @@ -0,0 +1,16 @@ +# [Command] _attestation create_ + +Creates a new Attestation Provider instance. + +## Versions + +### [2020-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycy97fQ==/2020-10-01.xml) **Stable** + + + +#### examples + +- AttestationProviders_Create + ```bash + attestation create --name "myattestationprovider" --resource-group "MyResourceGroup" -l westus + ``` diff --git a/Commands/attestation/_delete.md b/Commands/attestation/_delete.md new file mode 100644 index 000000000..51b71aef3 --- /dev/null +++ b/Commands/attestation/_delete.md @@ -0,0 +1,16 @@ +# [Command] _attestation delete_ + +Delete Attestation Service. + +## Versions + +### [2020-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycy97fQ==/2020-10-01.xml) **Stable** + + + +#### examples + +- AttestationProviders_Delete + ```bash + attestation delete --name "myattestationprovider" --resource-group "sample-resource-group" + ``` diff --git a/Commands/attestation/_get-default-by-location.md b/Commands/attestation/_get-default-by-location.md new file mode 100644 index 000000000..0dbbcefe3 --- /dev/null +++ b/Commands/attestation/_get-default-by-location.md @@ -0,0 +1,16 @@ +# [Command] _attestation get-default-by-location_ + +Get the default provider by location. + +## Versions + +### [2020-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9sb2NhdGlvbnMve30vZGVmYXVsdHByb3ZpZGVy/2020-10-01.xml) **Stable** + + + +#### examples + +- AttestationProviders_GetDefaultWithLocation + ```bash + attestation get-default-by-location --location "Central US" + ``` diff --git a/Commands/attestation/_list-default.md b/Commands/attestation/_list-default.md new file mode 100644 index 000000000..4c4614ca5 --- /dev/null +++ b/Commands/attestation/_list-default.md @@ -0,0 +1,16 @@ +# [Command] _attestation list-default_ + +Get the default provider. + +## Versions + +### [2020-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9kZWZhdWx0cHJvdmlkZXJz/2020-10-01.xml) **Stable** + + + +#### examples + +- AttestationProviders_GetDefault + ```bash + attestation list-default + ``` diff --git a/Commands/attestation/_list.md b/Commands/attestation/_list.md new file mode 100644 index 000000000..55efa4327 --- /dev/null +++ b/Commands/attestation/_list.md @@ -0,0 +1,22 @@ +# [Command] _attestation list_ + +Returns a list of attestation providers in a subscription. + +## Versions + +### [2020-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.xml) **Stable** + + + + +#### examples + +- AttestationProviders_ListByResourceGroup + ```bash + attestation list --resource-group "testrg1" + ``` + +- AttestationProviders_List + ```bash + attestation list + ``` diff --git a/Commands/attestation/_show.md b/Commands/attestation/_show.md new file mode 100644 index 000000000..17b23c86b --- /dev/null +++ b/Commands/attestation/_show.md @@ -0,0 +1,16 @@ +# [Command] _attestation show_ + +Get the status of Attestation Provider. + +## Versions + +### [2020-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycy97fQ==/2020-10-01.xml) **Stable** + + + +#### examples + +- AttestationProviders_Get + ```bash + attestation show --name "myattestationprovider" --resource-group "MyResourceGroup" + ``` diff --git a/Commands/attestation/_update.md b/Commands/attestation/_update.md new file mode 100644 index 000000000..4b7e94deb --- /dev/null +++ b/Commands/attestation/_update.md @@ -0,0 +1,16 @@ +# [Command] _attestation update_ + +Updates the Attestation Provider. + +## Versions + +### [2020-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycy97fQ==/2020-10-01.xml) **Stable** + + + +#### examples + +- AttestationProviders_Update + ```bash + attestation update --name "myattestationprovider" --resource-group "MyResourceGroup" --tags Property1="Value1" Property2="Value2" Property3="Value3" + ``` diff --git a/Commands/attestation/policy/_reset.md b/Commands/attestation/policy/_reset.md new file mode 100644 index 000000000..d9fd53683 --- /dev/null +++ b/Commands/attestation/policy/_reset.md @@ -0,0 +1,16 @@ +# [Command] _attestation policy reset_ + +Resets the attestation policy for the specified tenant and reverts to the default policy. + +## Versions + +### [2022-08-01](/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9OnJlc2V0/2022-08-01.xml) **Stable** + + + +#### examples + +- Resets the attestation policy for the specified tenant and reverts to the default policy. + ```bash + attestation policy reset -n "myattestationprovider" -g "MyResourceGroup" --attestation-type SGX-OpenEnclaveSDK --policy-jws "eyJhbGciOiJub25lIn0.." + ``` diff --git a/Commands/attestation/policy/_set.md b/Commands/attestation/policy/_set.md new file mode 100644 index 000000000..340868e8b --- /dev/null +++ b/Commands/attestation/policy/_set.md @@ -0,0 +1,26 @@ +# [Command] _attestation policy set_ + +Sets the policy for a given kind of attestation type. + +## Versions + +### [2022-08-01](/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9/2022-08-01.xml) **Stable** + + + +#### examples + +- Sets the policy for a given kind of attestation type using JWT content. + ```bash + attestation policy set -n "myattestationprovider" -g "MyResourceGroup" --attestation-type SGX-OpenEnclaveSDK --new-attestation-policy "{JWT}" --policy-format JWT + ``` + +- Sets the policy for a given kind of attestation type using Text content. + ```bash + attestation policy set -n "myattestationprovider" -g "MyResourceGroup" --attestation-type SGX-OpenEnclaveSDK --new-attestation-policy "{json_text}" + ``` + +- Sets the policy for a given kind of attestation type using file name. + ```bash + attestation policy set -n "myattestationprovider" -g "MyResourceGroup" --attestation-type SGX-OpenEnclaveSDK --new-attestation-policy-file "{file_name}" --policy- format JWT + ``` diff --git a/Commands/attestation/policy/_show.md b/Commands/attestation/policy/_show.md new file mode 100644 index 000000000..4a33e5206 --- /dev/null +++ b/Commands/attestation/policy/_show.md @@ -0,0 +1,16 @@ +# [Command] _attestation policy show_ + +Retrieves the current policy for a given kind of attestation type. + +## Versions + +### [2022-08-01](/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9/2022-08-01.xml) **Stable** + + + +#### examples + +- Retrieves the current policy for a given kind of attestation type. + ```bash + attestation policy show -n "myattestationprovider" -g "MyResourceGroup" --attestation-type SGX-OpenEnclaveSDK + ``` diff --git a/Commands/attestation/policy/_update.md b/Commands/attestation/policy/_update.md new file mode 100644 index 000000000..c338df565 --- /dev/null +++ b/Commands/attestation/policy/_update.md @@ -0,0 +1,9 @@ +# [Command] _attestation policy update_ + +Update the policy for a given attestation type. + +## Versions + +### [2022-08-01](/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9/2022-08-01.xml) **Stable** + + diff --git a/Commands/attestation/policy/readme.md b/Commands/attestation/policy/readme.md new file mode 100644 index 000000000..6dcc166d9 --- /dev/null +++ b/Commands/attestation/policy/readme.md @@ -0,0 +1,17 @@ +# [Group] _attestation policy_ + +Manage policies. + +## Commands + +- [reset](/Commands/attestation/policy/_reset.md) +: Resets the attestation policy for the specified tenant and reverts to the default policy. + +- [set](/Commands/attestation/policy/_set.md) +: Sets the policy for a given kind of attestation type. + +- [show](/Commands/attestation/policy/_show.md) +: Retrieves the current policy for a given kind of attestation type. + +- [update](/Commands/attestation/policy/_update.md) +: Update the policy for a given attestation type. diff --git a/Commands/attestation/readme.md b/Commands/attestation/readme.md new file mode 100644 index 000000000..8cde6fd14 --- /dev/null +++ b/Commands/attestation/readme.md @@ -0,0 +1,34 @@ +# [Group] _attestation_ + +Manage Microsoft Azure Attestation (MAA). + +## Subgroups + +- [policy](/Commands/attestation/policy/readme.md) +: Manage policies. + +- [signer](/Commands/attestation/signer/readme.md) +: Manage signers. + +## Commands + +- [create](/Commands/attestation/_create.md) +: Creates a new Attestation Provider instance. + +- [delete](/Commands/attestation/_delete.md) +: Delete Attestation Service. + +- [get-default-by-location](/Commands/attestation/_get-default-by-location.md) +: Get the default provider by location. + +- [list](/Commands/attestation/_list.md) +: Returns a list of attestation providers in a subscription. + +- [list-default](/Commands/attestation/_list-default.md) +: Get the default provider. + +- [show](/Commands/attestation/_show.md) +: Get the status of Attestation Provider. + +- [update](/Commands/attestation/_update.md) +: Updates the Attestation Provider. diff --git a/Commands/attestation/signer/_add.md b/Commands/attestation/signer/_add.md new file mode 100644 index 000000000..9f64af7c0 --- /dev/null +++ b/Commands/attestation/signer/_add.md @@ -0,0 +1,16 @@ +# [Command] _attestation signer add_ + +Adds a new attestation policy certificate to the set of policy management certificates. + +## Versions + +### [2022-08-01](/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczphZGQ=/2022-08-01.xml) **Stable** + + + +#### examples + +- Adds a new attestation policy certificate to the set of policy management certificates. + ```bash + attestation signer add -n "myattestationprovider" -g "MyResourceGroup" --signer "eyAiYWxnIjoiUlMyNTYiLCAie..." + ``` diff --git a/Commands/attestation/signer/_list.md b/Commands/attestation/signer/_list.md new file mode 100644 index 000000000..06ba8b05c --- /dev/null +++ b/Commands/attestation/signer/_list.md @@ -0,0 +1,16 @@ +# [Command] _attestation signer list_ + +Retrieves the set of certificates used to express policy for the current tenant. + +## Versions + +### [2022-08-01](/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlcw==/2022-08-01.xml) **Stable** + + + +#### examples + +- Retrieves the set of certificates used to express policy for the current tenant. + ```bash + attestation signer list -n "myattestationprovider" -g "MyResourceGroup" + ``` diff --git a/Commands/attestation/signer/_remove.md b/Commands/attestation/signer/_remove.md new file mode 100644 index 000000000..79e806b04 --- /dev/null +++ b/Commands/attestation/signer/_remove.md @@ -0,0 +1,16 @@ +# [Command] _attestation signer remove_ + +Removes the specified policy management certificate. + +## Versions + +### [2022-08-01](/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczpyZW1vdmU=/2022-08-01.xml) **Stable** + + + +#### examples + +- Removes the specified policy management certificate. + ```bash + attestation signer remove -n "myattestationprovider" -g "MyResourceGroup" --signer "eyAiYWxnIjoiUlMyNTYiLCAie..." + ``` diff --git a/Commands/attestation/signer/readme.md b/Commands/attestation/signer/readme.md new file mode 100644 index 000000000..8c7ad7ef8 --- /dev/null +++ b/Commands/attestation/signer/readme.md @@ -0,0 +1,14 @@ +# [Group] _attestation signer_ + +Manage signers. + +## Commands + +- [add](/Commands/attestation/signer/_add.md) +: Adds a new attestation policy certificate to the set of policy management certificates. + +- [list](/Commands/attestation/signer/_list.md) +: Retrieves the set of certificates used to express policy for the current tenant. + +- [remove](/Commands/attestation/signer/_remove.md) +: Removes the specified policy management certificate. diff --git a/Commands/readme.md b/Commands/readme.md index 1afd0b715..01aec38cc 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -14,6 +14,9 @@ - [apic](/Commands/apic/readme.md) : API Center +- [attestation](/Commands/attestation/readme.md) +: Manage Microsoft Azure Attestation (MAA). + - [automanage](/Commands/automanage/readme.md) : Manage Automanage diff --git a/Commands/tree.json b/Commands/tree.json index b7ab24431..c0b8a6583 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -2096,6 +2096,468 @@ "apic" ] }, + "attestation": { + "commandGroups": { + "policy": { + "commands": { + "reset": { + "help": { + "short": "Resets the attestation policy for the specified tenant and reverts to the default policy." + }, + "names": [ + "attestation", + "policy", + "reset" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation policy reset -n \"myattestationprovider\" -g \"MyResourceGroup\" --attestation-type SGX-OpenEnclaveSDK --policy-jws \"eyJhbGciOiJub25lIn0..\"" + ], + "name": "Resets the attestation policy for the specified tenant and reverts to the default policy." + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/policies/{}:reset", + "plane": "data-plane:microsoft.attestation", + "version": "2022-08-01" + } + ] + } + ] + }, + "set": { + "help": { + "short": "Sets the policy for a given kind of attestation type." + }, + "names": [ + "attestation", + "policy", + "set" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation policy set -n \"myattestationprovider\" -g \"MyResourceGroup\" --attestation-type SGX-OpenEnclaveSDK --new-attestation-policy \"{JWT}\" --policy-format JWT" + ], + "name": "Sets the policy for a given kind of attestation type using JWT content." + }, + { + "commands": [ + "attestation policy set -n \"myattestationprovider\" -g \"MyResourceGroup\" --attestation-type SGX-OpenEnclaveSDK --new-attestation-policy \"{json_text}\"" + ], + "name": "Sets the policy for a given kind of attestation type using Text content." + }, + { + "commands": [ + "attestation policy set -n \"myattestationprovider\" -g \"MyResourceGroup\" --attestation-type SGX-OpenEnclaveSDK --new-attestation-policy-file \"{file_name}\" --policy- format JWT" + ], + "name": "Sets the policy for a given kind of attestation type using file name." + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/policies/{}", + "plane": "data-plane:microsoft.attestation", + "version": "2022-08-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Retrieves the current policy for a given kind of attestation type." + }, + "names": [ + "attestation", + "policy", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation policy show -n \"myattestationprovider\" -g \"MyResourceGroup\" --attestation-type SGX-OpenEnclaveSDK" + ], + "name": "Retrieves the current policy for a given kind of attestation type." + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/policies/{}", + "plane": "data-plane:microsoft.attestation", + "version": "2022-08-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update the policy for a given attestation type." + }, + "names": [ + "attestation", + "policy", + "update" + ], + "versions": [ + { + "name": "2022-08-01", + "resources": [ + { + "id": "/policies/{}", + "plane": "data-plane:microsoft.attestation", + "version": "2022-08-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage policies." + }, + "names": [ + "attestation", + "policy" + ] + }, + "signer": { + "commands": { + "add": { + "help": { + "short": "Adds a new attestation policy certificate to the set of policy management certificates." + }, + "names": [ + "attestation", + "signer", + "add" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation signer add -n \"myattestationprovider\" -g \"MyResourceGroup\" --signer \"eyAiYWxnIjoiUlMyNTYiLCAie...\"" + ], + "name": "Adds a new attestation policy certificate to the set of policy management certificates." + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/certificates:add", + "plane": "data-plane:microsoft.attestation", + "version": "2022-08-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "Retrieves the set of certificates used to express policy for the current tenant." + }, + "names": [ + "attestation", + "signer", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation signer list -n \"myattestationprovider\" -g \"MyResourceGroup\"" + ], + "name": "Retrieves the set of certificates used to express policy for the current tenant." + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/certificates", + "plane": "data-plane:microsoft.attestation", + "version": "2022-08-01" + } + ] + } + ] + }, + "remove": { + "help": { + "short": "Removes the specified policy management certificate." + }, + "names": [ + "attestation", + "signer", + "remove" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation signer remove -n \"myattestationprovider\" -g \"MyResourceGroup\" --signer \"eyAiYWxnIjoiUlMyNTYiLCAie...\"" + ], + "name": "Removes the specified policy management certificate." + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/certificates:remove", + "plane": "data-plane:microsoft.attestation", + "version": "2022-08-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage signers." + }, + "names": [ + "attestation", + "signer" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Creates a new Attestation Provider instance." + }, + "names": [ + "attestation", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation create --name \"myattestationprovider\" --resource-group \"MyResourceGroup\" -l westus" + ], + "name": "AttestationProviders_Create" + } + ], + "name": "2020-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders/{}", + "plane": "mgmt-plane", + "version": "2020-10-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete Attestation Service." + }, + "names": [ + "attestation", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation delete --name \"myattestationprovider\" --resource-group \"sample-resource-group\"" + ], + "name": "AttestationProviders_Delete" + } + ], + "name": "2020-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders/{}", + "plane": "mgmt-plane", + "version": "2020-10-01" + } + ] + } + ] + }, + "get-default-by-location": { + "help": { + "short": "Get the default provider by location." + }, + "names": [ + "attestation", + "get-default-by-location" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation get-default-by-location --location \"Central US\"" + ], + "name": "AttestationProviders_GetDefaultWithLocation" + } + ], + "name": "2020-10-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.attestation/locations/{}/defaultprovider", + "plane": "mgmt-plane", + "version": "2020-10-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "Returns a list of attestation providers in a subscription." + }, + "names": [ + "attestation", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation list --resource-group \"testrg1\"" + ], + "name": "AttestationProviders_ListByResourceGroup" + }, + { + "commands": [ + "attestation list" + ], + "name": "AttestationProviders_List" + } + ], + "name": "2020-10-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.attestation/attestationproviders", + "plane": "mgmt-plane", + "version": "2020-10-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders", + "plane": "mgmt-plane", + "version": "2020-10-01" + } + ] + } + ] + }, + "list-default": { + "help": { + "short": "Get the default provider." + }, + "names": [ + "attestation", + "list-default" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation list-default" + ], + "name": "AttestationProviders_GetDefault" + } + ], + "name": "2020-10-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.attestation/defaultproviders", + "plane": "mgmt-plane", + "version": "2020-10-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the status of Attestation Provider." + }, + "names": [ + "attestation", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation show --name \"myattestationprovider\" --resource-group \"MyResourceGroup\"" + ], + "name": "AttestationProviders_Get" + } + ], + "name": "2020-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders/{}", + "plane": "mgmt-plane", + "version": "2020-10-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Updates the Attestation Provider." + }, + "names": [ + "attestation", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "attestation update --name \"myattestationprovider\" --resource-group \"MyResourceGroup\" --tags Property1=\"Value1\" Property2=\"Value2\" Property3=\"Value3\"" + ], + "name": "AttestationProviders_Update" + } + ], + "name": "2020-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders/{}", + "plane": "mgmt-plane", + "version": "2020-10-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage Microsoft Azure Attestation (MAA)." + }, + "names": [ + "attestation" + ] + }, "automanage": { "commandGroups": { "best-practice": { diff --git a/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlcw==/2022-08-01.json b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlcw==/2022-08-01.json new file mode 100644 index 000000000..abd8ed5c5 --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlcw==/2022-08-01.json @@ -0,0 +1 @@ +{"plane": "data-plane:microsoft.attestation", "resources": [{"id": "/certificates", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L2NlcnRpZmljYXRlcw==/V/MjAyMi0wOC0wMQ=="}], "commandGroups": [{"name": "attestation signer", "commands": [{"name": "list", "version": "2022-08-01", "resources": [{"id": "/certificates", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L2NlcnRpZmljYXRlcw==/V/MjAyMi0wOC0wMQ=="}], "operations": [{"operationId": "PolicyCertificates_Get", "http": {"path": "/certificates", "request": {"method": "get", "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "token", "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlcw==/2022-08-01.xml b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlcw==/2022-08-01.xml new file mode 100644 index 000000000..8e96a3990 --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlcw==/2022-08-01.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczphZGQ=/2022-08-01.json b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczphZGQ=/2022-08-01.json new file mode 100644 index 000000000..61e46034a --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczphZGQ=/2022-08-01.json @@ -0,0 +1 @@ +{"plane": "data-plane:microsoft.attestation", "resources": [{"id": "/certificates:add", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L2NlcnRpZmljYXRlczphZGQ=/V/MjAyMi0wOC0wMQ=="}], "commandGroups": [{"name": "attestation signer", "commands": [{"name": "add", "version": "2022-08-01", "resources": [{"id": "/certificates:add", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L2NlcnRpZmljYXRlczphZGQ=/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$policyCertificateToAdd", "options": ["signer"], "required": true, "group": "", "help": {"short": "The policy certificate to add. An RFC7519 JSON Web Token containing a claim named \"maa-policyCertificate\" whose value is an RFC7517 JSON Web Key which specifies a new key to update. The RFC7519 JWT must be signed with one of the existing signing certificates."}, "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}], "operations": [{"operationId": "PolicyCertificates_Add", "http": {"path": "/certificates:add", "request": {"method": "post", "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "string", "name": "policyCertificateToAdd", "arg": "$policyCertificateToAdd", "required": true, "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "token", "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczphZGQ=/2022-08-01.xml b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczphZGQ=/2022-08-01.xml new file mode 100644 index 000000000..158f46f0d --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczphZGQ=/2022-08-01.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczpyZW1vdmU=/2022-08-01.json b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczpyZW1vdmU=/2022-08-01.json new file mode 100644 index 000000000..6a544d856 --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczpyZW1vdmU=/2022-08-01.json @@ -0,0 +1 @@ +{"plane": "data-plane:microsoft.attestation", "resources": [{"id": "/certificates:remove", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L2NlcnRpZmljYXRlczpyZW1vdmU=/V/MjAyMi0wOC0wMQ=="}], "commandGroups": [{"name": "attestation signer", "commands": [{"name": "remove", "version": "2022-08-01", "resources": [{"id": "/certificates:remove", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L2NlcnRpZmljYXRlczpyZW1vdmU=/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$policyCertificateToRemove", "options": ["signer"], "required": true, "group": "", "help": {"short": "The policy certificate to remove. An RFC7519 JSON Web Token containing a claim named \"maa-policyCertificate\" whose value is an RFC7517 JSON Web Key which specifies a new key to update. The RFC7519 JWT must be signed with one of the existing signing certificates."}, "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}], "operations": [{"operationId": "PolicyCertificates_Remove", "http": {"path": "/certificates:remove", "request": {"method": "post", "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "string", "name": "policyCertificateToRemove", "arg": "$policyCertificateToRemove", "required": true, "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "token", "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczpyZW1vdmU=/2022-08-01.xml b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczpyZW1vdmU=/2022-08-01.xml new file mode 100644 index 000000000..edb26c3e9 --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/L2NlcnRpZmljYXRlczpyZW1vdmU=/2022-08-01.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9/2022-08-01.json b/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9/2022-08-01.json new file mode 100644 index 000000000..d526ab492 --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9/2022-08-01.json @@ -0,0 +1 @@ +{"plane": "data-plane:microsoft.attestation", "resources": [{"id": "/policies/{}", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3BvbGljaWVzL3thdHRlc3RhdGlvblR5cGV9/V/MjAyMi0wOC0wMQ=="}], "commandGroups": [{"name": "attestation policy", "commands": [{"name": "show", "version": "2022-08-01", "resources": [{"id": "/policies/{}", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3BvbGljaWVzL3thdHRlc3RhdGlvblR5cGV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.attestationType", "options": ["attestation-type"], "required": true, "group": "", "help": {"short": "Type of the attestation."}, "enum": {"items": [{"name": "OpenEnclave", "value": "OpenEnclave"}, {"name": "SevSnpVm", "value": "SevSnpVm"}, {"name": "SgxEnclave", "value": "SgxEnclave"}, {"name": "Tpm", "value": "Tpm"}]}}]}], "operations": [{"operationId": "Policy_Get", "http": {"path": "/policies/{attestationType}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "attestationType", "arg": "$Path.attestationType", "required": true, "enum": {"items": [{"value": "OpenEnclave"}, {"value": "SevSnpVm"}, {"value": "SgxEnclave"}, {"value": "Tpm"}]}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "token", "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "set", "version": "2022-08-01", "resources": [{"id": "/policies/{}", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3BvbGljaWVzL3thdHRlc3RhdGlvblR5cGV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.attestationType", "options": ["attestation-type"], "required": true, "group": "", "help": {"short": "Type of the attestation."}, "enum": {"items": [{"name": "OpenEnclave", "value": "OpenEnclave"}, {"name": "SevSnpVm", "value": "SevSnpVm"}, {"name": "SgxEnclave", "value": "SgxEnclave"}, {"name": "Tpm", "value": "Tpm"}]}}, {"type": "string", "var": "$newAttestationPolicy", "options": ["new-attestation-policy"], "required": true, "group": "", "help": {"short": "Content of the new attestation policy (Text or JWT)."}, "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}], "operations": [{"operationId": "Policy_Set", "http": {"path": "/policies/{attestationType}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "attestationType", "arg": "$Path.attestationType", "required": true, "enum": {"items": [{"value": "OpenEnclave"}, {"value": "SevSnpVm"}, {"value": "SgxEnclave"}, {"value": "Tpm"}]}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "string", "name": "newAttestationPolicy", "arg": "$newAttestationPolicy", "required": true, "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "token", "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-08-01", "resources": [{"id": "/policies/{}", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3BvbGljaWVzL3thdHRlc3RhdGlvblR5cGV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.attestationType", "options": ["attestation-type"], "required": true, "group": "", "help": {"short": "Type of the attestation."}, "enum": {"items": [{"name": "OpenEnclave", "value": "OpenEnclave"}, {"name": "SevSnpVm", "value": "SevSnpVm"}, {"name": "SgxEnclave", "value": "SgxEnclave"}, {"name": "Tpm", "value": "Tpm"}]}}, {"type": "string", "var": "$newAttestationPolicy", "options": ["new-attestation-policy"], "group": "", "help": {"short": "Content of the new attestation policy (Text or JWT)."}, "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}], "operations": [{"operationId": "Policy_Get", "http": {"path": "/policies/{attestationType}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "attestationType", "arg": "$Path.attestationType", "required": true, "enum": {"items": [{"value": "OpenEnclave"}, {"value": "SevSnpVm"}, {"value": "SgxEnclave"}, {"value": "Tpm"}]}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "token", "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}], "cls": "PolicyResponse_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "string", "name": "newAttestationPolicy", "arg": "$newAttestationPolicy", "required": true, "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}}}}, {"operationId": "Policy_Set", "http": {"path": "/policies/{attestationType}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "attestationType", "arg": "$Path.attestationType", "required": true, "enum": {"items": [{"value": "OpenEnclave"}, {"value": "SevSnpVm"}, {"value": "SgxEnclave"}, {"value": "Tpm"}]}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@PolicyResponse_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9/2022-08-01.xml b/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9/2022-08-01.xml new file mode 100644 index 000000000..cab92dca9 --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9/2022-08-01.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9OnJlc2V0/2022-08-01.json b/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9OnJlc2V0/2022-08-01.json new file mode 100644 index 000000000..004984fa1 --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9OnJlc2V0/2022-08-01.json @@ -0,0 +1 @@ +{"plane": "data-plane:microsoft.attestation", "resources": [{"id": "/policies/{}:reset", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3BvbGljaWVzL3thdHRlc3RhdGlvblR5cGV9OnJlc2V0/V/MjAyMi0wOC0wMQ=="}], "commandGroups": [{"name": "attestation policy", "commands": [{"name": "reset", "version": "2022-08-01", "resources": [{"id": "/policies/{}:reset", "version": "2022-08-01", "swagger": "data-plane:microsoft.attestation/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3BvbGljaWVzL3thdHRlc3RhdGlvblR5cGV9OnJlc2V0/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.attestationType", "options": ["attestation-type"], "required": true, "group": "", "help": {"short": "Type of the attestation."}, "enum": {"items": [{"name": "OpenEnclave", "value": "OpenEnclave"}, {"name": "SevSnpVm", "value": "SevSnpVm"}, {"name": "SgxEnclave", "value": "SgxEnclave"}, {"name": "Tpm", "value": "Tpm"}]}}, {"type": "string", "var": "$PolicyJws", "options": ["policy-jws"], "required": true, "group": "", "help": {"short": "JSON Web Signature with an empty policy document."}, "default": {"value": "eyJhbGciOiJub25lIn0.."}, "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}], "operations": [{"operationId": "Policy_Reset", "http": {"path": "/policies/{attestationType}:reset", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "attestationType", "arg": "$Path.attestationType", "required": true, "enum": {"items": [{"value": "OpenEnclave"}, {"value": "SevSnpVm"}, {"value": "SgxEnclave"}, {"value": "Tpm"}]}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "string", "name": "PolicyJws", "arg": "$PolicyJws", "required": true, "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "token", "format": {"pattern": "[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9OnJlc2V0/2022-08-01.xml b/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9OnJlc2V0/2022-08-01.xml new file mode 100644 index 000000000..3fce1e314 --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/L3BvbGljaWVzL3t9OnJlc2V0/2022-08-01.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/data-plane/microsoft.attestation/client.json b/Resources/data-plane/microsoft.attestation/client.json new file mode 100644 index 000000000..7ed363089 --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/client.json @@ -0,0 +1 @@ +{"version": "2023-11-24T03:30:40.500449Z", "plane": "data-plane:microsoft.attestation", "endpoints": {"type": "http-operation", "resource": {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders/{}", "version": "2021-06-01", "subresource": "properties.attestUri", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXR0ZXN0YXRpb24vYXR0ZXN0YXRpb25Qcm92aWRlcnMve3Byb3ZpZGVyTmFtZX0=/V/MjAyMS0wNi0wMQ=="}, "selector": {"var": "$Endpoint", "ref": "$EndpointInstance", "json": {"type": "object", "name": "response", "prop": {"type": "simple", "name": "properties.attestUri"}}}, "operation": {"operationId": "AttestationProviders_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "providerName", "arg": "$Client.Endpoint.Path.providerName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Client.Endpoint.Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Client.Endpoint.Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-06-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$EndpointInstance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "attestUri"}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Attestation/attestationProviders/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Error"}, {"value": "NotReady"}, {"value": "Ready"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "tpmAttestationAuthentication", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "trustModel"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}}, "auth": {"aad": {"scopes": ["https://attest.azure.net/.default"]}}, "argGroup": {"name": "Client", "args": [{"type": "string", "var": "$Client.Endpoint.Path.providerName", "options": ["provider-name"], "required": true, "group": "Client", "idPart": "name", "help": {"short": "Name of the attestation provider."}}, {"type": "ResourceGroupName", "var": "$Client.Endpoint.Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "Client", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using `az configure --defaults group=`"}}, {"type": "SubscriptionId", "var": "$Client.Endpoint.Path.subscriptionId", "options": ["subscription"], "required": true, "group": "Client", "idPart": "subscription"}]}} \ No newline at end of file diff --git a/Resources/data-plane/microsoft.attestation/client.xml b/Resources/data-plane/microsoft.attestation/client.xml new file mode 100644 index 000000000..d8d1c07e9 --- /dev/null +++ b/Resources/data-plane/microsoft.attestation/client.xml @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.json new file mode 100644 index 000000000..53af53e5c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.attestation/attestationproviders", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJz/V/MjAyMC0xMC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXR0ZXN0YXRpb24vYXR0ZXN0YXRpb25Qcm92aWRlcnM=/V/MjAyMC0xMC0wMQ=="}], "commandGroups": [{"name": "attestation", "commands": [{"name": "list", "version": "2020-10-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.attestation/attestationproviders", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJz/V/MjAyMC0xMC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXR0ZXN0YXRpb24vYXR0ZXN0YXRpb25Qcm92aWRlcnM=/V/MjAyMC0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_AttestationProviders_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_AttestationProviders_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_AttestationProviders_ListByResourceGroup"], "operationId": "AttestationProviders_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"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"}]}}], "cls": "SystemData_read"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "attestUri"}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Attestation/attestationProviders/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Error"}, {"value": "NotReady"}, {"value": "Ready"}]}}, {"type": "string", "name": "trustModel"}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_AttestationProviders_List"], "operationId": "AttestationProviders_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "attestUri"}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Attestation/attestationProviders/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Error"}, {"value": "NotReady"}, {"value": "Ready"}]}}, {"type": "string", "name": "trustModel"}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.xml new file mode 100644 index 000000000..f32a7ecb4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.xml @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9kZWZhdWx0cHJvdmlkZXJz/2020-10-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9kZWZhdWx0cHJvdmlkZXJz/2020-10-01.json new file mode 100644 index 000000000..cf1dcba5c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9kZWZhdWx0cHJvdmlkZXJz/2020-10-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.attestation/defaultproviders", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2RlZmF1bHRQcm92aWRlcnM=/V/MjAyMC0xMC0wMQ=="}], "commandGroups": [{"name": "attestation", "commands": [{"name": "list-default", "version": "2020-10-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.attestation/defaultproviders", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2RlZmF1bHRQcm92aWRlcnM=/V/MjAyMC0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AttestationProviders_ListDefault", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/defaultProviders", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"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"}]}}], "cls": "SystemData_read"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "attestUri"}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Attestation/attestationProviders/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Error"}, {"value": "NotReady"}, {"value": "Ready"}]}}, {"type": "string", "name": "trustModel"}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9kZWZhdWx0cHJvdmlkZXJz/2020-10-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9kZWZhdWx0cHJvdmlkZXJz/2020-10-01.xml new file mode 100644 index 000000000..4227748f8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9kZWZhdWx0cHJvdmlkZXJz/2020-10-01.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9sb2NhdGlvbnMve30vZGVmYXVsdHByb3ZpZGVy/2020-10-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9sb2NhdGlvbnMve30vZGVmYXVsdHByb3ZpZGVy/2020-10-01.json new file mode 100644 index 000000000..7dbe899b6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9sb2NhdGlvbnMve30vZGVmYXVsdHByb3ZpZGVy/2020-10-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.attestation/locations/{}/defaultprovider", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2xvY2F0aW9ucy97bG9jYXRpb259L2RlZmF1bHRQcm92aWRlcg==/V/MjAyMC0xMC0wMQ=="}], "commandGroups": [{"name": "attestation", "commands": [{"name": "get-default-by-location", "version": "2020-10-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.attestation/locations/{}/defaultprovider", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2xvY2F0aW9ucy97bG9jYXRpb259L2RlZmF1bHRQcm92aWRlcg==/V/MjAyMC0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AttestationProviders_GetDefaultByLocation", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/locations/{location}/defaultProvider", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "attestUri"}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Attestation/attestationProviders/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Error"}, {"value": "NotReady"}, {"value": "Ready"}]}}, {"type": "string", "name": "trustModel"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9sb2NhdGlvbnMve30vZGVmYXVsdHByb3ZpZGVy/2020-10-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9sb2NhdGlvbnMve30vZGVmYXVsdHByb3ZpZGVy/2020-10-01.xml new file mode 100644 index 000000000..eac00ad4a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9sb2NhdGlvbnMve30vZGVmYXVsdHByb3ZpZGVy/2020-10-01.xml @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.md new file mode 100644 index 000000000..1b579cf58 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.attestation/attestationproviders 2020-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycw==/2020-10-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycy97fQ==/2020-10-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycy97fQ==/2020-10-01.json new file mode 100644 index 000000000..9b6f683c4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycy97fQ==/2020-10-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders/{}", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXR0ZXN0YXRpb24vYXR0ZXN0YXRpb25Qcm92aWRlcnMve3Byb3ZpZGVyTmFtZX0=/V/MjAyMC0xMC0wMQ=="}], "commandGroups": [{"name": "attestation", "commands": [{"name": "show", "version": "2020-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders/{}", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXR0ZXN0YXRpb24vYXR0ZXN0YXRpb25Qcm92aWRlcnMve3Byb3ZpZGVyTmFtZX0=/V/MjAyMC0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.providerName", "options": ["provider-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the attestation provider."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AttestationProviders_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "providerName", "arg": "$Path.providerName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "attestUri"}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Attestation/attestationProviders/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Error"}, {"value": "NotReady"}, {"value": "Ready"}]}}, {"type": "string", "name": "trustModel"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2020-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders/{}", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXR0ZXN0YXRpb24vYXR0ZXN0YXRpb25Qcm92aWRlcnMve3Byb3ZpZGVyTmFtZX0=/V/MjAyMC0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.providerName", "options": ["provider-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the attestation service"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AttestationProviders_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "providerName", "arg": "$Path.providerName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2020-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders/{}", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXR0ZXN0YXRpb24vYXR0ZXN0YXRpb25Qcm92aWRlcnMve3Byb3ZpZGVyTmFtZX0=/V/MjAyMC0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.providerName", "options": ["provider-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the attestation provider."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "ResourceLocation", "var": "$creationParams.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "The supported Azure location where the attestation provider should be created."}}, {"type": "array", "var": "$creationParams.properties.policySigningCertificates.keys", "options": ["certs"], "group": "", "help": {"short": "The value of the \"keys\" parameter is an array of JWK values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired."}, "item": {"type": "object", "args": [{"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].alg", "options": ["alg"], "help": {"short": "The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name."}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].crv", "options": ["crv"], "help": {"short": "The \"crv\" (curve) parameter identifies the curve type"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].d", "options": ["d"], "help": {"short": "RSA private exponent or ECC private key"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].dp", "options": ["dp"], "help": {"short": "RSA Private Key Parameter"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].dq", "options": ["dq"], "help": {"short": "RSA Private Key Parameter"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].e", "options": ["e"], "help": {"short": "RSA public exponent, in Base64"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].k", "options": ["k"], "help": {"short": "Symmetric key"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].kid", "options": ["kid"], "help": {"short": "The \"kid\" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string."}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].kty", "options": ["kty"], "required": true, "help": {"short": "The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string."}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].n", "options": ["n"], "help": {"short": "RSA modulus, in Base64"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].p", "options": ["p"], "help": {"short": "RSA secret prime"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].q", "options": ["q"], "help": {"short": "RSA secret prime, with p < q"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].qi", "options": ["qi"], "help": {"short": "RSA Private Key Parameter"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].use", "options": ["use"], "help": {"short": "Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption)."}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].x", "options": ["x"], "help": {"short": "X coordinate for the Elliptic Curve point"}}, {"type": "array", "var": "$creationParams.properties.policySigningCertificates.keys[].x5c", "options": ["x5c"], "help": {"short": "The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate."}, "item": {"type": "string"}}, {"type": "string", "var": "$creationParams.properties.policySigningCertificates.keys[].y", "options": ["y"], "help": {"short": "Y coordinate for the Elliptic Curve point"}}]}}, {"type": "object", "var": "$creationParams.tags", "options": ["tags"], "group": "", "help": {"short": "The tags that will be assigned to the attestation provider."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "AttestationProviders_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "providerName", "arg": "$Path.providerName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-10-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "creationParams", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$creationParams.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "policySigningCertificates", "props": [{"type": "array", "name": "keys", "arg": "$creationParams.properties.policySigningCertificates.keys", "item": {"type": "object", "props": [{"type": "string", "name": "alg", "arg": "$creationParams.properties.policySigningCertificates.keys[].alg"}, {"type": "string", "name": "crv", "arg": "$creationParams.properties.policySigningCertificates.keys[].crv"}, {"type": "string", "name": "d", "arg": "$creationParams.properties.policySigningCertificates.keys[].d"}, {"type": "string", "name": "dp", "arg": "$creationParams.properties.policySigningCertificates.keys[].dp"}, {"type": "string", "name": "dq", "arg": "$creationParams.properties.policySigningCertificates.keys[].dq"}, {"type": "string", "name": "e", "arg": "$creationParams.properties.policySigningCertificates.keys[].e"}, {"type": "string", "name": "k", "arg": "$creationParams.properties.policySigningCertificates.keys[].k"}, {"type": "string", "name": "kid", "arg": "$creationParams.properties.policySigningCertificates.keys[].kid"}, {"type": "string", "name": "kty", "arg": "$creationParams.properties.policySigningCertificates.keys[].kty", "required": true}, {"type": "string", "name": "n", "arg": "$creationParams.properties.policySigningCertificates.keys[].n"}, {"type": "string", "name": "p", "arg": "$creationParams.properties.policySigningCertificates.keys[].p"}, {"type": "string", "name": "q", "arg": "$creationParams.properties.policySigningCertificates.keys[].q"}, {"type": "string", "name": "qi", "arg": "$creationParams.properties.policySigningCertificates.keys[].qi"}, {"type": "string", "name": "use", "arg": "$creationParams.properties.policySigningCertificates.keys[].use"}, {"type": "string", "name": "x", "arg": "$creationParams.properties.policySigningCertificates.keys[].x"}, {"type": "array", "name": "x5c", "arg": "$creationParams.properties.policySigningCertificates.keys[].x5c", "item": {"type": "string"}}, {"type": "string", "name": "y", "arg": "$creationParams.properties.policySigningCertificates.keys[].y"}]}}]}]}, {"type": "object", "name": "tags", "arg": "$creationParams.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"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "attestUri"}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Attestation/attestationProviders/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Error"}, {"value": "NotReady"}, {"value": "Ready"}]}}, {"type": "string", "name": "trustModel"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2020-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.attestation/attestationproviders/{}", "version": "2020-10-01", "swagger": "mgmt-plane/attestation/ResourceProviders/Microsoft.Attestation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXR0ZXN0YXRpb24vYXR0ZXN0YXRpb25Qcm92aWRlcnMve3Byb3ZpZGVyTmFtZX0=/V/MjAyMC0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.providerName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the attestation provider."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$updateParams.tags", "options": ["tags"], "group": "", "help": {"short": "The tags that will be assigned to the attestation provider."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"operationId": "AttestationProviders_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "providerName", "arg": "$Path.providerName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2020-10-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "updateParams", "required": true, "props": [{"type": "object", "name": "tags", "arg": "$updateParams.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "attestUri"}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Attestation/attestationProviders/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Error"}, {"value": "NotReady"}, {"value": "Ready"}]}}, {"type": "string", "name": "trustModel"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycy97fQ==/2020-10-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycy97fQ==/2020-10-01.xml new file mode 100644 index 000000000..0a0a1e5d0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdHRlc3RhdGlvbi9hdHRlc3RhdGlvbnByb3ZpZGVycy97fQ==/2020-10-01.xml @@ -0,0 +1,531 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +