This commit is contained in:
Hong Ma 2024-10-08 12:42:53 -07:00
Родитель 14063835e1
Коммит b33b7286c5
8 изменённых файлов: 110 добавлений и 22 удалений

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -54,11 +54,20 @@
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="object" name="awsCloudProfile" required="True">
<prop type="string" name="accountId" required="True"/>
<prop type="array<string>" name="excludedAccounts">
<item type="string"/>
</prop>
<prop type="boolean" name="isOrganizationalAccount">
<default value="false"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="connectorPrimaryIdentifier"/>
<prop type="string" name="hostType" required="True">
<enum>
<item value="&quot;AWS&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Canceled&quot;"/>
@ -137,11 +146,20 @@
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="object" name="awsCloudProfile" required="True">
<prop type="string" name="accountId" required="True"/>
<prop type="array<string>" name="excludedAccounts">
<item type="string"/>
</prop>
<prop type="boolean" name="isOrganizationalAccount">
<default value="false"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="connectorPrimaryIdentifier"/>
<prop type="string" name="hostType" required="True">
<enum>
<item value="&quot;AWS&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Canceled&quot;"/>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -42,11 +42,20 @@
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="object" name="awsCloudProfile" required="True">
<prop type="string" name="accountId" required="True"/>
<prop type="array<string>" name="excludedAccounts">
<item type="string"/>
</prop>
<prop type="boolean" name="isOrganizationalAccount">
<default value="false"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="connectorPrimaryIdentifier"/>
<prop type="string" name="hostType" required="True">
<enum>
<item value="&quot;AWS&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Canceled&quot;"/>
@ -241,11 +250,20 @@
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="object" name="awsCloudProfile" required="True">
<prop type="string" name="accountId" required="True"/>
<prop type="array<string>" name="excludedAccounts">
<item type="string"/>
</prop>
<prop type="boolean" name="isOrganizationalAccount">
<default value="false"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="connectorPrimaryIdentifier"/>
<prop type="string" name="hostType" required="True">
<enum>
<item value="&quot;AWS&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Canceled&quot;"/>
@ -370,11 +388,20 @@
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="object" name="awsCloudProfile" required="True">
<prop type="string" name="accountId" required="True"/>
<prop type="array<string>" name="excludedAccounts">
<item type="string"/>
</prop>
<prop type="boolean" name="isOrganizationalAccount">
<default value="false"/>
</prop>
</prop>
<prop readOnly="True" type="string" name="connectorPrimaryIdentifier"/>
<prop type="string" name="hostType" required="True">
<enum>
<item value="&quot;AWS&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Canceled&quot;"/>

Просмотреть файл

@ -1 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridconnectivity/publiccloudconnectors/{}/testpermissions", "version": "2024-12-01", "swagger": "mgmt-plane/hybridconnectivity/ResourceProviders/Microsoft.HybridConnectivity/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29ubmVjdGl2aXR5L3B1YmxpY0Nsb3VkQ29ubmVjdG9ycy97cHVibGljQ2xvdWRDb25uZWN0b3J9L3Rlc3RQZXJtaXNzaW9ucw==/V/MjAyNC0xMi0wMQ=="}], "commandGroups": [{"name": "arc-multicloud public-cloud-connector", "commands": [{"name": "test-permission", "version": "2024-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridconnectivity/publiccloudconnectors/{}/testpermissions", "version": "2024-12-01", "swagger": "mgmt-plane/hybridconnectivity/ResourceProviders/Microsoft.HybridConnectivity/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29ubmVjdGl2aXR5L3B1YmxpY0Nsb3VkQ29ubmVjdG9ycy97cHVibGljQ2xvdWRDb25uZWN0b3J9L3Rlc3RQZXJtaXNzaW9ucw==/V/MjAyNC0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.publicCloudConnector", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Represent public cloud connectors resource."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,63}$"}}, {"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": [{"longRunning": {"finalStateVia": "location"}, "operationId": "PublicCloudConnectors_TestPermissions", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}/testPermissions", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "publicCloudConnector", "arg": "$Path.publicCloudConnector", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,63}$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "array<object>", "name": "solutionTypes", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "solutionType", "required": true, "enum": {"items": [{"value": "Microsoft.AssetManagement"}, {"value": "Microsoft.HybridCompute.Onboard"}, {"value": "Microsoft.HybridNetwork.VWan.Provision"}]}}, {"type": "string", "name": "status", "required": true, "enum": {"items": [{"value": "Connected"}, {"value": "Disconnected"}]}}, {"type": "string", "name": "statusDetails", "required": true}]}}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridconnectivity/publiccloudconnectors/{}/testpermissions", "version": "2024-12-01", "swagger": "mgmt-plane/hybridconnectivity/ResourceProviders/Microsoft.HybridConnectivity/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29ubmVjdGl2aXR5L3B1YmxpY0Nsb3VkQ29ubmVjdG9ycy97cHVibGljQ2xvdWRDb25uZWN0b3J9L3Rlc3RQZXJtaXNzaW9ucw==/V/MjAyNC0xMi0wMQ=="}], "commandGroups": [{"name": "arc-multicloud public-cloud-connector", "commands": [{"name": "test-permission", "version": "2024-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.hybridconnectivity/publiccloudconnectors/{}/testpermissions", "version": "2024-12-01", "swagger": "mgmt-plane/hybridconnectivity/ResourceProviders/Microsoft.HybridConnectivity/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSHlicmlkQ29ubmVjdGl2aXR5L3B1YmxpY0Nsb3VkQ29ubmVjdG9ycy97cHVibGljQ2xvdWRDb25uZWN0b3J9L3Rlc3RQZXJtaXNzaW9ucw==/V/MjAyNC0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.publicCloudConnector", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Represent public cloud connectors resource."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,63}$"}}, {"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": [{"longRunning": {"finalStateVia": "location"}, "operationId": "PublicCloudConnectors_TestPermissions", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{publicCloudConnector}/testPermissions", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "publicCloudConnector", "arg": "$Path.publicCloudConnector", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,63}$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "dateTime", "name": "endTime"}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array<object>", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "info"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"type": "ResourceId", "name": "id"}, {"type": "string", "name": "name"}, {"type": "array<@OperationStatusResult_read>", "name": "operations", "item": {"type": "@OperationStatusResult_read"}}, {"type": "float", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}, {"type": "dateTime", "name": "startTime"}, {"type": "string", "name": "status", "required": true}], "cls": "OperationStatusResult_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}

Просмотреть файл

@ -35,25 +35,33 @@
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="array<object>" name="solutionTypes" required="True">
<item type="object">
<prop type="string" name="solutionType" required="True">
<enum>
<item value="&quot;Microsoft.AssetManagement&quot;"/>
<item value="&quot;Microsoft.HybridCompute.Onboard&quot;"/>
<item value="&quot;Microsoft.HybridNetwork.VWan.Provision&quot;"/>
</enum>
</prop>
<prop type="string" name="status" required="True">
<enum>
<item value="&quot;Connected&quot;"/>
<item value="&quot;Disconnected&quot;"/>
</enum>
</prop>
<prop type="string" name="statusDetails" required="True"/>
</item>
<schema type="object" cls="OperationStatusResult_read">
<prop type="dateTime" name="endTime"/>
<prop type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<prop readOnly="True" type="object" name="info"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="details" identifiers="message target">
<item type="@ErrorDetail_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="string" name="target"/>
</prop>
<prop type="ResourceId" name="id"/>
<prop type="string" name="name"/>
<prop type="array<@OperationStatusResult_read>" name="operations">
<item type="@OperationStatusResult_read"/>
</prop>
<prop type="float" name="percentComplete">
<format maximum="100.0" minimum="0.0"/>
</prop>
<prop readOnly="True" type="ResourceId" name="resourceId"/>
<prop type="dateTime" name="startTime"/>
<prop type="string" name="status" required="True"/>
</schema>
</json>
</body>

Просмотреть файл

@ -1 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/{resourceuri}/providers/microsoft.hybridconnectivity/solutionconfigurations/{}/syncnow", "version": "2024-12-01", "swagger": "mgmt-plane/hybridconnectivity/ResourceProviders/Microsoft.HybridConnectivity/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IeWJyaWRDb25uZWN0aXZpdHkvc29sdXRpb25Db25maWd1cmF0aW9ucy97c29sdXRpb25Db25maWd1cmF0aW9ufS9zeW5jTm93/V/MjAyNC0xMi0wMQ=="}], "commandGroups": [{"name": "arc-multicloud solution-configuration", "commands": [{"name": "sync-now", "version": "2024-12-01", "resources": [{"id": "/{resourceuri}/providers/microsoft.hybridconnectivity/solutionconfigurations/{}/syncnow", "version": "2024-12-01", "swagger": "mgmt-plane/hybridconnectivity/ResourceProviders/Microsoft.HybridConnectivity/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IeWJyaWRDb25uZWN0aXZpdHkvc29sdXRpb25Db25maWd1cmF0aW9ucy97c29sdXRpb25Db25maWd1cmF0aW9ufS9zeW5jTm93/V/MjAyNC0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceUri", "options": ["connector-id"], "required": true, "group": "", "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.solutionConfiguration", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Represent Solution Configuration Resource Name"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,63}$"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "SolutionConfigurations_SyncNow", "http": {"path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/syncNow", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "solutionConfiguration", "arg": "$Path.solutionConfiguration", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,63}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}]}]}
{"plane": "mgmt-plane", "resources": [{"id": "/{resourceuri}/providers/microsoft.hybridconnectivity/solutionconfigurations/{}/syncnow", "version": "2024-12-01", "swagger": "mgmt-plane/hybridconnectivity/ResourceProviders/Microsoft.HybridConnectivity/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IeWJyaWRDb25uZWN0aXZpdHkvc29sdXRpb25Db25maWd1cmF0aW9ucy97c29sdXRpb25Db25maWd1cmF0aW9ufS9zeW5jTm93/V/MjAyNC0xMi0wMQ=="}], "commandGroups": [{"name": "arc-multicloud solution-configuration", "commands": [{"name": "sync-now", "version": "2024-12-01", "resources": [{"id": "/{resourceuri}/providers/microsoft.hybridconnectivity/solutionconfigurations/{}/syncnow", "version": "2024-12-01", "swagger": "mgmt-plane/hybridconnectivity/ResourceProviders/Microsoft.HybridConnectivity/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IeWJyaWRDb25uZWN0aXZpdHkvc29sdXRpb25Db25maWd1cmF0aW9ucy97c29sdXRpb25Db25maWd1cmF0aW9ufS9zeW5jTm93/V/MjAyNC0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceUri", "options": ["connector-id"], "required": true, "group": "", "help": {"short": "The fully qualified Azure Resource manager identifier of the resource."}}, {"type": "string", "var": "$Path.solutionConfiguration", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Represent Solution Configuration Resource Name"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,63}$"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "SolutionConfigurations_SyncNow", "http": {"path": "/{resourceUri}/providers/Microsoft.HybridConnectivity/solutionConfigurations/{solutionConfiguration}/syncNow", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "solutionConfiguration", "arg": "$Path.solutionConfiguration", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,63}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "dateTime", "name": "endTime"}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array<object>", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "info"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"type": "ResourceId", "name": "id"}, {"type": "string", "name": "name"}, {"type": "array<@OperationStatusResult_read>", "name": "operations", "item": {"type": "@OperationStatusResult_read"}}, {"type": "float", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}, {"type": "dateTime", "name": "startTime"}, {"type": "string", "name": "status", "required": true}], "cls": "OperationStatusResult_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}

Просмотреть файл

@ -30,6 +30,40 @@
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="OperationStatusResult_read">
<prop type="dateTime" name="endTime"/>
<prop type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<prop readOnly="True" type="object" name="info"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="details" identifiers="message target">
<item type="@ErrorDetail_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="string" name="target"/>
</prop>
<prop type="ResourceId" name="id"/>
<prop type="string" name="name"/>
<prop type="array<@OperationStatusResult_read>" name="operations">
<item type="@OperationStatusResult_read"/>
</prop>
<prop type="float" name="percentComplete">
<format maximum="100.0" minimum="0.0"/>
</prop>
<prop readOnly="True" type="ResourceId" name="resourceId"/>
<prop type="dateTime" name="startTime"/>
<prop type="string" name="status" required="True"/>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
@ -45,6 +79,7 @@
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>