1.2.0 (latest) 1.1.0 1.0.0

    public sealed class SelfManagedSource : IMessage<SelfManagedSource>, IEquatable<SelfManagedSource>, IDeepCloneable<SelfManagedSource>, IBufferMessage, IMessage

Reference documentation and code samples for the Memorystore v1 API class SelfManagedSource.

Details of the self-managed source instance.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SelfManagedSource

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SelfManagedSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.SelfManagedSource), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SelfManagedSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.SelfManagedSource), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SelfManagedSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.SelfManagedSource), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Memorystore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1)

## Assembly

Google.Cloud.Memorystore.V1.dll

## Constructors

### SelfManagedSource()

    public SelfManagedSource()

### SelfManagedSource(SelfManagedSource)

    public SelfManagedSource(SelfManagedSource other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.SelfManagedSource` |

## Properties

### IpAddress

    public string IpAddress { get; set; }

Required. The IP address of the source instance.
This IP address should be a stable IP address that can be accessed by the
Memorystore instance throughout the migration process.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### NetworkAttachment

    public string NetworkAttachment { get; set; }

Required. The resource name of the Private Service Connect Network
Attachment used to establish connectivity to the source instance. This
network attachment has the following requirements:

1. It must be in the same project as the Memorystore instance.
2. It must be in the same region as the Memorystore instance.
3. The subnet attached to the network attachment must be in the same VPC network as the source instance nodes.

Format:
projects/{project}/regions/{region}/networkAttachments/{network_attachment}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### NetworkAttachmentAsNetworkAttachmentName

    public NetworkAttachmentName NetworkAttachmentAsNetworkAttachmentName { get; set; }

[NetworkAttachmentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.NetworkAttachmentName)-typed view over the [NetworkAttachment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.SelfManagedSource#Google_Cloud_Memorystore_V1_SelfManagedSource_NetworkAttachment) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.NetworkAttachmentName` |   |

### Port

    public int Port { get; set; }

Required. The port of the source instance.
This port should be a stable port that can be accessed by the Memorystore
instance throughout the migration process.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |