GetAccessRules
This data source provides AccessRule available to the user.
NOTE: Available in 1.35.0+
Using GetAccessRules
function getAccessRules(args: GetAccessRulesArgs, opts?: InvokeOptions): Promise<GetAccessRulesResult>function get_access_rules(access_group_name=None, ids=None, output_file=None, rw_access=None, source_cidr_ip=None, user_access=None, opts=None)func GetAccessRules(ctx *Context, args *GetAccessRulesArgs, opts ...InvokeOption) (*GetAccessRulesResult, error)public static class GetAccessRules {
public static Task<GetAccessRulesResult> InvokeAsync(GetAccessRulesArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Access
Group stringName Filter results by a specific AccessGroupName.
- Ids List<string>
A list of rule IDs.
- Output
File string - Rw
Access string Filter results by a specific RWAccess.
- Source
Cidr stringIp Filter results by a specific SourceCidrIp.
- User
Access string Filter results by a specific UserAccess.
- Access
Group stringName Filter results by a specific AccessGroupName.
- Ids []string
A list of rule IDs.
- Output
File string - Rw
Access string Filter results by a specific RWAccess.
- Source
Cidr stringIp Filter results by a specific SourceCidrIp.
- User
Access string Filter results by a specific UserAccess.
- access
Group stringName Filter results by a specific AccessGroupName.
- ids string[]
A list of rule IDs.
- output
File string - rw
Access string Filter results by a specific RWAccess.
- source
Cidr stringIp Filter results by a specific SourceCidrIp.
- user
Access string Filter results by a specific UserAccess.
- access_
group_ strname Filter results by a specific AccessGroupName.
- ids List[str]
A list of rule IDs.
- output_
file str - rw_
access str Filter results by a specific RWAccess.
- source_
cidr_ strip Filter results by a specific SourceCidrIp.
- user_
access str Filter results by a specific UserAccess.
GetAccessRules Result
The following output properties are available:
- Access
Group stringName - Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
A list of rule IDs, Each element set to
access_rule_id(Each element formats as<access_group_name>:<access rule id>before 1.53.0).- Rules
List<Pulumi.
Ali Cloud. Nas. Outputs. Get Access Rules Rule> A list of AccessRules. Each element contains the following attributes:
- Output
File string - Rw
Access string RWAccess of the AccessRule.
- Source
Cidr stringIp SourceCidrIp of the AccessRule.
- User
Access string UserAccess of the AccessRule
- Access
Group stringName - Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
A list of rule IDs, Each element set to
access_rule_id(Each element formats as<access_group_name>:<access rule id>before 1.53.0).- Rules
[]Get
Access Rules Rule A list of AccessRules. Each element contains the following attributes:
- Output
File string - Rw
Access string RWAccess of the AccessRule.
- Source
Cidr stringIp SourceCidrIp of the AccessRule.
- User
Access string UserAccess of the AccessRule
- access
Group stringName - id string
The provider-assigned unique ID for this managed resource.
- ids string[]
A list of rule IDs, Each element set to
access_rule_id(Each element formats as<access_group_name>:<access rule id>before 1.53.0).- rules
Get
Access Rules Rule[] A list of AccessRules. Each element contains the following attributes:
- output
File string - rw
Access string RWAccess of the AccessRule.
- source
Cidr stringIp SourceCidrIp of the AccessRule.
- user
Access string UserAccess of the AccessRule
- access_
group_ strname - id str
The provider-assigned unique ID for this managed resource.
- ids List[str]
A list of rule IDs, Each element set to
access_rule_id(Each element formats as<access_group_name>:<access rule id>before 1.53.0).- rules
List[Get
Access Rules Rule] A list of AccessRules. Each element contains the following attributes:
- output_
file str - rw_
access str RWAccess of the AccessRule.
- source_
cidr_ strip SourceCidrIp of the AccessRule.
- user_
access str UserAccess of the AccessRule
Supporting Types
GetAccessRulesRule
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Access
Rule stringId AccessRuleId of the AccessRule.
- Priority int
Priority of the AccessRule.
- Rw
Access string Filter results by a specific RWAccess.
- Source
Cidr stringIp Filter results by a specific SourceCidrIp.
- User
Access string Filter results by a specific UserAccess.
- Access
Rule stringId AccessRuleId of the AccessRule.
- Priority int
Priority of the AccessRule.
- Rw
Access string Filter results by a specific RWAccess.
- Source
Cidr stringIp Filter results by a specific SourceCidrIp.
- User
Access string Filter results by a specific UserAccess.
- access
Rule stringId AccessRuleId of the AccessRule.
- priority number
Priority of the AccessRule.
- rw
Access string Filter results by a specific RWAccess.
- source
Cidr stringIp Filter results by a specific SourceCidrIp.
- user
Access string Filter results by a specific UserAccess.
- access_
rule_ strid AccessRuleId of the AccessRule.
- priority float
Priority of the AccessRule.
- rw
Access str Filter results by a specific RWAccess.
- source_
cidr_ strip Filter results by a specific SourceCidrIp.
- user
Access str Filter results by a specific UserAccess.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.