public sealed class BatchCreateInstanceStatus : IMessage<BatchCreateInstanceStatus>, IEquatable<BatchCreateInstanceStatus>, IDeepCloneable<BatchCreateInstanceStatus>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1alpha 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\u003e\u003ccode\u003eBatchCreateInstanceStatus\u003c/code\u003e is an API class within the AlloyDB v1alpha API, specifically designed to track the status of instances created during a \u003ccode\u003eBatchCreateInstances\u003c/code\u003e operation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchCreateInstanceStatus\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and data management within the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eInstances within a batch creation workflow can end up in one of three final states: \u003ccode\u003eACTIVE\u003c/code\u003e (successful creation), \u003ccode\u003eFAILED\u003c/code\u003e (creation failure), or \u003ccode\u003eROLLED_BACK\u003c/code\u003e (successful creation followed by deletion due to other failures).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchCreateInstanceStatus\u003c/code\u003e includes properties like \u003ccode\u003eError\u003c/code\u003e (for details on any creation errors), \u003ccode\u003eErrorMsg\u003c/code\u003e (deprecated error message), \u003ccode\u003eState\u003c/code\u003e (the current status of the instance), and \u003ccode\u003eType\u003c/code\u003e (the instance's type).\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided for creating a new instance of \u003ccode\u003eBatchCreateInstanceStatus\u003c/code\u003e either as an empty object or by cloning an existing \u003ccode\u003eBatchCreateInstanceStatus\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1alpha API - Class BatchCreateInstanceStatus (1.0.0-alpha12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.BatchCreateInstanceStatus)\n- [1.0.0-alpha11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/1.0.0-alpha11/Google.Cloud.AlloyDb.V1Alpha.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 v1alpha 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.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.BatchCreateInstanceStatus), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchCreateInstanceStatus](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.BatchCreateInstanceStatus), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchCreateInstanceStatus](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.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.V1Alpha](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Alpha.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; }"]]