 | RackConnectServiceExtensionsWaitUntilPublicIPIsActive Method |
Waits for the public IP address to become active.
Namespace: Rackspace.SynchronousAssembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntaxpublic static PublicIP WaitUntilPublicIPIsActive(
this RackConnectService rackConnectService,
Identifier publicIPId,
Nullable<TimeSpan> refreshDelay = null,
Nullable<TimeSpan> timeout = null,
IProgress<bool> progress = null
)
<ExtensionAttribute>
Public Shared Function WaitUntilPublicIPIsActive (
rackConnectService As RackConnectService,
publicIPId As Identifier,
Optional refreshDelay As Nullable(Of TimeSpan) = Nothing,
Optional timeout As Nullable(Of TimeSpan) = Nothing,
Optional progress As IProgress(Of Boolean) = Nothing
) As PublicIP
public:
[ExtensionAttribute]
static PublicIP^ WaitUntilPublicIPIsActive(
RackConnectService^ rackConnectService,
Identifier^ publicIPId,
Nullable<TimeSpan> refreshDelay = nullptr,
Nullable<TimeSpan> timeout = nullptr,
IProgress<bool>^ progress = nullptr
)
[<ExtensionAttribute>]
static member WaitUntilPublicIPIsActive :
rackConnectService : RackConnectService *
publicIPId : Identifier *
?refreshDelay : Nullable<TimeSpan> *
?timeout : Nullable<TimeSpan> *
?progress : IProgress<bool>
(* Defaults:
let _refreshDelay = defaultArg refreshDelay null
let _timeout = defaultArg timeout null
let _progress = defaultArg progress null
*)
-> PublicIP
Parameters
- rackConnectService
- Type: Rackspace.RackConnect.v3RackConnectService
- publicIPId
- Type: RackspaceIdentifier
The public IP address identifier. - refreshDelay (Optional)
- Type: SystemNullableTimeSpan
The amount of time to wait between requests. - timeout (Optional)
- Type: SystemNullableTimeSpan
The amount of time to wait before throwing a TimeoutException. - progress (Optional)
- Type: SystemIProgressBoolean
The progress callback.
Return Value
Type:
PublicIPUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
RackConnectService. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also