diff --git a/handler/organizationbilling/organizationbilling.go b/handler/organizationbilling/organizationbilling.go index cc7b345..7313f7d 100644 --- a/handler/organizationbilling/organizationbilling.go +++ b/handler/organizationbilling/organizationbilling.go @@ -211,6 +211,7 @@ type OrganizationBillingGroupUpdateIn struct { BillingEmails *[]BillingEmailIn `json:"billing_emails,omitempty"` // List of billing contact emails BillingGroupName *string `json:"billing_group_name,omitempty"` // Billing group name CustomInvoiceText *string `json:"custom_invoice_text,omitempty"` // Extra billing text + PaymentMethod *PaymentMethodIn `json:"payment_method,omitempty"` // Payment method PaymentMethodId *string `json:"payment_method_id,omitempty"` // Payment method ID ShippingAddressId *string `json:"shipping_address_id,omitempty"` // Shipping address ID VatId *string `json:"vat_id,omitempty"` // VAT ID diff --git a/handler/service/service.go b/handler/service/service.go index f54b4b2..e48913a 100644 --- a/handler/service/service.go +++ b/handler/service/service.go @@ -1565,6 +1565,7 @@ type NodeStateOut struct { Name string `json:"name"` // Name of the service node ProgressUpdates []ProgressUpdateOut `json:"progress_updates,omitempty"` // Extra information regarding the progress for current state Role RoleType `json:"role,omitempty"` // Role of this node. Only returned for a subset of service types + Roles *string `json:"roles,omitempty"` // A role string indicating the node's roles in the OpenSearch cluster. Only populated for OpenSearch services using cluster plans. Format: first character is '*' (elected cluster manager) or '-' (not elected), followed by role letters: 'd' (data), 'i' (ingest), 'm' (cluster_manager eligible), 'c' (coordinating), 'L' (ML), 'D' (Dashboards). Example: '*mc' means elected cluster manager with cluster_manager and coordinating roles. Shard *ShardOut `json:"shard,omitempty"` // Shard of this node. Only returned for a subset of service types State NodeStateType `json:"state"` // Current state of the service node } @@ -2268,8 +2269,9 @@ type ServiceTaskCreateIn struct { CreateUserBackup *CreateUserBackupIn `json:"create_user_backup,omitempty"` // Payload to be used with create_user_backup DatasetImport *DatasetImportIn `json:"dataset_import,omitempty"` // Payload to be used with dataset_import MigrationCheck *MigrationCheckIn `json:"migration_check,omitempty"` // Payload to be used with migration_check - TargetVersion TargetVersionType `json:"target_version,omitempty"` // Target version used with upgrade_check + TargetVersion TargetVersionType `json:"target_version,omitempty"` // Deprecated! Use 'upgrade_check' field TaskType TaskType `json:"task_type"` // Service task type + UpgradeCheck *UpgradeCheckIn `json:"upgrade_check,omitempty"` // Payload to be used with upgrade_check } // ServiceTaskCreateOut Task info @@ -2624,6 +2626,12 @@ type UpdateOut struct { StartAfter *string `json:"start_after,omitempty"` // The earliest time the update will be automatically applied StartAt *time.Time `json:"start_at,omitempty"` // The time when the update will be automatically applied } + +// UpgradeCheckIn Payload to be used with upgrade_check +type UpgradeCheckIn struct { + Async *bool `json:"async,omitempty"` // Run task asynchronously and return immediately + TargetVersion TargetVersionType `json:"target_version"` // Target version used with upgrade_check +} type UsageType string const (