Skip to main content

Retrieve an availability group

Returns a representation of the specified availability group.

Path Parameters
  • availability_group_id string required

    Performs the operation on the ag with the specified ID.

Query Parameters
  • embed string

    Embeds the details of an associated resource. Set the parameter to one of the following embeddable links to include additional details associated with the resource.

    Embeddable LinkDescription
    read-policy-definitionEmbeds the definition of the policy associated with this resource. Unprotected resources will not have an associated policy. For example, ?embed=read-policy-definition
    get-ec2-mssql-stats-backup-statusEmbeds the backup statistics for each resource into the response. For example, ?embed=get-ec2-mssql-stats-backup-status
    For more information about embedded links, refer to the Embedding Referenced Resources section of this guide.
  • lookback_days int64

    Calculate backup status for the last lookback_days days.

Responses

Success


Schema
  • _embedded object

    Embedded responses related to the resource.

  • get-mssql-ec2-availability-group-backup-status-stats

    availability group level backup status stats

  • get-mssql-ec2-availability-group-stats

    availability group level protection stats

  • read-policy-definition Embeds the associated policy of a protected resource in the response if requested using the `embed` query parameter. Unprotected resources will not have an associated policy.

    Embeds the associated policy of a protected resource in the response if requested using the embed query parameter. Unprotected resources will not have an associated policy.

  • _links object

    URLs to pages related to the resource.

  • _self object

    The HATEOAS link to this resource.

  • href string

    The URI for the referenced operation.

  • templated boolean

    Determines whether the "href" link is a URI template. If set to true, the "href" link is a URI template.

  • type string

    The HTTP method to be used with the "href" link for the referenced operation.

  • get-mssql-ec2-availability-group-backup-status-stats object

    A resource-specific HATEOAS link.

  • href string

    The URI for the referenced operation.

  • templated boolean

    Determines whether the "href" link is a URI template. If set to true, the "href" link is a URI template.

  • type string

    The HTTP method to be used with the "href" link for the referenced operation.

  • get-mssql-ec2-availability-group-stats object

    A resource-specific HATEOAS link.

  • href string

    The URI for the referenced operation.

  • templated boolean

    Determines whether the "href" link is a URI template. If set to true, the "href" link is a URI template.

  • type string

    The HTTP method to be used with the "href" link for the referenced operation.

  • read-policy-definition object

    A HATEOAS link to the policy protecting this resource. Will be omitted for unprotected entities.

  • href string

    The URI for the referenced operation.

  • templated boolean

    Determines whether the "href" link is a URI template. If set to true, the "href" link is a URI template.

  • type string

    The HTTP method to be used with the "href" link for the referenced operation.

  • id string

    The Clumio-assigned ID of the availability group.

  • name string

    The Microsoft SQL-assigned name of the availability group.

  • organizational_unit_id string

    The Clumio-assigned ID of the organizational unit associated with the availability group.

  • protection_info object

    The protection policy applied to this resource. If the resource is not protected, then this field has a value of null.

  • inheriting_entity_id string

    The ID of the entity from which protection was inherited. If protection was not inherited, then this field has a value of null.

  • inheriting_entity_type string

    The type of entity from which protection was inherited. If protection was not inherited, then this field has a value of null.
    Entities from which protection can be inherited include the following:

    Inheriting Entity TypeDetails
    aws_tagAWS tag.
  • policy_id string

    A system-generated ID assigned to the policy protecting this resource.

  • status string

    The status of the availability group, Possible values include 'active' and 'inactive'.

GET /datasources/aws/ec2-mssql/availability-groups/:availability_group_id    

Authorization

Request

Click Edit to configure Base URL
https://us-west-2.api.clumio.com
Bearer Token
availability_group_id — path required
embed — query
lookback_days — query
curl -L -X GET 'https://us-west-2.api.clumio.com/datasources/aws/ec2-mssql/availability-groups/:availability_group_id' \
-H 'Accept: application/api.clumio.ec2-mssql-availability-groups=v1+json' \
-H 'Authorization: Bearer <TOKEN>'