Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[test] Test new compute #3323

Closed
wants to merge 41 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
dd60999
Update widgets.json
raych1 Sep 12, 2023
a4f05e9
Merge pull request #3017 from test-repo-billy/user/raych1/typespec-test
raych1 Sep 12, 2023
4d5a926
Update widgets.json
raych1 Sep 12, 2023
68272cf
Merge pull request #3018 from test-repo-billy/user/raych1/typespec-test1
raych1 Sep 13, 2023
a6a8dd4
Update widgets.json
raych1 Sep 15, 2023
78ab4d0
Merge pull request #3020 from test-repo-billy/user/raych1/typespec-te…
raych1 Sep 15, 2023
a1fc01f
Update widgets.json
raych1 Sep 15, 2023
5c544ab
Merge pull request #3021 from test-repo-billy/user/raych1/typespec-te…
raych1 Sep 15, 2023
1fe48fa
Testing assistant
raych1 Sep 18, 2023
23ede72
Merge pull request #3022 from test-repo-billy/user/raych1/test-assistant
raych1 Sep 18, 2023
c3a4421
Update widgets.json
raych1 Sep 18, 2023
7df9bd5
Merge pull request #3023 from test-repo-billy/user/raych1/test-sdk-as…
raych1 Sep 18, 2023
80ebd30
Merge branch 'Azure:main' into main
konrad-jamrozik Sep 29, 2023
e31cc31
Create bug.md (#3051)
raych1 Oct 26, 2023
d5975d6
Rename bug.md to bug_report.md (#3052)
raych1 Oct 26, 2023
d9f7ab1
Update issue templates (#3053)
raych1 Oct 26, 2023
039bbb3
Update bug_report.md (#3054)
raych1 Oct 26, 2023
4b4e0b0
issue template update (#3055)
raych1 Oct 26, 2023
16ef281
Merge branch 'Azure:main' into main
konrad-jamrozik Nov 14, 2023
85f03c4
Update README.md
Nov 14, 2023
fc580aa
Merge pull request #3089 from test-repo-billy/konrad-jamrozik-patch-5
Nov 14, 2023
581769e
Update README.md
Nov 14, 2023
8491587
Merge pull request #3090 from test-repo-billy/konrad-jamrozik-patch-6
Nov 14, 2023
7832735
Update README.md
Nov 15, 2023
3c19f6f
Merge pull request #3092 from test-repo-billy/konrad-jamrozik-patch-7
Nov 15, 2023
36263d6
Update README.md
Nov 16, 2023
1a7ca15
Merge pull request #3093 from test-repo-billy/konrad-jamrozik-patch-8
Nov 16, 2023
fc73473
Merge branch 'Azure:main' into main
konrad-jamrozik Dec 4, 2023
f9d3a2f
Merge branch 'Azure:main' into main
konrad-jamrozik Dec 5, 2023
f6517e2
Merge branch 'Azure:main' into main
konrad-jamrozik Dec 8, 2023
fc30ae4
Merge branch 'Azure:main' into main
konrad-jamrozik Dec 10, 2023
dfd6d0f
loadtesting, update specificationRepositoryConfiguration.json and tes…
haolingdong-msft Dec 22, 2023
9336afa
Update specificationRepositoryConfiguration.json (#3160)
haolingdong-msft Dec 22, 2023
862e338
test
JackTn Dec 25, 2023
022eaeb
fix
JackTn Dec 27, 2023
d68ddd2
mgmt_tsp_automation_conf
XiaofeiCao Apr 19, 2024
b2a83a9
Merge pull request #3295 from test-repo-billy/mgmt_tsp_automation_config
XiaofeiCao Apr 19, 2024
1c2ebc4
switch java branch override
weidongxu-microsoft Apr 22, 2024
9bcccc7
Merge pull request #3296 from test-repo-billy/java-tsp-client-branch
weidongxu-microsoft Apr 22, 2024
3d8fc41
Merge branch 'Azure:main' into main
JackTn Apr 24, 2024
d0c1285
add change
JackTn Apr 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug Report
about: Report bugs.
---
### Bug Report

<!--
Thank you for opening a bug report. For faster processing, please include:
-->

- What is your query?

- What is the link if your query contain a github spec PR?

- What is the problem?

- What is your expectation?

- What is the Screenshot if have?

- What is the link to your post in Teams Channel?

- Anything we should know about your environment.

<!--
Thanks!
-->
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
Original file line number Diff line number Diff line change
Expand Up @@ -1233,39 +1233,6 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images": {
"get": {
"tags": [
"Images"
],
"operationId": "Images_List",
"description": "Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ImageListResult"
}
}
},
"x-ms-examples": {
"List all virtual machine images in a subscription.": {
"$ref": "./examples/ListImagesInASubscription.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture": {
"post": {
"tags": [
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
{
"swagger": "2.0",
"info": {
"title": "ComputeManagementClient",
"description": "The Compute Management Client.",
"version": "2023-12-01"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets": {
"get": {
"tags": [
"AvailabilitySets"
],
"operationId": "AvailabilitySets_ListBySubscription",
"description": "Lists all availability sets in a subscription.",
"parameters": [
{
"$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply to the operation. Allowed values are 'instanceView'."
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/AvailabilitySetListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"List availability sets in a subscription.": {
"$ref": "./examples/availabilitySetExamples/AvailabilitySet_ListBySubscription.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets": {
"get": {
"tags": [
"AvailabilitySets"
],
"operationId": "AvailabilitySets_List",
"description": "Lists all availability sets in a resource group.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/AvailabilitySetListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"AvailabilitySet_List_MaximumSet_Gen": {
"$ref": "./examples/availabilitySetExamples/AvailabilitySet_List_MaximumSet_Gen.json"
},
"AvailabilitySet_List_MinimumSet_Gen": {
"$ref": "./examples/availabilitySetExamples/AvailabilitySet_List_MinimumSet_Gen.json"
}
}
}
}
},
"definitions": {
"AvailabilitySetProperties": {
"properties": {
"platformUpdateDomainCount": {
"type": "integer",
"format": "int32",
"description": "Update Domain count."
},
"platformFaultDomainCount": {
"type": "integer",
"format": "int32",
"description": "Fault Domain count."
},
"virtualMachines": {
"type": "array",
"items": {
"$ref": "../../../common-types/v1/common.json#/definitions/SubResource"
},
"description": "A list of references to all virtual machines in the availability set."
},
"proximityPlacementGroup": {
"$ref": "../../../common-types/v1/common.json#/definitions/SubResource",
"description": "Specifies information about the proximity placement group that the availability set should be assigned to. Minimum api-version: 2018-04-01."
},
"statuses": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "./computeRPCommon.json#/definitions/InstanceViewStatus"
},
"x-ms-identifiers": [],
"description": "The resource status information."
}
},
"description": "The instance view of a resource."
},
"AvailabilitySetSkuType": {
"type": "string",
"description": "Specifies the sku of an Availability Set. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
"enum": [
"Classic",
"Aligned"
],
"x-ms-enum": {
"name": "AvailabilitySetSkuTypes",
"modelAsString": true
}
},
"AvailabilitySet": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/AvailabilitySetProperties"
},
"sku": {
"$ref": "./computeRPCommon.json#/definitions/Sku",
"description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'."
}
},
"allOf": [
{
"$ref": "../../../common-types/v1/common.json#/definitions/Resource"
}
],
"description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added to an availability set at creation time. An existing VM cannot be added to an availability set."
},
"AvailabilitySetUpdate": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/AvailabilitySetProperties"
},
"sku": {
"$ref": "./computeRPCommon.json#/definitions/Sku",
"description": "Sku of the availability set"
}
},
"allOf": [
{
"$ref": "./computeRPCommon.json#/definitions/UpdateResource"
}
],
"description": "Specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated."
},
"AvailabilitySetListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/AvailabilitySet"
},
"description": "The list of availability sets"
},
"nextLink": {
"type": "string",
"description": "The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the next page of AvailabilitySets."
}
},
"required": [
"value"
],
"description": "The List Availability Set operation response."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2023-12-01",
"availabilitySetName": "myAvailabilitySet",
"parameters": {
"location": "westus",
"properties": {
"platformFaultDomainCount": 2,
"platformUpdateDomainCount": 20
}
}
},
"responses": {
"200": {
"body": {
"sku": {
"name": "Classic"
},
"name": "myAvailabilitySet",
"properties": {
"platformFaultDomainCount": 2,
"platformUpdateDomainCount": 20
},
"location": "westus",
"type": "Microsoft.Compute/availabilitySets",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/myAvailabilitySet"
}
}
}
}
Loading