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.

A complex type that lets you specify the namespaces that you want to list services for.

Inheritance Hierarchy

System.Object
  Amazon.ServiceDiscovery.Model.ServiceFilter

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

Syntax

C#
public class ServiceFilter

The ServiceFilter type exposes the following members

Constructors

NameDescription
Public Method ServiceFilter()

Properties

NameTypeDescription
Public Property Condition Amazon.ServiceDiscovery.FilterCondition

Gets and sets the property Condition.

The operator that you want to use to determine whether a service is returned by ListServices. Valid values for Condition include the following:

  • EQ: When you specify EQ, specify one namespace ID for Values. EQ is the default condition and can be omitted.

Public Property Name Amazon.ServiceDiscovery.ServiceFilterName

Gets and sets the property Name.

Specify NAMESPACE_ID.

Public Property Values System.Collections.Generic.List<System.String>

Gets and sets the property Values.

The values that are applicable to the value that you specify for Condition to filter the list of services.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5