pub struct ClusterProfileConfigServiceCreateSpec {
pub cluster_profile_config_spec_: ClusterProfileConfigSpec,
pub service_type: Option<Vec<String>>,
}Expand description
DataObject which allows reconfiguration of a profile based on services that will be available on the cluster.
§How to access
HostProfileManager::create_profile(create_spec)→ClusterProfileConfigServiceCreateSpecProfileManager::create_profile(create_spec)→ClusterProfileConfigServiceCreateSpecClusterProfile::update_cluster_profile(config)→ClusterProfileConfigServiceCreateSpecClusterProfileManager::create_profile(create_spec)→ClusterProfileConfigServiceCreateSpec
Fields§
§cluster_profile_config_spec_: ClusterProfileConfigSpec§service_type: Option<Vec<String>>Type of the service for which the ClusterProfile is being requested.
If more than one service is specified, the created ClusterProfile will cater for all the services. Possible values are specified by ClusterProfileServiceType_enum. If unset, clear the compliance expressions on the profile.
Trait Implementations§
Source§impl ClusterProfileConfigSpecTrait for ClusterProfileConfigServiceCreateSpec
impl ClusterProfileConfigSpecTrait for ClusterProfileConfigServiceCreateSpec
Source§fn get_cluster_profile_config_spec(&self) -> &ClusterProfileConfigSpec
fn get_cluster_profile_config_spec(&self) -> &ClusterProfileConfigSpec
Get a reference to the ClusterProfileConfigSpec parent struct
Source§fn get_cluster_profile_config_spec_mut(
&mut self,
) -> &mut ClusterProfileConfigSpec
fn get_cluster_profile_config_spec_mut( &mut self, ) -> &mut ClusterProfileConfigSpec
Get a mutable reference to the ClusterProfileConfigSpec parent struct
Source§impl ClusterProfileCreateSpecTrait for ClusterProfileConfigServiceCreateSpec
impl ClusterProfileCreateSpecTrait for ClusterProfileConfigServiceCreateSpec
Source§fn get_cluster_profile_create_spec(&self) -> &ClusterProfileCreateSpec
fn get_cluster_profile_create_spec(&self) -> &ClusterProfileCreateSpec
Get a reference to the ClusterProfileCreateSpec parent struct
Source§fn get_cluster_profile_create_spec_mut(
&mut self,
) -> &mut ClusterProfileCreateSpec
fn get_cluster_profile_create_spec_mut( &mut self, ) -> &mut ClusterProfileCreateSpec
Get a mutable reference to the ClusterProfileCreateSpec parent struct
Source§impl ProfileCreateSpecTrait for ClusterProfileConfigServiceCreateSpec
impl ProfileCreateSpecTrait for ClusterProfileConfigServiceCreateSpec
Source§fn get_profile_create_spec(&self) -> &ProfileCreateSpec
fn get_profile_create_spec(&self) -> &ProfileCreateSpec
Get a reference to the ProfileCreateSpec parent struct
Source§fn get_profile_create_spec_mut(&mut self) -> &mut ProfileCreateSpec
fn get_profile_create_spec_mut(&mut self) -> &mut ProfileCreateSpec
Get a mutable reference to the ProfileCreateSpec parent struct
Source§impl VimObjectTrait for ClusterProfileConfigServiceCreateSpec
impl VimObjectTrait for ClusterProfileConfigServiceCreateSpec
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for ClusterProfileConfigServiceCreateSpec
Auto Trait Implementations§
impl Freeze for ClusterProfileConfigServiceCreateSpec
impl RefUnwindSafe for ClusterProfileConfigServiceCreateSpec
impl Send for ClusterProfileConfigServiceCreateSpec
impl Sync for ClusterProfileConfigServiceCreateSpec
impl Unpin for ClusterProfileConfigServiceCreateSpec
impl UnsafeUnpin for ClusterProfileConfigServiceCreateSpec
impl UnwindSafe for ClusterProfileConfigServiceCreateSpec
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