Skip to main content

Crate dactor_discover_azure

Crate dactor_discover_azure 

Source
Expand description

Azure node discovery for the dactor distributed actor framework.

Provides two discovery mechanisms:

  • VmssDiscovery: Discovers peers via Azure VMSS using the Instance Metadata Service (IMDS).
  • AzureTagDiscovery: Discovers peers by querying Azure VMs with matching tags via the ARM API.

Structs§

AzureTagConfig
Configuration for tag-based Azure VM discovery.
AzureTagDiscovery
Discovers peer nodes by querying Azure VMs with matching tags.
AzureTagDiscoveryBuilder
Builder for AzureTagDiscovery.
VmssDiscovery
Discovers peer nodes via Azure Virtual Machine Scale Set (VMSS).
VmssDiscoveryBuilder
Builder for VmssDiscovery.
VmssDiscoveryConfig
Configuration for VMSS-based discovery.

Enums§

AzureDiscoveryError
Errors returned by Azure discovery operations.

Functions§

current_resource_group
Get the current VM’s resource group name from IMDS.
current_subscription_id
Get the current VM’s subscription ID from IMDS.
imds_instance_url
Returns the IMDS instance metadata URL for reference / diagnostics.
resource_group
Read the Azure resource group from the AZURE_RESOURCE_GROUP environment variable.
subscription_id
Read the Azure subscription ID from the AZURE_SUBSCRIPTION_ID environment variable.
vm_private_ip
Read the current VM’s private IP from the DACTOR_VM_IP environment variable.