You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access type describes how this content manages its viewers. The value `all` is the most permissive; any visitor to Posit Connect will be able to view this content. The value `logged_in` indicates that all Posit Connect accounts may view the content. The `acl` value lets specifically enumerated users and groups view the content. Users configured as collaborators may always view content.
191
+
locked : bool, optional
192
+
Whether or not the content is locked.
193
+
locked_message : str, optional
194
+
A custom message that is displayed by the content item when locked. It is possible to format this message using Markdown.
195
+
connection_timeout : int, optional
196
+
Maximum number of seconds allowed without data sent or received across a client connection. A value of `0` means connections will never time-out (not recommended). When `null`, the default `Scheduler.ConnectionTimeout` is used. Applies only to content types that are executed on demand.
197
+
read_timeout : int, optional
198
+
Maximum number of seconds allowed without data received from a client connection. A value of `0` means a lack of client (browser) interaction never causes the connection to close. When `null`, the default `Scheduler.ReadTimeout` is used. Applies only to content types that are executed on demand.
199
+
init_timeout : int, optional
200
+
The maximum number of seconds allowed for an interactive application to start. Posit Connect must be able to connect to a newly launched application before this threshold has elapsed. When `null`, the default `Scheduler.InitTimeout` is used. Applies only to content types that are executed on demand.
201
+
idle_timeout : int, optional
202
+
The maximum number of seconds a worker process for an interactive application to remain alive after it goes idle (no active connections). When `null`, the default `Scheduler.IdleTimeout` is used. Applies only to content types that are executed on demand.
203
+
max_processes : int, optional
204
+
Specifies the total number of concurrent processes allowed for a single interactive application per Posit Connect node. When `null`, the default `Scheduler.MaxProcesses` is used. Applies only to content types that are executed on demand.
205
+
min_processes : int, optional
206
+
Specifies the minimum number of concurrent processes allowed for a single interactive application per Posit Connect node. When `null`, the default `Scheduler.MinProcesses` is used. Applies only to content types that are executed on demand.
207
+
max_conns_per_process : int, optional
208
+
Specifies the maximum number of client connections allowed to an individual process. Incoming connections which will exceed this limit are routed to a new process or rejected. When `null`, the default `Scheduler.MaxConnsPerProcess` is used. Applies only to content types that are executed on demand.
209
+
load_factor : float, optional
210
+
Controls how aggressively new processes are spawned. When `null`, the default `Scheduler.LoadFactor` is used. Applies only to content types that are executed on demand.
211
+
cpu_request : float, optional
212
+
The minimum amount of compute power this content needs when executing or rendering, expressed in ["CPU Units"](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu), where 1.0 unit is equivalent to 1 physical or virtual core. Fractional values are allowed. This is used when running in an off-host execution configuration to determine where the content should be run. When `null`, the default `Scheduler.CPURequest` is used.
213
+
cpu_limit : float, optional
214
+
The maximum amount of compute power this content will be allowed to consume when executing or rendering, expressed in ["CPU Units"](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu), where 1.0 unit is equivalent to 1 physical or virtual core. Fractional values are allowed. This is used when running in an off-host execution configuration. If the process tries to use more CPU than allowed, it will be throttled. When `null`, the default `Scheduler.CPULimit` is used.
215
+
memory_request : int, optional
216
+
The minimum amount of RAM this content needs when executing or rendering, expressed in bytes. This is used when running in an off-host execution configuration to determine where the content should be run. When `null`, the default `Scheduler.MemoryRequest` is used.
217
+
memory_limit : int, optional
218
+
The maximum amount of RAM this content will be allowed to consume when executing or rendering, expressed in bytes. If the process tries to use more memory than allowed, it will be terminated. When `null`, the default `Scheduler.MemoryLimit` is used.
219
+
amd_gpu_limit : int, optional
220
+
The number of AMD GPUs that will be [allocated by Kubernetes](https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/) to run this content. This is used when running in an off-host execution configuration. When `null`, the default `Scheduler.AMDGPULimit` is used. This setting can not exceed `Scheduler.MaxAMDGPULimit`.
221
+
nvidia_gpu_limit : int, optional
222
+
The number of NVIDIA GPUs that will be [allocated by Kubernetes](https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/) to run this content. This is used when running in an off-host execution configuration. When `null`, the default `Scheduler.NvidiaGPULimit` is used. This setting can not exceed `Scheduler.MaxNvidiaGPULimit`.
223
+
created_time : str, optional
224
+
The timestamp (RFC3339) indicating when this content was created.
225
+
last_deployed_time : str, optional
226
+
The timestamp (RFC3339) indicating when this content last had a successful bundle deployment performed.
227
+
bundle_id : str, optional
228
+
The identifier for the active deployment bundle. Automatically assigned upon the successful deployment of that bundle.
The runtime model for this content. Has a value of `unknown` before data is deployed to this item. Automatically assigned upon the first successful bundle deployment.
231
+
content_category : str, optional
232
+
Describes the specialization of the content runtime model. Automatically assigned upon the first successful bundle deployment.
233
+
parameterized : bool, optional
234
+
True when R Markdown rendered content allows parameter configuration. Automatically assigned upon the first successful bundle deployment. Applies only to content with an `app_mode` of `rmd-static`.
235
+
cluster_name : str, optional
236
+
The location where this content runs. Content running on the same server as Connect will have either a `null` value or the string "Local". Gives the name of the cluster when run external to the Connect host. A `null` value is returned when the client does not have sufficient rights to see this information.
237
+
image_name : str, optional
238
+
The location where this content runs. Content running on the same server as Connect will have either a `null` value or the string "Local". References the name of the target image when content runs in a clustered environment such as Kubernetes. A `null` value is returned when the client does not have sufficient rights to see this information.
239
+
default_image_name : str, optional
240
+
The default image that will be used when none is defined by the bundle's manifest. A specific image may be selected by setting the `environment.image` field in the manifest. If no image is selected by the manifest file, then the `default_image_name` is used. If a target image is not defined by the manifest, and no `default_image_name` is configured, then Connect will select an image from the list of configured execution environments. A `null` value is returned when the client does not have sufficient rights to see this information. Use the `/v1/environments` API endpoints to determine which environments are available for content execution.
241
+
default_r_environment_management : bool, optional
242
+
Indicates whether or not Connect should create and manage an R environment (installing required packages) for this content. When `null`, Connect makes this determination based on the server configuration. A `null` value is also returned when the client does not have sufficient rights to see this information. This value is ignored if the server setting `Applications.DefaultEnvironmentManagementSelection` is disabled.
Indicates whether or not Connect should create and manage a Python environment (installing required packages) for this content. When `null`, Connect makes this determination based on the server configuration. A `null` value is also returned when the client does not have sufficient rights to see this information. This value is ignored if the server setting `Applications.DefaultEnvironmentManagementSelection` is disabled.
245
+
service_account_name : str, optional
246
+
The name of the Kubernetes service account that is used to run a particular piece of content. It must adhere to valid Kubernetes service account naming rules. Connect must be configured to run with `Launcher.Enabled = true`, `Launcher.Kubernetes = true` and `Launcher.KubernetesContentServiceAccountSelection = true` for this value to be applied. It will have precedence over the `Launcher.KubernetesDefaultServiceAccount` that may be set in the configuration for Connect. If this value is defined and Connect is configured with `Launcher.KubernetesContentServiceAccountSelection = false` an error will be returned. Only administrators and publishers can view this value. Only administrators can set or change this value.
247
+
r_version : str, optional
248
+
The of R interpreter associated with this content. A `null` value represents that R is not used by this content, that the content has not been prepared for execution, or that the client does not have sufficient rights to see this information. Automatically assigned upon the successful deployment of a bundle.
249
+
r_environment_management : bool, optional
250
+
Indicates whether or not Connect is managing an R environment and has installed the required packages for this content. A `null` value represents that R is not used by this content, that the content has not been prepared for execution, or that the client does not have sufficient rights to see this information. Automatically assigned upon the successful deployment of a bundle.
251
+
py_version : str, optional
252
+
The version of Python associated with this content. A `null` value represents that Python is not used by this content, that the content has not been prepared for execution, or that the client does not have sufficient rights to see this information. Automatically assigned upon the successful deployment of a bundle.
253
+
py_environment_management : bool, optional
254
+
Indicates whether or not Connect is managing a Python environment and has installed the required packages for this content. A `null` value represents that Python is not used by this content, that the content has not been prepared for execution, or that the client does not have sufficient rights to see this information. Automatically assigned upon the successful deployment of a bundle.
255
+
quarto_version : str, optional
256
+
The version of Quarto associated with this content. A `null` represents that Quarto is not used by this content, that the content has not been prepared for execution, or that the client does not have sufficient rights to see this information. Automatically assigned upon the successful deployment of a bundle.
257
+
run_as : str, optional
258
+
The UNIX user that executes this content. When `null`, the default `Applications.RunAs` is used. Applies only to executable content types - not `static`.
259
+
run_as_current_user : bool, optional
260
+
Indicates that Connect should run processes for this content item under the Unix account of the user who visits it. Content accessed anonymously will continue to run as the specified `run_as` user. Connect must be configured to use PAM authentication with the server settings `Applications.RunAsCurrentUser = true` and `PAM.ForwardPassword = true`. This setting has no effect for other authentication types. This setting only applies to application content types (Shiny, Dash, Streamlit, and Bokeh).
261
+
owner_guid : str, optional
262
+
The unique identifier of the user who owns this content item.
263
+
content_url : str, optional
264
+
The URL associated with this content. Computed from the associated GUID for this content.
265
+
dashboard_url : str, optional
266
+
The URL within the Connect dashboard where this content can be configured. Computed from the GUID for this content.
The relationship of the accessing user to this content. A value of `owner` is returned for the content owner. `editor` indicates a collaborator. The `viewer` value is given to users who are permitted to view the content. A `none` role is returned for administrators who cannot view the content but are permitted to view its configuration. Computed at the time of the request.
269
+
vanity_url : str, optional
270
+
The vanity URL associated with this content item. Included in responses when the vanity URL is set and `include=vanity_url` is provided.
271
+
tags : List[Tag], optional
272
+
Tags associated with this content item. Included in responses when `include=tags` is provided.
273
+
owner : ContentItemOwner, optional
274
+
Basic details about the owner of this content item. Included in responses when `include=owner` is provided.
275
+
id : str, optional
276
+
The internal numeric identifier of this content item.
0 commit comments