Show / Hide Table of Contents

Class MockableIotOperationsResourceGroupResource

A class to add extension methods to ResourceGroupResource.

Inheritance
Azure.ResourceManager.ArmResource
MockableIotOperationsResourceGroupResource
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.IotOperations.dll
Syntax
public class MockableIotOperationsResourceGroupResource : Azure.ResourceManager.ArmResource

Constructors

MockableIotOperationsResourceGroupResource()

Initializes a new instance of the MockableIotOperationsResourceGroupResource class for mocking.

Declaration
protected MockableIotOperationsResourceGroupResource ();

Methods

GetIotOperationsInstance(String, CancellationToken)

Get a InstanceResource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}
  • Operation IdInstanceResource_Get
  • Default Api Version2025-07-01-preview
  • ResourceIotOperationsInstanceResource
Declaration
public virtual Azure.Response<Azure.ResourceManager.IotOperations.IotOperationsInstanceResource> GetIotOperationsInstance (string instanceName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String instanceName

Name of instance.

System.Threading.CancellationToken cancellationToken

The cancellation token to use.

Returns
Azure.Response<IotOperationsInstanceResource>

Exceptions
System.ArgumentNullException

instanceName is null.

System.ArgumentException

instanceName is an empty string, and was expected to be non-empty.

GetIotOperationsInstanceAsync(String, CancellationToken)

Get a InstanceResource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}
  • Operation IdInstanceResource_Get
  • Default Api Version2025-07-01-preview
  • ResourceIotOperationsInstanceResource
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotOperations.IotOperationsInstanceResource>> GetIotOperationsInstanceAsync (string instanceName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String instanceName

Name of instance.

System.Threading.CancellationToken cancellationToken

The cancellation token to use.

Returns
System.Threading.Tasks.Task<Azure.Response<IotOperationsInstanceResource>>

Exceptions
System.ArgumentNullException

instanceName is null.

System.ArgumentException

instanceName is an empty string, and was expected to be non-empty.

GetIotOperationsInstances()

Gets a collection of IotOperationsInstanceResources in the ResourceGroupResource.

Declaration
public virtual Azure.ResourceManager.IotOperations.IotOperationsInstanceCollection GetIotOperationsInstances ();
Returns
IotOperationsInstanceCollection

An object representing collection of IotOperationsInstanceResources and their operations over a IotOperationsInstanceResource.

Back to top Azure SDK for .NET