Skip to content

Commit

Permalink
Update networkcloud 2024-07-01 for Python3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna Pankiewicz committed Oct 30, 2024
1 parent 2e3e06d commit 073c47e
Show file tree
Hide file tree
Showing 84 changed files with 199 additions and 81 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<item type="object" cls="EgressEndpoint_read">
<prop type="string" name="category" required="True"/>
<prop type="array<object>" name="endpoints" required="True">
<format minLength="1"/>
<item type="object">
<prop type="string" name="domainName" required="True"/>
<prop type="integer64" name="port">
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="object" name="aadConfiguration">
<prop type="array<string>" name="adminGroupObjectIds" required="True">
<format minLength="1"/>
<item type="string"/>
</prop>
</prop>
Expand Down Expand Up @@ -127,6 +128,7 @@
</item>
</prop>
<prop type="array<object>" name="initialAgentPoolConfigurations" required="True" identifiers="name">
<format minLength="1"/>
<item type="object">
<prop type="object" name="administratorConfiguration">
<prop type="string" name="adminUsername"/>
Expand Down Expand Up @@ -516,6 +518,7 @@
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="object" name="aadConfiguration">
<prop type="array<string>" name="adminGroupObjectIds" required="True">
<format minLength="1"/>
<item type="string"/>
</prop>
</prop>
Expand Down Expand Up @@ -580,6 +583,7 @@
</item>
</prop>
<prop type="array<object>" name="initialAgentPoolConfigurations" required="True" identifiers="name">
<format minLength="1"/>
<item type="object">
<prop type="object" name="administratorConfiguration">
<prop type="string" name="adminUsername"/>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<format pattern="^[a-zA-Z0-9@._-]*$" maxLength="12"/>
</prop>
<prop type="array<string>" name="isolationDomainIds" required="True">
<format minLength="1"/>
<item type="string"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
Expand All @@ -99,6 +100,7 @@
<item type="string"/>
</prop>
<prop type="array<integer64>" name="vlans" required="True">
<format minLength="1"/>
<item type="integer64"/>
</prop>
</prop>
Expand Down Expand Up @@ -202,6 +204,7 @@
<format pattern="^[a-zA-Z0-9@._-]*$" maxLength="12"/>
</prop>
<prop type="array<string>" name="isolationDomainIds" required="True">
<format minLength="1"/>
<item type="string"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
Expand All @@ -217,6 +220,7 @@
<item type="string"/>
</prop>
<prop type="array<integer64>" name="vlans" required="True">
<format minLength="1"/>
<item type="integer64"/>
</prop>
</prop>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@
<prop readOnly="True" 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="object" name="info">
<additionalProp readOnly="True" anyType="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,9 @@
<prop readOnly="True" 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="object" name="info">
<additionalProp readOnly="True" anyType="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/clusters/{}/continueupdateversion", "version": "2024-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL2NsdXN0ZXJzL3tjbHVzdGVyTmFtZX0vY29udGludWVVcGRhdGVWZXJzaW9u/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "networkcloud cluster", "commands": [{"name": "continue-update-version", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/clusters/{}/continueupdateversion", "version": "2024-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL2NsdXN0ZXJzL3tjbHVzdGVyTmFtZX0vY29udGludWVVcGRhdGVWZXJzaW9u/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.clusterName", "options": ["n", "name", "cluster-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the cluster."}, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$"}}, {"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"}]}, {"name": "ClusterContinueUpdateVersionParameters", "args": [{"type": "string", "var": "$clusterContinueUpdateVersionParameters.machineGroupTargetingMode", "options": ["mode", "machine-group-targeting-mode"], "group": "ClusterContinueUpdateVersionParameters", "help": {"short": "The mode by which the cluster will target the next grouping of servers to continue the update."}, "default": {"value": "AlphaByRack"}, "enum": {"items": [{"name": "AlphaByRack", "value": "AlphaByRack"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Clusters_ContinueUpdateVersion", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}/continueUpdateVersion", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$"}}, {"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-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "clusterContinueUpdateVersionParameters", "required": true, "props": [{"default": {"value": "AlphaByRack"}, "type": "string", "name": "machineGroupTargetingMode", "arg": "$clusterContinueUpdateVersionParameters.machineGroupTargetingMode", "enum": {"items": [{"value": "AlphaByRack"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "dateTime", "name": "endTime"}, {"readOnly": true, "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"}, {"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "array<@OperationStatusResult_read>", "name": "operations", "item": {"type": "@OperationStatusResult_read"}}, {"readOnly": true, "type": "float", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "exitCode"}, {"readOnly": true, "type": "string", "name": "outputHead"}, {"readOnly": true, "type": "string", "name": "resultRef"}, {"readOnly": true, "type": "string", "name": "resultUrl"}], "clientFlatten": true}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"type": "string", "name": "status", "required": true}], "cls": "OperationStatusResult_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/clusters/{}/continueupdateversion", "version": "2024-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL2NsdXN0ZXJzL3tjbHVzdGVyTmFtZX0vY29udGludWVVcGRhdGVWZXJzaW9u/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "networkcloud cluster", "commands": [{"name": "continue-update-version", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/clusters/{}/continueupdateversion", "version": "2024-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL2NsdXN0ZXJzL3tjbHVzdGVyTmFtZX0vY29udGludWVVcGRhdGVWZXJzaW9u/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.clusterName", "options": ["n", "name", "cluster-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the cluster."}, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$"}}, {"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"}]}, {"name": "ClusterContinueUpdateVersionParameters", "args": [{"type": "string", "var": "$clusterContinueUpdateVersionParameters.machineGroupTargetingMode", "options": ["mode", "machine-group-targeting-mode"], "group": "ClusterContinueUpdateVersionParameters", "help": {"short": "The mode by which the cluster will target the next grouping of servers to continue the update."}, "default": {"value": "AlphaByRack"}, "enum": {"items": [{"name": "AlphaByRack", "value": "AlphaByRack"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Clusters_ContinueUpdateVersion", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}/continueUpdateVersion", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$"}}, {"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-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "clusterContinueUpdateVersionParameters", "required": true, "props": [{"default": {"value": "AlphaByRack"}, "type": "string", "name": "machineGroupTargetingMode", "arg": "$clusterContinueUpdateVersionParameters.machineGroupTargetingMode", "enum": {"items": [{"value": "AlphaByRack"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "dateTime", "name": "endTime"}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array<object>", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "info", "additionalProps": {"readOnly": true, "anyType": true}}, {"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"}, {"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "array<@OperationStatusResult_read>", "name": "operations", "item": {"type": "@OperationStatusResult_read"}}, {"readOnly": true, "type": "float", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "exitCode"}, {"readOnly": true, "type": "string", "name": "outputHead"}, {"readOnly": true, "type": "string", "name": "resultRef"}, {"readOnly": true, "type": "string", "name": "resultUrl"}], "clientFlatten": true}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"type": "string", "name": "status", "required": true}], "cls": "OperationStatusResult_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@
<prop readOnly="True" 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="object" name="info">
<additionalProp readOnly="True" anyType="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@
<prop readOnly="True" 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="object" name="info">
<additionalProp readOnly="True" anyType="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@
<prop readOnly="True" 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="object" name="info">
<additionalProp readOnly="True" anyType="True"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
Expand Down
Loading

0 comments on commit 073c47e

Please sign in to comment.