1. Packages
  2. Google Cloud Native
  3. API Docs
  4. toolresults
  5. toolresults/v1beta3
  6. PerfSampleSeries

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.toolresults/v1beta3.PerfSampleSeries

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

    Creates a PerfSampleSeries. May return any of the following error code(s): - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The containing Step does not exist Auto-naming is currently not supported for this resource. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

    Create PerfSampleSeries Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PerfSampleSeries(name: string, args: PerfSampleSeriesArgs, opts?: CustomResourceOptions);
    @overload
    def PerfSampleSeries(resource_name: str,
                         args: PerfSampleSeriesArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def PerfSampleSeries(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         execution_id: Optional[str] = None,
                         history_id: Optional[str] = None,
                         step_id: Optional[str] = None,
                         basic_perf_sample_series: Optional[BasicPerfSampleSeriesArgs] = None,
                         project: Optional[str] = None)
    func NewPerfSampleSeries(ctx *Context, name string, args PerfSampleSeriesArgs, opts ...ResourceOption) (*PerfSampleSeries, error)
    public PerfSampleSeries(string name, PerfSampleSeriesArgs args, CustomResourceOptions? opts = null)
    public PerfSampleSeries(String name, PerfSampleSeriesArgs args)
    public PerfSampleSeries(String name, PerfSampleSeriesArgs args, CustomResourceOptions options)
    
    type: google-native:toolresults/v1beta3:PerfSampleSeries
    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 PerfSampleSeriesArgs
    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 PerfSampleSeriesArgs
    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 PerfSampleSeriesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PerfSampleSeriesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PerfSampleSeriesArgs
    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 perfSampleSeriesResource = new GoogleNative.ToolResults.V1Beta3.PerfSampleSeries("perfSampleSeriesResource", new()
    {
        ExecutionId = "string",
        HistoryId = "string",
        StepId = "string",
        BasicPerfSampleSeries = new GoogleNative.ToolResults.V1Beta3.Inputs.BasicPerfSampleSeriesArgs
        {
            PerfMetricType = GoogleNative.ToolResults.V1Beta3.BasicPerfSampleSeriesPerfMetricType.PerfMetricTypeUnspecified,
            PerfUnit = GoogleNative.ToolResults.V1Beta3.BasicPerfSampleSeriesPerfUnit.PerfUnitUnspecified,
            SampleSeriesLabel = GoogleNative.ToolResults.V1Beta3.BasicPerfSampleSeriesSampleSeriesLabel.SampleSeriesTypeUnspecified,
        },
        Project = "string",
    });
    
    example, err := toolresults.NewPerfSampleSeries(ctx, "perfSampleSeriesResource", &toolresults.PerfSampleSeriesArgs{
    	ExecutionId: pulumi.String("string"),
    	HistoryId:   pulumi.String("string"),
    	StepId:      pulumi.String("string"),
    	BasicPerfSampleSeries: &toolresults.BasicPerfSampleSeriesArgs{
    		PerfMetricType:    toolresults.BasicPerfSampleSeriesPerfMetricTypePerfMetricTypeUnspecified,
    		PerfUnit:          toolresults.BasicPerfSampleSeriesPerfUnitPerfUnitUnspecified,
    		SampleSeriesLabel: toolresults.BasicPerfSampleSeriesSampleSeriesLabelSampleSeriesTypeUnspecified,
    	},
    	Project: pulumi.String("string"),
    })
    
    var perfSampleSeriesResource = new PerfSampleSeries("perfSampleSeriesResource", PerfSampleSeriesArgs.builder()
        .executionId("string")
        .historyId("string")
        .stepId("string")
        .basicPerfSampleSeries(BasicPerfSampleSeriesArgs.builder()
            .perfMetricType("perfMetricTypeUnspecified")
            .perfUnit("perfUnitUnspecified")
            .sampleSeriesLabel("sampleSeriesTypeUnspecified")
            .build())
        .project("string")
        .build());
    
    perf_sample_series_resource = google_native.toolresults.v1beta3.PerfSampleSeries("perfSampleSeriesResource",
        execution_id="string",
        history_id="string",
        step_id="string",
        basic_perf_sample_series=google_native.toolresults.v1beta3.BasicPerfSampleSeriesArgs(
            perf_metric_type=google_native.toolresults.v1beta3.BasicPerfSampleSeriesPerfMetricType.PERF_METRIC_TYPE_UNSPECIFIED,
            perf_unit=google_native.toolresults.v1beta3.BasicPerfSampleSeriesPerfUnit.PERF_UNIT_UNSPECIFIED,
            sample_series_label=google_native.toolresults.v1beta3.BasicPerfSampleSeriesSampleSeriesLabel.SAMPLE_SERIES_TYPE_UNSPECIFIED,
        ),
        project="string")
    
    const perfSampleSeriesResource = new google_native.toolresults.v1beta3.PerfSampleSeries("perfSampleSeriesResource", {
        executionId: "string",
        historyId: "string",
        stepId: "string",
        basicPerfSampleSeries: {
            perfMetricType: google_native.toolresults.v1beta3.BasicPerfSampleSeriesPerfMetricType.PerfMetricTypeUnspecified,
            perfUnit: google_native.toolresults.v1beta3.BasicPerfSampleSeriesPerfUnit.PerfUnitUnspecified,
            sampleSeriesLabel: google_native.toolresults.v1beta3.BasicPerfSampleSeriesSampleSeriesLabel.SampleSeriesTypeUnspecified,
        },
        project: "string",
    });
    
    type: google-native:toolresults/v1beta3:PerfSampleSeries
    properties:
        basicPerfSampleSeries:
            perfMetricType: perfMetricTypeUnspecified
            perfUnit: perfUnitUnspecified
            sampleSeriesLabel: sampleSeriesTypeUnspecified
        executionId: string
        historyId: string
        project: string
        stepId: string
    

    PerfSampleSeries 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 PerfSampleSeries resource accepts the following input properties:

    ExecutionId string
    HistoryId string
    StepId string
    BasicPerfSampleSeries BasicPerfSampleSeriesArgs
    Basic series represented by a line chart
    Project string
    executionId String
    historyId String
    stepId String
    basicPerfSampleSeries BasicPerfSampleSeries
    Basic series represented by a line chart
    project String
    executionId string
    historyId string
    stepId string
    basicPerfSampleSeries BasicPerfSampleSeries
    Basic series represented by a line chart
    project string
    execution_id str
    history_id str
    step_id str
    basic_perf_sample_series BasicPerfSampleSeriesArgs
    Basic series represented by a line chart
    project str
    executionId String
    historyId String
    stepId String
    basicPerfSampleSeries Property Map
    Basic series represented by a line chart
    project String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PerfSampleSeries resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    SampleSeriesId string
    A sample series id
    Id string
    The provider-assigned unique ID for this managed resource.
    SampleSeriesId string
    A sample series id
    id String
    The provider-assigned unique ID for this managed resource.
    sampleSeriesId String
    A sample series id
    id string
    The provider-assigned unique ID for this managed resource.
    sampleSeriesId string
    A sample series id
    id str
    The provider-assigned unique ID for this managed resource.
    sample_series_id str
    A sample series id
    id String
    The provider-assigned unique ID for this managed resource.
    sampleSeriesId String
    A sample series id

    Supporting Types

    BasicPerfSampleSeries, BasicPerfSampleSeriesArgs

    BasicPerfSampleSeriesPerfMetricType, BasicPerfSampleSeriesPerfMetricTypeArgs

    PerfMetricTypeUnspecified
    perfMetricTypeUnspecified
    Memory
    memory
    Cpu
    cpu
    Network
    network
    Graphics
    graphics
    BasicPerfSampleSeriesPerfMetricTypePerfMetricTypeUnspecified
    perfMetricTypeUnspecified
    BasicPerfSampleSeriesPerfMetricTypeMemory
    memory
    BasicPerfSampleSeriesPerfMetricTypeCpu
    cpu
    BasicPerfSampleSeriesPerfMetricTypeNetwork
    network
    BasicPerfSampleSeriesPerfMetricTypeGraphics
    graphics
    PerfMetricTypeUnspecified
    perfMetricTypeUnspecified
    Memory
    memory
    Cpu
    cpu
    Network
    network
    Graphics
    graphics
    PerfMetricTypeUnspecified
    perfMetricTypeUnspecified
    Memory
    memory
    Cpu
    cpu
    Network
    network
    Graphics
    graphics
    PERF_METRIC_TYPE_UNSPECIFIED
    perfMetricTypeUnspecified
    MEMORY
    memory
    CPU
    cpu
    NETWORK
    network
    GRAPHICS
    graphics
    "perfMetricTypeUnspecified"
    perfMetricTypeUnspecified
    "memory"
    memory
    "cpu"
    cpu
    "network"
    network
    "graphics"
    graphics

    BasicPerfSampleSeriesPerfUnit, BasicPerfSampleSeriesPerfUnitArgs

    PerfUnitUnspecified
    perfUnitUnspecified
    Kibibyte
    kibibyte
    Percent
    percent
    BytesPerSecond
    bytesPerSecond
    FramesPerSecond
    framesPerSecond
    Byte
    byte
    BasicPerfSampleSeriesPerfUnitPerfUnitUnspecified
    perfUnitUnspecified
    BasicPerfSampleSeriesPerfUnitKibibyte
    kibibyte
    BasicPerfSampleSeriesPerfUnitPercent
    percent
    BasicPerfSampleSeriesPerfUnitBytesPerSecond
    bytesPerSecond
    BasicPerfSampleSeriesPerfUnitFramesPerSecond
    framesPerSecond
    BasicPerfSampleSeriesPerfUnitByte
    byte
    PerfUnitUnspecified
    perfUnitUnspecified
    Kibibyte
    kibibyte
    Percent
    percent
    BytesPerSecond
    bytesPerSecond
    FramesPerSecond
    framesPerSecond
    Byte
    byte
    PerfUnitUnspecified
    perfUnitUnspecified
    Kibibyte
    kibibyte
    Percent
    percent
    BytesPerSecond
    bytesPerSecond
    FramesPerSecond
    framesPerSecond
    Byte
    byte
    PERF_UNIT_UNSPECIFIED
    perfUnitUnspecified
    KIBIBYTE
    kibibyte
    PERCENT
    percent
    BYTES_PER_SECOND
    bytesPerSecond
    FRAMES_PER_SECOND
    framesPerSecond
    BYTE
    byte
    "perfUnitUnspecified"
    perfUnitUnspecified
    "kibibyte"
    kibibyte
    "percent"
    percent
    "bytesPerSecond"
    bytesPerSecond
    "framesPerSecond"
    framesPerSecond
    "byte"
    byte

    BasicPerfSampleSeriesResponse, BasicPerfSampleSeriesResponseArgs

    BasicPerfSampleSeriesSampleSeriesLabel, BasicPerfSampleSeriesSampleSeriesLabelArgs

    SampleSeriesTypeUnspecified
    sampleSeriesTypeUnspecified
    MemoryRssPrivate
    memoryRssPrivateMemory sample series
    MemoryRssShared
    memoryRssShared
    MemoryRssTotal
    memoryRssTotal
    MemoryTotal
    memoryTotal
    CpuUser
    cpuUserCPU sample series
    CpuKernel
    cpuKernel
    CpuTotal
    cpuTotal
    NtBytesTransferred
    ntBytesTransferredNetwork sample series
    NtBytesReceived
    ntBytesReceived
    NetworkSent
    networkSent
    NetworkReceived
    networkReceived
    GraphicsFrameRate
    graphicsFrameRateGraphics sample series
    BasicPerfSampleSeriesSampleSeriesLabelSampleSeriesTypeUnspecified
    sampleSeriesTypeUnspecified
    BasicPerfSampleSeriesSampleSeriesLabelMemoryRssPrivate
    memoryRssPrivateMemory sample series
    BasicPerfSampleSeriesSampleSeriesLabelMemoryRssShared
    memoryRssShared
    BasicPerfSampleSeriesSampleSeriesLabelMemoryRssTotal
    memoryRssTotal
    BasicPerfSampleSeriesSampleSeriesLabelMemoryTotal
    memoryTotal
    BasicPerfSampleSeriesSampleSeriesLabelCpuUser
    cpuUserCPU sample series
    BasicPerfSampleSeriesSampleSeriesLabelCpuKernel
    cpuKernel
    BasicPerfSampleSeriesSampleSeriesLabelCpuTotal
    cpuTotal
    BasicPerfSampleSeriesSampleSeriesLabelNtBytesTransferred
    ntBytesTransferredNetwork sample series
    BasicPerfSampleSeriesSampleSeriesLabelNtBytesReceived
    ntBytesReceived
    BasicPerfSampleSeriesSampleSeriesLabelNetworkSent
    networkSent
    BasicPerfSampleSeriesSampleSeriesLabelNetworkReceived
    networkReceived
    BasicPerfSampleSeriesSampleSeriesLabelGraphicsFrameRate
    graphicsFrameRateGraphics sample series
    SampleSeriesTypeUnspecified
    sampleSeriesTypeUnspecified
    MemoryRssPrivate
    memoryRssPrivateMemory sample series
    MemoryRssShared
    memoryRssShared
    MemoryRssTotal
    memoryRssTotal
    MemoryTotal
    memoryTotal
    CpuUser
    cpuUserCPU sample series
    CpuKernel
    cpuKernel
    CpuTotal
    cpuTotal
    NtBytesTransferred
    ntBytesTransferredNetwork sample series
    NtBytesReceived
    ntBytesReceived
    NetworkSent
    networkSent
    NetworkReceived
    networkReceived
    GraphicsFrameRate
    graphicsFrameRateGraphics sample series
    SampleSeriesTypeUnspecified
    sampleSeriesTypeUnspecified
    MemoryRssPrivate
    memoryRssPrivateMemory sample series
    MemoryRssShared
    memoryRssShared
    MemoryRssTotal
    memoryRssTotal
    MemoryTotal
    memoryTotal
    CpuUser
    cpuUserCPU sample series
    CpuKernel
    cpuKernel
    CpuTotal
    cpuTotal
    NtBytesTransferred
    ntBytesTransferredNetwork sample series
    NtBytesReceived
    ntBytesReceived
    NetworkSent
    networkSent
    NetworkReceived
    networkReceived
    GraphicsFrameRate
    graphicsFrameRateGraphics sample series
    SAMPLE_SERIES_TYPE_UNSPECIFIED
    sampleSeriesTypeUnspecified
    MEMORY_RSS_PRIVATE
    memoryRssPrivateMemory sample series
    MEMORY_RSS_SHARED
    memoryRssShared
    MEMORY_RSS_TOTAL
    memoryRssTotal
    MEMORY_TOTAL
    memoryTotal
    CPU_USER
    cpuUserCPU sample series
    CPU_KERNEL
    cpuKernel
    CPU_TOTAL
    cpuTotal
    NT_BYTES_TRANSFERRED
    ntBytesTransferredNetwork sample series
    NT_BYTES_RECEIVED
    ntBytesReceived
    NETWORK_SENT
    networkSent
    NETWORK_RECEIVED
    networkReceived
    GRAPHICS_FRAME_RATE
    graphicsFrameRateGraphics sample series
    "sampleSeriesTypeUnspecified"
    sampleSeriesTypeUnspecified
    "memoryRssPrivate"
    memoryRssPrivateMemory sample series
    "memoryRssShared"
    memoryRssShared
    "memoryRssTotal"
    memoryRssTotal
    "memoryTotal"
    memoryTotal
    "cpuUser"
    cpuUserCPU sample series
    "cpuKernel"
    cpuKernel
    "cpuTotal"
    cpuTotal
    "ntBytesTransferred"
    ntBytesTransferredNetwork sample series
    "ntBytesReceived"
    ntBytesReceived
    "networkSent"
    networkSent
    "networkReceived"
    networkReceived
    "graphicsFrameRate"
    graphicsFrameRateGraphics sample series

    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