SearchServiceCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing a collection of SearchServiceResource and their operations. Each SearchServiceResource in the collection will belong to the same instance of ResourceGroupResource. To get a SearchServiceCollection instance call the GetSearchServices method from an instance of ResourceGroupResource.
public class SearchServiceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Search.SearchServiceResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Search.SearchServiceResource>
type SearchServiceCollection = class
inherit ArmCollection
interface seq<SearchServiceResource>
interface IEnumerable
interface IAsyncEnumerable<SearchServiceResource>
Public Class SearchServiceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SearchServiceResource), IEnumerable(Of SearchServiceResource)
- Inheritance
- Implements
Constructors
SearchServiceCollection() |
Initializes a new instance of the SearchServiceCollection class for mocking. |
Properties
Client |
Gets the ArmClient this resource client was created from. (Inherited from ArmCollection) |
Diagnostics |
Gets the diagnostic options for this resource client. (Inherited from ArmCollection) |
Endpoint |
Gets the base uri for this resource client. (Inherited from ArmCollection) |
Id |
Gets the resource identifier. (Inherited from ArmCollection) |
Pipeline |
Gets the pipeline for this resource client. (Inherited from ArmCollection) |
Methods
CreateOrUpdate(WaitUntil, String, SearchServiceData, SearchManagementRequestOptions, CancellationToken) |
Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
|
CreateOrUpdateAsync(WaitUntil, String, SearchServiceData, SearchManagementRequestOptions, CancellationToken) |
Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
|
Exists(String, SearchManagementRequestOptions, CancellationToken) |
Checks to see if the resource exists in azure.
|
ExistsAsync(String, SearchManagementRequestOptions, CancellationToken) |
Checks to see if the resource exists in azure.
|
Get(String, SearchManagementRequestOptions, CancellationToken) |
Gets the search service with the given name in the given resource group.
|
GetAll(SearchManagementRequestOptions, CancellationToken) |
Gets a list of all Search services in the given resource group.
|
GetAllAsync(SearchManagementRequestOptions, CancellationToken) |
Gets a list of all Search services in the given resource group.
|
GetAsync(String, SearchManagementRequestOptions, CancellationToken) |
Gets the search service with the given name in the given resource group.
|
GetIfExists(String, SearchManagementRequestOptions, CancellationToken) |
Tries to get details for this resource from the service.
|
GetIfExistsAsync(String, SearchManagementRequestOptions, CancellationToken) |
Tries to get details for this resource from the service.
|
TryGetApiVersion(ResourceType, String) |
Gets the api version override if it has been set for the current client options. (Inherited from ArmCollection) |
Explicit Interface Implementations
IAsyncEnumerable<SearchServiceResource>.GetAsyncEnumerator(CancellationToken) |
Returns an enumerator that iterates asynchronously through the collection. |
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. |
IEnumerable<SearchServiceResource>.GetEnumerator() |
Returns an enumerator that iterates through the collection. |
Applies to
Azure SDK for .NET