Udostępnij za pośrednictwem


ScVmmInventoryItemCollection Class

Definition

A class representing a collection of ScVmmInventoryItemResource and their operations. Each ScVmmInventoryItemResource in the collection will belong to the same instance of ScVmmServerResource. To get a ScVmmInventoryItemCollection instance call the GetScVmmInventoryItems method from an instance of ScVmmServerResource.

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

Constructors

ScVmmInventoryItemCollection()

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

Create Or Update InventoryItem.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}
  • Operation Id: InventoryItems_Create
  • Default Api Version: 2023-10-07
  • Resource: ScVmmInventoryItemResource
CreateOrUpdateAsync(WaitUntil, String, ScVmmInventoryItemData, CancellationToken)

Create Or Update InventoryItem.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}
  • Operation Id: InventoryItems_Create
  • Default Api Version: 2023-10-07
  • Resource: ScVmmInventoryItemResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}
  • Operation Id: InventoryItems_Get
  • Default Api Version: 2023-10-07
  • Resource: ScVmmInventoryItemResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}
  • Operation Id: InventoryItems_Get
  • Default Api Version: 2023-10-07
  • Resource: ScVmmInventoryItemResource
Get(String, CancellationToken)

Shows an inventory item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}
  • Operation Id: InventoryItems_Get
  • Default Api Version: 2023-10-07
  • Resource: ScVmmInventoryItemResource
GetAll(CancellationToken)

Returns the list of inventoryItems in the given VMMServer.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems
  • Operation Id: InventoryItems_ListByVMMServer
  • Default Api Version: 2023-10-07
  • Resource: ScVmmInventoryItemResource
GetAllAsync(CancellationToken)

Returns the list of inventoryItems in the given VMMServer.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems
  • Operation Id: InventoryItems_ListByVMMServer
  • Default Api Version: 2023-10-07
  • Resource: ScVmmInventoryItemResource
GetAsync(String, CancellationToken)

Shows an inventory item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}
  • Operation Id: InventoryItems_Get
  • Default Api Version: 2023-10-07
  • Resource: ScVmmInventoryItemResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}
  • Operation Id: InventoryItems_Get
  • Default Api Version: 2023-10-07
  • Resource: ScVmmInventoryItemResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemResourceName}
  • Operation Id: InventoryItems_Get
  • Default Api Version: 2023-10-07
  • Resource: ScVmmInventoryItemResource
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<ScVmmInventoryItemResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ScVmmInventoryItemResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to