pub enum ResourceHeartbeatData {
Show 24 variants
Storage(StorageHeartbeatData),
Worker(WorkerHeartbeatData),
Container(ContainerHeartbeatData),
Daemon(DaemonHeartbeatData),
ComputeCluster(ComputeClusterHeartbeatData),
KubernetesCluster(KubernetesClusterHeartbeatData),
Queue(QueueHeartbeatData),
Kv(KvHeartbeatData),
Postgres(PostgresHeartbeatData),
Redis(RedisHeartbeatData),
Vault(VaultHeartbeatData),
ServiceAccount(ServiceAccountHeartbeatData),
Network(NetworkHeartbeatData),
RemoteStackManagement(RemoteStackManagementHeartbeatData),
ArtifactRegistry(ArtifactRegistryHeartbeatData),
Build(BuildHeartbeatData),
ServiceActivation(ServiceActivationHeartbeatData),
AzureResourceGroup(AzureResourceGroupHeartbeatData),
AzureStorageAccount(AzureStorageAccountHeartbeatData),
AzureContainerAppsEnvironment(AzureContainerAppsEnvironmentHeartbeatData),
AzureServiceBusNamespace(AzureServiceBusNamespaceHeartbeatData),
Ai(AiHeartbeatData),
Key(KeyHeartbeatData),
Sandbox(SandboxHeartbeatData),
}Expand description
ResourceHeartbeatData
JSON schema
{
"oneOf": [
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/StorageHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"storage"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/WorkerHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"worker"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/ContainerHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"container"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/DaemonHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"daemon"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/ComputeClusterHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"compute-cluster"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/KubernetesClusterHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"kubernetes-cluster"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/QueueHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"queue"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/KvHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"kv"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/PostgresHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"postgres"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/RedisHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"redis"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/VaultHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"vault"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/ServiceAccountHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"service-account"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/NetworkHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"network"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/RemoteStackManagementHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"remote-stack-management"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/ArtifactRegistryHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"artifact-registry"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/BuildHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"build"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/ServiceActivationHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"service_activation"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/AzureResourceGroupHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"azure_resource_group"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/AzureStorageAccountHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"azure_storage_account"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/AzureContainerAppsEnvironmentHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"azure_container_apps_environment"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/AzureServiceBusNamespaceHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"azure_service_bus_namespace"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/AiHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"ai"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/KeyHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"key"
]
}
}
},
{
"type": "object",
"required": [
"data",
"resourceType"
],
"properties": {
"data": {
"$ref": "#/components/schemas/SandboxHeartbeatData"
},
"resourceType": {
"type": "string",
"enum": [
"sandbox"
]
}
}
}
]
}Variants§
Storage(StorageHeartbeatData)
Worker(WorkerHeartbeatData)
Container(ContainerHeartbeatData)
Daemon(DaemonHeartbeatData)
ComputeCluster(ComputeClusterHeartbeatData)
KubernetesCluster(KubernetesClusterHeartbeatData)
Queue(QueueHeartbeatData)
Kv(KvHeartbeatData)
Postgres(PostgresHeartbeatData)
Redis(RedisHeartbeatData)
Vault(VaultHeartbeatData)
ServiceAccount(ServiceAccountHeartbeatData)
Network(NetworkHeartbeatData)
RemoteStackManagement(RemoteStackManagementHeartbeatData)
ArtifactRegistry(ArtifactRegistryHeartbeatData)
Build(BuildHeartbeatData)
ServiceActivation(ServiceActivationHeartbeatData)
AzureResourceGroup(AzureResourceGroupHeartbeatData)
AzureStorageAccount(AzureStorageAccountHeartbeatData)
AzureContainerAppsEnvironment(AzureContainerAppsEnvironmentHeartbeatData)
AzureServiceBusNamespace(AzureServiceBusNamespaceHeartbeatData)
Ai(AiHeartbeatData)
Key(KeyHeartbeatData)
Sandbox(SandboxHeartbeatData)
Trait Implementations§
Source§impl Clone for ResourceHeartbeatData
impl Clone for ResourceHeartbeatData
Source§impl Debug for ResourceHeartbeatData
impl Debug for ResourceHeartbeatData
Source§impl<'de> Deserialize<'de> for ResourceHeartbeatData
impl<'de> Deserialize<'de> for ResourceHeartbeatData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&ResourceHeartbeatData> for ResourceHeartbeatData
impl From<&ResourceHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: &ResourceHeartbeatData) -> Self
fn from(value: &ResourceHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AiHeartbeatData> for ResourceHeartbeatData
impl From<AiHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: AiHeartbeatData) -> Self
fn from(value: AiHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<ArtifactRegistryHeartbeatData> for ResourceHeartbeatData
impl From<ArtifactRegistryHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: ArtifactRegistryHeartbeatData) -> Self
fn from(value: ArtifactRegistryHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AzureContainerAppsEnvironmentHeartbeatData> for ResourceHeartbeatData
impl From<AzureContainerAppsEnvironmentHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: AzureContainerAppsEnvironmentHeartbeatData) -> Self
fn from(value: AzureContainerAppsEnvironmentHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AzureResourceGroupHeartbeatData> for ResourceHeartbeatData
impl From<AzureResourceGroupHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: AzureResourceGroupHeartbeatData) -> Self
fn from(value: AzureResourceGroupHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AzureServiceBusNamespaceHeartbeatData> for ResourceHeartbeatData
impl From<AzureServiceBusNamespaceHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: AzureServiceBusNamespaceHeartbeatData) -> Self
fn from(value: AzureServiceBusNamespaceHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AzureStorageAccountHeartbeatData> for ResourceHeartbeatData
impl From<AzureStorageAccountHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: AzureStorageAccountHeartbeatData) -> Self
fn from(value: AzureStorageAccountHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<BuildHeartbeatData> for ResourceHeartbeatData
impl From<BuildHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: BuildHeartbeatData) -> Self
fn from(value: BuildHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<ComputeClusterHeartbeatData> for ResourceHeartbeatData
impl From<ComputeClusterHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: ComputeClusterHeartbeatData) -> Self
fn from(value: ComputeClusterHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<ContainerHeartbeatData> for ResourceHeartbeatData
impl From<ContainerHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: ContainerHeartbeatData) -> Self
fn from(value: ContainerHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<DaemonHeartbeatData> for ResourceHeartbeatData
impl From<DaemonHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: DaemonHeartbeatData) -> Self
fn from(value: DaemonHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<KeyHeartbeatData> for ResourceHeartbeatData
impl From<KeyHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: KeyHeartbeatData) -> Self
fn from(value: KeyHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<KubernetesClusterHeartbeatData> for ResourceHeartbeatData
impl From<KubernetesClusterHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: KubernetesClusterHeartbeatData) -> Self
fn from(value: KubernetesClusterHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<KvHeartbeatData> for ResourceHeartbeatData
impl From<KvHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: KvHeartbeatData) -> Self
fn from(value: KvHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<NetworkHeartbeatData> for ResourceHeartbeatData
impl From<NetworkHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: NetworkHeartbeatData) -> Self
fn from(value: NetworkHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<PostgresHeartbeatData> for ResourceHeartbeatData
impl From<PostgresHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: PostgresHeartbeatData) -> Self
fn from(value: PostgresHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<QueueHeartbeatData> for ResourceHeartbeatData
impl From<QueueHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: QueueHeartbeatData) -> Self
fn from(value: QueueHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<RedisHeartbeatData> for ResourceHeartbeatData
impl From<RedisHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: RedisHeartbeatData) -> Self
fn from(value: RedisHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<RemoteStackManagementHeartbeatData> for ResourceHeartbeatData
impl From<RemoteStackManagementHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: RemoteStackManagementHeartbeatData) -> Self
fn from(value: RemoteStackManagementHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<SandboxHeartbeatData> for ResourceHeartbeatData
impl From<SandboxHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: SandboxHeartbeatData) -> Self
fn from(value: SandboxHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<ServiceAccountHeartbeatData> for ResourceHeartbeatData
impl From<ServiceAccountHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: ServiceAccountHeartbeatData) -> Self
fn from(value: ServiceAccountHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<ServiceActivationHeartbeatData> for ResourceHeartbeatData
impl From<ServiceActivationHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: ServiceActivationHeartbeatData) -> Self
fn from(value: ServiceActivationHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<StorageHeartbeatData> for ResourceHeartbeatData
impl From<StorageHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: StorageHeartbeatData) -> Self
fn from(value: StorageHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<VaultHeartbeatData> for ResourceHeartbeatData
impl From<VaultHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: VaultHeartbeatData) -> Self
fn from(value: VaultHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<WorkerHeartbeatData> for ResourceHeartbeatData
impl From<WorkerHeartbeatData> for ResourceHeartbeatData
Source§fn from(value: WorkerHeartbeatData) -> Self
fn from(value: WorkerHeartbeatData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for ResourceHeartbeatData
impl Freeze for ResourceHeartbeatData
impl Move for ResourceHeartbeatData
impl RefUnwindSafe for ResourceHeartbeatData
impl Send for ResourceHeartbeatData
impl Sync for ResourceHeartbeatData
impl Unpin for ResourceHeartbeatData
impl UnsafeUnpin for ResourceHeartbeatData
impl UnwindSafe for ResourceHeartbeatData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more