MockableHybridConnectivityArmClient.GetPublicCloudInventory Method
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.
Get a InventoryResource.
public virtual Azure.Response<Azure.ResourceManager.HybridConnectivity.PublicCloudInventoryResource> GetPublicCloudInventory(Azure.Core.ResourceIdentifier scope, string inventoryId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPublicCloudInventory : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridConnectivity.PublicCloudInventoryResource>
override this.GetPublicCloudInventory : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridConnectivity.PublicCloudInventoryResource>
Public Overridable Function GetPublicCloudInventory (scope As ResourceIdentifier, inventoryId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PublicCloudInventoryResource)
Parameters
- scope
- ResourceIdentifier
The scope of the resource collection to get.
- inventoryId
- String
Inventory resource.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
inventoryId is null.
inventoryId is an empty string, and was expected to be non-empty.