1. Packages
  2. Google Cloud Native
  3. API Docs
  4. vmwareengine
  5. vmwareengine/v1
  6. LoggingServer

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.vmwareengine/v1.LoggingServer

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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

    The LoggingServer resource accepts the following input properties:

    Hostname string
    Fully-qualified domain name (FQDN) or IP Address of the logging server.
    LoggingServerId string
    Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer 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.
    PrivateCloudId string
    Protocol Pulumi.GoogleNative.VMwareEngine.V1.LoggingServerProtocol
    Protocol used by vCenter to send logs to a logging server.
    SourceType Pulumi.GoogleNative.VMwareEngine.V1.LoggingServerSourceType
    The type of component that produces logs that will be forwarded to this logging server.
    Location string
    Project string
    RequestId 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.
    LoggingServerId string
    Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer 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.
    PrivateCloudId string
    Protocol LoggingServerProtocol
    Protocol used by vCenter to send logs to a logging server.
    SourceType LoggingServerSourceType
    The type of component that produces logs that will be forwarded to this logging server.
    Location string
    Project string
    RequestId 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.
    loggingServerId String
    Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer 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.
    privateCloudId String
    protocol LoggingServerProtocol
    Protocol used by vCenter to send logs to a logging server.
    sourceType LoggingServerSourceType
    The type of component that produces logs that will be forwarded to this logging server.
    location String
    project String
    requestId 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.
    loggingServerId string
    Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer 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.
    privateCloudId string
    protocol LoggingServerProtocol
    Protocol used by vCenter to send logs to a logging server.
    sourceType LoggingServerSourceType
    The type of component that produces logs that will be forwarded to this logging server.
    location string
    project string
    requestId 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_id str
    Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer 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_id str
    protocol LoggingServerProtocol
    Protocol used by vCenter to send logs to a logging server.
    source_type LoggingServerSourceType
    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.
    loggingServerId String
    Required. The user-provided identifier of the LoggingServer to be created. This identifier must be unique among LoggingServer 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.
    privateCloudId String
    protocol "PROTOCOL_UNSPECIFIED" | "UDP" | "TCP"
    Protocol used by vCenter to send logs to a logging server.
    sourceType "SOURCE_TYPE_UNSPECIFIED" | "ESXI" | "VCSA"
    The type of component that produces logs that will be forwarded to this logging server.
    location String
    project String
    requestId 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:

    CreateTime 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.
    UpdateTime string
    Last update time of this resource.
    CreateTime 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.
    UpdateTime string
    Last update time of this resource.
    createTime 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.
    updateTime String
    Last update time of this resource.
    createTime 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.
    updateTime 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.
    createTime 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.
    updateTime String
    Last update time of this resource.

    Supporting Types

    LoggingServerProtocol, LoggingServerProtocolArgs

    ProtocolUnspecified
    PROTOCOL_UNSPECIFIEDUnspecified communications protocol. This is the default value.
    Udp
    UDPUDP
    Tcp
    TCPTCP
    LoggingServerProtocolProtocolUnspecified
    PROTOCOL_UNSPECIFIEDUnspecified communications protocol. This is the default value.
    LoggingServerProtocolUdp
    UDPUDP
    LoggingServerProtocolTcp
    TCPTCP
    ProtocolUnspecified
    PROTOCOL_UNSPECIFIEDUnspecified communications protocol. This is the default value.
    Udp
    UDPUDP
    Tcp
    TCPTCP
    ProtocolUnspecified
    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

    SourceTypeUnspecified
    SOURCE_TYPE_UNSPECIFIEDThe default value. This value should never be used.
    Esxi
    ESXILogs produced by ESXI hosts
    Vcsa
    VCSALogs produced by vCenter server
    LoggingServerSourceTypeSourceTypeUnspecified
    SOURCE_TYPE_UNSPECIFIEDThe default value. This value should never be used.
    LoggingServerSourceTypeEsxi
    ESXILogs produced by ESXI hosts
    LoggingServerSourceTypeVcsa
    VCSALogs produced by vCenter server
    SourceTypeUnspecified
    SOURCE_TYPE_UNSPECIFIEDThe default value. This value should never be used.
    Esxi
    ESXILogs produced by ESXI hosts
    Vcsa
    VCSALogs produced by vCenter server
    SourceTypeUnspecified
    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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi