Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
published on Monday, Jul 20, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
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 dictionarydata "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:
- 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 stringGroup Type - Destination port book type.
- Dest
Port List<Byteplus.List V1s Get Nat Fire Wall Control Policy Dest Port List V1> - Destination port list (structured).
- Dest
Port List<string>Lists - Destination port list.
- Dest
Port stringType - 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<Byteplus.List V1s Get Nat Fire Wall Control Policy Destination Cidr List V1> - Destination CIDR list (structured).
- Destination
Cidr List<string>Lists - Destination CIDR list.
- Destination
Domain List<string>Lists - Destination domain name list.
- Destination
Group stringType - 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 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 string
- Uniquely identifies the resource.
- Is
Effected bool - Whether the policy is effective.
- Last
Hit intTime - Last hit timestamp, indicating the last time this policy was triggered.
- Nat
Firewall stringId - 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.
- Repeat
Days 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.
- Repeat
End stringTime - Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
- Repeat
Start stringTime - 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<Byteplus.List V1s Get Nat Fire Wall Control Policy Source Cidr List V1> - Source CIDR list (structured).
- Source
Cidr List<string>Lists - Source CIDR list.
- Source
Group stringType - 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 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.
- 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 stringGroup Type - Destination port book type.
- Dest
Port []GetList V1s Nat Fire Wall Control Policy Dest Port List V1 - Destination port list (structured).
- Dest
Port []stringLists - Destination port list.
- Dest
Port stringType - 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 []GetList V1s Nat Fire Wall Control Policy Destination Cidr List V1 - Destination CIDR list (structured).
- Destination
Cidr []stringLists - Destination CIDR list.
- Destination
Domain []stringLists - Destination domain name list.
- Destination
Group stringType - 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 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 string
- Uniquely identifies the resource.
- Is
Effected bool - Whether the policy is effective.
- Last
Hit intTime - Last hit timestamp, indicating the last time this policy was triggered.
- Nat
Firewall stringId - 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.
- Repeat
Days []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 stringTime - Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
- Repeat
Start stringTime - 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 []GetList V1s Nat Fire Wall Control Policy Source Cidr List V1 - Source CIDR list (structured).
- Source
Cidr []stringLists - Source CIDR list.
- Source
Group stringType - 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 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.
- 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_ stringgroup_ type - Destination port book type.
- dest_
port_ list(object)list_ v1s - Destination port list (structured).
- dest_
port_ list(string)lists - Destination port list.
- dest_
port_ stringtype - 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(object)list_ v1s - Destination CIDR list (structured).
- destination_
cidr_ list(string)lists - Destination CIDR list.
- destination_
domain_ list(string)lists - Destination domain name list.
- destination_
group_ stringtype - 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_ numbertime - Last hit timestamp, indicating the last time this policy was triggered.
- nat_
firewall_ stringid - 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_ stringtime - Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
- repeat_
start_ stringtime - 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(object)list_ v1s - Source CIDR list (structured).
- source_
cidr_ list(string)lists - Source CIDR list.
- source_
group_ stringtype - 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.
- 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 StringGroup Type - Destination port book type.
- dest
Port List<GetList V1s Nat Fire Wall Control Policy Dest Port List V1> - Destination port list (structured).
- dest
Port List<String>Lists - Destination port list.
- dest
Port StringType - 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<GetList V1s Nat Fire Wall Control Policy Destination Cidr List V1> - Destination CIDR list (structured).
- destination
Cidr List<String>Lists - Destination CIDR list.
- destination
Domain List<String>Lists - Destination domain name list.
- destination
Group StringType - 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 Integer - Status of the access control policy. Values: 1: Inactive; 2: Deploying; 3: Active.
- end
Time 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.
- hit
Cnt Integer - Hit count, indicating the number of times this policy has been triggered.
- id String
- Uniquely identifies the resource.
- is
Effected Boolean - Whether the policy is effective.
- last
Hit IntegerTime - Last hit timestamp, indicating the last time this policy was triggered.
- nat
Firewall StringId - 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.
- repeat
Days 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.
- repeat
End StringTime - Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
- repeat
Start StringTime - 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<GetList V1s Nat Fire Wall Control Policy Source Cidr List V1> - Source CIDR list (structured).
- source
Cidr List<String>Lists - Source CIDR list.
- source
Group StringType - 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 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.
- update
Time Integer - Policy update timestamp.
- use
Count Integer - 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 stringGroup Type - Destination port book type.
- dest
Port GetList V1s Nat Fire Wall Control Policy Dest Port List V1[] - Destination port list (structured).
- dest
Port string[]Lists - Destination port list.
- dest
Port stringType - 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 GetList V1s Nat Fire Wall Control Policy Destination Cidr List V1[] - Destination CIDR list (structured).
- destination
Cidr string[]Lists - Destination CIDR list.
- destination
Domain string[]Lists - Destination domain name list.
- destination
Group stringType - 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 boolean - Whether the policy is effective.
- last
Hit numberTime - Last hit timestamp, indicating the last time this policy was triggered.
- nat
Firewall stringId - 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 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 stringTime - Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
- repeat
Start stringTime - 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 GetList V1s Nat Fire Wall Control Policy Source Cidr List V1[] - Source CIDR list (structured).
- source
Cidr string[]Lists - Source CIDR list.
- source
Group stringType - 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 boolean
- Policy switch status. false: off; true: on.
- update
Time number - Policy update timestamp.
- use
Count 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_ strgroup_ type - Destination port book type.
- dest_
port_ Sequence[Getlist_ v1s Nat Fire Wall Control Policy Dest Port List V1] - Destination port list (structured).
- dest_
port_ Sequence[str]lists - Destination port list.
- dest_
port_ strtype - 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_ Sequence[Getlist_ v1s Nat Fire Wall Control Policy Destination Cidr List V1] - Destination CIDR list (structured).
- destination_
cidr_ Sequence[str]lists - Destination CIDR list.
- destination_
domain_ Sequence[str]lists - Destination domain name list.
- destination_
group_ strtype - 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_ inttime - Last hit timestamp, indicating the last time this policy was triggered.
- nat_
firewall_ strid - 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_ strtime - Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
- repeat_
start_ strtime - 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_ Sequence[Getlist_ v1s Nat Fire Wall Control Policy Source Cidr List V1] - Source CIDR list (structured).
- source_
cidr_ Sequence[str]lists - Source CIDR list.
- source_
group_ strtype - 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.
- 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 StringGroup Type - Destination port book type.
- dest
Port List<Property Map>List V1s - Destination port list (structured).
- dest
Port List<String>Lists - Destination port list.
- dest
Port StringType - 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<Property Map>List V1s - Destination CIDR list (structured).
- destination
Cidr List<String>Lists - Destination CIDR list.
- destination
Domain List<String>Lists - Destination domain name list.
- destination
Group StringType - 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 Boolean - Whether the policy is effective.
- last
Hit NumberTime - Last hit timestamp, indicating the last time this policy was triggered.
- nat
Firewall StringId - 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 StringTime - Repeat end time. This field is required when RepeatType is Daily, Weekly, or Monthly. Accurate to the minute, format: hh:mm.
- repeat
Start StringTime - 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<Property Map>List V1s - Source CIDR list (structured).
- source
Cidr List<String>Lists - Source CIDR list.
- source
Group StringType - 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 Boolean
- Policy switch status. false: off; true: on.
- update
Time Number - Policy update timestamp.
- use
Count 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
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
published on Monday, Jul 20, 2026 by Byteplus