Skip to content

Commit

Permalink
add change
Browse files Browse the repository at this point in the history
  • Loading branch information
JackTn committed Sep 13, 2024
1 parent ae73dff commit f515d54
Show file tree
Hide file tree
Showing 21 changed files with 18 additions and 303 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,50 +34,6 @@
}
},
"paths": {
"/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}": {
"get": {
"tags": [
"ProviderOperationsMetadata"
],
"operationId": "ProviderOperationsMetadata_Get",
"description": "Gets provider operations metadata for the specified resource provider.",
"parameters": [
{
"$ref": "#/parameters/ResourceProviderNamespaceParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"default": "resourceTypes",
"description": "Specifies whether to expand the values."
}
],
"responses": {
"200": {
"description": "OK - Returns the operations metadata.",
"schema": {
"$ref": "#/definitions/ProviderOperationsMetadata"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"List provider operations metadata for resource provider": {
"$ref": "./examples/GetProviderOperationsRP.json"
}
}
}
},
"/providers/Microsoft.Authorization/providerOperations": {
"get": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,55 +80,6 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/roleAssignments": {
"get": {
"tags": [
"RoleAssignments"
],
"operationId": "RoleAssignments_ListForResourceGroup",
"description": "List all role assignments that apply to a resource group.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/RoleAssignmentFilterParameter"
},
{
"$ref": "#/parameters/TenantIdQueryParameter"
}
],
"responses": {
"200": {
"description": "Returns an array of role assignments.",
"schema": {
"$ref": "#/definitions/RoleAssignmentListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-odata": "#/definitions/RoleAssignmentFilter",
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"List role assignments for resource group": {
"$ref": "./examples/RoleAssignments_ListForResourceGroup.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/roleAssignments": {
"get": {
"tags": [
Expand Down
2 changes: 1 addition & 1 deletion specification/authorization/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ These are the global settings for the Authorization API.

``` yaml
openapi-type: arm
tag: package-2024-02-01-preview
tag: package-2022-04-01
```
### Suppression
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,94 +27,6 @@
}
},
"paths": {
"/providers/Microsoft.Automanage/bestPractices/{bestPracticeName}": {
"get": {
"tags": [
"BestPractices"
],
"operationId": "BestPractices_Get",
"description": "Get information about a Automanage best practice",
"x-ms-examples": {
"Get an Automanage best practice ": {
"$ref": "./examples/getBestPractice.json"
}
},
"parameters": [
{
"name": "bestPracticeName",
"in": "path",
"required": true,
"type": "string",
"description": "The Automanage best practice name."
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK. The Automanage best practice was returned successfully.",
"schema": {
"$ref": "#/definitions/BestPractice"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"produces": [
"application/json"
],
"consumes": [
"application/json"
]
}
},
"/providers/Microsoft.Automanage/bestPractices": {
"get": {
"tags": [
"BestPractices"
],
"operationId": "BestPractices_ListByTenant",
"description": "Retrieve a list of Automanage best practices",
"x-ms-examples": {
"List Automanage bestPractices ": {
"$ref": "./examples/listBestPracticesByTenant.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK. List of Automanage bestPractices configuration profile.",
"schema": {
"$ref": "#/definitions/BestPracticeList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
},
"produces": [
"application/json"
],
"consumes": [
"application/json"
]
}
},
"/providers/Microsoft.Automanage/bestPractices/{bestPracticeName}/versions/{versionName}": {
"get": {
"tags": [
Expand Down
2 changes: 1 addition & 1 deletion specification/azurefleet/AzureFleet.Management/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using Azure.ResourceManager;

@armProviderNamespace("Microsoft.AzureFleet")
@service({
title: "Microsoft.AzureFleet",
title: "Microsoft.AzureFleet test",
})
@versioned(Versions)
namespace Microsoft.AzureFleet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Microsoft.AzureFleet",
"title": "Microsoft.AzureFleet test",
"version": "2023-11-01-preview",
"x-typespec-generated": [
{
Expand Down Expand Up @@ -72,14 +72,6 @@
}
}
},
"x-ms-examples": {
"Operations_List_MaximumSet": {
"$ref": "./examples/Operations_List_MaximumSet.json"
},
"Operations_List_MinimumSet": {
"$ref": "./examples/Operations_List_MinimumSet.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down Expand Up @@ -114,14 +106,6 @@
}
}
},
"x-ms-examples": {
"Fleets_ListBySubscription_MaximumSet": {
"$ref": "./examples/Fleets_ListBySubscription_MaximumSet.json"
},
"Fleets_ListBySubscription_MinimumSet": {
"$ref": "./examples/Fleets_ListBySubscription_MinimumSet.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down Expand Up @@ -159,14 +143,6 @@
}
}
},
"x-ms-examples": {
"Fleets_ListByResourceGroup_MaximumSet": {
"$ref": "./examples/Fleets_ListByResourceGroup_MaximumSet.json"
},
"Fleets_ListByResourceGroup_MinimumSet": {
"$ref": "./examples/Fleets_ListByResourceGroup_MinimumSet.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down Expand Up @@ -211,14 +187,6 @@
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Fleets_Get_MaximumSet": {
"$ref": "./examples/Fleets_Get_MaximumSet.json"
},
"Fleets_Get_MinimumSet": {
"$ref": "./examples/Fleets_Get_MinimumSet.json"
}
}
},
"put": {
Expand Down Expand Up @@ -282,14 +250,6 @@
}
}
},
"x-ms-examples": {
"Fleets_CreateOrUpdate_MaximumSet": {
"$ref": "./examples/Fleets_CreateOrUpdate_MaximumSet.json"
},
"Fleets_CreateOrUpdate_MinimumSet": {
"$ref": "./examples/Fleets_CreateOrUpdate_MinimumSet.json"
}
},
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
Expand Down Expand Up @@ -357,14 +317,6 @@
}
}
},
"x-ms-examples": {
"Fleets_Update_MaximumSet": {
"$ref": "./examples/Fleets_Update_MaximumSet.json"
},
"Fleets_Update_MinimumSet": {
"$ref": "./examples/Fleets_Update_MinimumSet.json"
}
},
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
Expand Down Expand Up @@ -420,14 +372,6 @@
}
}
},
"x-ms-examples": {
"Fleets_Delete_MaximumSet": {
"$ref": "./examples/Fleets_Delete_MaximumSet.json"
},
"Fleets_Delete_MinimumSet": {
"$ref": "./examples/Fleets_Delete_MinimumSet.json"
}
},
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
Expand Down Expand Up @@ -474,11 +418,6 @@
}
}
},
"x-ms-examples": {
"Fleets_ListVirtualMachineScaleSets_MaximumSet": {
"$ref": "./examples/Fleets_ListVirtualMachineScaleSets_MaximumSet.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down
Loading

0 comments on commit f515d54

Please sign in to comment.