[][src]Struct rusoto_mgh::PutResourceAttributesRequest

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.

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 (ADS)'s 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 that VMMANAGERID, as a minimum, is always set. If VMMANAGERID 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 (ADS)'s 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

impl PartialEq<PutResourceAttributesRequest> for PutResourceAttributesRequest[src]

impl Default for PutResourceAttributesRequest[src]

impl Clone for PutResourceAttributesRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PutResourceAttributesRequest[src]

impl Serialize for PutResourceAttributesRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self