public sealed class BatchCreateInstanceStatus : IMessage<BatchCreateInstanceStatus>, IEquatable<BatchCreateInstanceStatus>, IDeepCloneable<BatchCreateInstanceStatus>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class BatchCreateInstanceStatus.
Message for current status of an instance in the BatchCreateInstances
operation.
For example, lets say a BatchCreateInstances workflow has 4 instances,
Instance1 through Instance4. Lets also assume that 2 instances succeeded
but the third failed to create and the 4th was never picked up for creation
because of failure of the previous one. Then, resulting states would look
something like:
Instance1 = ROLLED_BACK
Instance2 = ROLLED_BACK
Instance3 = FAILED
Instance4 = FAILED
However, while the operation is running, the instance might be in other
states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states
/ do not get further updated once the operation is done.
public BatchCreateInstanceStatus.Types.State State { get; set; }
The current state of an instance involved in the batch create operation.
Once the operation is complete, the final state of the instances in the
LRO can be one of:
ACTIVE, indicating that instances were created successfully
FAILED, indicating that a particular instance failed creation
ROLLED_BACK indicating that although the instance was created
successfully, it had to be rolled back and deleted due to failure in
other steps of the workflow.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eBatchCreateInstanceStatus\u003c/code\u003e class within the Google Cloud AlloyDB v1 API, detailing its structure, usage, and the various versions available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchCreateInstanceStatus\u003c/code\u003e class is used to track the status of instances during a batch creation operation, with possible states including ACTIVE, FAILED, ROLLED_BACK, as well as states like PENDING_CREATE, CREATING, or DELETING during operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eBatchCreateInstanceStatus\u003c/code\u003e is 1.9.0, with older versions (1.0.0 to 1.8.0) also accessible through provided links, showing the history of this API's evolution.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which defines how it interacts with other types in the system, while also having its own constructor and properties like Error, ErrorMsg, State and Type.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation highlights the use of the \u003ccode\u003eError\u003c/code\u003e property for handling errors, and \u003ccode\u003eErrorMsg\u003c/code\u003e is indicated as deprecated, also the \u003ccode\u003eState\u003c/code\u003e property, which is an essential part of the \u003ccode\u003eBatchCreateInstanceStatus\u003c/code\u003e, describing the progression and the current state of the instance.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1 API - Class BatchCreateInstanceStatus (1.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.10.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.9.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.8.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.7.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.6.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.5.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.4.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.3.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.2.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.1.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.0.0/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus) \n\n public sealed class BatchCreateInstanceStatus : IMessage\u003cBatchCreateInstanceStatus\u003e, IEquatable\u003cBatchCreateInstanceStatus\u003e, IDeepCloneable\u003cBatchCreateInstanceStatus\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1 API class BatchCreateInstanceStatus.\n\nMessage for current status of an instance in the BatchCreateInstances\noperation.\nFor example, lets say a BatchCreateInstances workflow has 4 instances,\nInstance1 through Instance4. Lets also assume that 2 instances succeeded\nbut the third failed to create and the 4th was never picked up for creation\nbecause of failure of the previous one. Then, resulting states would look\nsomething like:\n\n1. Instance1 = ROLLED_BACK\n2. Instance2 = ROLLED_BACK\n3. Instance3 = FAILED\n4. Instance4 = FAILED\n\nHowever, while the operation is running, the instance might be in other\nstates including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states\n/ do not get further updated once the operation is done. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BatchCreateInstanceStatus \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchCreateInstanceStatus](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchCreateInstanceStatus](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchCreateInstanceStatus](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.BatchCreateInstanceStatus), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AlloyDb.V1](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1.dll\n\nConstructors\n------------\n\n### BatchCreateInstanceStatus()\n\n public BatchCreateInstanceStatus()\n\n### BatchCreateInstanceStatus(BatchCreateInstanceStatus)\n\n public BatchCreateInstanceStatus(BatchCreateInstanceStatus other)\n\nProperties\n----------\n\n### Error\n\n public Status Error { get; set; }\n\nThe RPC status of the instance creation operation. This field will be\npresent if an error happened during the instance creation.\n\n### ErrorMsg\n\n public string ErrorMsg { get; set; }\n\nDEPRECATED - Use the error field instead.\nError, if any error occurred and is available, during instance creation.\n\n### State\n\n public BatchCreateInstanceStatus.Types.State State { get; set; }\n\nThe current state of an instance involved in the batch create operation.\nOnce the operation is complete, the final state of the instances in the\nLRO can be one of:\n\n1. ACTIVE, indicating that instances were created successfully\n2. FAILED, indicating that a particular instance failed creation\n3. ROLLED_BACK indicating that although the instance was created successfully, it had to be rolled back and deleted due to failure in other steps of the workflow.\n\n### Type\n\n public Instance.Types.InstanceType Type { get; set; }"]]