vcfops_adapter

VCF Operations — adapter kinds and adapter instances.

Adapter kinds (/suite-api/api/adapterkinds) describe the types of adapters VCF Operations supports (VMWARE, NSXTADAPTER, EP Ops, etc.).

Adapter instances (/suite-api/api/adapters) are the actual, configured connections to concrete targets (a specific vCenter, a specific NSX manager, etc.) that bind an adapter kind to a credential and a collector.

saltext.vcf.clients.vcfops_adapter.instance_list(opts, profile=None)[source]

List every configured adapter instance.

saltext.vcf.clients.vcfops_adapter.instance_get(opts, instance_id, profile=None)[source]

Get a single adapter instance by id.

saltext.vcf.clients.vcfops_adapter.instance_get_or_none(opts, instance_id, profile=None)[source]

Return the adapter instance or None if it 404s.

saltext.vcf.clients.vcfops_adapter.instance_create(opts, spec, profile=None)[source]

Create an adapter instance.

spec example:

{
    "name": "vcenter-prod",
    "adapterKindKey": "VMWARE",
    "resourceIdentifiers": [
        {"name": "VCURL", "value": "https://vc.example.test"},
    ],
    "credentialInstanceId": "abc-123",
    "collectorId": 1,
}
saltext.vcf.clients.vcfops_adapter.instance_update(opts, instance_id, spec, profile=None)[source]

Update an existing adapter instance.

saltext.vcf.clients.vcfops_adapter.instance_delete(opts, instance_id, profile=None)[source]

Delete an adapter instance.

saltext.vcf.clients.vcfops_adapter.instance_start(opts, instance_id, profile=None)[source]

Start monitoring on an adapter instance.

saltext.vcf.clients.vcfops_adapter.instance_stop(opts, instance_id, profile=None)[source]

Stop monitoring on an adapter instance.