RoutingIntentCollection Class

Definition

A class representing a collection of RoutingIntentResource and their operations. Each RoutingIntentResource in the collection will belong to the same instance of VirtualHubResource. To get a RoutingIntentCollection instance call the GetRoutingIntents method from an instance of VirtualHubResource.

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

Constructors

RoutingIntentCollection()

Initializes a new instance of the RoutingIntentCollection 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, RoutingIntentData, CancellationToken)

Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}
  • Operation Id: RoutingIntent_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: RoutingIntentResource
CreateOrUpdateAsync(WaitUntil, String, RoutingIntentData, CancellationToken)

Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}
  • Operation Id: RoutingIntent_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: RoutingIntentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}
  • Operation Id: RoutingIntent_Get
  • Default Api Version: 2024-03-01
  • Resource: RoutingIntentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}
  • Operation Id: RoutingIntent_Get
  • Default Api Version: 2024-03-01
  • Resource: RoutingIntentResource
Get(String, CancellationToken)

Retrieves the details of a RoutingIntent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}
  • Operation Id: RoutingIntent_Get
  • Default Api Version: 2024-03-01
  • Resource: RoutingIntentResource
GetAll(CancellationToken)

Retrieves the details of all RoutingIntent child resources of the VirtualHub.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent
  • Operation Id: RoutingIntent_List
  • Default Api Version: 2024-03-01
  • Resource: RoutingIntentResource
GetAllAsync(CancellationToken)

Retrieves the details of all RoutingIntent child resources of the VirtualHub.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent
  • Operation Id: RoutingIntent_List
  • Default Api Version: 2024-03-01
  • Resource: RoutingIntentResource
GetAsync(String, CancellationToken)

Retrieves the details of a RoutingIntent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}
  • Operation Id: RoutingIntent_Get
  • Default Api Version: 2024-03-01
  • Resource: RoutingIntentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}
  • Operation Id: RoutingIntent_Get
  • Default Api Version: 2024-03-01
  • Resource: RoutingIntentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}
  • Operation Id: RoutingIntent_Get
  • Default Api Version: 2024-03-01
  • Resource: RoutingIntentResource
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<RoutingIntentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RoutingIntentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to