vcd.EdgegatewaySettings
Explore with Pulumi AI
Create EdgegatewaySettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EdgegatewaySettings(name: string, args?: EdgegatewaySettingsArgs, opts?: CustomResourceOptions);
@overload
def EdgegatewaySettings(resource_name: str,
args: Optional[EdgegatewaySettingsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def EdgegatewaySettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
edge_gateway_id: Optional[str] = None,
edge_gateway_name: Optional[str] = None,
edgegateway_settings_id: Optional[str] = None,
fw_default_rule_action: Optional[str] = None,
fw_default_rule_logging_enabled: Optional[bool] = None,
fw_enabled: Optional[bool] = None,
lb_acceleration_enabled: Optional[bool] = None,
lb_enabled: Optional[bool] = None,
lb_logging_enabled: Optional[bool] = None,
lb_loglevel: Optional[str] = None,
org: Optional[str] = None,
vdc: Optional[str] = None)
func NewEdgegatewaySettings(ctx *Context, name string, args *EdgegatewaySettingsArgs, opts ...ResourceOption) (*EdgegatewaySettings, error)
public EdgegatewaySettings(string name, EdgegatewaySettingsArgs? args = null, CustomResourceOptions? opts = null)
public EdgegatewaySettings(String name, EdgegatewaySettingsArgs args)
public EdgegatewaySettings(String name, EdgegatewaySettingsArgs args, CustomResourceOptions options)
type: vcd:EdgegatewaySettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EdgegatewaySettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EdgegatewaySettingsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EdgegatewaySettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgegatewaySettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EdgegatewaySettingsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var edgegatewaySettingsResource = new Vcd.EdgegatewaySettings("edgegatewaySettingsResource", new()
{
EdgeGatewayId = "string",
EdgeGatewayName = "string",
EdgegatewaySettingsId = "string",
FwDefaultRuleAction = "string",
FwDefaultRuleLoggingEnabled = false,
FwEnabled = false,
LbAccelerationEnabled = false,
LbEnabled = false,
LbLoggingEnabled = false,
LbLoglevel = "string",
Org = "string",
Vdc = "string",
});
example, err := vcd.NewEdgegatewaySettings(ctx, "edgegatewaySettingsResource", &vcd.EdgegatewaySettingsArgs{
EdgeGatewayId: pulumi.String("string"),
EdgeGatewayName: pulumi.String("string"),
EdgegatewaySettingsId: pulumi.String("string"),
FwDefaultRuleAction: pulumi.String("string"),
FwDefaultRuleLoggingEnabled: pulumi.Bool(false),
FwEnabled: pulumi.Bool(false),
LbAccelerationEnabled: pulumi.Bool(false),
LbEnabled: pulumi.Bool(false),
LbLoggingEnabled: pulumi.Bool(false),
LbLoglevel: pulumi.String("string"),
Org: pulumi.String("string"),
Vdc: pulumi.String("string"),
})
var edgegatewaySettingsResource = new EdgegatewaySettings("edgegatewaySettingsResource", EdgegatewaySettingsArgs.builder()
.edgeGatewayId("string")
.edgeGatewayName("string")
.edgegatewaySettingsId("string")
.fwDefaultRuleAction("string")
.fwDefaultRuleLoggingEnabled(false)
.fwEnabled(false)
.lbAccelerationEnabled(false)
.lbEnabled(false)
.lbLoggingEnabled(false)
.lbLoglevel("string")
.org("string")
.vdc("string")
.build());
edgegateway_settings_resource = vcd.EdgegatewaySettings("edgegatewaySettingsResource",
edge_gateway_id="string",
edge_gateway_name="string",
edgegateway_settings_id="string",
fw_default_rule_action="string",
fw_default_rule_logging_enabled=False,
fw_enabled=False,
lb_acceleration_enabled=False,
lb_enabled=False,
lb_logging_enabled=False,
lb_loglevel="string",
org="string",
vdc="string")
const edgegatewaySettingsResource = new vcd.EdgegatewaySettings("edgegatewaySettingsResource", {
edgeGatewayId: "string",
edgeGatewayName: "string",
edgegatewaySettingsId: "string",
fwDefaultRuleAction: "string",
fwDefaultRuleLoggingEnabled: false,
fwEnabled: false,
lbAccelerationEnabled: false,
lbEnabled: false,
lbLoggingEnabled: false,
lbLoglevel: "string",
org: "string",
vdc: "string",
});
type: vcd:EdgegatewaySettings
properties:
edgeGatewayId: string
edgeGatewayName: string
edgegatewaySettingsId: string
fwDefaultRuleAction: string
fwDefaultRuleLoggingEnabled: false
fwEnabled: false
lbAccelerationEnabled: false
lbEnabled: false
lbLoggingEnabled: false
lbLoglevel: string
org: string
vdc: string
EdgegatewaySettings Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EdgegatewaySettings resource accepts the following input properties:
- Edge
Gateway stringId - The edge gateway ID. (Required if
edge_gateway_name
is not set) - Edge
Gateway stringName - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - Edgegateway
Settings stringId - Fw
Default stringRule Action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - Fw
Default boolRule Logging Enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - Fw
Enabled bool - Enable firewall. Default
true
. - Lb
Acceleration boolEnabled - Enable to configure the load balancer.
- Lb
Enabled bool - Enable load balancing. Default is
false
. - Lb
Logging boolEnabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - Lb
Loglevel string - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - Org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- Vdc string
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
- Edge
Gateway stringId - The edge gateway ID. (Required if
edge_gateway_name
is not set) - Edge
Gateway stringName - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - Edgegateway
Settings stringId - Fw
Default stringRule Action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - Fw
Default boolRule Logging Enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - Fw
Enabled bool - Enable firewall. Default
true
. - Lb
Acceleration boolEnabled - Enable to configure the load balancer.
- Lb
Enabled bool - Enable load balancing. Default is
false
. - Lb
Logging boolEnabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - Lb
Loglevel string - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - Org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- Vdc string
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
- edge
Gateway StringId - The edge gateway ID. (Required if
edge_gateway_name
is not set) - edge
Gateway StringName - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - edgegateway
Settings StringId - fw
Default StringRule Action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - fw
Default BooleanRule Logging Enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - fw
Enabled Boolean - Enable firewall. Default
true
. - lb
Acceleration BooleanEnabled - Enable to configure the load balancer.
- lb
Enabled Boolean - Enable load balancing. Default is
false
. - lb
Logging BooleanEnabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - lb
Loglevel String - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - org String
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- vdc String
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
- edge
Gateway stringId - The edge gateway ID. (Required if
edge_gateway_name
is not set) - edge
Gateway stringName - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - edgegateway
Settings stringId - fw
Default stringRule Action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - fw
Default booleanRule Logging Enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - fw
Enabled boolean - Enable firewall. Default
true
. - lb
Acceleration booleanEnabled - Enable to configure the load balancer.
- lb
Enabled boolean - Enable load balancing. Default is
false
. - lb
Logging booleanEnabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - lb
Loglevel string - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- vdc string
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
- edge_
gateway_ strid - The edge gateway ID. (Required if
edge_gateway_name
is not set) - edge_
gateway_ strname - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - edgegateway_
settings_ strid - fw_
default_ strrule_ action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - fw_
default_ boolrule_ logging_ enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - fw_
enabled bool - Enable firewall. Default
true
. - lb_
acceleration_ boolenabled - Enable to configure the load balancer.
- lb_
enabled bool - Enable load balancing. Default is
false
. - lb_
logging_ boolenabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - lb_
loglevel str - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - org str
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- vdc str
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
- edge
Gateway StringId - The edge gateway ID. (Required if
edge_gateway_name
is not set) - edge
Gateway StringName - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - edgegateway
Settings StringId - fw
Default StringRule Action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - fw
Default BooleanRule Logging Enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - fw
Enabled Boolean - Enable firewall. Default
true
. - lb
Acceleration BooleanEnabled - Enable to configure the load balancer.
- lb
Enabled Boolean - Enable load balancing. Default is
false
. - lb
Logging BooleanEnabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - lb
Loglevel String - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - org String
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- vdc String
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgegatewaySettings resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EdgegatewaySettings Resource
Get an existing EdgegatewaySettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EdgegatewaySettingsState, opts?: CustomResourceOptions): EdgegatewaySettings
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
edge_gateway_id: Optional[str] = None,
edge_gateway_name: Optional[str] = None,
edgegateway_settings_id: Optional[str] = None,
fw_default_rule_action: Optional[str] = None,
fw_default_rule_logging_enabled: Optional[bool] = None,
fw_enabled: Optional[bool] = None,
lb_acceleration_enabled: Optional[bool] = None,
lb_enabled: Optional[bool] = None,
lb_logging_enabled: Optional[bool] = None,
lb_loglevel: Optional[str] = None,
org: Optional[str] = None,
vdc: Optional[str] = None) -> EdgegatewaySettings
func GetEdgegatewaySettings(ctx *Context, name string, id IDInput, state *EdgegatewaySettingsState, opts ...ResourceOption) (*EdgegatewaySettings, error)
public static EdgegatewaySettings Get(string name, Input<string> id, EdgegatewaySettingsState? state, CustomResourceOptions? opts = null)
public static EdgegatewaySettings get(String name, Output<String> id, EdgegatewaySettingsState state, CustomResourceOptions options)
resources: _: type: vcd:EdgegatewaySettings get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Edge
Gateway stringId - The edge gateway ID. (Required if
edge_gateway_name
is not set) - Edge
Gateway stringName - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - Edgegateway
Settings stringId - Fw
Default stringRule Action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - Fw
Default boolRule Logging Enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - Fw
Enabled bool - Enable firewall. Default
true
. - Lb
Acceleration boolEnabled - Enable to configure the load balancer.
- Lb
Enabled bool - Enable load balancing. Default is
false
. - Lb
Logging boolEnabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - Lb
Loglevel string - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - Org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- Vdc string
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
- Edge
Gateway stringId - The edge gateway ID. (Required if
edge_gateway_name
is not set) - Edge
Gateway stringName - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - Edgegateway
Settings stringId - Fw
Default stringRule Action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - Fw
Default boolRule Logging Enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - Fw
Enabled bool - Enable firewall. Default
true
. - Lb
Acceleration boolEnabled - Enable to configure the load balancer.
- Lb
Enabled bool - Enable load balancing. Default is
false
. - Lb
Logging boolEnabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - Lb
Loglevel string - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - Org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- Vdc string
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
- edge
Gateway StringId - The edge gateway ID. (Required if
edge_gateway_name
is not set) - edge
Gateway StringName - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - edgegateway
Settings StringId - fw
Default StringRule Action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - fw
Default BooleanRule Logging Enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - fw
Enabled Boolean - Enable firewall. Default
true
. - lb
Acceleration BooleanEnabled - Enable to configure the load balancer.
- lb
Enabled Boolean - Enable load balancing. Default is
false
. - lb
Logging BooleanEnabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - lb
Loglevel String - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - org String
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- vdc String
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
- edge
Gateway stringId - The edge gateway ID. (Required if
edge_gateway_name
is not set) - edge
Gateway stringName - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - edgegateway
Settings stringId - fw
Default stringRule Action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - fw
Default booleanRule Logging Enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - fw
Enabled boolean - Enable firewall. Default
true
. - lb
Acceleration booleanEnabled - Enable to configure the load balancer.
- lb
Enabled boolean - Enable load balancing. Default is
false
. - lb
Logging booleanEnabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - lb
Loglevel string - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- vdc string
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
- edge_
gateway_ strid - The edge gateway ID. (Required if
edge_gateway_name
is not set) - edge_
gateway_ strname - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - edgegateway_
settings_ strid - fw_
default_ strrule_ action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - fw_
default_ boolrule_ logging_ enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - fw_
enabled bool - Enable firewall. Default
true
. - lb_
acceleration_ boolenabled - Enable to configure the load balancer.
- lb_
enabled bool - Enable load balancing. Default is
false
. - lb_
logging_ boolenabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - lb_
loglevel str - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - org str
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- vdc str
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
- edge
Gateway StringId - The edge gateway ID. (Required if
edge_gateway_name
is not set) - edge
Gateway StringName - A unique name for the edge gateway. (Required if
edge_gateway_id
is not set) - edgegateway
Settings StringId - fw
Default StringRule Action - Default firewall rule (last in the processing order) action.
One of
accept
ordeny
. Defaultdeny
. - fw
Default BooleanRule Logging Enabled - Enable default firewall rule (last in the processing
order) logging. Default
false
. - fw
Enabled Boolean - Enable firewall. Default
true
. - lb
Acceleration BooleanEnabled - Enable to configure the load balancer.
- lb
Enabled Boolean - Enable load balancing. Default is
false
. - lb
Logging BooleanEnabled - Enables the edge gateway load balancer to collect traffic logs.
Default is
false
. Note: only System administrators can change this property. It is ignored by API for Org users. - lb
Loglevel String - Choose the severity of events to be logged. One of
emergency
,alert
,critical
,error
,warning
,notice
,info
,debug
. Note: only System administrators can change this property. It is ignored by API for Org users. - org String
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- vdc String
- The name of VDC that owns the edge gateway. Optional if defined at provider level.
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.