Share via


AzureWebCategoryCollection Class

Definition

A class representing a collection of AzureWebCategoryResource and their operations. Each AzureWebCategoryResource in the collection will belong to the same instance of SubscriptionResource. To get an AzureWebCategoryCollection instance call the GetAzureWebCategories method from an instance of SubscriptionResource.

public class AzureWebCategoryCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Network.AzureWebCategoryResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.AzureWebCategoryResource>
type AzureWebCategoryCollection = class
    inherit ArmCollection
    interface seq<AzureWebCategoryResource>
    interface IEnumerable
    interface IAsyncEnumerable<AzureWebCategoryResource>
Public Class AzureWebCategoryCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of AzureWebCategoryResource), IEnumerable(Of AzureWebCategoryResource)
Inheritance
AzureWebCategoryCollection
Implements

Constructors

AzureWebCategoryCollection()

Initializes a new instance of the AzureWebCategoryCollection 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

Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}
  • Operation Id: WebCategories_Get
  • Default Api Version: 2023-09-01
  • Resource: AzureWebCategoryResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}
  • Operation Id: WebCategories_Get
  • Default Api Version: 2023-09-01
  • Resource: AzureWebCategoryResource
Get(String, String, CancellationToken)

Gets the specified Azure Web Category.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}
  • Operation Id: WebCategories_Get
  • Default Api Version: 2023-09-01
  • Resource: AzureWebCategoryResource
GetAll(CancellationToken)

Gets all the Azure Web Categories in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories
  • Operation Id: WebCategories_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: AzureWebCategoryResource
GetAllAsync(CancellationToken)

Gets all the Azure Web Categories in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories
  • Operation Id: WebCategories_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: AzureWebCategoryResource
GetAsync(String, String, CancellationToken)

Gets the specified Azure Web Category.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}
  • Operation Id: WebCategories_Get
  • Default Api Version: 2023-09-01
  • Resource: AzureWebCategoryResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}
  • Operation Id: WebCategories_Get
  • Default Api Version: 2023-09-01
  • Resource: AzureWebCategoryResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}
  • Operation Id: WebCategories_Get
  • Default Api Version: 2023-09-01
  • Resource: AzureWebCategoryResource
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<AzureWebCategoryResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AzureWebCategoryResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to