Stable Url
A stable URL provides a failover-aware endpoint for accessing a workspace. Its lifecycle is independent of any failover group.
StableUrl object
A stable URL provides a failover-aware endpoint for accessing a workspace. Its lifecycle is independent of any failover group.
- namestringImmutable
Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}.
- urlstringOutput onlyImmutable
The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is
https://<spog_host>/?w=<connection_id>. For Private-Link workspaces this is the per-connection hostname.
- initial_workspace_idstringInput onlyImmutable
The workspace this stable URL is initially bound to. Used only in Create requests to associate the stable URL with a workspace. Not returned in responses.
- failover_group_namestringOutput only
Fully qualified resource name of the FailoverGroup this stable URL is currently linked to, in the format
accounts/{account_id}/failover-groups/{failover_group_id}. Empty when the stable URL is not attached to any failover group.
- effective_workspace_idstringOutput only
The workspace this stable URL currently routes to. Set to
initial_workspace_idat creation, advanced to the failover group's primary while attached (including across a failover), and preserved when the stable URL is detached from its failover group. Read this to see where an unattached stable URL points: after a failover followed by a detach it reflects the post-failover primary, notinitial_workspace_id.
- stable_workspace_idstringOutput onlyImmutable
The stable workspace ID for this stable URL. Generated on creation and immutable thereafter; identifies the URL across failovers and is the same value embedded in the
url(as thew=query parameter for SPOG URLs, or in theconn-<id>hostname for Private-Link URLs).
Get a Stable URL GA
GET
Get a stable URL.
API scopes: disaster-recovery
Parameters
- namestringRequiredpath
The fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}.
Response
Returns the StableUrl object.
List Stable URLs GA
GET
List stable URLs for an account.
API scopes: disaster-recovery
Parameters
- parentstringRequiredpath
The parent resource. Format: accounts/{account_id}.
- page_sizeint32query
Maximum number of stable URLs to return per page:
- when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
- when set to 0 or unset, the page length is set to a server configured value (recommended);
- when set to a value less than 0, an invalid parameter error is returned.
- page_tokenstringquery
Page token received from a previous ListStableUrls call. Provide this to retrieve the subsequent page.
Response
Returns a list of StableUrl objects.
Create a Stable URL GA
POST
Create a new stable URL.
API scopes: disaster-recovery
Parameters
- parentstringRequiredpath
The parent resource. Format: accounts/{account_id}.
- validate_onlybooleanquery
When true, validates the request without creating the stable URL.
- stable_url_idstringRequiredquery
Client-provided identifier for the stable URL. Used to construct the resource name as {parent}/stable-urls/{stable_url_id}.
Request body
- stable_urlobjectRequired
The stable URL to create.
Show child attributesHide child attributes
- namestringImmutable
Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}.
- initial_workspace_idstringRequiredInput onlyImmutable
The workspace this stable URL is initially bound to. Used only in Create requests to associate the stable URL with a workspace. Not returned in responses.
Response
Returns the StableUrl object.
Delete a Stable URL GA
DELETE
Delete a stable URL.
API scopes: disaster-recovery
Parameters
- namestringRequiredpath
The fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}.