#[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: 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: boolOptional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutResourceAttributes, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutResourceAttributes, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutResourceAttributes>
Creates a new builder-style object to manufacture PutResourceAttributesInput
The name of the ProgressUpdateStream.
Unique identifier that references the migration task. Do not store personal data in this field.
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.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PutResourceAttributesInput
impl Send for PutResourceAttributesInput
impl Sync for PutResourceAttributesInput
impl Unpin for PutResourceAttributesInput
impl UnwindSafe for PutResourceAttributesInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more