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§
- Azure
TagConfig - Configuration for tag-based Azure VM discovery.
- Azure
TagDiscovery - Discovers peer nodes by querying Azure VMs with matching tags.
- Azure
TagDiscovery Builder - Builder for
AzureTagDiscovery. - Vmss
Discovery - Discovers peer nodes via Azure Virtual Machine Scale Set (VMSS).
- Vmss
Discovery Builder - Builder for
VmssDiscovery. - Vmss
Discovery Config - Configuration for VMSS-based discovery.
Enums§
- Azure
Discovery Error - 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_GROUPenvironment variable. - subscription_
id - Read the Azure subscription ID from the
AZURE_SUBSCRIPTION_IDenvironment variable. - vm_
private_ ip - Read the current VM’s private IP from the
DACTOR_VM_IPenvironment variable.