AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the PutResourceAttributes operation. Provides identifying details of the resource being migrated so that it can be associated in the Application Discovery Service (ADS)'s repository. This association occurs asynchronously after PutResourceAttributes returns.

Because this is an asynchronous call, it will always return 200, whether an association occurs or not. To confirm if an association was found based on the provided details, call ListDiscoveredResources.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.MigrationHub.AmazonMigrationHubRequest
      Amazon.MigrationHub.Model.PutResourceAttributesRequest

Namespace: Amazon.MigrationHub.Model
Assembly: AWSSDK.MigrationHub.dll
Version: 3.x.y.z

Syntax

C#
public class PutResourceAttributesRequest : AmazonMigrationHubRequest
         IAmazonWebServiceRequest

The PutResourceAttributesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DryRun System.Boolean

Gets and sets the property DryRun.

Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

Public Property MigrationTaskName System.String

Gets and sets the property MigrationTaskName.

Unique identifier that references the migration task.

Public Property ProgressUpdateStream System.String

Gets and sets the property ProgressUpdateStream.

The name of the ProgressUpdateStream.

Public Property ResourceAttributeList System.Collections.Generic.List<Amazon.MigrationHub.Model.ResourceAttribute>

Gets and sets the property ResourceAttributeList.

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:

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 ResourceAttribute object, it is required that VM_MANAGER_ID, as a minimum, is always set. If VM_MANAGER_ID 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 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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms