1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. fwcenter
  6. getNatFireWallControlPolicy
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus

    Data Source schema for Byteplus::FWCenter::NatFireWallControlPolicy

    Using getNatFireWallControlPolicy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNatFireWallControlPolicy(args: GetNatFireWallControlPolicyArgs, opts?: InvokeOptions): Promise<GetNatFireWallControlPolicyResult>
    function getNatFireWallControlPolicyOutput(args: GetNatFireWallControlPolicyOutputArgs, opts?: InvokeOptions): Output<GetNatFireWallControlPolicyResult>
    def get_nat_fire_wall_control_policy(id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetNatFireWallControlPolicyResult
    def get_nat_fire_wall_control_policy_output(id: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetNatFireWallControlPolicyResult]
    func LookupNatFireWallControlPolicy(ctx *Context, args *LookupNatFireWallControlPolicyArgs, opts ...InvokeOption) (*LookupNatFireWallControlPolicyResult, error)
    func LookupNatFireWallControlPolicyOutput(ctx *Context, args *LookupNatFireWallControlPolicyOutputArgs, opts ...InvokeOption) LookupNatFireWallControlPolicyResultOutput

    > Note: This function is named LookupNatFireWallControlPolicy in the Go SDK.

    public static class GetNatFireWallControlPolicy 
    {
        public static Task<GetNatFireWallControlPolicyResult> InvokeAsync(GetNatFireWallControlPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetNatFireWallControlPolicyResult> Invoke(GetNatFireWallControlPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNatFireWallControlPolicyResult> getNatFireWallControlPolicy(GetNatFireWallControlPolicyArgs args, InvokeOptions options)
    public static Output<GetNatFireWallControlPolicyResult> getNatFireWallControlPolicy(GetNatFireWallControlPolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:fwcenter/getNatFireWallControlPolicy:getNatFireWallControlPolicy
      arguments:
        # arguments dictionary
    data "bytepluscc_fwcenter_getnatfirewallcontrolpolicy" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getNatFireWallControlPolicy Result

    The following output properties are available:

    AccountId string
    User's unique identifier ID.
    Action string
    Policy action. accept: allow; deny: deny; monitor: observe.
    Description string
    Description of the policy.
    DestPort string
    Destination port, either a single port or a port range (e.g., 22/22, 100/200). If DestPortType is group, provide a list of port address book UUIDs, separated by commas. Leave blank if the protocol is ICMP or ANY.
    DestPortGroupType string
    Destination port book type.
    DestPortListV1s List<Byteplus.GetNatFireWallControlPolicyDestPortListV1>
    Destination port list (structured).
    DestPortLists List<string>
    Destination port list.
    DestPortType string
    Destination port type. port: port; group: port address book.
    Destination string
    Destination address. The value depends on DestinationType: if net, use the destination CIDR address; if group, use the destination address book UUID. Separate multiple address books with commas.
    DestinationCidrListV1s List<Byteplus.GetNatFireWallControlPolicyDestinationCidrListV1>
    Destination CIDR list (structured).
    DestinationCidrLists List<string>
    Destination CIDR list.
    DestinationDomainLists List<string>
    Destination domain name list.
    DestinationGroupType string
    Destination address book type.
    DestinationType string
    Destination address type, used to specify the format and source of the destination address in the access control policy. net: destination network segment (CIDR format); group: destination address book (UUID format).
    Direction string
    Policy direction, used to specify the traffic direction for the access control policy. in: inbound; out: outbound.
    EffectStatus int
    Status of the access control policy. Values: 1: Inactive; 2: Deploying; 3: Active.
    EndTime int
    Policy end timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    HitCnt int
    Hit count, indicating the number of times this policy has been triggered.
    Id string
    Uniquely identifies the resource.
    IsEffected bool
    Whether the policy is effective.
    LastHitTime int
    Last hit timestamp, indicating the last time this policy was triggered.
    NatFirewallId string
    NAT border firewall instance ID.
    Prio int
    Policy priority. A lower value indicates a higher priority. By default, the priority is set to the highest. 0: lowest priority; 1: highest priority. When modifying, the minimum value for this parameter is 1.
    Proto string
    Protocol type. ICMP: ICMP protocol; TCP: TCP protocol; UDP: UDP protocol; ANY: any protocol.
    RepeatDays List<int>
    Repeat cycle. This field is not required when RepeatType is Daily. When RepeatType is Weekly, the value range is [0, 6], corresponding to Sunday through Saturday. When RepeatType is Monthly, the value range is [1, 31], corresponding to the days of the month.
    RepeatEndTime string
    Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    RepeatStartTime string
    Repeat start time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    RepeatType string
    Policy repeat type. Permanent: always effective; Once: effective only once; Daily: effective every day; Weekly: effective every week; Monthly: effective every month.
    RuleId string
    Unique ID of the access control policy.
    Source string
    Source address. The format varies based on the value of SourceType. If SourceType is net, use a CIDR address; if SourceType is group, use the UUID of the source address book; if SourceType is location, use the region code.
    SourceCidrListV1s List<Byteplus.GetNatFireWallControlPolicySourceCidrListV1>
    Source CIDR list (structured).
    SourceCidrLists List<string>
    Source CIDR list.
    SourceGroupType string
    Source address book type.
    SourceType string
    Source address type, used to specify the format and source of the source address in the access control policy. net: source network segment (CIDR format); group: source address book (UUID format); location: source region (region code format).
    StartTime int
    Policy start timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    Status bool
    Policy switch status. false: off; true: on.
    UpdateTime int
    Policy update timestamp.
    UseCount int
    Number of policies occupied by this policy.
    AccountId string
    User's unique identifier ID.
    Action string
    Policy action. accept: allow; deny: deny; monitor: observe.
    Description string
    Description of the policy.
    DestPort string
    Destination port, either a single port or a port range (e.g., 22/22, 100/200). If DestPortType is group, provide a list of port address book UUIDs, separated by commas. Leave blank if the protocol is ICMP or ANY.
    DestPortGroupType string
    Destination port book type.
    DestPortListV1s []GetNatFireWallControlPolicyDestPortListV1
    Destination port list (structured).
    DestPortLists []string
    Destination port list.
    DestPortType string
    Destination port type. port: port; group: port address book.
    Destination string
    Destination address. The value depends on DestinationType: if net, use the destination CIDR address; if group, use the destination address book UUID. Separate multiple address books with commas.
    DestinationCidrListV1s []GetNatFireWallControlPolicyDestinationCidrListV1
    Destination CIDR list (structured).
    DestinationCidrLists []string
    Destination CIDR list.
    DestinationDomainLists []string
    Destination domain name list.
    DestinationGroupType string
    Destination address book type.
    DestinationType string
    Destination address type, used to specify the format and source of the destination address in the access control policy. net: destination network segment (CIDR format); group: destination address book (UUID format).
    Direction string
    Policy direction, used to specify the traffic direction for the access control policy. in: inbound; out: outbound.
    EffectStatus int
    Status of the access control policy. Values: 1: Inactive; 2: Deploying; 3: Active.
    EndTime int
    Policy end timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    HitCnt int
    Hit count, indicating the number of times this policy has been triggered.
    Id string
    Uniquely identifies the resource.
    IsEffected bool
    Whether the policy is effective.
    LastHitTime int
    Last hit timestamp, indicating the last time this policy was triggered.
    NatFirewallId string
    NAT border firewall instance ID.
    Prio int
    Policy priority. A lower value indicates a higher priority. By default, the priority is set to the highest. 0: lowest priority; 1: highest priority. When modifying, the minimum value for this parameter is 1.
    Proto string
    Protocol type. ICMP: ICMP protocol; TCP: TCP protocol; UDP: UDP protocol; ANY: any protocol.
    RepeatDays []int
    Repeat cycle. This field is not required when RepeatType is Daily. When RepeatType is Weekly, the value range is [0, 6], corresponding to Sunday through Saturday. When RepeatType is Monthly, the value range is [1, 31], corresponding to the days of the month.
    RepeatEndTime string
    Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    RepeatStartTime string
    Repeat start time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    RepeatType string
    Policy repeat type. Permanent: always effective; Once: effective only once; Daily: effective every day; Weekly: effective every week; Monthly: effective every month.
    RuleId string
    Unique ID of the access control policy.
    Source string
    Source address. The format varies based on the value of SourceType. If SourceType is net, use a CIDR address; if SourceType is group, use the UUID of the source address book; if SourceType is location, use the region code.
    SourceCidrListV1s []GetNatFireWallControlPolicySourceCidrListV1
    Source CIDR list (structured).
    SourceCidrLists []string
    Source CIDR list.
    SourceGroupType string
    Source address book type.
    SourceType string
    Source address type, used to specify the format and source of the source address in the access control policy. net: source network segment (CIDR format); group: source address book (UUID format); location: source region (region code format).
    StartTime int
    Policy start timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    Status bool
    Policy switch status. false: off; true: on.
    UpdateTime int
    Policy update timestamp.
    UseCount int
    Number of policies occupied by this policy.
    account_id string
    User's unique identifier ID.
    action string
    Policy action. accept: allow; deny: deny; monitor: observe.
    description string
    Description of the policy.
    dest_port string
    Destination port, either a single port or a port range (e.g., 22/22, 100/200). If DestPortType is group, provide a list of port address book UUIDs, separated by commas. Leave blank if the protocol is ICMP or ANY.
    dest_port_group_type string
    Destination port book type.
    dest_port_list_v1s list(object)
    Destination port list (structured).
    dest_port_lists list(string)
    Destination port list.
    dest_port_type string
    Destination port type. port: port; group: port address book.
    destination string
    Destination address. The value depends on DestinationType: if net, use the destination CIDR address; if group, use the destination address book UUID. Separate multiple address books with commas.
    destination_cidr_list_v1s list(object)
    Destination CIDR list (structured).
    destination_cidr_lists list(string)
    Destination CIDR list.
    destination_domain_lists list(string)
    Destination domain name list.
    destination_group_type string
    Destination address book type.
    destination_type string
    Destination address type, used to specify the format and source of the destination address in the access control policy. net: destination network segment (CIDR format); group: destination address book (UUID format).
    direction string
    Policy direction, used to specify the traffic direction for the access control policy. in: inbound; out: outbound.
    effect_status number
    Status of the access control policy. Values: 1: Inactive; 2: Deploying; 3: Active.
    end_time number
    Policy end timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    hit_cnt number
    Hit count, indicating the number of times this policy has been triggered.
    id string
    Uniquely identifies the resource.
    is_effected bool
    Whether the policy is effective.
    last_hit_time number
    Last hit timestamp, indicating the last time this policy was triggered.
    nat_firewall_id string
    NAT border firewall instance ID.
    prio number
    Policy priority. A lower value indicates a higher priority. By default, the priority is set to the highest. 0: lowest priority; 1: highest priority. When modifying, the minimum value for this parameter is 1.
    proto string
    Protocol type. ICMP: ICMP protocol; TCP: TCP protocol; UDP: UDP protocol; ANY: any protocol.
    repeat_days list(number)
    Repeat cycle. This field is not required when RepeatType is Daily. When RepeatType is Weekly, the value range is [0, 6], corresponding to Sunday through Saturday. When RepeatType is Monthly, the value range is [1, 31], corresponding to the days of the month.
    repeat_end_time string
    Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    repeat_start_time string
    Repeat start time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    repeat_type string
    Policy repeat type. Permanent: always effective; Once: effective only once; Daily: effective every day; Weekly: effective every week; Monthly: effective every month.
    rule_id string
    Unique ID of the access control policy.
    source string
    Source address. The format varies based on the value of SourceType. If SourceType is net, use a CIDR address; if SourceType is group, use the UUID of the source address book; if SourceType is location, use the region code.
    source_cidr_list_v1s list(object)
    Source CIDR list (structured).
    source_cidr_lists list(string)
    Source CIDR list.
    source_group_type string
    Source address book type.
    source_type string
    Source address type, used to specify the format and source of the source address in the access control policy. net: source network segment (CIDR format); group: source address book (UUID format); location: source region (region code format).
    start_time number
    Policy start timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    status bool
    Policy switch status. false: off; true: on.
    update_time number
    Policy update timestamp.
    use_count number
    Number of policies occupied by this policy.
    accountId String
    User's unique identifier ID.
    action String
    Policy action. accept: allow; deny: deny; monitor: observe.
    description String
    Description of the policy.
    destPort String
    Destination port, either a single port or a port range (e.g., 22/22, 100/200). If DestPortType is group, provide a list of port address book UUIDs, separated by commas. Leave blank if the protocol is ICMP or ANY.
    destPortGroupType String
    Destination port book type.
    destPortListV1s List<GetNatFireWallControlPolicyDestPortListV1>
    Destination port list (structured).
    destPortLists List<String>
    Destination port list.
    destPortType String
    Destination port type. port: port; group: port address book.
    destination String
    Destination address. The value depends on DestinationType: if net, use the destination CIDR address; if group, use the destination address book UUID. Separate multiple address books with commas.
    destinationCidrListV1s List<GetNatFireWallControlPolicyDestinationCidrListV1>
    Destination CIDR list (structured).
    destinationCidrLists List<String>
    Destination CIDR list.
    destinationDomainLists List<String>
    Destination domain name list.
    destinationGroupType String
    Destination address book type.
    destinationType String
    Destination address type, used to specify the format and source of the destination address in the access control policy. net: destination network segment (CIDR format); group: destination address book (UUID format).
    direction String
    Policy direction, used to specify the traffic direction for the access control policy. in: inbound; out: outbound.
    effectStatus Integer
    Status of the access control policy. Values: 1: Inactive; 2: Deploying; 3: Active.
    endTime Integer
    Policy end timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    hitCnt Integer
    Hit count, indicating the number of times this policy has been triggered.
    id String
    Uniquely identifies the resource.
    isEffected Boolean
    Whether the policy is effective.
    lastHitTime Integer
    Last hit timestamp, indicating the last time this policy was triggered.
    natFirewallId String
    NAT border firewall instance ID.
    prio Integer
    Policy priority. A lower value indicates a higher priority. By default, the priority is set to the highest. 0: lowest priority; 1: highest priority. When modifying, the minimum value for this parameter is 1.
    proto String
    Protocol type. ICMP: ICMP protocol; TCP: TCP protocol; UDP: UDP protocol; ANY: any protocol.
    repeatDays List<Integer>
    Repeat cycle. This field is not required when RepeatType is Daily. When RepeatType is Weekly, the value range is [0, 6], corresponding to Sunday through Saturday. When RepeatType is Monthly, the value range is [1, 31], corresponding to the days of the month.
    repeatEndTime String
    Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    repeatStartTime String
    Repeat start time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    repeatType String
    Policy repeat type. Permanent: always effective; Once: effective only once; Daily: effective every day; Weekly: effective every week; Monthly: effective every month.
    ruleId String
    Unique ID of the access control policy.
    source String
    Source address. The format varies based on the value of SourceType. If SourceType is net, use a CIDR address; if SourceType is group, use the UUID of the source address book; if SourceType is location, use the region code.
    sourceCidrListV1s List<GetNatFireWallControlPolicySourceCidrListV1>
    Source CIDR list (structured).
    sourceCidrLists List<String>
    Source CIDR list.
    sourceGroupType String
    Source address book type.
    sourceType String
    Source address type, used to specify the format and source of the source address in the access control policy. net: source network segment (CIDR format); group: source address book (UUID format); location: source region (region code format).
    startTime Integer
    Policy start timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    status Boolean
    Policy switch status. false: off; true: on.
    updateTime Integer
    Policy update timestamp.
    useCount Integer
    Number of policies occupied by this policy.
    accountId string
    User's unique identifier ID.
    action string
    Policy action. accept: allow; deny: deny; monitor: observe.
    description string
    Description of the policy.
    destPort string
    Destination port, either a single port or a port range (e.g., 22/22, 100/200). If DestPortType is group, provide a list of port address book UUIDs, separated by commas. Leave blank if the protocol is ICMP or ANY.
    destPortGroupType string
    Destination port book type.
    destPortListV1s GetNatFireWallControlPolicyDestPortListV1[]
    Destination port list (structured).
    destPortLists string[]
    Destination port list.
    destPortType string
    Destination port type. port: port; group: port address book.
    destination string
    Destination address. The value depends on DestinationType: if net, use the destination CIDR address; if group, use the destination address book UUID. Separate multiple address books with commas.
    destinationCidrListV1s GetNatFireWallControlPolicyDestinationCidrListV1[]
    Destination CIDR list (structured).
    destinationCidrLists string[]
    Destination CIDR list.
    destinationDomainLists string[]
    Destination domain name list.
    destinationGroupType string
    Destination address book type.
    destinationType string
    Destination address type, used to specify the format and source of the destination address in the access control policy. net: destination network segment (CIDR format); group: destination address book (UUID format).
    direction string
    Policy direction, used to specify the traffic direction for the access control policy. in: inbound; out: outbound.
    effectStatus number
    Status of the access control policy. Values: 1: Inactive; 2: Deploying; 3: Active.
    endTime number
    Policy end timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    hitCnt number
    Hit count, indicating the number of times this policy has been triggered.
    id string
    Uniquely identifies the resource.
    isEffected boolean
    Whether the policy is effective.
    lastHitTime number
    Last hit timestamp, indicating the last time this policy was triggered.
    natFirewallId string
    NAT border firewall instance ID.
    prio number
    Policy priority. A lower value indicates a higher priority. By default, the priority is set to the highest. 0: lowest priority; 1: highest priority. When modifying, the minimum value for this parameter is 1.
    proto string
    Protocol type. ICMP: ICMP protocol; TCP: TCP protocol; UDP: UDP protocol; ANY: any protocol.
    repeatDays number[]
    Repeat cycle. This field is not required when RepeatType is Daily. When RepeatType is Weekly, the value range is [0, 6], corresponding to Sunday through Saturday. When RepeatType is Monthly, the value range is [1, 31], corresponding to the days of the month.
    repeatEndTime string
    Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    repeatStartTime string
    Repeat start time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    repeatType string
    Policy repeat type. Permanent: always effective; Once: effective only once; Daily: effective every day; Weekly: effective every week; Monthly: effective every month.
    ruleId string
    Unique ID of the access control policy.
    source string
    Source address. The format varies based on the value of SourceType. If SourceType is net, use a CIDR address; if SourceType is group, use the UUID of the source address book; if SourceType is location, use the region code.
    sourceCidrListV1s GetNatFireWallControlPolicySourceCidrListV1[]
    Source CIDR list (structured).
    sourceCidrLists string[]
    Source CIDR list.
    sourceGroupType string
    Source address book type.
    sourceType string
    Source address type, used to specify the format and source of the source address in the access control policy. net: source network segment (CIDR format); group: source address book (UUID format); location: source region (region code format).
    startTime number
    Policy start timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    status boolean
    Policy switch status. false: off; true: on.
    updateTime number
    Policy update timestamp.
    useCount number
    Number of policies occupied by this policy.
    account_id str
    User's unique identifier ID.
    action str
    Policy action. accept: allow; deny: deny; monitor: observe.
    description str
    Description of the policy.
    dest_port str
    Destination port, either a single port or a port range (e.g., 22/22, 100/200). If DestPortType is group, provide a list of port address book UUIDs, separated by commas. Leave blank if the protocol is ICMP or ANY.
    dest_port_group_type str
    Destination port book type.
    dest_port_list_v1s Sequence[GetNatFireWallControlPolicyDestPortListV1]
    Destination port list (structured).
    dest_port_lists Sequence[str]
    Destination port list.
    dest_port_type str
    Destination port type. port: port; group: port address book.
    destination str
    Destination address. The value depends on DestinationType: if net, use the destination CIDR address; if group, use the destination address book UUID. Separate multiple address books with commas.
    destination_cidr_list_v1s Sequence[GetNatFireWallControlPolicyDestinationCidrListV1]
    Destination CIDR list (structured).
    destination_cidr_lists Sequence[str]
    Destination CIDR list.
    destination_domain_lists Sequence[str]
    Destination domain name list.
    destination_group_type str
    Destination address book type.
    destination_type str
    Destination address type, used to specify the format and source of the destination address in the access control policy. net: destination network segment (CIDR format); group: destination address book (UUID format).
    direction str
    Policy direction, used to specify the traffic direction for the access control policy. in: inbound; out: outbound.
    effect_status int
    Status of the access control policy. Values: 1: Inactive; 2: Deploying; 3: Active.
    end_time int
    Policy end timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    hit_cnt int
    Hit count, indicating the number of times this policy has been triggered.
    id str
    Uniquely identifies the resource.
    is_effected bool
    Whether the policy is effective.
    last_hit_time int
    Last hit timestamp, indicating the last time this policy was triggered.
    nat_firewall_id str
    NAT border firewall instance ID.
    prio int
    Policy priority. A lower value indicates a higher priority. By default, the priority is set to the highest. 0: lowest priority; 1: highest priority. When modifying, the minimum value for this parameter is 1.
    proto str
    Protocol type. ICMP: ICMP protocol; TCP: TCP protocol; UDP: UDP protocol; ANY: any protocol.
    repeat_days Sequence[int]
    Repeat cycle. This field is not required when RepeatType is Daily. When RepeatType is Weekly, the value range is [0, 6], corresponding to Sunday through Saturday. When RepeatType is Monthly, the value range is [1, 31], corresponding to the days of the month.
    repeat_end_time str
    Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    repeat_start_time str
    Repeat start time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    repeat_type str
    Policy repeat type. Permanent: always effective; Once: effective only once; Daily: effective every day; Weekly: effective every week; Monthly: effective every month.
    rule_id str
    Unique ID of the access control policy.
    source str
    Source address. The format varies based on the value of SourceType. If SourceType is net, use a CIDR address; if SourceType is group, use the UUID of the source address book; if SourceType is location, use the region code.
    source_cidr_list_v1s Sequence[GetNatFireWallControlPolicySourceCidrListV1]
    Source CIDR list (structured).
    source_cidr_lists Sequence[str]
    Source CIDR list.
    source_group_type str
    Source address book type.
    source_type str
    Source address type, used to specify the format and source of the source address in the access control policy. net: source network segment (CIDR format); group: source address book (UUID format); location: source region (region code format).
    start_time int
    Policy start timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    status bool
    Policy switch status. false: off; true: on.
    update_time int
    Policy update timestamp.
    use_count int
    Number of policies occupied by this policy.
    accountId String
    User's unique identifier ID.
    action String
    Policy action. accept: allow; deny: deny; monitor: observe.
    description String
    Description of the policy.
    destPort String
    Destination port, either a single port or a port range (e.g., 22/22, 100/200). If DestPortType is group, provide a list of port address book UUIDs, separated by commas. Leave blank if the protocol is ICMP or ANY.
    destPortGroupType String
    Destination port book type.
    destPortListV1s List<Property Map>
    Destination port list (structured).
    destPortLists List<String>
    Destination port list.
    destPortType String
    Destination port type. port: port; group: port address book.
    destination String
    Destination address. The value depends on DestinationType: if net, use the destination CIDR address; if group, use the destination address book UUID. Separate multiple address books with commas.
    destinationCidrListV1s List<Property Map>
    Destination CIDR list (structured).
    destinationCidrLists List<String>
    Destination CIDR list.
    destinationDomainLists List<String>
    Destination domain name list.
    destinationGroupType String
    Destination address book type.
    destinationType String
    Destination address type, used to specify the format and source of the destination address in the access control policy. net: destination network segment (CIDR format); group: destination address book (UUID format).
    direction String
    Policy direction, used to specify the traffic direction for the access control policy. in: inbound; out: outbound.
    effectStatus Number
    Status of the access control policy. Values: 1: Inactive; 2: Deploying; 3: Active.
    endTime Number
    Policy end timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    hitCnt Number
    Hit count, indicating the number of times this policy has been triggered.
    id String
    Uniquely identifies the resource.
    isEffected Boolean
    Whether the policy is effective.
    lastHitTime Number
    Last hit timestamp, indicating the last time this policy was triggered.
    natFirewallId String
    NAT border firewall instance ID.
    prio Number
    Policy priority. A lower value indicates a higher priority. By default, the priority is set to the highest. 0: lowest priority; 1: highest priority. When modifying, the minimum value for this parameter is 1.
    proto String
    Protocol type. ICMP: ICMP protocol; TCP: TCP protocol; UDP: UDP protocol; ANY: any protocol.
    repeatDays List<Number>
    Repeat cycle. This field is not required when RepeatType is Daily. When RepeatType is Weekly, the value range is [0, 6], corresponding to Sunday through Saturday. When RepeatType is Monthly, the value range is [1, 31], corresponding to the days of the month.
    repeatEndTime String
    Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    repeatStartTime String
    Repeat start time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
    repeatType String
    Policy repeat type. Permanent: always effective; Once: effective only once; Daily: effective every day; Weekly: effective every week; Monthly: effective every month.
    ruleId String
    Unique ID of the access control policy.
    source String
    Source address. The format varies based on the value of SourceType. If SourceType is net, use a CIDR address; if SourceType is group, use the UUID of the source address book; if SourceType is location, use the region code.
    sourceCidrListV1s List<Property Map>
    Source CIDR list (structured).
    sourceCidrLists List<String>
    Source CIDR list.
    sourceGroupType String
    Source address book type.
    sourceType String
    Source address type, used to specify the format and source of the source address in the access control policy. net: source network segment (CIDR format); group: source address book (UUID format); location: source region (region code format).
    startTime Number
    Policy start timestamp. This field is not required when RepeatType is Permanent. When RepeatType is Once, Daily, Weekly, or Monthly, this field must be provided.
    status Boolean
    Policy switch status. false: off; true: on.
    updateTime Number
    Policy update timestamp.
    useCount Number
    Number of policies occupied by this policy.

    Supporting Types

    GetNatFireWallControlPolicyDestPortListV1

    Address string
    Specific address information.
    Description string
    Description.
    Type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    Address string
    Specific address information.
    Description string
    Description.
    Type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address string
    Specific address information.
    description string
    Description.
    type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address String
    Specific address information.
    description String
    Description.
    type String
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address string
    Specific address information.
    description string
    Description.
    type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address str
    Specific address information.
    description str
    Description.
    type str
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address String
    Specific address information.
    description String
    Description.
    type String
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.

    GetNatFireWallControlPolicyDestinationCidrListV1

    Address string
    Specific address information.
    Description string
    Description.
    Type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    Address string
    Specific address information.
    Description string
    Description.
    Type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address string
    Specific address information.
    description string
    Description.
    type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address String
    Specific address information.
    description String
    Description.
    type String
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address string
    Specific address information.
    description string
    Description.
    type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address str
    Specific address information.
    description str
    Description.
    type str
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address String
    Specific address information.
    description String
    Description.
    type String
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.

    GetNatFireWallControlPolicySourceCidrListV1

    Address string
    Specific address information.
    Description string
    Description.
    Type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    Address string
    Specific address information.
    Description string
    Description.
    Type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address string
    Specific address information.
    description string
    Description.
    type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address String
    Specific address information.
    description String
    Description.
    type String
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address string
    Specific address information.
    description string
    Description.
    type string
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address str
    Specific address information.
    description str
    Description.
    type str
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
    address String
    Specific address information.
    description String
    Description.
    type String
    Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.42
    published on Monday, Jul 20, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial