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:
- Execution
Id string - History
Id string - Step
Id string - Basic
Perf Pulumi.Sample Series Google Native. Tool Results. V1Beta3. Inputs. Basic Perf Sample Series - Basic series represented by a line chart
- Project string
- Execution
Id string - History
Id string - Step
Id string - Basic
Perf BasicSample Series Perf Sample Series Args - Basic series represented by a line chart
- Project string
- execution
Id String - history
Id String - step
Id String - basic
Perf BasicSample Series Perf Sample Series - Basic series represented by a line chart
- project String
- execution
Id string - history
Id string - step
Id string - basic
Perf 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
- execution
Id String - history
Id String - step
Id String - basic
Perf 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.
- Sample
Series stringId - A sample series id
- Id string
- The provider-assigned unique ID for this managed resource.
- Sample
Series stringId - A sample series id
- id String
- The provider-assigned unique ID for this managed resource.
- sample
Series StringId - A sample series id
- id string
- The provider-assigned unique ID for this managed resource.
- sample
Series 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.
- sample
Series StringId - A sample series id
Supporting Types
BasicPerfSampleSeries, BasicPerfSampleSeriesArgs
- perf
Metric "perfType Metric Type Unspecified" | "memory" | "cpu" | "network" | "graphics" - perf
Unit "perfUnit Unspecified" | "kibibyte" | "percent" | "bytes Per Second" | "frames Per Second" | "byte" - sample
Series "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
- Perf
Metric Type Unspecified - perfMetricTypeUnspecified
- Memory
- memory
- Cpu
- cpu
- Network
- network
- Graphics
- graphics
- Basic
Perf Sample Series Perf Metric Type Perf Metric Type Unspecified - perfMetricTypeUnspecified
- Basic
Perf Sample Series Perf Metric Type Memory - memory
- Basic
Perf Sample Series Perf Metric Type Cpu - cpu
- Basic
Perf Sample Series Perf Metric Type Network - network
- Basic
Perf Sample Series Perf Metric Type Graphics - graphics
- Perf
Metric Type Unspecified - perfMetricTypeUnspecified
- Memory
- memory
- Cpu
- cpu
- Network
- network
- Graphics
- graphics
- Perf
Metric Type Unspecified - perfMetricTypeUnspecified
- Memory
- memory
- Cpu
- cpu
- Network
- network
- Graphics
- graphics
- PERF_METRIC_TYPE_UNSPECIFIED
- perfMetricTypeUnspecified
- MEMORY
- memory
- CPU
- cpu
- NETWORK
- network
- GRAPHICS
- graphics
- "perf
Metric Type Unspecified" - perfMetricTypeUnspecified
- "memory"
- memory
- "cpu"
- cpu
- "network"
- network
- "graphics"
- graphics
BasicPerfSampleSeriesPerfUnit, BasicPerfSampleSeriesPerfUnitArgs
- Perf
Unit Unspecified - perfUnitUnspecified
- Kibibyte
- kibibyte
- Percent
- percent
- Bytes
Per Second - bytesPerSecond
- Frames
Per Second - framesPerSecond
- Byte
- byte
- Basic
Perf Sample Series Perf Unit Perf Unit Unspecified - perfUnitUnspecified
- Basic
Perf Sample Series Perf Unit Kibibyte - kibibyte
- Basic
Perf Sample Series Perf Unit Percent - percent
- Basic
Perf Sample Series Perf Unit Bytes Per Second - bytesPerSecond
- Basic
Perf Sample Series Perf Unit Frames Per Second - framesPerSecond
- Basic
Perf Sample Series Perf Unit Byte - byte
- Perf
Unit Unspecified - perfUnitUnspecified
- Kibibyte
- kibibyte
- Percent
- percent
- Bytes
Per Second - bytesPerSecond
- Frames
Per Second - framesPerSecond
- Byte
- byte
- Perf
Unit Unspecified - perfUnitUnspecified
- Kibibyte
- kibibyte
- Percent
- percent
- Bytes
Per Second - bytesPerSecond
- Frames
Per Second - framesPerSecond
- Byte
- byte
- PERF_UNIT_UNSPECIFIED
- perfUnitUnspecified
- KIBIBYTE
- kibibyte
- PERCENT
- percent
- BYTES_PER_SECOND
- bytesPerSecond
- FRAMES_PER_SECOND
- framesPerSecond
- BYTE
- byte
- "perf
Unit Unspecified" - perfUnitUnspecified
- "kibibyte"
- kibibyte
- "percent"
- percent
- "bytes
Per Second" - bytesPerSecond
- "frames
Per Second" - framesPerSecond
- "byte"
- byte
BasicPerfSampleSeriesResponse, BasicPerfSampleSeriesResponseArgs
- Perf
Metric stringType - Perf
Unit string - Sample
Series stringLabel
- Perf
Metric stringType - Perf
Unit string - Sample
Series stringLabel
- perf
Metric StringType - perf
Unit String - sample
Series StringLabel
- perf
Metric stringType - perf
Unit string - sample
Series stringLabel
- perf_
metric_ strtype - perf_
unit str - sample_
series_ strlabel
- perf
Metric StringType - perf
Unit String - sample
Series StringLabel
BasicPerfSampleSeriesSampleSeriesLabel, BasicPerfSampleSeriesSampleSeriesLabelArgs
- 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
- Basic
Perf Sample Series Sample Series Label Sample Series Type Unspecified - sampleSeriesTypeUnspecified
- Basic
Perf Sample Series Sample Series Label Memory Rss Private - memoryRssPrivateMemory sample series
- Basic
Perf Sample Series Sample Series Label Memory Rss Shared - memoryRssShared
- Basic
Perf Sample Series Sample Series Label Memory Rss Total - memoryRssTotal
- Basic
Perf Sample Series Sample Series Label Memory Total - memoryTotal
- Basic
Perf Sample Series Sample Series Label Cpu User - cpuUserCPU sample series
- Basic
Perf Sample Series Sample Series Label Cpu Kernel - cpuKernel
- Basic
Perf Sample Series Sample Series Label Cpu Total - cpuTotal
- Basic
Perf Sample Series Sample Series Label Nt Bytes Transferred - ntBytesTransferredNetwork sample series
- Basic
Perf Sample Series Sample Series Label Nt Bytes Received - ntBytesReceived
- Basic
Perf Sample Series Sample Series Label Network Sent - networkSent
- Basic
Perf Sample Series Sample Series Label Network Received - networkReceived
- Basic
Perf Sample Series Sample Series Label Graphics Frame 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
- 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
- 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
- "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
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.