public sealed class RenameInstanceRequest : IMessage<RenameInstanceRequest>, IEquatable<RenameInstanceRequest>, IDeepCloneable<RenameInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class RenameInstanceRequest.
Message requesting rename of a server.
Implements
IMessageRenameInstanceRequest, IEquatableRenameInstanceRequest, IDeepCloneableRenameInstanceRequest, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
RenameInstanceRequest()
public RenameInstanceRequest()
RenameInstanceRequest(RenameInstanceRequest)
public RenameInstanceRequest(RenameInstanceRequest other)
Parameter | |
---|---|
Name | Description |
other |
RenameInstanceRequest |
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 name
field is used to identify the instance.
Format: projects/{project}/locations/{location}/instances/{instance}
Property Value | |
---|---|
Type | Description |
string |
NewInstanceId
public string NewInstanceId { get; set; }
Required. The new id
of the instance.
Property Value | |
---|---|
Type | Description |
string |