Struct rusoto_mgh::PutResourceAttributesRequest [−][src]
pub struct PutResourceAttributesRequest { pub dry_run: Option<bool>, pub migration_task_name: String, pub progress_update_stream: String, pub resource_attribute_list: Vec<ResourceAttribute>, }
Fields
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.
migration_task_name: String
Unique identifier that references the migration task. Do not store personal data in this field.
progress_update_stream: String
The name of the ProgressUpdateStream.
resource_attribute_list: 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: IPV4ADDRESS | IPV6ADDRESS | MACADDRESS | FQDN | VMMANAGERID | VMMANAGEDOBJECTREFERENCE | VMNAME | VMPATH | BIOSID | MOTHERBOARDSERIALNUMBER
where the identifying value can be a string up to 256 characters.
-
If any "VM" related value is set for a
ResourceAttribute
object, it is required thatVMMANAGERID
, as a minimum, is always set. IfVMMANAGERID
is 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 <a href="https://docs.aws.amazon.com/migrationhub/latest/ug/APIPutResourceAttributes.html#APIPutResourceAttributesExamples">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
ResourceAttributeList
parameter to maximize the chances of matching.
Trait Implementations
Returns the “default value” for a type. Read more
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 Send for PutResourceAttributesRequest
impl Sync for PutResourceAttributesRequest
impl Unpin for PutResourceAttributesRequest
impl UnwindSafe for PutResourceAttributesRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self