ListVccGrantRules

Updated at:

Queries the details of a specific Lingjun connection authorization, including the authorized tenant ID, region, and Lingjun HUB instance information.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eflo:ListVccGrantRules

list

*VccGrantRule

acs:eflo:{#regionId}:{#accountId}:VccGrantRule/*

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-wulanchabu

ErId

string

No

The Lingjun HUB ID.

er-kkopgtne

GrantTenantId

string

No

The authorized tenant ID.

1620939556166277

InstanceId

string

No

The network instance ID.

Note

This parameter is actually required. If it is not provided, the API returns error code 1006 (The InstanceId parameter is empty). You can call ListVccs to obtain a valid Lingjun connection instance ID.

vcc-cn-jaj33d1b804

InstanceName

string

No

The instance name.

vcc-1

GrantRuleId

string

No

The authorization entry ID.

grant-rule-jaj33d1b804

ForSelect

boolean

No

Specifies whether the parameter is used for a drop-down list.

true

ResourceGroupId

string

No

The resource group instance ID.

rg-aeky5f3qx6ceapq

PageNumber

integer

No

The current page number. Starting value: 1. Default value: 1.

1

PageSize

integer

No

The number of entries per page. Default value: 20.

20

EnablePage

boolean

No

Specifies whether to enable paged query. Valid values:

  • true: Enables paged query.

  • false: Disables paged query.

false

Response elements

Element

Type

Description

Example

object

The response information.

Code

integer

The response status code.

0

Message

string

The response message.

success

RequestId

string

The request ID.

A56F7D3C-8850-5AF4-A342-2D71C9A9D1CC

Content

object

The response content.

Total

integer

The total number of records.

0

Data

array<object>

The list of cross-account authorization information for Lingjun connections.

object

The cross-account authorization information for a Lingjun connection.

RegionId

string

The region ID.

cn-wulanchabu

TenantId

string

The tenant ID.

1655449505171

InstanceId

string

The network instance ID.

vcc-cn-jaj33d1kb05

InstanceName

string

The instance name.

vcc-1

Product

string

The authorized product type. Valid values:

  • VPD: Lingjun VPD instance

  • VCC: Lingjun connection VCC instance

VCC

ErId

string

The Lingjun HUB ID.

er-kkopgtne

GrantTenantId

string

The authorized tenant ID.

1013666993027780

Used

boolean

Specifies whether the current cross-account resource is bound to a cross-account Lingjun HUB. Valid values:

  • true: Used

  • false: Unused

true

CreateTime

string

The creation time. The value is a 13-digit UNIX timestamp in milliseconds.

1678273219000

GrantRuleId

string

The instance ID of the cross-account authorization information.

grant-rule-jpumgwvp

ResourceGroupId

string

The resource group instance ID.

rg-aek2l4sq6l7unhi

AccessDeniedDetail

string

The details of the access denial.

None

Examples

Success response

JSON format

{
  "Code": 0,
  "Message": "success",
  "RequestId": "A56F7D3C-8850-5AF4-A342-2D71C9A9D1CC",
  "Content": {
    "Total": 0,
    "Data": [
      {
        "RegionId": "cn-wulanchabu",
        "TenantId": "1655449505171",
        "InstanceId": "vcc-cn-jaj33d1kb05",
        "InstanceName": "vcc-1",
        "Product": "VCC",
        "ErId": "er-kkopgtne",
        "GrantTenantId": "1013666993027780",
        "Used": true,
        "CreateTime": "1678273219000",
        "GrantRuleId": "grant-rule-jpumgwvp",
        "ResourceGroupId": "rg-aek2l4sq6l7unhi"
      }
    ]
  },
  "AccessDeniedDetail": "None"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.