Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.vmwareengine/v1.LoggingServer
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Create a new logging server for a given private cloud. Auto-naming is currently not supported for this resource.
Create LoggingServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LoggingServer(name: string, args: LoggingServerArgs, opts?: CustomResourceOptions);
@overload
def LoggingServer(resource_name: str,
args: LoggingServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LoggingServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
hostname: Optional[str] = None,
logging_server_id: Optional[str] = None,
port: Optional[int] = None,
private_cloud_id: Optional[str] = None,
protocol: Optional[LoggingServerProtocol] = None,
source_type: Optional[LoggingServerSourceType] = None,
location: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None)
func NewLoggingServer(ctx *Context, name string, args LoggingServerArgs, opts ...ResourceOption) (*LoggingServer, error)
public LoggingServer(string name, LoggingServerArgs args, CustomResourceOptions? opts = null)
public LoggingServer(String name, LoggingServerArgs args)
public LoggingServer(String name, LoggingServerArgs args, CustomResourceOptions options)
type: google-native:vmwareengine/v1:LoggingServer
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 LoggingServerArgs
- 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 LoggingServerArgs
- 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 LoggingServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoggingServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoggingServerArgs
- 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 loggingServerResource = new GoogleNative.VMwareEngine.V1.LoggingServer("loggingServerResource", new()
{
Hostname = "string",
LoggingServerId = "string",
Port = 0,
PrivateCloudId = "string",
Protocol = GoogleNative.VMwareEngine.V1.LoggingServerProtocol.ProtocolUnspecified,
SourceType = GoogleNative.VMwareEngine.V1.LoggingServerSourceType.SourceTypeUnspecified,
Location = "string",
Project = "string",
RequestId = "string",
});
example, err := vmwareengine.NewLoggingServer(ctx, "loggingServerResource", &vmwareengine.LoggingServerArgs{
Hostname: pulumi.String("string"),
LoggingServerId: pulumi.String("string"),
Port: pulumi.Int(0),
PrivateCloudId: pulumi.String("string"),
Protocol: vmwareengine.LoggingServerProtocolProtocolUnspecified,
SourceType: vmwareengine.LoggingServerSourceTypeSourceTypeUnspecified,
Location: pulumi.String("string"),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
})
var loggingServerResource = new LoggingServer("loggingServerResource", LoggingServerArgs.builder()
.hostname("string")
.loggingServerId("string")
.port(0)
.privateCloudId("string")
.protocol("PROTOCOL_UNSPECIFIED")
.sourceType("SOURCE_TYPE_UNSPECIFIED")
.location("string")
.project("string")
.requestId("string")
.build());
logging_server_resource = google_native.vmwareengine.v1.LoggingServer("loggingServerResource",
hostname="string",
logging_server_id="string",
port=0,
private_cloud_id="string",
protocol=google_native.vmwareengine.v1.LoggingServerProtocol.PROTOCOL_UNSPECIFIED,
source_type=google_native.vmwareengine.v1.LoggingServerSourceType.SOURCE_TYPE_UNSPECIFIED,
location="string",
project="string",
request_id="string")
const loggingServerResource = new google_native.vmwareengine.v1.LoggingServer("loggingServerResource", {
hostname: "string",
loggingServerId: "string",
port: 0,
privateCloudId: "string",
protocol: google_native.vmwareengine.v1.LoggingServerProtocol.ProtocolUnspecified,
sourceType: google_native.vmwareengine.v1.LoggingServerSourceType.SourceTypeUnspecified,
location: "string",
project: "string",
requestId: "string",
});
type: google-native:vmwareengine/v1:LoggingServer
properties:
hostname: string
location: string
loggingServerId: string
port: 0
privateCloudId: string
project: string
protocol: PROTOCOL_UNSPECIFIED
requestId: string
sourceType: SOURCE_TYPE_UNSPECIFIED
LoggingServer 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 LoggingServer resource accepts the following input properties:
- Hostname string
- Fully-qualified domain name (FQDN) or IP Address of the logging server.
- Logging
Server stringId - Required. The user-provided identifier of the
LoggingServer
to be created. This identifier must be unique amongLoggingServer
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - Port int
- Port number at which the logging server receives logs.
- Private
Cloud stringId - Protocol
Pulumi.
Google Native. VMware Engine. V1. Logging Server Protocol - Protocol used by vCenter to send logs to a logging server.
- Source
Type Pulumi.Google Native. VMware Engine. V1. Logging Server Source Type - The type of component that produces logs that will be forwarded to this logging server.
- Location string
- Project string
- Request
Id string - Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Hostname string
- Fully-qualified domain name (FQDN) or IP Address of the logging server.
- Logging
Server stringId - Required. The user-provided identifier of the
LoggingServer
to be created. This identifier must be unique amongLoggingServer
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - Port int
- Port number at which the logging server receives logs.
- Private
Cloud stringId - Protocol
Logging
Server Protocol - Protocol used by vCenter to send logs to a logging server.
- Source
Type LoggingServer Source Type - The type of component that produces logs that will be forwarded to this logging server.
- Location string
- Project string
- Request
Id string - Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- hostname String
- Fully-qualified domain name (FQDN) or IP Address of the logging server.
- logging
Server StringId - Required. The user-provided identifier of the
LoggingServer
to be created. This identifier must be unique amongLoggingServer
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - port Integer
- Port number at which the logging server receives logs.
- private
Cloud StringId - protocol
Logging
Server Protocol - Protocol used by vCenter to send logs to a logging server.
- source
Type LoggingServer Source Type - The type of component that produces logs that will be forwarded to this logging server.
- location String
- project String
- request
Id String - Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- hostname string
- Fully-qualified domain name (FQDN) or IP Address of the logging server.
- logging
Server stringId - Required. The user-provided identifier of the
LoggingServer
to be created. This identifier must be unique amongLoggingServer
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - port number
- Port number at which the logging server receives logs.
- private
Cloud stringId - protocol
Logging
Server Protocol - Protocol used by vCenter to send logs to a logging server.
- source
Type LoggingServer Source Type - The type of component that produces logs that will be forwarded to this logging server.
- location string
- project string
- request
Id string - Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- hostname str
- Fully-qualified domain name (FQDN) or IP Address of the logging server.
- logging_
server_ strid - Required. The user-provided identifier of the
LoggingServer
to be created. This identifier must be unique amongLoggingServer
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - port int
- Port number at which the logging server receives logs.
- private_
cloud_ strid - protocol
Logging
Server Protocol - Protocol used by vCenter to send logs to a logging server.
- source_
type LoggingServer Source Type - The type of component that produces logs that will be forwarded to this logging server.
- location str
- project str
- request_
id str - Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- hostname String
- Fully-qualified domain name (FQDN) or IP Address of the logging server.
- logging
Server StringId - Required. The user-provided identifier of the
LoggingServer
to be created. This identifier must be unique amongLoggingServer
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - port Number
- Port number at which the logging server receives logs.
- private
Cloud StringId - protocol "PROTOCOL_UNSPECIFIED" | "UDP" | "TCP"
- Protocol used by vCenter to send logs to a logging server.
- source
Type "SOURCE_TYPE_UNSPECIFIED" | "ESXI" | "VCSA" - The type of component that produces logs that will be forwarded to this logging server.
- location String
- project String
- request
Id String - Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Outputs
All input properties are implicitly available as output properties. Additionally, the LoggingServer resource produces the following output properties:
- Create
Time string - Creation time of this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
- Uid string
- System-generated unique identifier for the resource.
- Update
Time string - Last update time of this resource.
- Create
Time string - Creation time of this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
- Uid string
- System-generated unique identifier for the resource.
- Update
Time string - Last update time of this resource.
- create
Time String - Creation time of this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
- uid String
- System-generated unique identifier for the resource.
- update
Time String - Last update time of this resource.
- create
Time string - Creation time of this resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
- uid string
- System-generated unique identifier for the resource.
- update
Time string - Last update time of this resource.
- create_
time str - Creation time of this resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
- uid str
- System-generated unique identifier for the resource.
- update_
time str - Last update time of this resource.
- create
Time String - Creation time of this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
- uid String
- System-generated unique identifier for the resource.
- update
Time String - Last update time of this resource.
Supporting Types
LoggingServerProtocol, LoggingServerProtocolArgs
- Protocol
Unspecified - PROTOCOL_UNSPECIFIEDUnspecified communications protocol. This is the default value.
- Udp
- UDPUDP
- Tcp
- TCPTCP
- Logging
Server Protocol Protocol Unspecified - PROTOCOL_UNSPECIFIEDUnspecified communications protocol. This is the default value.
- Logging
Server Protocol Udp - UDPUDP
- Logging
Server Protocol Tcp - TCPTCP
- Protocol
Unspecified - PROTOCOL_UNSPECIFIEDUnspecified communications protocol. This is the default value.
- Udp
- UDPUDP
- Tcp
- TCPTCP
- Protocol
Unspecified - PROTOCOL_UNSPECIFIEDUnspecified communications protocol. This is the default value.
- Udp
- UDPUDP
- Tcp
- TCPTCP
- PROTOCOL_UNSPECIFIED
- PROTOCOL_UNSPECIFIEDUnspecified communications protocol. This is the default value.
- UDP
- UDPUDP
- TCP
- TCPTCP
- "PROTOCOL_UNSPECIFIED"
- PROTOCOL_UNSPECIFIEDUnspecified communications protocol. This is the default value.
- "UDP"
- UDPUDP
- "TCP"
- TCPTCP
LoggingServerSourceType, LoggingServerSourceTypeArgs
- Source
Type Unspecified - SOURCE_TYPE_UNSPECIFIEDThe default value. This value should never be used.
- Esxi
- ESXILogs produced by ESXI hosts
- Vcsa
- VCSALogs produced by vCenter server
- Logging
Server Source Type Source Type Unspecified - SOURCE_TYPE_UNSPECIFIEDThe default value. This value should never be used.
- Logging
Server Source Type Esxi - ESXILogs produced by ESXI hosts
- Logging
Server Source Type Vcsa - VCSALogs produced by vCenter server
- Source
Type Unspecified - SOURCE_TYPE_UNSPECIFIEDThe default value. This value should never be used.
- Esxi
- ESXILogs produced by ESXI hosts
- Vcsa
- VCSALogs produced by vCenter server
- Source
Type Unspecified - SOURCE_TYPE_UNSPECIFIEDThe default value. This value should never be used.
- Esxi
- ESXILogs produced by ESXI hosts
- Vcsa
- VCSALogs produced by vCenter server
- SOURCE_TYPE_UNSPECIFIED
- SOURCE_TYPE_UNSPECIFIEDThe default value. This value should never be used.
- ESXI
- ESXILogs produced by ESXI hosts
- VCSA
- VCSALogs produced by vCenter server
- "SOURCE_TYPE_UNSPECIFIED"
- SOURCE_TYPE_UNSPECIFIEDThe default value. This value should never be used.
- "ESXI"
- ESXILogs produced by ESXI hosts
- "VCSA"
- VCSALogs produced by vCenter server
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.