IAutoScaleServiceGetGroupStateAsync Method |
This API is preliminary and subject to change.
Get information about the current state of a scaling group.
Namespace: net.openstack.Providers.RackspaceAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax Task<GroupState> GetGroupStateAsync(
ScalingGroupId groupId,
CancellationToken cancellationToken
)
Function GetGroupStateAsync (
groupId As ScalingGroupId,
cancellationToken As CancellationToken
) As Task(Of GroupState)
Task<GroupState^>^ GetGroupStateAsync(
ScalingGroupId^ groupId,
CancellationToken cancellationToken
)
abstract GetGroupStateAsync :
groupId : ScalingGroupId *
cancellationToken : CancellationToken -> Task<GroupState>
Parameters
- groupId
- Type: net.openstack.Providers.Rackspace.Objects.AutoScaleScalingGroupId
The ID of the scaling group. This is obtained from ScalingGroup.Id. - cancellationToken
- Type: System.ThreadingCancellationToken
The CancellationToken that the task will observe.
Return Value
Type:
TaskGroupState
A
Task object representing the asynchronous operation. When the operation
completes, the
Result property will contain a
GroupState
object describing the current state of the scaling group.
Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also