Skip to content

Conversation

akshith-gunasheelan
Copy link
Collaborator

@akshith-gunasheelan akshith-gunasheelan commented Sep 12, 2025

Description

This PR introduces a new function SubmitNewProfileAsync() to the Go SDK, enabling asynchronous server profile creation. Unlike the existing SubmitNewProfile() (which blocks until task completion), the async variant immediately returns the task object, allowing customers to poll task status and continue their workflows without blocking.

Key Points

Adds SubmitNewProfileAsync() alongside the existing synchronous method
Returns the task object and error, giving customers visibility into task IDs and URIs.
Maintains backward compatibility with existing scripts and Terraform integrations.

Issues Resolved

[List any issues this PR will resolve. e.g., Fixes #1]

Check List

  • New functionality includes testing.
    • All tests pass for go 1.11 + gofmt checks.
  • New functionality has been documented in the README if applicable.
    • New functionality has been thoroughly documented in the examples (please include helpful comments).
  • Changes are documented in the CHANGELOG.

} else {

if err != nil {
fmt.Println("Error marshaling task:", err)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add some documentation regarding the new async server profile creation function. In the next release add it in the release notes also

Copy link
Collaborator

@nabhajit-ray nabhajit-ray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akshith-gunasheelan akshith-gunasheelan removed the request for review from ashwini198923 September 18, 2025 07:15
@akshith-gunasheelan akshith-gunasheelan merged commit fb4c664 into master Sep 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants