Skip to content

Commit 8dd1025

Browse files
authored
Add more parameters to common types (#21420)
* Add more parameters to common types * Put back the line at the end of the file * Skip URL encoding on already-encoded parameter
1 parent cef1e21 commit 8dd1025

File tree

1 file changed

+47
-1
lines changed
  • specification/common-types/resource-management/v4

1 file changed

+47
-1
lines changed

specification/common-types/resource-management/v4/types.json

+47-1
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,36 @@
649649
"maxLength": 90,
650650
"x-ms-parameter-location": "method"
651651
},
652+
"ManagementGroupNameParameter": {
653+
"name": "managementGroupName",
654+
"in": "path",
655+
"required": true,
656+
"type": "string",
657+
"description": "The name of the management group. The name is case insensitive.",
658+
"minLength": 1,
659+
"maxLength": 90,
660+
"x-ms-parameter-location": "method"
661+
},
662+
"ScopeParameter": {
663+
"name": "scope",
664+
"in": "path",
665+
"required": true,
666+
"type": "string",
667+
"description": "The scope at which the operation is performed.",
668+
"minLength": 1,
669+
"maxLength": 90,
670+
"x-ms-parameter-location": "method",
671+
"x-ms-skip-url-encoding": true
672+
},
673+
"TenantIdParameter": {
674+
"name": "tenantId",
675+
"in": "path",
676+
"description": "The Azure tenant ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)",
677+
"required": true,
678+
"type": "string",
679+
"format": "uuid",
680+
"x-ms-parameter-location": "method"
681+
},
652682
"OperationIdParameter": {
653683
"name": "operationId",
654684
"in": "path",
@@ -663,9 +693,25 @@
663693
"in": "path",
664694
"required": true,
665695
"type": "string",
666-
"description": "The name of Azure region.",
696+
"description": "The name of the Azure region.",
667697
"minLength": 1,
668698
"x-ms-parameter-location": "method"
699+
},
700+
"If-Match": {
701+
"name": "ifMatch",
702+
"in": "header",
703+
"required": true,
704+
"type": "string",
705+
"description": "The If-Match header that makes a request conditional.",
706+
"x-ms-parameter-location": "method"
707+
},
708+
"If-None-Match": {
709+
"name": "ifNoneMatch",
710+
"in": "header",
711+
"required": true,
712+
"type": "string",
713+
"description": "The If-None-Match header that makes a request conditional.",
714+
"x-ms-parameter-location": "method"
669715
}
670716
}
671717
}

0 commit comments

Comments
 (0)