Skip to content

Commit

Permalink
Remove PATCH spec and PATCH suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
lkumaar committed Sep 26, 2024
1 parent 2fe70d5 commit 4b884a3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 287 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1809,67 +1809,6 @@
}
}
},
"patch": {
"tags": [
"GalleryInVMAccessControlProfiles"
],
"operationId": "GalleryInVMAccessControlProfiles_Update",
"description": "Update a gallery inVMAccessControlProfile.",
"parameters": [
{
"$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"name": "galleryName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be updated."
},
{
"name": "inVMAccessControlProfileName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the gallery inVMAccessControlProfile to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters."
},
{
"$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
},
{
"name": "galleryInVMAccessControlProfile",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/GalleryInVMAccessControlProfileUpdate"
},
"description": "Parameters supplied to the update gallery inVMAccessControlProfile operation."
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/GalleryInVMAccessControlProfile"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Update a gallery inVMAccessControlProfile.": {
"$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfile_Update.json"
}
}
},
"get": {
"tags": [
"GalleryInVMAccessControlProfiles"
Expand Down Expand Up @@ -2061,74 +2000,6 @@
}
}
},
"patch": {
"tags": [
"GalleryInVMAccessControlProfileVersions"
],
"operationId": "GalleryInVMAccessControlProfileVersions_Update",
"description": "Update a gallery inVMAccessControlProfile version.",
"parameters": [
{
"$ref": "../../../common-types/v1/common.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"name": "galleryName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the Shared Image Gallery in which the inVMAccessControlProfile resides."
},
{
"name": "inVMAccessControlProfileName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version is to be updated."
},
{
"name": "inVMAccessControlProfileVersionName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the gallery inVMAccessControlProfile version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>"
},
{
"$ref": "../../../common-types/v1/common.json#/parameters/ApiVersionParameter"
},
{
"name": "galleryInVMAccessControlProfileVersion",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/GalleryInVMAccessControlProfileVersionUpdate"
},
"description": "Parameters supplied to the update gallery inVMAccessControlProfile version operation."
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/GalleryInVMAccessControlProfileVersion"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../common-types/v1/common.json#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Update a Gallery InVMAccessControlProfile Version.": {
"$ref": "./examples/galleryResourceProfileExamples/GalleryInVMAccessControlProfileVersion_Update.json"
}
}
},
"get": {
"tags": [
"GalleryInVMAccessControlProfileVersions"
Expand Down Expand Up @@ -3896,20 +3767,6 @@
],
"description": "Specifies information about the gallery inVMAccessControlProfile that you want to create or update."
},
"GalleryInVMAccessControlProfileUpdate": {
"type": "object",
"properties": {
"properties": {
"$ref": "#/definitions/GalleryInVMAccessControlProfileProperties"
}
},
"allOf": [
{
"$ref": "#/definitions/UpdateResourceDefinition"
}
],
"description": "Specifies information about the gallery inVMAccessControlProfile that you want to update."
},
"GalleryInVMAccessControlProfileProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -3978,21 +3835,6 @@
],
"description": "Specifies information about the gallery inVMAccessControlProfile version that you want to create or update."
},
"GalleryInVMAccessControlProfileVersionUpdate": {
"type": "object",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/GalleryInVMAccessControlProfileVersionProperties"
}
},
"allOf": [
{
"$ref": "#/definitions/UpdateResourceDefinition"
}
],
"description": "Specifies information about the gallery inVMAccessControlProfile version that you want to update."
},
"GalleryInVMAccessControlProfileVersionProperties": {
"type": "object",
"properties": {
Expand Down
9 changes: 0 additions & 9 deletions specification/compute/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,6 @@ suppressions:
- code: XmsPageableForListCalls
reason: False positive error as API Path does not match ARM Lint check formatting, requesting to suppress due to approval from reviewer.
from: diagnostic.json
- code: PatchResponseCodes
reason: PATCH and PUT follow the same behavior and response codes in Compute. Keeping it for legacy reasons.
from: gallery.json
- code: PatchBodyParametersSchema
reason: PATCH and PUT follow the same behavior and response codes in Compute. Keeping it for legacy reasons.
from: gallery.json
- code: LroPatch202
reason: PATCH and PUT follow the same behavior and response codes in Compute. Keeping it for legacy reasons.
from: gallery.json
- code: AvoidAdditionalProperties
reason: The gallery backend service just treats this as a bag of properties to pass to downstream services.
from: gallery.json
Expand Down

0 comments on commit 4b884a3

Please sign in to comment.