Skip to main content

AgencyScopeTrait

Trait AgencyScopeTrait 

Source
pub trait AgencyScopeTrait: DataObjectTrait { }
Expand description

Deprecated as of vSphere 9.0. Please refer to vLCM APIs.

Scope specifies which where to deploy agents.

This structure may be used only with operations rendered under /eam.

§How to access

  • Agency::config.scope?
  • Agency::query_config().scope?
  • Agency::update(config).scope?
  • EsxAgentManager::create_agency(agency_config_info).scope?

Trait Implementations§

Source§

impl<From: VimObjectTrait + ?Sized + 'static> CastFrom<From> for dyn AgencyScopeTrait

Source§

fn from_ref<'a>(from: &'a From) -> Option<&'a Self>

Casts a reference to a trait object. If the cast fails, std::option::Option::None is returned.
Source§

fn from_box(from: Box<From>) -> Result<Box<Self>, Box<dyn Any + 'static>>

Casts a boxed trait object to another trait object. If the cast fails, the original boxed trait object is returned in std::result::Result::Err.
Source§

impl Deserialize for Box<dyn AgencyScopeTrait>

Source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

The only correct implementation of this method is: Read more

Implementors§