AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateWorkspace operation. Creates a Prometheus workspace. A workspace is a logical space dedicated to the storage and querying of Prometheus metrics. You can have one or more workspaces in each Region in your account.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.PrometheusService.AmazonPrometheusServiceRequest
      Amazon.PrometheusService.Model.CreateWorkspaceRequest

Namespace: Amazon.PrometheusService.Model
Assembly: AWSSDK.PrometheusService.dll
Version: 3.x.y.z

Syntax

C#
public class CreateWorkspaceRequest : AmazonPrometheusServiceRequest
         IAmazonWebServiceRequest

The CreateWorkspaceRequest type exposes the following members

Constructors

NameDescription
Public Method CreateWorkspaceRequest()

Properties

NameTypeDescription
Public Property Alias System.String

Gets and sets the property Alias.

An alias that you assign to this workspace to help you identify it. It does not need to be unique.

Blank spaces at the beginning or end of the alias that you specify will be trimmed from the value used.

Public Property ClientToken System.String

Gets and sets the property ClientToken.

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

Public Property KmsKeyArn System.String

Gets and sets the property KmsKeyArn.

(optional) The ARN for a customer managed KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see Encryption at rest in the Amazon Managed Service for Prometheus User Guide.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

The list of tag keys and values to associate with the workspace.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5