-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into config/remove-unusued-versions
- Loading branch information
Showing
2,672 changed files
with
101,554 additions
and
1,974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
.github/workflows/unit-test-end-to-end-microsoft-graph.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: Verify All Microsoft Graph Services can be Imported and Generated | ||
on: | ||
pull_request: | ||
types: ['opened', 'synchronize'] | ||
paths: | ||
- '.github/workflows/unit-test-end-to-end-microsoft-graph.yaml' | ||
- 'config/microsoft-graph.hcl' | ||
- 'tools/generator-go-sdk/**' | ||
- 'tools/importer-msgraph-metadata/**' | ||
|
||
jobs: | ||
test: | ||
runs-on: custom-linux-xl | ||
strategy: | ||
fail-fast: true | ||
steps: | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
submodules: recursive | ||
|
||
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | ||
with: | ||
go-version-file: ./.go-version | ||
|
||
- name: "Build and Run importer-msgraph-metadata" | ||
id: import-data | ||
run: | | ||
cd ./tools/importer-msgraph-metadata | ||
make tools | ||
make build | ||
make import | ||
- name: "Run the Go SDK Generator" | ||
run: | | ||
# go go gadget generator | ||
./scripts/automation-generate-go-sdk.sh microsoft-graph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...resource-manager/ApiManagement/2024-05-01/AllPolicies/Constant-PolicyComplianceState.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "PolicyComplianceState", | ||
"type": "String", | ||
"values": [ | ||
{ | ||
"key": "Compliant", | ||
"value": "Compliant" | ||
}, | ||
{ | ||
"key": "NonCompliant", | ||
"value": "NonCompliant" | ||
}, | ||
{ | ||
"key": "Pending", | ||
"value": "Pending" | ||
} | ||
] | ||
} |
57 changes: 57 additions & 0 deletions
57
...ions/resource-manager/ApiManagement/2024-05-01/AllPolicies/Model-AllPoliciesContract.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"name": "AllPoliciesContract", | ||
"fields": [ | ||
{ | ||
"containsDiscriminatedTypeValue": false, | ||
"jsonName": "id", | ||
"name": "Id", | ||
"objectDefinition": { | ||
"type": "String", | ||
"referenceName": null | ||
}, | ||
"optional": true, | ||
"readOnly": false, | ||
"required": false, | ||
"sensitive": false | ||
}, | ||
{ | ||
"containsDiscriminatedTypeValue": false, | ||
"jsonName": "name", | ||
"name": "Name", | ||
"objectDefinition": { | ||
"type": "String", | ||
"referenceName": null | ||
}, | ||
"optional": true, | ||
"readOnly": false, | ||
"required": false, | ||
"sensitive": false | ||
}, | ||
{ | ||
"containsDiscriminatedTypeValue": false, | ||
"jsonName": "properties", | ||
"name": "Properties", | ||
"objectDefinition": { | ||
"type": "Reference", | ||
"referenceName": "AllPoliciesContractProperties" | ||
}, | ||
"optional": true, | ||
"readOnly": false, | ||
"required": false, | ||
"sensitive": false | ||
}, | ||
{ | ||
"containsDiscriminatedTypeValue": false, | ||
"jsonName": "type", | ||
"name": "Type", | ||
"objectDefinition": { | ||
"type": "String", | ||
"referenceName": null | ||
}, | ||
"optional": true, | ||
"readOnly": false, | ||
"required": false, | ||
"sensitive": false | ||
} | ||
] | ||
} |
31 changes: 31 additions & 0 deletions
31
...rce-manager/ApiManagement/2024-05-01/AllPolicies/Model-AllPoliciesContractProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "AllPoliciesContractProperties", | ||
"fields": [ | ||
{ | ||
"containsDiscriminatedTypeValue": false, | ||
"jsonName": "complianceState", | ||
"name": "ComplianceState", | ||
"objectDefinition": { | ||
"type": "Reference", | ||
"referenceName": "PolicyComplianceState" | ||
}, | ||
"optional": true, | ||
"readOnly": false, | ||
"required": false, | ||
"sensitive": false | ||
}, | ||
{ | ||
"containsDiscriminatedTypeValue": false, | ||
"jsonName": "referencePolicyId", | ||
"name": "ReferencePolicyId", | ||
"objectDefinition": { | ||
"type": "String", | ||
"referenceName": null | ||
}, | ||
"optional": true, | ||
"readOnly": false, | ||
"required": false, | ||
"sensitive": false | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
...itions/resource-manager/ApiManagement/2024-05-01/AllPolicies/Operation-ListByService.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "ListByService", | ||
"contentType": "application/json; charset=utf-8", | ||
"expectedStatusCodes": [ | ||
200 | ||
], | ||
"fieldContainingPaginationDetails": "nextLink", | ||
"longRunning": false, | ||
"httpMethod": "GET", | ||
"resourceIdName": "ServiceId", | ||
"responseObject": { | ||
"type": "Reference", | ||
"referenceName": "AllPoliciesContract" | ||
}, | ||
"uriSuffix": "/allPolicies" | ||
} |
43 changes: 43 additions & 0 deletions
43
...finitions/resource-manager/ApiManagement/2024-05-01/AllPolicies/ResourceId-ServiceId.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "ServiceId", | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}", | ||
"segments": [ | ||
{ | ||
"name": "staticSubscriptions", | ||
"type": "Static", | ||
"value": "subscriptions" | ||
}, | ||
{ | ||
"name": "subscriptionId", | ||
"type": "SubscriptionId" | ||
}, | ||
{ | ||
"name": "staticResourceGroups", | ||
"type": "Static", | ||
"value": "resourceGroups" | ||
}, | ||
{ | ||
"name": "resourceGroupName", | ||
"type": "ResourceGroup" | ||
}, | ||
{ | ||
"name": "staticProviders", | ||
"type": "Static", | ||
"value": "providers" | ||
}, | ||
{ | ||
"name": "staticMicrosoftApiManagement", | ||
"type": "ResourceProvider", | ||
"value": "Microsoft.ApiManagement" | ||
}, | ||
{ | ||
"name": "staticService", | ||
"type": "Static", | ||
"value": "service" | ||
}, | ||
{ | ||
"name": "serviceName", | ||
"type": "UserSpecified" | ||
} | ||
] | ||
} |
30 changes: 30 additions & 0 deletions
30
api-definitions/resource-manager/ApiManagement/2024-05-01/Api/Constant-ApiType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "ApiType", | ||
"type": "String", | ||
"values": [ | ||
{ | ||
"key": "Graphql", | ||
"value": "graphql" | ||
}, | ||
{ | ||
"key": "Grpc", | ||
"value": "grpc" | ||
}, | ||
{ | ||
"key": "HTTP", | ||
"value": "http" | ||
}, | ||
{ | ||
"key": "Odata", | ||
"value": "odata" | ||
}, | ||
{ | ||
"key": "Soap", | ||
"value": "soap" | ||
}, | ||
{ | ||
"key": "Websocket", | ||
"value": "websocket" | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
...ons/resource-manager/ApiManagement/2024-05-01/Api/Constant-BearerTokenSendingMethods.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "BearerTokenSendingMethods", | ||
"type": "String", | ||
"values": [ | ||
{ | ||
"key": "AuthorizationHeader", | ||
"value": "authorizationHeader" | ||
}, | ||
{ | ||
"key": "Query", | ||
"value": "query" | ||
} | ||
] | ||
} |
Oops, something went wrong.