<br />

Added: 7

## **PROTOCOLS**

## BootController

*Defined in [fuchsia.sys2/system_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/system_controller.fidl;l=18)*
Added: 29

<br />

### Notify

Added: 29

#### Request

\<EMPTY\>

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#BootController_Notify_Result` |

## BootNotifier

*Defined in [fuchsia.sys2/system_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/system_controller.fidl;l=31)*
Added: HEAD

<br />

### OnBootComplete

Emitted when the system has finished booting.

If the system has already finished booting when the client connects, the server will
immediately emit this event.
Added: HEAD

#### Response

\<EMPTY\>

## ConfigOverride

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=360)*

Manages structured configuration override values for components.
Added: HEAD

<br />

### SetStructuredConfig

Sets structured configuration fields with override values for the
component instance identified by moniker.
Added: HEAD

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |
| `fields` | `vector<https://fuchsia.dev/reference/fuchsia.component.decl//https://fuchsia.dev/reference/fuchsia.component.decl#ConfigOverride>` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ConfigOverride_SetStructuredConfig_Result` |

### UnsetStructuredConfig

Unsets structured configuration overrides for the component instance
identified by moniker. If an empty moniker is supplied, then all
structured configuration overrides will be cleared.
Added: HEAD

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ConfigOverride_UnsetStructuredConfig_Result` |

## CrashIntrospect

*Defined in [fuchsia.sys2/crash_introspect.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/crash_introspect.fidl;l=21)*

When a thread from a component using the ELF runner crashes, the thread
koid along with other information is stored. This protocol can be used to
retrieve that stored information.

<br />

### FindComponentByThreadKoid

Given a thread koid, returns the information that was stored when the
ELF runner observed a crash from that thread.

The information for a crash is deleted when it is accessed or when 10
minutes have passed, whichever comes first.

If there is no information available on the given thread koid,
`zx::Status::NOT_FOUND` is returned.

#### Request

| Name | Type |
|---|---|
| `thread_koid` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Koid` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#CrashIntrospect_FindComponentByThreadKoid_Result` |

## InstanceIterator

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=386)*

An iterator over all instances in the realm
Added: 11

<br />

### Next

#### Request

\<EMPTY\>

#### Response

| Name | Type |
|---|---|
| `infos` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.sys2#Instance>` |

## LifecycleController

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=119)*

Mutates the component instance state in a realm.

<br />

### CreateInstance

Creates a new child instance identified by the given moniker. Relative
monikers must start with "./".

The function returns once the child instance has been added to the topology.
Added: 11

#### Request

| Name | Type |
|---|---|
| `parent_moniker` | `string:4096` |
| `collection` | `https://fuchsia.dev/reference/fuchsia.component.decl//https://fuchsia.dev/reference/fuchsia.component.decl#CollectionRef` |
| `decl` | `https://fuchsia.dev/reference/fuchsia.component.decl//https://fuchsia.dev/reference/fuchsia.component.decl#Child` |
| `args` | `https://fuchsia.dev/reference/fuchsia.component//https://fuchsia.dev/reference/fuchsia.component#CreateChildArgs` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_CreateInstance_Result` |

### DestroyInstance

Destroys the instance identified by the given moniker. Relative
monikers must start with "./".

The function returns once the child instance no longer exists in the topology.
Added: 11

#### Request

| Name | Type |
|---|---|
| `parent_moniker` | `string:4096` |
| `child` | `https://fuchsia.dev/reference/fuchsia.component.decl//https://fuchsia.dev/reference/fuchsia.component.decl#ChildRef` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_DestroyInstance_Result` |

### ResolveInstance

Resolves the instance identified by the given moniker. Relative
monikers must start with "./".

The function returns once the instance has been resolved.
Added: 11

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_ResolveInstance_Result` |

### StartInstance

Starts the instance identified by the given moniker. Relative
monikers must start with "./".

The client can pass in the server end of a channel
for the fuchsia.component.Binder protocol. This protocol
will notify the client when the instance has stopped.

The function returns once the instance has been started. Calling
StartInstance() when the instance is already running is a no-op, but
it will connect the Binder channel if a valid handle is provided.
Added: 11

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |
| `binder` | `server_end:https://fuchsia.dev/reference/fuchsia.component//https://fuchsia.dev/reference/fuchsia.component#Binder` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_StartInstance_Result` |

### StartInstanceWithArgs

Added: 22

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |
| `binder` | `server_end:https://fuchsia.dev/reference/fuchsia.component//https://fuchsia.dev/reference/fuchsia.component#Binder` |
| `args` | `https://fuchsia.dev/reference/fuchsia.component//https://fuchsia.dev/reference/fuchsia.component#StartChildArgs` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_StartInstanceWithArgs_Result` |

### StopInstance

Stops the instance identified by the given moniker. Relative
monikers must start with "./".

The function returns once the instance has been stopped.
Added: 11

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_StopInstance_Result` |

### UnresolveInstance

Unresolves the component designated by the provided moniker. Relative
monikers must start with "./".

The function returns once the instance has been unresolved.
Added: 11

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_UnresolveInstance_Result` |

## ManifestBytesIterator

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=394)*

An iterator over the bytes of an instance's manifest
Added: 11

<br />

### Next

#### Request

\<EMPTY\>

#### Response

| Name | Type |
|---|---|
| `infos` | `vector<uint8>` |

## RealmExplorer

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=412)*

Offers basic introspection into component instances under a realm.

<br />

## RealmQuery

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=243)*

Offers detailed introspection into component instances under a realm.

<br />

### ConstructNamespace

Constructs the namespace of an instance as determined by its use declarations.
This is usually identical to what would be given to the component's runner on
component start time, unless extended by
`fuchsia.component/StartChildArgs.namespace_entries`.
Added: 11

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_ConstructNamespace_Result` |

### GetAllInstances

Returns an iterator over all component instances in this realm and instances within resolved
children, recursively. Unresolved child components will be included in this list, but
children of unresolved children will not be.
Added: 11

#### Request

\<EMPTY\>

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_GetAllInstances_Result` |

### GetInstance

Gets an instance identified by its moniker.
Added: 11

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_GetInstance_Result` |

### GetResolvedDeclaration

Gets the manifest of an instance identified by its moniker.

The manifest is encoded in its standalone persistable format per RFC-0120 and
is sent across using an iterator. Some manifests are too large to send over a
Zircon channel and we can't use a VMO because we need an approach that is
compatible with overnet.
Added: 13

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_GetResolvedDeclaration_Result` |

### GetStructuredConfig

Gets the structured config of an instance identified by its moniker.
Added: 11

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_GetStructuredConfig_Result` |

### OpenDirectory

Opens the specified directory in an instance.
Added: 25

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |
| `dir_type` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#OpenDirType` |
| `object` | `server_end:https://fuchsia.dev/reference/fuchsia.io//https://fuchsia.dev/reference/fuchsia.io#Directory` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_OpenDirectory_Result` |

### OpenStorageAdmin

Connects to the StorageAdmin protocol of a storage declared by an instance.
Added: 30

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |
| `storage_name` | `https://fuchsia.dev/reference/fuchsia.component.decl//https://fuchsia.dev/reference/fuchsia.component.decl#name` |
| `server_end` | `server_end:https://fuchsia.dev/reference/fuchsia.component//https://fuchsia.dev/reference/fuchsia.component#StorageAdmin` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_OpenStorageAdmin_Result` |

### ResolveDeclaration

Gets the manifest of a component URL as if it were a child of the specified parent
without actually creating or starting that component.

The manifest is encoded in its standalone persistable format per RFC-0120 and
is sent across using an iterator. Some manifests are too large to send over a
Zircon channel and we can't use a VMO because we need an approach that is
compatible with overnet.
Added: 12

#### Request

| Name | Type |
|---|---|
| `parent` | `string:4096` |
| `child_location` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ChildLocation` |
| `url` | `https://fuchsia.dev/reference/fuchsia.url//https://fuchsia.dev/reference/fuchsia.url#Url` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_ResolveDeclaration_Result` |

## RouteValidator

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=132)*

### Route

Routes a component's used or exposed capabilities, and returns
information about them.

If `targets` is empty, returns results for all the component's used and
exposed capabilities. Otherwise, returns only results for capabilities
specified in `targets`.

This method only supports routing namespace capabilities (protocols,
directories, services, and storage).

Errors:

- INVALID_ARGUMENTS: The given moniker or name is not valid, or `name` is not a namespace capability.
- INSTANCE_NOT_FOUND: No instance was found matching the given moniker.
- RESOURCE_NOT_FOUND: No capability was found matching one of the given names.

Added: 12

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |
| `targets` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.sys2#RouteTarget>` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RouteValidator_Route_Result` |

### Validate

Routes all incoming and exposed capabilities of a component identified by the given
moniker. If the routing failed, an error is returned in the response.
This function may cause components to be resolved.

Errors:

- INVALID_ARGUMENTS: The given moniker is not valid.
- INSTANCE_NOT_FOUND: No instance was found matching the given moniker.

#### Request

| Name | Type |
|---|---|
| `moniker` | `string:4096` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RouteValidator_Validate_Result` |

## SystemController

*Defined in [fuchsia.sys2/system_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/system_controller.fidl;l=9)*

An interface implemented by ComponentManager that requests the
ComponentManager stop all components and exit.

<br />

### Shutdown

Stop all components, return an empty result, close this protocol's
channel, and exit ComponentManager. If this is the root ComponentManager
is exited we expect the system will reboot.

#### Request

\<EMPTY\>

#### Response

\<EMPTY\>

## **STRUCTS**

### BootController_Notify_Response

*Defined in [fuchsia.sys2/system_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/system_controller.fidl;l=26)*

\<EMPTY\>

### ConfigOverride_SetStructuredConfig_Response

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=370)*

\<EMPTY\>

### ConfigOverride_UnsetStructuredConfig_Response

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=381)*

\<EMPTY\>

### CrashIntrospect_FindComponentByThreadKoid_Response

*Defined in [fuchsia.sys2/crash_introspect.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/crash_introspect.fidl;l=32)*

| Field | Type | Description | Default |
|---|---|---|---|
| `info` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ComponentCrashInfo` |   | No default |

### LifecycleController_CreateInstance_Response

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=180)*

\<EMPTY\>

### LifecycleController_DestroyInstance_Response

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=190)*

\<EMPTY\>

### LifecycleController_ResolveInstance_Response

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=159)*

\<EMPTY\>

### LifecycleController_StartInstanceWithArgs_Response

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=141)*

\<EMPTY\>

### LifecycleController_StartInstance_Response

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=134)*

\<EMPTY\>

### LifecycleController_StopInstance_Response

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=150)*

\<EMPTY\>

### LifecycleController_UnresolveInstance_Response

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=168)*

\<EMPTY\>

### RealmQuery_ConstructNamespace_Response [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=313)*

| Field | Type | Description | Default |
|---|---|---|---|
| `namespace` | `vector<https://fuchsia.dev/reference/fuchsia.component.runner//https://fuchsia.dev/reference/fuchsia.component.runner#ComponentNamespaceEntry>` | The directory handles + paths that constitute the component's namespace. | No default |

### RealmQuery_GetAllInstances_Response [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=302)*

| Field | Type | Description | Default |
|---|---|---|---|
| `iterator` | `client_end:https://fuchsia.dev/reference/fidl/fuchsia.sys2#InstanceIterator` |   | No default |

### RealmQuery_GetInstance_Response

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=248)*

| Field | Type | Description | Default |
|---|---|---|---|
| `instance` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#Instance` |   | No default |

### RealmQuery_GetResolvedDeclaration_Response [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=261)*

| Field | Type | Description | Default |
|---|---|---|---|
| `iterator` | `client_end:https://fuchsia.dev/reference/fidl/fuchsia.sys2#ManifestBytesIterator` |   | No default |

### RealmQuery_GetStructuredConfig_Response

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=294)*

| Field | Type | Description | Default |
|---|---|---|---|
| `config` | `https://fuchsia.dev/reference/fuchsia.component.decl//https://fuchsia.dev/reference/fuchsia.component.decl#ResolvedConfig` |   | No default |

### RealmQuery_OpenDirectory_Response

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=324)*

\<EMPTY\>

### RealmQuery_OpenStorageAdmin_Response

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=341)*

\<EMPTY\>

### RealmQuery_ResolveDeclaration_Response [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=286)*

| Field | Type | Description | Default |
|---|---|---|---|
| `iterator` | `client_end:https://fuchsia.dev/reference/fidl/fuchsia.sys2#ManifestBytesIterator` |   | No default |

### RouteTarget

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=106)*

A capability in a target component to route to the source.
Added: 12

<br />

| Field | Type | Description | Default |
|---|---|---|---|
| `name` | `https://fuchsia.dev/reference/fuchsia.component//https://fuchsia.dev/reference/fuchsia.component#name` | The capability name to match (this is not the path). Supports fuzzy matching by substring. | No default |
| `decl_type` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#DeclType` | Whether the capability is a `use`d by the component or `expose`d from it. | No default |

### RouteValidator_Route_Response

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=167)*

| Field | Type | Description | Default |
|---|---|---|---|
| `reports` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.sys2#RouteReport>` |   | No default |

### RouteValidator_Validate_Response

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=142)*

| Field | Type | Description | Default |
|---|---|---|---|
| `reports` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.sys2#RouteReport>` |   | No default |

## **ENUMS**

### ConfigOverrideError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=83)*

Errors that can be returned by the ConfigOverride protocol.
Added: HEAD

<br />

| Name | Value | Description |
|---|---|---|
| ### INSTANCE_NOT_FOUND | `1` | Could not find an instance matching the given moniker. |
| ### BAD_MONIKER | `2` | The given moniker could not be parsed. |
| ### INSTANCE_NOT_RESOLVED | `3` | The given moniker matches an instance, but the instance is not resolved. |
| ### NO_CONFIG | `4` | There is no structured configuration associated with this instance. |
| ### KEY_NOT_FOUND | `5` | Could not find a structured configuration field with the given key. |

### ConnectToStorageAdminError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=160)*

Errors that can be returned by the ConnectToStorageAdmin call.

<br />

| Name | Value | Description |
|---|---|---|
| ### INSTANCE_NOT_FOUND | `1` | Could not find an instance matching the given moniker. |
| ### BAD_MONIKER | `2` | The given moniker could not be parsed. |
| ### STORAGE_NOT_FOUND | `3` | The instance does not define a storage capability with the given name. |
| ### INSTANCE_NOT_RESOLVED | `4` | This operation requires the instance to be resolved. |
| ### BAD_CAPABILITY | `5` | The given storage capability could not be parsed. |

### ConstructNamespaceError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=148)*

Errors that can be returned by the ConstructNamespace call.

<br />

| Name | Value | Description |
|---|---|---|
| ### INSTANCE_NOT_FOUND | `1` | Could not find an instance matching the given moniker. |
| ### BAD_MONIKER | `2` | The given moniker could not be parsed. |
| ### INSTANCE_NOT_RESOLVED | `3` | Namespace construction requires the instance to be resolved. |

### CreateError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=90)*
Added: 11

<br />

| Name | Value | Description |
|---|---|---|
| ### INTERNAL | `1` |   |
| ### INSTANCE_NOT_FOUND | `2` |   |
| ### INSTANCE_ALREADY_EXISTS | `3` |   |
| ### BAD_MONIKER | `4` |   |
| ### BAD_CHILD_DECL | `5` |   |
| ### COLLECTION_NOT_FOUND | `6` |   |
| ### BAD_DYNAMIC_OFFER | `7` |   |
| ### DYNAMIC_OFFERS_FORBIDDEN | `8` |   |
| ### NUMBERED_HANDLES_FORBIDDEN | `10` |   |
| ### DICTIONARY_AND_ADDITIONAL_INPUTS_SET | `11` | Added: 30 |

### DeclType [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=15)*

| Name | Value | Description |
|---|---|---|
| ### USE | `1` | The capability comes from a `use` declaration in the component's manifest. It will be available in the namespace of the component instance. |
| ### EXPOSE | `2` | The capability comes from an `expose` declaration in the component's manifest. |
| ### ANY | `3` | A capability that could be either a `use` or `expose` declaration. Used in inputs only, for fuzzy matching. |

### DestroyError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=62)*
Added: 11

<br />

| Name | Value | Description |
|---|---|---|
| ### INTERNAL | `1` |   |
| ### INSTANCE_NOT_FOUND | `2` |   |
| ### BAD_MONIKER | `3` |   |
| ### BAD_CHILD_REF | `4` |   |
| ### INSTANCE_NOT_RESOLVED | `5` | Added: 20 |

### GetAllInstancesError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=101)*

Errors that can be returned by the GetAllInstances call.

<br />

| Name | Value | Description |
|---|---|---|
| ### INSTANCE_NOT_FOUND | `1` | Could not find the scope root instance. |

### GetDeclarationError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=32)*

Errors that can be returned by the GetManifest call.

<br />

| Name | Value | Description |
|---|---|---|
| ### INSTANCE_NOT_FOUND | `1` | Could not find an instance matching the given moniker. |
| ### BAD_MONIKER | `2` | The given moniker could not be parsed. |
| ### INSTANCE_NOT_RESOLVED | `3` | The component manifest is only available when the instance is resolved. |
| ### ENCODE_FAILED | `4` | The component manifest could not be encoded into its persistable format. |
| ### BAD_CHILD_LOCATION | `5` | The specified collection was not found in the specified component. Added: 12 |
| ### BAD_URL | `6` | The specified URL could not be parsed. Added: 12 |
| ### RESOLVE_FAILED | `7` | The call to resolve the component failed. Added: 33 |
| ### PACKAGE_OPEN_FAILED | `8` | Failed to open the component's package. Added: 33 |
| ### PACKAGE_READ_FAILED | `9` | Failed to read the component's package. Added: 33 |

### GetInstanceError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=23)*

Errors that can be returned by the GetInstance call.

<br />

| Name | Value | Description |
|---|---|---|
| ### INSTANCE_NOT_FOUND | `1` | Could not find an instance matching the given moniker. |
| ### BAD_MONIKER | `2` | The given moniker could not be parsed. |

### GetStructuredConfigError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=67)*

Errors that can be returned by the GetStructuredConfig call.

<br />

| Name | Value | Description |
|---|---|---|
| ### INSTANCE_NOT_FOUND | `1` | Could not find an instance matching the given moniker. |
| ### BAD_MONIKER | `2` | The given moniker could not be parsed. |
| ### INSTANCE_NOT_RESOLVED | `3` | The component manifest is only available when the instance is resolved. |
| ### NO_CONFIG | `4` | There is no structured configuration associated with this instance. |

### OpenDirType [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=221)*

The directories of an instance that can be opened by component manager.
Added: 11

<br />

| Name | Value | Description |
|---|---|---|
| ### OUTGOING_DIR | `1` | Served by the component's program. Rights unknown. |
| ### RUNTIME_DIR | `2` | Served by the component's runner. Rights unknown. |
| ### PACKAGE_DIR | `3` | Served by the component's resolver. Rights unknown. |
| ### EXPOSED_DIR | `4` | Served by component manager. Directory has RW rights. |
| ### NAMESPACE_DIR | `5` | Served by component manager. Directory has RW rights. |

### OpenError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=107)*

Errors that can be returned by the OpenDirectory call.

<br />

| Name | Value | Description |
|---|---|---|
| ### INSTANCE_NOT_FOUND | `1` | Could not find an instance matching the given moniker. |
| ### BAD_MONIKER | `2` | The given moniker could not be parsed. |
| ### INSTANCE_NOT_RESOLVED | `3` | The requested directory is available when the instance is resolved. |
| ### INSTANCE_NOT_RUNNING | `4` | The requested directory is available when the instance is running. Deprecation: the platform will stop emitting this error from version 19. The component will always be started if not already. Deprecated: 19 |
| ### FIDL_ERROR | `5` | Component manager's open request on the directory returned a FIDL error. |
| ### NO_SUCH_DIR | `6` | The instance does not have a directory of this type. |
| ### BAD_DIR_TYPE | `7` | The given directory type could not be parsed. |
| ### INSTANCE_DESTROYED | `10` | Instance matching moniker was destroyed. Added: 25 |

### RealmQueryError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=402)*

Errors that can be returned by the RealmQuery API.

<br />

| Name | Value | Description |
|---|---|---|
| ### INSTANCE_NOT_FOUND | `1` | Could not find an instance matching the given moniker. |
| ### BAD_MONIKER | `2` | The given moniker could not be parsed. |

### ResolveError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=12)*
Added: 11

<br />

| Name | Value | Description |
|---|---|---|
| ### INTERNAL | `1` |   |
| ### INSTANCE_NOT_FOUND | `2` |   |
| ### BAD_MONIKER | `3` |   |
| ### PACKAGE_NOT_FOUND | `4` |   |
| ### MANIFEST_NOT_FOUND | `5` |   |
| ### POLICY_ERROR | `6` | Added: 19 |

### RouteOutcome [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=66)*
Added: 24

<br />

| Name | Value | Description |
|---|---|---|
| ### SUCCESS | `1` | Routing succeeded and returned a capability. Added: 24 |
| ### VOID | `2` | Routing terminated in a `void` source. This is a form of success but it's exposed as its own state so tooling can report it. Added: 24 |
| ### FAILED | `3` | Routing failed. This will be the state iff `RouteReport.error` is set. Added: 24 |

### RouteValidatorError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=117)*

Errors for RouteValidator
Added: 12

<br />

| Name | Value | Description |
|---|---|---|
| ### INTERNAL | `1` | An unexpected error occurred. |
| ### INVALID_ARGUMENTS | `2` | At least one argument had an invalid format. |
| ### INSTANCE_NOT_FOUND | `3` | The component instance was not found. |
| ### INSTANCE_NOT_RESOLVED | `4` | The component instance could not be resolved. |
| ### INSTANCE_NOT_RERESOLVED | `5` | The component instance could not be re-resolved. Added: 33 |

### StartError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=30)*
Added: 11

<br />

| Name | Value | Description |
|---|---|---|
| ### INTERNAL | `1` |   |
| ### INSTANCE_NOT_FOUND | `2` |   |
| ### BAD_MONIKER | `3` |   |
| ### PACKAGE_NOT_FOUND | `4` |   |
| ### MANIFEST_NOT_FOUND | `5` |   |
| ### POLICY_ERROR | `6` | Added: 19 |
| ### INVALID_ARGUMENTS | `7` | Added: HEAD |

### StopError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=51)*
Added: 11

<br />

| Name | Value | Description |
|---|---|---|
| ### INTERNAL | `1` |   |
| ### INSTANCE_NOT_FOUND | `2` |   |
| ### BAD_MONIKER | `3` |   |

### UnresolveError [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=79)*
Added: 11

<br />

| Name | Value | Description |
|---|---|---|
| ### INTERNAL | `1` |   |
| ### INSTANCE_NOT_FOUND | `2` |   |
| ### BAD_MONIKER | `3` |   |

## **TABLES**

### ComponentCrashInfo

*Defined in [fuchsia.sys2/crash_introspect.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/crash_introspect.fidl;l=12)*

Information stored when a thread crashes.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `url` | `string:4096` |   |
| ### 2 | `moniker` | `string:4096` |   |

### DictionaryEntry

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=97)*

Metadata about a dictionary entry.
Added: 28

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `name` | `string` | The name (key) of the capability in this dictionary. Added: 28 |

### ExecutionInfo

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=214)*

Information about the execution state of a component instance.
Added: 11

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `start_reason` | `string:5000` | The human-readable explanation for why this instance was started. |

### Instance

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=183)*

Describes a component instance under a realm.

Note: This structure is expected to fit in a single Zircon channel message.
Do not add fields that have the potential to violate that constraint.
Prefer to create dedicated methods and iterators instead.
Added: 11

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `moniker` | `string:4096` | The path to this instance relative to the scope root. |
| ### 2 | `url` | `https://fuchsia.dev/reference/fuchsia.url//https://fuchsia.dev/reference/fuchsia.url#Url` | The URL of the component manifest for this instance. |
| ### 3 | `instance_id` | `string:64` | The stable identifier for this instance, if one exists. |
| ### 4 | `resolved_info` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ResolvedInfo` | Information about the resolved state of a component instance. If the component is not resolved, this field is not set. |
| ### 5 | `environment` | `string:4096` | The component's environment name as defined by its parent. |

### ResolvedInfo

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=203)*

Information about the resolved state of a component instance.
Added: 11

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `resolved_url` | `https://fuchsia.dev/reference/fuchsia.url//https://fuchsia.dev/reference/fuchsia.url#Url` | The resolved URL of this instance. |
| ### 2 | `execution_info` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ExecutionInfo` | Information about the execution state of a component instance. If the component is not running, this field is not set. |

### RouteError

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=10)*

Routing error for a particular capability.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `summary` | `string` | A human-readable explanation of the routing error. |

### RouteReport

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=29)*

Routing result for a particular capability.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `capability` | `string` | The capability whose routing was attempted. |
| ### 2 | `decl_type` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#DeclType` | Type of capability declaration |
| ### 3 | `error` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RouteError` | Describes the error that occurred from routing this capability. This field is not present if routing succeeded. |
| ### 4 | `source_moniker` | `string` | The moniker of the source component. Added: 12 |
| ### 5 | `service_instances` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.sys2#ServiceInstance>` | Metadata about the instances in a service. Populated only for aggregated services. Added: 12 |
| ### 6 | `availability` | `https://fuchsia.dev/reference/fuchsia.component.decl//https://fuchsia.dev/reference/fuchsia.component.decl#Availability` | The requested level of availability of the capability. Added: HEAD |
| ### 7 | `outcome` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RouteOutcome` | The overall outcome of routing. Added: 24 |
| ### 8 | `dictionary_entries` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.sys2#DictionaryEntry>` | Metadata about the entries in a dictionary. Populated only for dictionaries. Added: 28 |
| ### 9 | `build_time_capability_type` | `string` | The type of the capability. Added: HEAD |

### ServiceInstance

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=83)*

Metadata about a service instance.
Added: 12

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `instance_name` | `string` | The name of the service instance in this service directory. |
| ### 2 | `child_name` | `string` | The name of the component that serves the service instance, including the collection name if the component is a child. |
| ### 3 | `child_instance_name` | `string` | The name of the service instance as exposed by the child. |

## **UNIONS**

### BootController_Notify_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/system_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/system_controller.fidl;l=26)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#BootController_Notify_Response` |   |
| ### 3 | `framework_err` | `internal` |   |

<br />

### ChildLocation [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=235)*

Locations from which a child could be resolved under a given parent.

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `collection` | `string:255` |   |

<br />

### ConfigOverride_SetStructuredConfig_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=370)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ConfigOverride_SetStructuredConfig_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ConfigOverrideError` |   |
| ### 3 | `framework_err` | `internal` |   |

<br />

### ConfigOverride_UnsetStructuredConfig_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=381)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ConfigOverride_UnsetStructuredConfig_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ConfigOverrideError` |   |
| ### 3 | `framework_err` | `internal` |   |

<br />

### CrashIntrospect_FindComponentByThreadKoid_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/crash_introspect.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/crash_introspect.fidl;l=32)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#CrashIntrospect_FindComponentByThreadKoid_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fuchsia.component//https://fuchsia.dev/reference/fuchsia.component#Error` |   |

<br />

### LifecycleController_CreateInstance_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=180)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_CreateInstance_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#CreateError` |   |

<br />

### LifecycleController_DestroyInstance_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=190)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_DestroyInstance_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#DestroyError` |   |

<br />

### LifecycleController_ResolveInstance_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=159)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_ResolveInstance_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ResolveError` |   |

<br />

### LifecycleController_StartInstanceWithArgs_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=141)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_StartInstanceWithArgs_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#StartError` |   |

<br />

### LifecycleController_StartInstance_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=134)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_StartInstance_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#StartError` |   |

<br />

### LifecycleController_StopInstance_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=150)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_StopInstance_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#StopError` |   |

<br />

### LifecycleController_UnresolveInstance_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/lifecycle_controller.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/lifecycle_controller.fidl;l=168)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#LifecycleController_UnresolveInstance_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#UnresolveError` |   |

<br />

### RealmQuery_ConstructNamespace_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible) [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=313)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_ConstructNamespace_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ConstructNamespaceError` |   |

<br />

### RealmQuery_GetAllInstances_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible) [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=302)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_GetAllInstances_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#GetAllInstancesError` |   |

<br />

### RealmQuery_GetInstance_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=248)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_GetInstance_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#GetInstanceError` |   |

<br />

### RealmQuery_GetResolvedDeclaration_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible) [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=261)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_GetResolvedDeclaration_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#GetDeclarationError` |   |

<br />

### RealmQuery_GetStructuredConfig_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=294)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_GetStructuredConfig_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#GetStructuredConfigError` |   |

<br />

### RealmQuery_OpenDirectory_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=324)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_OpenDirectory_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#OpenError` |   |

<br />

### RealmQuery_OpenStorageAdmin_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=341)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_OpenStorageAdmin_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#ConnectToStorageAdminError` |   |

<br />

### RealmQuery_ResolveDeclaration_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible) [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.sys2/realm.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=286)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RealmQuery_ResolveDeclaration_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#GetDeclarationError` |   |

<br />

### RouteValidator_Route_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=167)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RouteValidator_Route_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RouteValidatorError` |   |

<br />

### RouteValidator_Validate_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.sys2/route_validator.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/route_validator.fidl;l=142)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.sys2#RouteValidator_Validate_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/fuchsia.component//https://fuchsia.dev/reference/fuchsia.component#Error` |   |

<br />

## **CONSTANTS**

| Name | Value | Type | Description |
|---|---|---|---|
| [MAX_INSTANCE_ID_LENGTH](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=15) | `64` | `uint32` | The maximum length of an instance ID. An instance ID is a 256-bit identifier, which when encoded in hex notation is 64 characters long. |
| [MAX_START_REASON](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.sys2/realm.fidl;l=20) | `5000` | `uint32` | The maximum length of the human-readable start reason. This accounts for StartReason::AccessCapability which can have a length of MAX_MONIKER_LENGTH + MAX_NAME_LENGTH + 26 (4222 characters). |