Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@
"$ref": "#/definitions/ActionRequest"
}
},
"201": {
"description": "Succeeded to create (submit) an action request.",
"schema": {
"$ref": "#/definitions/ActionRequest"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -355,7 +361,8 @@
"in": "path",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
"x-ms-parameter-location": "method",
"pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$"
},
"RequestTypeFilter": {
"name": "requestType",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@
}
],
"responses": {
"200": {
"description": "The test base custom image was deleted successfully."
},
"202": {
"description": "The test base custom image 'delete' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
"headers": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@
"$ref": "#/definitions/DraftPackageResource"
}
},
"201": {
"description": "The Test Base Draft Package was successfully created.",
"schema": {
"$ref": "#/definitions/DraftPackageResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -373,9 +379,6 @@
}
}
},
"200": {
"description": "The files and metadata are copied from the package successfully."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -441,9 +444,6 @@
}
}
},
"200": {
"description": "The 'ExtractFile' operation of Draft Package is completed."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -509,9 +509,6 @@
}
}
},
"200": {
"description": "The folder and package files are generated successfully."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -1123,7 +1120,8 @@
"required": true,
"type": "string",
"x-ms-parameter-location": "method",
"description": "The resource name of the Test Base Draft Package."
"description": "The resource name of the Test Base Draft Package.",
"pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$"
},
"PackageNameQueryParameter": {
"name": "packageName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,31 @@
"status": "InReview"
}
}
},
"201": {
"body": {
"name": "167184141414254",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/actionRequests/167184141414254",
"type": "Microsoft.TestBase/testBaseAccounts/actionRequests",
"properties": {
"requestType": "PreReleaseAccess",
"preReleaseAccessRequestSpec": {
"organizationName": "example-org-name",
"email": "example@example.com",
"engagements": [
"MVI"
],
"streetAddress": "example",
"city": "example",
"stateOrProvince": "example",
"zipCode": "example",
"countryAndRegion": "example",
"companyWebsite": "example.com"
},
"creationDate": "2022-12-24T06:52:16.820Z",
"status": "InReview"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"api-version": "2023-11-01-preview"
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customImages/image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"Azure-AsyncOperation": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview",
"Location": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview"
}
},
"200": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,20 @@
"sourceType": "Native"
}
}
},
"201": {
"body": {
"name": "61d99543-14ff-47ae-bf03-8a8b8445502e",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/draftPackages/61d99543-14ff-47ae-bf03-8a8b8445502e",
"type": "Microsoft.TestBase/testBaseAccounts/draftpackages",
"properties": {
"applicationName": "contoso-package",
"version": "1.0",
"appFileName": "TestBaseM365DigitalClock.msi",
"useSample": false,
"sourceType": "Native"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"Azure-AsyncOperation": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview",
"Location": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview"
}
},
"200": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"Azure-AsyncOperation": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview",
"Location": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview"
}
},
"200": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,8 @@
"required": true,
"type": "string",
"x-ms-parameter-location": "method",
"description": "The resource name of a first party application."
"description": "The resource name of a first party application.",
"pattern": "^[A-Za-z0-9]([A-Za-z0-9]|(-[A-Za-z0-9]))+$"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -1196,7 +1197,8 @@
"required": true,
"type": "string",
"x-ms-parameter-location": "method",
"description": "The resource name of a gallery application SKU."
"description": "The resource name of a gallery application SKU.",
"pattern": "^[A-Za-z0-9]([A-Za-z0-9]|(-[A-Za-z0-9]))+$"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -3131,7 +3133,8 @@
"required": true,
"type": "string",
"x-ms-parameter-location": "method",
"description": "The resource name of an Available In-place Upgrade OS."
"description": "The resource name of an Available In-place Upgrade OS.",
"pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|(-{1,3}[A-Za-z0-9]))+$"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -6500,7 +6503,8 @@
"required": true,
"type": "string",
"x-ms-parameter-location": "method",
"description": "The resource name of a gallery application."
"description": "The resource name of a gallery application.",
"pattern": "^[A-Za-z0-9]([A-Za-z0-9]|(-[A-Za-z0-9]))+$"
},
"KeywordParameter": {
"name": "keyword",
Expand Down Expand Up @@ -6533,7 +6537,8 @@
"modelAsString": true
},
"x-ms-parameter-location": "method",
"description": "The name of the free hour balance of a Test Base Account."
"description": "The name of the free hour balance of a Test Base Account.",
"pattern": "^[A-Za-z]+$"
}
}
}