public sealed class PromoteReplicaRequest : IMessage<PromoteReplicaRequest>, IEquatable<PromoteReplicaRequest>, IDeepCloneable<PromoteReplicaRequest>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Filestore v1 API class PromoteReplicaRequest.
PromoteReplicaRequest promotes a Filestore standby instance (replica).
Implements
IMessagePromoteReplicaRequest, IEquatablePromoteReplicaRequest, IDeepCloneablePromoteReplicaRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Filestore.V1Assembly
Google.Cloud.Filestore.V1.dll
Constructors
PromoteReplicaRequest()
public PromoteReplicaRequest()PromoteReplicaRequest(PromoteReplicaRequest)
public PromoteReplicaRequest(PromoteReplicaRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
PromoteReplicaRequest |
Properties
InstanceName
public InstanceName InstanceName { get; set; }InstanceName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
InstanceName |
|
Name
public string Name { get; set; }Required. The resource name of the instance, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PeerInstance
public string PeerInstance { get; set; }Optional. The resource name of the peer instance to promote, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}.
The peer instance is required if the operation is called on an active
instance.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PeerInstanceAsInstanceName
public InstanceName PeerInstanceAsInstanceName { get; set; }InstanceName-typed view over the PeerInstance resource name property.
| Property Value | |
|---|---|
| Type | Description |
InstanceName |
|