Show / Hide Table of Contents

Class IotOperationsAkriConnectorResource

A Class representing an IotOperationsAkriConnector along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct an IotOperationsAkriConnectorResource from an instance of Azure.ResourceManager.ArmClient using the GetIotOperationsAkriConnectorResource method. Otherwise you can get one from its parent resource IotOperationsAkriConnectorTemplateResource using the GetIotOperationsAkriConnector method.

Inheritance
Azure.ResourceManager.ArmResource
IotOperationsAkriConnectorResource
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.IotOperations.dll
Syntax
public class IotOperationsAkriConnectorResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorData>

Constructors

IotOperationsAkriConnectorResource()

Initializes a new instance of the IotOperationsAkriConnectorResource class for mocking.

Declaration
protected IotOperationsAkriConnectorResource ();

Fields

ResourceType

Gets the resource type for the operations.

Declaration
public static readonly Azure.Core.ResourceType ResourceType;
Field Value
Azure.Core.ResourceType

Properties

Data

Gets the data representing this Feature.

Declaration
public virtual Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorData Data { get; }
Property Value
IotOperationsAkriConnectorData

Exceptions
System.InvalidOperationException

Throws if there is no data loaded in the current instance.

HasData

Gets whether or not the current instance has data.

Declaration
public virtual bool HasData { get; }
Property Value
System.Boolean

Methods

CreateResourceIdentifier(String, String, String, String, String)

Generate the resource identifier of a IotOperationsAkriConnectorResource instance.

Declaration
public static Azure.Core.ResourceIdentifier CreateResourceIdentifier (string subscriptionId, string resourceGroupName, string instanceName, string akriConnectorTemplateName, string connectorName);
Parameters
System.String subscriptionId

The subscriptionId.

System.String resourceGroupName

The resourceGroupName.

System.String instanceName

The instanceName.

System.String akriConnectorTemplateName

The akriConnectorTemplateName.

System.String connectorName

The connectorName.

Returns
Azure.Core.ResourceIdentifier

Delete(WaitUntil, CancellationToken)

Delete a AkriConnectorResource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}/connectors/{connectorName}
  • Operation IdAkriConnectorResource_Delete
  • Default Api Version2025-07-01-preview
  • ResourceIotOperationsAkriConnectorResource
Declaration
public virtual Azure.ResourceManager.ArmOperation Delete (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil waitUntil

Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

System.Threading.CancellationToken cancellationToken

The cancellation token to use.

Returns
Azure.ResourceManager.ArmOperation

DeleteAsync(WaitUntil, CancellationToken)

Delete a AkriConnectorResource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}/connectors/{connectorName}
  • Operation IdAkriConnectorResource_Delete
  • Default Api Version2025-07-01-preview
  • ResourceIotOperationsAkriConnectorResource
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> DeleteAsync (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil waitUntil

Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

System.Threading.CancellationToken cancellationToken

The cancellation token to use.

Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>

Get(CancellationToken)

Get a AkriConnectorResource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}/connectors/{connectorName}
  • Operation IdAkriConnectorResource_Get
  • Default Api Version2025-07-01-preview
  • ResourceIotOperationsAkriConnectorResource
Declaration
public virtual Azure.Response<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorResource> Get (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken cancellationToken

The cancellation token to use.

Returns
Azure.Response<IotOperationsAkriConnectorResource>

GetAsync(CancellationToken)

Get a AkriConnectorResource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}/connectors/{connectorName}
  • Operation IdAkriConnectorResource_Get
  • Default Api Version2025-07-01-preview
  • ResourceIotOperationsAkriConnectorResource
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorResource>> GetAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken cancellationToken

The cancellation token to use.

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

Update(WaitUntil, IotOperationsAkriConnectorData, CancellationToken)

Create a AkriConnectorResource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}/connectors/{connectorName}
  • Operation IdAkriConnectorResource_CreateOrUpdate
  • Default Api Version2025-07-01-preview
  • ResourceIotOperationsAkriConnectorResource
Declaration
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorData data, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil waitUntil

Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

IotOperationsAkriConnectorData data

Resource create parameters.

System.Threading.CancellationToken cancellationToken

The cancellation token to use.

Returns
Azure.ResourceManager.ArmOperation<IotOperationsAkriConnectorResource>

Exceptions
System.ArgumentNullException

data is null.

UpdateAsync(WaitUntil, IotOperationsAkriConnectorData, CancellationToken)

Create a AkriConnectorResource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}/connectors/{connectorName}
  • Operation IdAkriConnectorResource_CreateOrUpdate
  • Default Api Version2025-07-01-preview
  • ResourceIotOperationsAkriConnectorResource
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorData data, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil waitUntil

Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

IotOperationsAkriConnectorData data

Resource create parameters.

System.Threading.CancellationToken cancellationToken

The cancellation token to use.

Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<IotOperationsAkriConnectorResource>>

Exceptions
System.ArgumentNullException

data is null.

Explicit Interface Implementations

IJsonModel<IotOperationsAkriConnectorData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

Declaration
Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorData IJsonModel<IotOperationsAkriConnectorData>.Create (ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.Text.Json.Utf8JsonReader reader

The System.Text.Json.Utf8JsonReader to read.

System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Returns
IotOperationsAkriConnectorData

A T representation of the JSON value.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

IJsonModel<IotOperationsAkriConnectorData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

Declaration
void IJsonModel<IotOperationsAkriConnectorData>.Write (System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.Text.Json.Utf8JsonWriter writer

The System.Text.Json.Utf8JsonWriter to write into.

System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

IPersistableModel<IotOperationsAkriConnectorData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

Declaration
Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorData IPersistableModel<IotOperationsAkriConnectorData>.Create (BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.BinaryData data

The System.BinaryData to parse.

System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Returns
IotOperationsAkriConnectorData

A T representation of the data.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

IPersistableModel<IotOperationsAkriConnectorData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

Declaration
string IPersistableModel<IotOperationsAkriConnectorData>.GetFormatFromOptions (System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to consider when serializing and deserializing the model.

Returns
System.String

The format that the model uses when communicating with the service.

IPersistableModel<IotOperationsAkriConnectorData>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Declaration
BinaryData IPersistableModel<IotOperationsAkriConnectorData>.Write (System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Returns
System.BinaryData

A binary representation of the written model.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

Back to top Azure SDK for .NET