#[non_exhaustive]pub struct PutResourceAttributesInput {
pub progress_update_stream: Option<String>,
pub migration_task_name: Option<String>,
pub resource_attribute_list: Option<Vec<ResourceAttribute>>,
pub dry_run: Option<bool>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.progress_update_stream: Option<String>The name of the ProgressUpdateStream.
migration_task_name: Option<String>Unique identifier that references the migration task. Do not store personal data in this field.
resource_attribute_list: Option<Vec<ResourceAttribute>>Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
Takes the object array of ResourceAttribute where the Type field is reserved for the following values: IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER where the identifying value can be a string up to 256 characters.
-
If any "VM" related value is set for a
ResourceAttributeobject, it is required thatVM_MANAGER_ID, as a minimum, is always set. IfVM_MANAGER_IDis not set, then all "VM" fields will be discarded and "VM" fields will not be used for matching the migration task to a server in Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values. -
If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you know in separate type/value pairs passed to the
ResourceAttributeListparameter to maximize the chances of matching.
dry_run: Option<bool>Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Implementations§
source§impl PutResourceAttributesInput
impl PutResourceAttributesInput
sourcepub fn progress_update_stream(&self) -> Option<&str>
pub fn progress_update_stream(&self) -> Option<&str>
The name of the ProgressUpdateStream.
sourcepub fn migration_task_name(&self) -> Option<&str>
pub fn migration_task_name(&self) -> Option<&str>
Unique identifier that references the migration task. Do not store personal data in this field.
sourcepub fn resource_attribute_list(&self) -> &[ResourceAttribute]
pub fn resource_attribute_list(&self) -> &[ResourceAttribute]
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
Takes the object array of ResourceAttribute where the Type field is reserved for the following values: IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER where the identifying value can be a string up to 256 characters.
-
If any "VM" related value is set for a
ResourceAttributeobject, it is required thatVM_MANAGER_ID, as a minimum, is always set. IfVM_MANAGER_IDis not set, then all "VM" fields will be discarded and "VM" fields will not be used for matching the migration task to a server in Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values. -
If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you know in separate type/value pairs passed to the
ResourceAttributeListparameter to maximize the chances of matching.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_attribute_list.is_none().
source§impl PutResourceAttributesInput
impl PutResourceAttributesInput
sourcepub fn builder() -> PutResourceAttributesInputBuilder
pub fn builder() -> PutResourceAttributesInputBuilder
Creates a new builder-style object to manufacture PutResourceAttributesInput.
Trait Implementations§
source§impl Clone for PutResourceAttributesInput
impl Clone for PutResourceAttributesInput
source§fn clone(&self) -> PutResourceAttributesInput
fn clone(&self) -> PutResourceAttributesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PutResourceAttributesInput
impl Debug for PutResourceAttributesInput
source§impl PartialEq for PutResourceAttributesInput
impl PartialEq for PutResourceAttributesInput
source§fn eq(&self, other: &PutResourceAttributesInput) -> bool
fn eq(&self, other: &PutResourceAttributesInput) -> bool
self and other values to be equal, and is used
by ==.