> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references/org/general/export-cloudpc-usage_scheduled.md).

# Exportar uso de Cloud PC programado

Escribir datos diarios de uso de Windows 365 en una tabla de Azure

{% hint style="info" %}
Este es un runbook programado. Está diseñado para ejecutarse con una programación recurrente en lugar de activarse para un único objeto. Consulte [Programación](https://docs.realmjoin.com/es/automatizacion/runbooks/scheduling.md) para obtener detalles sobre cómo configurar las programaciones del runbook.
{% endhint %}

### Descripción

Recopila cómo se utilizaron los Windows 365 Cloud PCs, basándose en los informes de conexión remota de la cantidad elegida de días pasados. Las cifras se escriben en una tabla de Azure para que puedan seguirse a lo largo del tiempo. La tabla se crea si no existe, y los registros del mismo día se actualizan en lugar de duplicarse.

### Ubicación

Organización → General → Exportar uso de Cloudpc (Programado)

**Nombre completo del runbook**

rjgit-org\_general\_export-cloudpc-usage\_scheduled

### Detalles

| Propiedad          | Valor                                                               |
| ------------------ | ------------------------------------------------------------------- |
| Versión            | 1.0.1                                                               |
| Módulos requeridos | <p>RealmJoin.RunbookHelper (>= 0.8.10)<br>Az.Storage (>= 9.7.2)</p> |
| Programable        | sí                                                                  |

### Permisos

#### Permisos de aplicación

* **Tipo**: Microsoft Graph
  * CloudPC.Read.All
    * *Enumera todos los Cloud PCs y obtiene sus informes históricos de conexión remota*
  * Organization.Read.All
    * *Lee /organization para usar el id del Tenant como clave de partición de la tabla de almacenamiento*

#### Notas sobre permisos

Azure IaaS: `Contributor` rol en la Storage Account de Azure utilizada para almacenar datos de uso de CloudPC

### Parámetros

#### Tabla

Tabla en la Storage Account en la que se escriben los datos de uso. Se crea cuando aún no existe.

| Propiedad                        | Valor              |
| -------------------------------- | ------------------ |
| Obligatorio                      | falso              |
| Valor predeterminado             | CloudPCUsageV2     |
| Tipo                             | Cadena             |
| Nombre para mostrar en el portal | Nombre de la tabla |

#### ResourceGroupName

Grupo de recursos que contiene la Storage Account.

| Propiedad                        | Valor             |
| -------------------------------- | ----------------- |
| Obligatorio                      | true              |
| Valor predeterminado             |                   |
| Tipo                             | Cadena            |
| Nombre para mostrar en el portal | Grupo de recursos |

#### StorageAccountName

Storage Account que contiene la tabla.

| Propiedad                        | Valor           |
| -------------------------------- | --------------- |
| Obligatorio                      | true            |
| Valor predeterminado             |                 |
| Tipo                             | Cadena          |
| Nombre para mostrar en el portal | Storage Account |

#### Días

Se recopila el uso de los últimos tantos días; los días que ya están en la tabla se actualizan, no se agregan de nuevo.

| Propiedad                        | Valor          |
| -------------------------------- | -------------- |
| Obligatorio                      | falso          |
| Valor predeterminado             | 2              |
| Tipo                             | Int32          |
| Nombre para mostrar en el portal | Días a revisar |

[Volver al resumen de referencia de Runbook](https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references/org/general/export-cloudpc-usage_scheduled.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
