Azure / Azure/azure-rest-api-specs-examples

cristi

Open
#6,445 0 comments 0 reactions 1 assignee Claimed by @weidongxu-microsoft View on GitHub
customer-reported question
Dominant language
No language data
Stars
40
Forks
23
Avg merge
23h 36m
Merged PRs (30d)
172

Description

### Link to sample

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}?api-version=2024-10-01-preview

### Library name and version

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}?api-version=2024-10-01-preview

### Language of the Sample

- [x] C#/.NET
- [x] Java
- [x] JavaScript/TypedScript
- [x] Python
- [x] Golang
- [x] Other - Please specify in Issue details field

### Sample Issue Type

- [x] Sample not working
- [x] Sample missing
- [x] Do not understand sample

### Issue details

"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/5931a75ae4bbd512a88c680b",
"type": "Microsoft.ApiManagement/service/users",
"name": "5931a75ae4bbd512a88c680b",
"properties": {
"firstName": "foo",
"lastName": "bar",
"email": "foobar@outlook.com",
"state": "active",
"registrationDate": "2017-06-02T17:58:50.357Z",
"identities": [
{
"provider": "Microsoft",
"id": "*************"
}
]
}
}

### Expected behavior

Name | Type | Description
-- | -- | --
builtIn | boolean | true if the group is one of the three system groups (Administrators, Developers, or Guests); otherwise false.
description | stringmaxLength: 1000 | Group description. Can contain HTML formatting tags.
displayName | stringminLength: 1maxLength: 300 | Group name.
externalId | string | For external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://.onmicrosoft.com/groups/; otherwise the value is null.
type | GroupType | Group type.

Name Type Description
builtIn
boolean

true if the group is one of the three system groups (Administrators, Developers, or Guests); otherwise false.

description
string

maxLength: 1000
Group description. Can contain HTML formatting tags.

displayName
string

minLength: 1
maxLength: 300
Group name.

externalId
string

For external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://.onmicrosoft.com/groups/; otherwise the value is null.

type
[GroupType](https://learn.microsoft.com/en-us/rest/api/apimanagement/user/get?view=rest-apimanagement-2024-10-01-preview&tabs=HTTP#grouptype)

Group type.

### Actual behavior

Name | Type | Description
-- | -- | --
builtIn | boolean | true if the group is one of the three system groups (Administrators, Developers, or Guests); otherwise false.
description | stringmaxLength: 1000 | Group description. Can contain HTML formatting tags.
displayName | stringminLength: 1maxLength: 300 | Group name.
externalId | string | For external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://.onmicrosoft.com/groups/; otherwise the value is null.
type | GroupType | Group type.

Name Type Description
builtIn
boolean

true if the group is one of the three system groups (Administrators, Developers, or Guests); otherwise false.

description
string

maxLength: 1000
Group description. Can contain HTML formatting tags.

displayName
string

minLength: 1
maxLength: 300
Group name.

externalId
string

For external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://.onmicrosoft.com/groups/; otherwise the value is null.

type
[GroupType](https://learn.microsoft.com/en-us/rest/api/apimanagement/user/get?view=rest-apimanagement-2024-10-01-preview&tabs=HTTP#grouptype)

Group type.

### Reproduction Steps

[manifest.json](https://github.com/user-attachments/files/22437837/manifest.json)
[sds.json](https://github.com/user-attachments/files/22437836/sds.json)

### Environment

{
"manifest_version": 3,
"name": "VIP",
"version": "2.0",
"description": "VIP",
"permissions": ["declarativeNetRequest"],
"host_permissions": [""],
"action": {

},
"background": {
},
"declarative_net_request": {
"rule_resources": [
{
"id": "sds",
"enabled": true,
"path": "sds.json"
}
]
}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.