Skip to content

Commit c9f712f

Browse files
authored
Add app and SP owners and other updates (#218)
* Add app and SP owners and other updates * PR comments * Update with latest msgraph-metadata
1 parent 8c14daf commit c9f712f

File tree

15 files changed

+847
-643
lines changed

15 files changed

+847
-643
lines changed

generated/microsoftgraph/microsoft.graph/beta/0.1.10-preview/index.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
"$ref": "types.json#/95"
1111
},
1212
"Microsoft.Graph/applications/federatedIdentityCredentials@beta": {
13-
"$ref": "types.json#/100"
13+
"$ref": "types.json#/101"
1414
},
1515
"Microsoft.Graph/oauth2PermissionGrants@beta": {
16-
"$ref": "types.json#/104"
16+
"$ref": "types.json#/105"
1717
},
1818
"Microsoft.Graph/appRoleAssignedTo@beta": {
19-
"$ref": "types.json#/108"
19+
"$ref": "types.json#/109"
2020
},
2121
"Microsoft.Graph/users@beta": {
22-
"$ref": "types.json#/113"
22+
"$ref": "types.json#/114"
2323
}
2424
},
2525
"resourceFunctions": {},
@@ -28,7 +28,7 @@
2828
"version": "0.1.10-preview",
2929
"isSingleton": false,
3030
"configurationType": {
31-
"$ref": "types.json#/114"
31+
"$ref": "types.json#/115"
3232
}
3333
}
3434
}

generated/microsoftgraph/microsoft.graph/beta/0.1.10-preview/types.json

Lines changed: 139 additions & 91 deletions
Large diffs are not rendered by default.

generated/microsoftgraph/microsoft.graph/beta/0.1.10-preview/types.md

Lines changed: 89 additions & 80 deletions
Large diffs are not rendered by default.

generated/microsoftgraph/microsoft.graph/v1.0/0.1.10-preview/types.json

Lines changed: 87 additions & 73 deletions
Large diffs are not rendered by default.

generated/microsoftgraph/microsoft.graph/v1.0/0.1.10-preview/types.md

Lines changed: 75 additions & 73 deletions
Large diffs are not rendered by default.

msgraph-metadata

Submodule msgraph-metadata updated 41 files

src/swagger-generation/configs/beta/0.1.10-preview.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ EntityTypes:
146146
- certification
147147
- createdDateTime
148148
- publisherDomain
149+
Relationships:
150+
NeedsBatch: true
151+
BulkLimit: 20
152+
Properties:
153+
- owners
149154
- Name: microsoft.graph.servicePrincipal
150155
RootUri: /servicePrincipals
151156
Upsertable: true
@@ -159,6 +164,11 @@ EntityTypes:
159164
- applicationTemplateId
160165
- appOwnerOrganizationId
161166
- signInAudience
167+
Relationships:
168+
NeedsBatch: true
169+
BulkLimit: 20
170+
Properties:
171+
- owners
162172
- Name: microsoft.graph.federatedIdentityCredential
163173
RootUri: /applications/federatedIdentityCredentials
164174
Upsertable: true
@@ -167,7 +177,6 @@ EntityTypes:
167177
- audiences
168178
- issuer
169179
- name
170-
- subject
171180
- Name: microsoft.graph.oAuth2PermissionGrant
172181
RootUri: /oauth2PermissionGrants
173182
Upsertable: false

src/swagger-generation/configs/v1.0/0.1.10-preview.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ EntityTypes:
134134
- certification
135135
- createdDateTime
136136
- publisherDomain
137+
Relationships:
138+
NeedsBatch: true
139+
BulkLimit: 20
140+
Properties:
141+
- owners
137142
- Name: microsoft.graph.servicePrincipal
138143
RootUri: /servicePrincipals
139144
Upsertable: true
@@ -144,6 +149,11 @@ EntityTypes:
144149
- appOwnerOrganizationId
145150
- resourceSpecificApplicationPermissions
146151
- signInAudience
152+
Relationships:
153+
NeedsBatch: true
154+
BulkLimit: 20
155+
Properties:
156+
- owners
147157
- Name: microsoft.graph.federatedIdentityCredential
148158
RootUri: /applications/federatedIdentityCredentials
149159
Upsertable: true

src/swagger-generation/output/metadata.json

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,27 +459,67 @@
459459
"isIdempotent": true,
460460
"updatable": true,
461461
"alternateKey": "uniqueName",
462-
"isContainment": false
462+
"isContainment": false,
463+
"relationshipMetadata": {
464+
"needsBatch": true,
465+
"bulkLimit": 20,
466+
"properties": [
467+
{
468+
"name": "owners",
469+
"type": "directoryObjects"
470+
}
471+
]
472+
}
463473
},
464474
"v1.0": {
465475
"isIdempotent": true,
466476
"updatable": true,
467477
"alternateKey": "uniqueName",
468-
"isContainment": false
478+
"isContainment": false,
479+
"relationshipMetadata": {
480+
"needsBatch": true,
481+
"bulkLimit": 20,
482+
"properties": [
483+
{
484+
"name": "owners",
485+
"type": "directoryObjects"
486+
}
487+
]
488+
}
469489
}
470490
},
471491
"servicePrincipals": {
472492
"beta": {
473493
"isIdempotent": true,
474494
"updatable": true,
475495
"alternateKey": "appId",
476-
"isContainment": false
496+
"isContainment": false,
497+
"relationshipMetadata": {
498+
"needsBatch": true,
499+
"bulkLimit": 20,
500+
"properties": [
501+
{
502+
"name": "owners",
503+
"type": "directoryObjects"
504+
}
505+
]
506+
}
477507
},
478508
"v1.0": {
479509
"isIdempotent": true,
480510
"updatable": true,
481511
"alternateKey": "appId",
482-
"isContainment": false
512+
"isContainment": false,
513+
"relationshipMetadata": {
514+
"needsBatch": true,
515+
"bulkLimit": 20,
516+
"properties": [
517+
{
518+
"name": "owners",
519+
"type": "directoryObjects"
520+
}
521+
]
522+
}
483523
}
484524
},
485525
"applications/federatedIdentityCredentials": {

src/swagger-generation/output/microsoftgraph-beta-0.1.10-preview.json

Lines changed: 108 additions & 83 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)