1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the VMware Engine v1 API class StretchedClusterConfig.

Configuration of a stretched cluster.

## Inheritance

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

## Implements

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

## 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.VmwareEngine.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.md.txt)

## Assembly

Google.Cloud.VmwareEngine.V1.dll

## Constructors

### StretchedClusterConfig()

    public StretchedClusterConfig()

### StretchedClusterConfig(StretchedClusterConfig)

    public StretchedClusterConfig(StretchedClusterConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `StretchedClusterConfig` |

## Properties

### PreferredLocation

    public string PreferredLocation { get; set; }

Required. Zone that will remain operational when connection between the two
zones is lost. Specify the resource name of a zone that belongs to the
region of the private cloud. For example:
`projects/{project}/locations/europe-west3-a` where `{project}` can either
be a project number or a project ID.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PreferredLocationAsLocationName

    public LocationName PreferredLocationAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [PreferredLocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.StretchedClusterConfig.md.txt#Google_Cloud_VmwareEngine_V1_StretchedClusterConfig_PreferredLocation) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationName` |   |

### SecondaryLocation

    public string SecondaryLocation { get; set; }

Required. Additional zone for a higher level of availability and load
balancing. Specify the resource name of a zone that belongs to the region
of the private cloud. For example:
`projects/{project}/locations/europe-west3-b` where `{project}` can either
be a project number or a project ID.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SecondaryLocationAsLocationName

    public LocationName SecondaryLocationAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [SecondaryLocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VmwareEngine.V1/latest/Google.Cloud.VmwareEngine.V1.StretchedClusterConfig.md.txt#Google_Cloud_VmwareEngine_V1_StretchedClusterConfig_SecondaryLocation) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationName` |   |