Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.toolresults/v1beta3.PerfSampleSeries
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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={
        "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PerfSampleSeries resource accepts the following input properties:
- ExecutionId string
- HistoryId string
- StepId string
- BasicPerf Pulumi.Sample Series Google Native. Tool Results. V1Beta3. Inputs. Basic Perf Sample Series 
- Basic series represented by a line chart
- Project string
- ExecutionId string
- HistoryId string
- StepId string
- BasicPerf BasicSample Series Perf Sample Series Args 
- Basic series represented by a line chart
- Project string
- executionId String
- historyId String
- stepId String
- basicPerf BasicSample Series Perf Sample Series 
- Basic series represented by a line chart
- project String
- executionId string
- historyId string
- stepId string
- basicPerf BasicSample Series Perf Sample Series 
- Basic series represented by a line chart
- project string
- execution_id str
- history_id str
- step_id str
- basic_perf_ Basicsample_ series Perf Sample Series Args 
- Basic series represented by a line chart
- project str
- executionId String
- historyId String
- stepId String
- basicPerf Property MapSample Series 
- 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.
- SampleSeries stringId 
- A sample series id
- Id string
- The provider-assigned unique ID for this managed resource.
- SampleSeries stringId 
- A sample series id
- id String
- The provider-assigned unique ID for this managed resource.
- sampleSeries StringId 
- A sample series id
- id string
- The provider-assigned unique ID for this managed resource.
- sampleSeries stringId 
- A sample series id
- id str
- The provider-assigned unique ID for this managed resource.
- sample_series_ strid 
- A sample series id
- id String
- The provider-assigned unique ID for this managed resource.
- sampleSeries StringId 
- A sample series id
Supporting Types
BasicPerfSampleSeries, BasicPerfSampleSeriesArgs        
- perfMetric "perfType Metric Type Unspecified" | "memory" | "cpu" | "network" | "graphics" 
- perfUnit "perfUnit Unspecified" | "kibibyte" | "percent" | "bytes Per Second" | "frames Per Second" | "byte" 
- sampleSeries "sampleLabel Series Type Unspecified" | "memory Rss Private" | "memory Rss Shared" | "memory Rss Total" | "memory Total" | "cpu User" | "cpu Kernel" | "cpu Total" | "nt Bytes Transferred" | "nt Bytes Received" | "network Sent" | "network Received" | "graphics Frame Rate" 
BasicPerfSampleSeriesPerfMetricType, BasicPerfSampleSeriesPerfMetricTypeArgs              
- PerfMetric Type Unspecified 
- perfMetricTypeUnspecified
- Memory
- memory
- Cpu
- cpu
- Network
- network
- Graphics
- graphics
- BasicPerf Sample Series Perf Metric Type Perf Metric Type Unspecified 
- perfMetricTypeUnspecified
- BasicPerf Sample Series Perf Metric Type Memory 
- memory
- BasicPerf Sample Series Perf Metric Type Cpu 
- cpu
- BasicPerf Sample Series Perf Metric Type Network 
- network
- BasicPerf Sample Series Perf Metric Type Graphics 
- graphics
- PerfMetric Type Unspecified 
- perfMetricTypeUnspecified
- Memory
- memory
- Cpu
- cpu
- Network
- network
- Graphics
- graphics
- PerfMetric Type Unspecified 
- perfMetricTypeUnspecified
- Memory
- memory
- Cpu
- cpu
- Network
- network
- Graphics
- graphics
- PERF_METRIC_TYPE_UNSPECIFIED
- perfMetricTypeUnspecified
- MEMORY
- memory
- CPU
- cpu
- NETWORK
- network
- GRAPHICS
- graphics
- "perfMetric Type Unspecified" 
- perfMetricTypeUnspecified
- "memory"
- memory
- "cpu"
- cpu
- "network"
- network
- "graphics"
- graphics
BasicPerfSampleSeriesPerfUnit, BasicPerfSampleSeriesPerfUnitArgs            
- PerfUnit Unspecified 
- perfUnitUnspecified
- Kibibyte
- kibibyte
- Percent
- percent
- BytesPer Second 
- bytesPerSecond
- FramesPer Second 
- framesPerSecond
- Byte
- byte
- BasicPerf Sample Series Perf Unit Perf Unit Unspecified 
- perfUnitUnspecified
- BasicPerf Sample Series Perf Unit Kibibyte 
- kibibyte
- BasicPerf Sample Series Perf Unit Percent 
- percent
- BasicPerf Sample Series Perf Unit Bytes Per Second 
- bytesPerSecond
- BasicPerf Sample Series Perf Unit Frames Per Second 
- framesPerSecond
- BasicPerf Sample Series Perf Unit Byte 
- byte
- PerfUnit Unspecified 
- perfUnitUnspecified
- Kibibyte
- kibibyte
- Percent
- percent
- BytesPer Second 
- bytesPerSecond
- FramesPer Second 
- framesPerSecond
- Byte
- byte
- PerfUnit Unspecified 
- perfUnitUnspecified
- Kibibyte
- kibibyte
- Percent
- percent
- BytesPer Second 
- bytesPerSecond
- FramesPer Second 
- framesPerSecond
- Byte
- byte
- PERF_UNIT_UNSPECIFIED
- perfUnitUnspecified
- KIBIBYTE
- kibibyte
- PERCENT
- percent
- BYTES_PER_SECOND
- bytesPerSecond
- FRAMES_PER_SECOND
- framesPerSecond
- BYTE
- byte
- "perfUnit Unspecified" 
- perfUnitUnspecified
- "kibibyte"
- kibibyte
- "percent"
- percent
- "bytesPer Second" 
- bytesPerSecond
- "framesPer Second" 
- framesPerSecond
- "byte"
- byte
BasicPerfSampleSeriesResponse, BasicPerfSampleSeriesResponseArgs          
- PerfMetric stringType 
- PerfUnit string
- SampleSeries stringLabel 
- PerfMetric stringType 
- PerfUnit string
- SampleSeries stringLabel 
- perfMetric StringType 
- perfUnit String
- sampleSeries StringLabel 
- perfMetric stringType 
- perfUnit string
- sampleSeries stringLabel 
- perf_metric_ strtype 
- perf_unit str
- sample_series_ strlabel 
- perfMetric StringType 
- perfUnit String
- sampleSeries StringLabel 
BasicPerfSampleSeriesSampleSeriesLabel, BasicPerfSampleSeriesSampleSeriesLabelArgs              
- SampleSeries Type Unspecified 
- sampleSeriesTypeUnspecified
- MemoryRss Private 
- memoryRssPrivateMemory sample series
- MemoryRss Shared 
- memoryRssShared
- MemoryRss Total 
- memoryRssTotal
- MemoryTotal 
- memoryTotal
- CpuUser 
- cpuUserCPU sample series
- CpuKernel 
- cpuKernel
- CpuTotal 
- cpuTotal
- NtBytes Transferred 
- ntBytesTransferredNetwork sample series
- NtBytes Received 
- ntBytesReceived
- NetworkSent 
- networkSent
- NetworkReceived 
- networkReceived
- GraphicsFrame Rate 
- graphicsFrameRateGraphics sample series
- BasicPerf Sample Series Sample Series Label Sample Series Type Unspecified 
- sampleSeriesTypeUnspecified
- BasicPerf Sample Series Sample Series Label Memory Rss Private 
- memoryRssPrivateMemory sample series
- BasicPerf Sample Series Sample Series Label Memory Rss Shared 
- memoryRssShared
- BasicPerf Sample Series Sample Series Label Memory Rss Total 
- memoryRssTotal
- BasicPerf Sample Series Sample Series Label Memory Total 
- memoryTotal
- BasicPerf Sample Series Sample Series Label Cpu User 
- cpuUserCPU sample series
- BasicPerf Sample Series Sample Series Label Cpu Kernel 
- cpuKernel
- BasicPerf Sample Series Sample Series Label Cpu Total 
- cpuTotal
- BasicPerf Sample Series Sample Series Label Nt Bytes Transferred 
- ntBytesTransferredNetwork sample series
- BasicPerf Sample Series Sample Series Label Nt Bytes Received 
- ntBytesReceived
- BasicPerf Sample Series Sample Series Label Network Sent 
- networkSent
- BasicPerf Sample Series Sample Series Label Network Received 
- networkReceived
- BasicPerf Sample Series Sample Series Label Graphics Frame Rate 
- graphicsFrameRateGraphics sample series
- SampleSeries Type Unspecified 
- sampleSeriesTypeUnspecified
- MemoryRss Private 
- memoryRssPrivateMemory sample series
- MemoryRss Shared 
- memoryRssShared
- MemoryRss Total 
- memoryRssTotal
- MemoryTotal 
- memoryTotal
- CpuUser 
- cpuUserCPU sample series
- CpuKernel 
- cpuKernel
- CpuTotal 
- cpuTotal
- NtBytes Transferred 
- ntBytesTransferredNetwork sample series
- NtBytes Received 
- ntBytesReceived
- NetworkSent 
- networkSent
- NetworkReceived 
- networkReceived
- GraphicsFrame Rate 
- graphicsFrameRateGraphics sample series
- SampleSeries Type Unspecified 
- sampleSeriesTypeUnspecified
- MemoryRss Private 
- memoryRssPrivateMemory sample series
- MemoryRss Shared 
- memoryRssShared
- MemoryRss Total 
- memoryRssTotal
- MemoryTotal 
- memoryTotal
- CpuUser 
- cpuUserCPU sample series
- CpuKernel 
- cpuKernel
- CpuTotal 
- cpuTotal
- NtBytes Transferred 
- ntBytesTransferredNetwork sample series
- NtBytes Received 
- ntBytesReceived
- NetworkSent 
- networkSent
- NetworkReceived 
- networkReceived
- GraphicsFrame Rate 
- 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
- "sampleSeries Type Unspecified" 
- sampleSeriesTypeUnspecified
- "memoryRss Private" 
- memoryRssPrivateMemory sample series
- "memoryRss Shared" 
- memoryRssShared
- "memoryRss Total" 
- memoryRssTotal
- "memoryTotal" 
- memoryTotal
- "cpuUser" 
- cpuUserCPU sample series
- "cpuKernel" 
- cpuKernel
- "cpuTotal" 
- cpuTotal
- "ntBytes Transferred" 
- ntBytesTransferredNetwork sample series
- "ntBytes Received" 
- ntBytesReceived
- "networkSent" 
- networkSent
- "networkReceived" 
- networkReceived
- "graphicsFrame Rate" 
- graphicsFrameRateGraphics sample series
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.