Struct rusoto_mgh::PutResourceAttributesRequest
source · [−]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
sourceimpl Clone for PutResourceAttributesRequest
impl Clone for PutResourceAttributesRequest
sourcefn clone(&self) -> PutResourceAttributesRequest
fn clone(&self) -> PutResourceAttributesRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PutResourceAttributesRequest
impl Debug for PutResourceAttributesRequest
sourceimpl Default for PutResourceAttributesRequest
impl Default for PutResourceAttributesRequest
sourcefn default() -> PutResourceAttributesRequest
fn default() -> PutResourceAttributesRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PutResourceAttributesRequest> for PutResourceAttributesRequest
impl PartialEq<PutResourceAttributesRequest> for PutResourceAttributesRequest
sourcefn eq(&self, other: &PutResourceAttributesRequest) -> bool
fn eq(&self, other: &PutResourceAttributesRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PutResourceAttributesRequest) -> bool
fn ne(&self, other: &PutResourceAttributesRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for PutResourceAttributesRequest
Auto Trait Implementations
impl RefUnwindSafe for PutResourceAttributesRequest
impl Send for PutResourceAttributesRequest
impl Sync for PutResourceAttributesRequest
impl Unpin for PutResourceAttributesRequest
impl UnwindSafe for PutResourceAttributesRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more