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 ListWorkspaces operation. Lists all of the Amazon Managed Service for Prometheus workspaces in your account. This includes workspaces being created or deleted.

Inheritance Hierarchy

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

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

Syntax

C#
public class ListWorkspacesRequest : AmazonPrometheusServiceRequest
         IAmazonWebServiceRequest

The ListWorkspacesRequest type exposes the following members

Constructors

NameDescription
Public Method ListWorkspacesRequest()

Properties

NameTypeDescription
Public Property Alias System.String

Gets and sets the property Alias.

If this is included, it filters the results to only the workspaces with names that start with the value that you specify here.

Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of workspaces to return per request. The default is 100.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token for the next set of items to return. You receive this token from a previous call, and use it to get the next page of results. The other parameters must be the same as the initial call.

For example, if your initial request has maxResults of 10, and there are 12 workspaces to return, then your initial request will return 10 and a nextToken. Using the next token in a subsequent call will return the remaining 2 workspaces.

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