Compartilhar via


QueryFilterBuilder.CreateFilter Method

Definition

Creates a filter from the given properties.

public static string CreateFilter (string subscriptionId, string resourceGroup, string resourceType, string resourceName, string tagName, string tagValue, string filter, string nameContains = default, string resourceGroupNameContains = default);
static member CreateFilter : string * string * string * string * string * string * string * string * string -> string
Public Shared Function CreateFilter (subscriptionId As String, resourceGroup As String, resourceType As String, resourceName As String, tagName As String, tagValue As String, filter As String, Optional nameContains As String = Nothing, Optional resourceGroupNameContains As String = Nothing) As String

Parameters

subscriptionId
String

The subscription to query.

resourceGroup
String

The name of the resource group/

resourceType
String

The resource type.

resourceName
String

The resource name.

tagName
String

The tag name.

tagValue
String

The tag value.

filter
String

The filter.

nameContains
String
resourceGroupNameContains
String

Returns

Applies to