You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// CreateAttachment creates asynchronously an attachment. The attachment returned will depend of the administrative state passed in options.
30
-
// If none is passed models.AdministrativeStateDeployed will be set by default.
31
-
// The valid administrative states options for a attachment creation are [models.AdministrativeStateCreationPending, models.AdministrativeStateCreationProceed, models.AdministrativeStateCreationError, models.AdministrativeStateDeployed]
31
+
// CreateAttachment creates asynchronously an attachment. The attachment returned will depend of the passed option.
32
+
// If none is passed the attachment will be returned once created in database with administrative state creation_pending.
33
+
// If the option WithWaitUntilElementDeployed() is passed, the attachment will be returned when its state reach deployed or creation_error.
34
+
// If the option WithWaitUntilElementUndeployed() is passed, it will not be considered hence the attachment returned will be in state creation_pending
// DeleteAttachment deletes asynchronously a cloud attachment. The attachment returned will depend of the administrative state passed in options.
101
-
// If none is passed models.AdministrativeStateDeleted will be set by default.
102
-
// The valid administrative states options for a attachment creation are [ models.AdministrativeStateDeletePending, models.AdministrativeStateDeleteProceed, models.AdministrativeStateDeleteError, models.AdministrativeStateDeleted]
99
+
// DeleteAttachment deletes asynchronously an attachment. The attachment returned will depend of the option passed.
100
+
// If none is passed the attachment will be returned once the request accepted, its state will be delete_pending
101
+
// If the option WithWaitUntilElementUndeployed() is passed, the attachment won't be returned as it would have been deleted. However, if an error is triggered, an object could be returned with a delete_error state.
102
+
// If the option WithWaitUntilElementDeployed() is passed, it will not be considered hence the attachment returned will be in state delete_pending
0 commit comments