All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::GA::Acls

Last Updated:Mar 30, 2023

DATASOURCE::GA::Acls is used to query access control lists (ACLs).

Syntax

{
  "Type": "DATASOURCE::GA::Acls",
  "Properties": {
    "ResourceGroupId": String,
    "AclId": String,
    "AclName": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

ResourceGroupId

String

No

Yes

The ID of the resource group.

None.

AclId

String

No

Yes

The ID of the ACL.

None.

AclName

String

No

Yes

The name of the ACL.

None.

Return values

Fn::GetAtt

  • Acls: details of the ACLs.

  • AclIds: the IDs of the ACLs.

Property

Type

Description

Constraint

AclIds

List

The IDs of the ACLs.

None.

Acls

List

Details of the ACLs.

None.

Status

String

The state of the ACL.

Valid values:

  • init: The ACL is being initialized.

  • active: The ACL is available.

  • configuring: The ACL is being configured.

  • updating: The ACL is being updated.

  • deleting: The ACL is being deleted.

ResourceGroupId

String

The ID of the resource group.

None.

AclName

String

The name of the ACL.

None.

AclId

String

The ID of the ACL.

None.

AddressIPVersion

String

The IP version of the ACL.

Valid values:

  • IPv4

  • IPv6

Examples

  • YAML format

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters: {}
    Resources:
      ExtensionDataSource:
        Type: DATASOURCE::GA::Acls
        Properties:
          AclName: test-acl
    Outputs:
      Acls:
        Description: The list of acls.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - Acls
      AclIds:
        Description: The list of acl IDs.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - AclIds
  • JSON format

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
      },
      "Resources": {
        "ExtensionDataSource": {
          "Type": "DATASOURCE::GA::Acls",
          "Properties": {
            "AclName": "test-acl"
          }
        }
      },
      "Outputs": {
        "Acls": {
          "Description": "The list of acls.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "Acls"
            ]
          }
        },
        "AclIds": {
          "Description": "The list of acl IDs.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "AclIds"
            ]
          }
        }
      }
    }