Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

EntraIdExternalApiPermission

Struct
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26565.2

A permission of an API that is not an Aspire resource.

type EntraIdExternalApiPermission struct {
Name string `json:"Name"`
Type *EntraIdPermissionType `json:"Type"`
Id *string `json:"Id"`
}

Fields

Namestring
Gets the permission's name, such as User.Read.
Type*EntraIdPermissionTypeoptional
Gets the kind of permission. Defaults to a delegated permission.
Id*stringoptional
Gets the permission's ID as a GUID. Required for a custom API and for a permission that a well-known API does not list by name.