vcd.LbServiceMonitor
Explore with Pulumi AI
Create LbServiceMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LbServiceMonitor(name: string, args: LbServiceMonitorArgs, opts?: CustomResourceOptions);
@overload
def LbServiceMonitor(resource_name: str,
args: LbServiceMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LbServiceMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
edge_gateway: Optional[str] = None,
type: Optional[str] = None,
method: Optional[str] = None,
interval: Optional[float] = None,
lb_service_monitor_id: Optional[str] = None,
max_retries: Optional[float] = None,
extension: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
org: Optional[str] = None,
receive: Optional[str] = None,
send: Optional[str] = None,
timeout: Optional[float] = None,
expected: Optional[str] = None,
url: Optional[str] = None,
vdc: Optional[str] = None)
func NewLbServiceMonitor(ctx *Context, name string, args LbServiceMonitorArgs, opts ...ResourceOption) (*LbServiceMonitor, error)
public LbServiceMonitor(string name, LbServiceMonitorArgs args, CustomResourceOptions? opts = null)
public LbServiceMonitor(String name, LbServiceMonitorArgs args)
public LbServiceMonitor(String name, LbServiceMonitorArgs args, CustomResourceOptions options)
type: vcd:LbServiceMonitor
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 LbServiceMonitorArgs
- 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 LbServiceMonitorArgs
- 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 LbServiceMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbServiceMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbServiceMonitorArgs
- 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 lbServiceMonitorResource = new Vcd.LbServiceMonitor("lbServiceMonitorResource", new()
{
EdgeGateway = "string",
Type = "string",
Method = "string",
Interval = 0,
LbServiceMonitorId = "string",
MaxRetries = 0,
Extension =
{
{ "string", "string" },
},
Name = "string",
Org = "string",
Receive = "string",
Send = "string",
Timeout = 0,
Expected = "string",
Url = "string",
Vdc = "string",
});
example, err := vcd.NewLbServiceMonitor(ctx, "lbServiceMonitorResource", &vcd.LbServiceMonitorArgs{
EdgeGateway: pulumi.String("string"),
Type: pulumi.String("string"),
Method: pulumi.String("string"),
Interval: pulumi.Float64(0),
LbServiceMonitorId: pulumi.String("string"),
MaxRetries: pulumi.Float64(0),
Extension: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Org: pulumi.String("string"),
Receive: pulumi.String("string"),
Send: pulumi.String("string"),
Timeout: pulumi.Float64(0),
Expected: pulumi.String("string"),
Url: pulumi.String("string"),
Vdc: pulumi.String("string"),
})
var lbServiceMonitorResource = new LbServiceMonitor("lbServiceMonitorResource", LbServiceMonitorArgs.builder()
.edgeGateway("string")
.type("string")
.method("string")
.interval(0)
.lbServiceMonitorId("string")
.maxRetries(0)
.extension(Map.of("string", "string"))
.name("string")
.org("string")
.receive("string")
.send("string")
.timeout(0)
.expected("string")
.url("string")
.vdc("string")
.build());
lb_service_monitor_resource = vcd.LbServiceMonitor("lbServiceMonitorResource",
edge_gateway="string",
type="string",
method="string",
interval=0,
lb_service_monitor_id="string",
max_retries=0,
extension={
"string": "string",
},
name="string",
org="string",
receive="string",
send="string",
timeout=0,
expected="string",
url="string",
vdc="string")
const lbServiceMonitorResource = new vcd.LbServiceMonitor("lbServiceMonitorResource", {
edgeGateway: "string",
type: "string",
method: "string",
interval: 0,
lbServiceMonitorId: "string",
maxRetries: 0,
extension: {
string: "string",
},
name: "string",
org: "string",
receive: "string",
send: "string",
timeout: 0,
expected: "string",
url: "string",
vdc: "string",
});
type: vcd:LbServiceMonitor
properties:
edgeGateway: string
expected: string
extension:
string: string
interval: 0
lbServiceMonitorId: string
maxRetries: 0
method: string
name: string
org: string
receive: string
send: string
timeout: 0
type: string
url: string
vdc: string
LbServiceMonitor 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 LbServiceMonitor resource accepts the following input properties:
- Edge
Gateway string - The name of the edge gateway on which the service monitor is to be created
- Type string
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - Expected string
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - Extension Dictionary<string, string>
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - Interval double
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- Lb
Service stringMonitor Id - The NSX ID of the load balancer service monitor
- Max
Retries double - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- Method string
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - Name string
- Service Monitor name
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Receive string
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - Send string
- For types
http
,https
, andudp
. The data to be sent. - Timeout double
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- Url string
- For types
http
andhttps
. URL to be used in the server status request - Vdc string
- The name of VDC to use, optional if defined at provider level
- Edge
Gateway string - The name of the edge gateway on which the service monitor is to be created
- Type string
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - Expected string
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - Extension map[string]string
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - Interval float64
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- Lb
Service stringMonitor Id - The NSX ID of the load balancer service monitor
- Max
Retries float64 - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- Method string
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - Name string
- Service Monitor name
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Receive string
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - Send string
- For types
http
,https
, andudp
. The data to be sent. - Timeout float64
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- Url string
- For types
http
andhttps
. URL to be used in the server status request - Vdc string
- The name of VDC to use, optional if defined at provider level
- edge
Gateway String - The name of the edge gateway on which the service monitor is to be created
- type String
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - expected String
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - extension Map<String,String>
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - interval Double
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- lb
Service StringMonitor Id - The NSX ID of the load balancer service monitor
- max
Retries Double - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- method String
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - name String
- Service Monitor name
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- receive String
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - send String
- For types
http
,https
, andudp
. The data to be sent. - timeout Double
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- url String
- For types
http
andhttps
. URL to be used in the server status request - vdc String
- The name of VDC to use, optional if defined at provider level
- edge
Gateway string - The name of the edge gateway on which the service monitor is to be created
- type string
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - expected string
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - extension {[key: string]: string}
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - interval number
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- lb
Service stringMonitor Id - The NSX ID of the load balancer service monitor
- max
Retries number - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- method string
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - name string
- Service Monitor name
- org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- receive string
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - send string
- For types
http
,https
, andudp
. The data to be sent. - timeout number
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- url string
- For types
http
andhttps
. URL to be used in the server status request - vdc string
- The name of VDC to use, optional if defined at provider level
- edge_
gateway str - The name of the edge gateway on which the service monitor is to be created
- type str
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - expected str
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - extension Mapping[str, str]
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - interval float
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- lb_
service_ strmonitor_ id - The NSX ID of the load balancer service monitor
- max_
retries float - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- method str
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - name str
- Service Monitor name
- org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- receive str
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - send str
- For types
http
,https
, andudp
. The data to be sent. - timeout float
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- url str
- For types
http
andhttps
. URL to be used in the server status request - vdc str
- The name of VDC to use, optional if defined at provider level
- edge
Gateway String - The name of the edge gateway on which the service monitor is to be created
- type String
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - expected String
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - extension Map<String>
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - interval Number
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- lb
Service StringMonitor Id - The NSX ID of the load balancer service monitor
- max
Retries Number - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- method String
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - name String
- Service Monitor name
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- receive String
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - send String
- For types
http
,https
, andudp
. The data to be sent. - timeout Number
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- url String
- For types
http
andhttps
. URL to be used in the server status request - vdc String
- The name of VDC to use, optional if defined at provider level
Outputs
All input properties are implicitly available as output properties. Additionally, the LbServiceMonitor 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 LbServiceMonitor Resource
Get an existing LbServiceMonitor 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?: LbServiceMonitorState, opts?: CustomResourceOptions): LbServiceMonitor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
edge_gateway: Optional[str] = None,
expected: Optional[str] = None,
extension: Optional[Mapping[str, str]] = None,
interval: Optional[float] = None,
lb_service_monitor_id: Optional[str] = None,
max_retries: Optional[float] = None,
method: Optional[str] = None,
name: Optional[str] = None,
org: Optional[str] = None,
receive: Optional[str] = None,
send: Optional[str] = None,
timeout: Optional[float] = None,
type: Optional[str] = None,
url: Optional[str] = None,
vdc: Optional[str] = None) -> LbServiceMonitor
func GetLbServiceMonitor(ctx *Context, name string, id IDInput, state *LbServiceMonitorState, opts ...ResourceOption) (*LbServiceMonitor, error)
public static LbServiceMonitor Get(string name, Input<string> id, LbServiceMonitorState? state, CustomResourceOptions? opts = null)
public static LbServiceMonitor get(String name, Output<String> id, LbServiceMonitorState state, CustomResourceOptions options)
resources: _: type: vcd:LbServiceMonitor 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 string - The name of the edge gateway on which the service monitor is to be created
- Expected string
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - Extension Dictionary<string, string>
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - Interval double
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- Lb
Service stringMonitor Id - The NSX ID of the load balancer service monitor
- Max
Retries double - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- Method string
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - Name string
- Service Monitor name
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Receive string
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - Send string
- For types
http
,https
, andudp
. The data to be sent. - Timeout double
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- Type string
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - Url string
- For types
http
andhttps
. URL to be used in the server status request - Vdc string
- The name of VDC to use, optional if defined at provider level
- Edge
Gateway string - The name of the edge gateway on which the service monitor is to be created
- Expected string
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - Extension map[string]string
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - Interval float64
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- Lb
Service stringMonitor Id - The NSX ID of the load balancer service monitor
- Max
Retries float64 - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- Method string
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - Name string
- Service Monitor name
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Receive string
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - Send string
- For types
http
,https
, andudp
. The data to be sent. - Timeout float64
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- Type string
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - Url string
- For types
http
andhttps
. URL to be used in the server status request - Vdc string
- The name of VDC to use, optional if defined at provider level
- edge
Gateway String - The name of the edge gateway on which the service monitor is to be created
- expected String
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - extension Map<String,String>
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - interval Double
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- lb
Service StringMonitor Id - The NSX ID of the load balancer service monitor
- max
Retries Double - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- method String
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - name String
- Service Monitor name
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- receive String
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - send String
- For types
http
,https
, andudp
. The data to be sent. - timeout Double
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- type String
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - url String
- For types
http
andhttps
. URL to be used in the server status request - vdc String
- The name of VDC to use, optional if defined at provider level
- edge
Gateway string - The name of the edge gateway on which the service monitor is to be created
- expected string
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - extension {[key: string]: string}
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - interval number
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- lb
Service stringMonitor Id - The NSX ID of the load balancer service monitor
- max
Retries number - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- method string
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - name string
- Service Monitor name
- org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- receive string
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - send string
- For types
http
,https
, andudp
. The data to be sent. - timeout number
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- type string
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - url string
- For types
http
andhttps
. URL to be used in the server status request - vdc string
- The name of VDC to use, optional if defined at provider level
- edge_
gateway str - The name of the edge gateway on which the service monitor is to be created
- expected str
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - extension Mapping[str, str]
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - interval float
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- lb_
service_ strmonitor_ id - The NSX ID of the load balancer service monitor
- max_
retries float - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- method str
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - name str
- Service Monitor name
- org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- receive str
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - send str
- For types
http
,https
, andudp
. The data to be sent. - timeout float
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- type str
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - url str
- For types
http
andhttps
. URL to be used in the server status request - vdc str
- The name of VDC to use, optional if defined at provider level
- edge
Gateway String - The name of the edge gateway on which the service monitor is to be created
- expected String
- For types
http
andhttps
. String that the monitor expects to match in the status line of the HTTP or HTTPS response (for example,HTTP/1.1
) - extension Map<String>
- A map of advanced monitor parameters as key=value pairs (i.e.
max-age=SECONDS
,invert-regex
) Note: When you need a value ofkey
only format just set value to empty string (i.e.linespan = ""
) - interval Number
- Interval in seconds at which a server is to be monitored using the specified Method. Defaults to 10
- lb
Service StringMonitor Id - The NSX ID of the load balancer service monitor
- max
Retries Number - Number of times the specified monitoring Method must fail sequentially before the server is declared down. Defaults to 3
- method String
- For types
http
andhttps
. Select http method to be used to detect server status. One of OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT - name String
- Service Monitor name
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- receive String
- For types
http
,https
, andudp
. The string to be matched in the response content. Note: Whenexpected
is not matched, the monitor does not try to match the Receive content - send String
- For types
http
,https
, andudp
. The data to be sent. - timeout Number
- Maximum time in seconds within which a response from the server must be received. Defaults to 15
- type String
- Select the way in which you want to send the health check request to the server —
http
,https
,tcp
,icmp
, orudp
. Depending on the type selected, the remaining attributes are allowed or not - url String
- For types
http
andhttps
. URL to be used in the server status request - vdc String
- The name of VDC to use, 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.