Class IotOperationsAkriConnectorTemplateResource
A Class representing an IotOperationsAkriConnectorTemplate along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct an IotOperationsAkriConnectorTemplateResource from an instance of Azure.ResourceManager.ArmClient using the GetIotOperationsAkriConnectorTemplateResource method. Otherwise you can get one from its parent resource IotOperationsInstanceResource using the GetIotOperationsAkriConnectorTemplate method.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.IotOperations.dll
Syntax
public class IotOperationsAkriConnectorTemplateResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorTemplateData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorTemplateData>
Constructors
IotOperationsAkriConnectorTemplateResource()
Initializes a new instance of the IotOperationsAkriConnectorTemplateResource class for mocking.
Declaration
protected IotOperationsAkriConnectorTemplateResource ();
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.IotOperationsAkriConnectorTemplateData Data { get; }
Property Value
|
IotOperationsAkriConnectorTemplateData
|
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)
Generate the resource identifier of a IotOperationsAkriConnectorTemplateResource instance.
Declaration
public static Azure.Core.ResourceIdentifier CreateResourceIdentifier (string subscriptionId, string resourceGroupName, string instanceName, string akriConnectorTemplateName);
Parameters
|
System.String
subscriptionId
The subscriptionId. |
|
System.String
resourceGroupName
The resourceGroupName. |
|
System.String
instanceName
The instanceName. |
|
System.String
akriConnectorTemplateName
The akriConnectorTemplateName. |
Returns
|
Azure.Core.ResourceIdentifier
|
Delete(WaitUntil, CancellationToken)
Delete a AkriConnectorTemplateResource
- Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}
- Operation IdAkriConnectorTemplateResource_Delete
- Default Api Version2025-07-01-preview
- ResourceIotOperationsAkriConnectorTemplateResource
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 AkriConnectorTemplateResource
- Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}
- Operation IdAkriConnectorTemplateResource_Delete
- Default Api Version2025-07-01-preview
- ResourceIotOperationsAkriConnectorTemplateResource
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 AkriConnectorTemplateResource
- Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}
- Operation IdAkriConnectorTemplateResource_Get
- Default Api Version2025-07-01-preview
- ResourceIotOperationsAkriConnectorTemplateResource
Declaration
public virtual Azure.Response<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorTemplateResource> Get (System.Threading.CancellationToken cancellationToken = null);
Parameters
|
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
|
Azure.Response<IotOperationsAkriConnectorTemplateResource>
|
GetAsync(CancellationToken)
Get a AkriConnectorTemplateResource
- Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}
- Operation IdAkriConnectorTemplateResource_Get
- Default Api Version2025-07-01-preview
- ResourceIotOperationsAkriConnectorTemplateResource
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorTemplateResource>> GetAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
|
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
|
System.Threading.Tasks.Task<Azure.Response<IotOperationsAkriConnectorTemplateResource>>
|
GetIotOperationsAkriConnector(String, 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> GetIotOperationsAkriConnector (string connectorName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
System.String
connectorName
Name of AkriConnector resource. |
|
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
|
Azure.Response<IotOperationsAkriConnectorResource>
|
Exceptions
|
System.ArgumentNullException
|
|
System.ArgumentException
|
GetIotOperationsAkriConnectorAsync(String, 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>> GetIotOperationsAkriConnectorAsync (string connectorName, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
System.String
connectorName
Name of AkriConnector resource. |
|
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
|
System.Threading.Tasks.Task<Azure.Response<IotOperationsAkriConnectorResource>>
|
Exceptions
|
System.ArgumentNullException
|
|
System.ArgumentException
|
GetIotOperationsAkriConnectors()
Gets a collection of IotOperationsAkriConnectorResources in the IotOperationsAkriConnectorTemplate.
Declaration
public virtual Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorCollection GetIotOperationsAkriConnectors ();
Returns
|
IotOperationsAkriConnectorCollection
An object representing collection of IotOperationsAkriConnectorResources and their operations over a IotOperationsAkriConnectorResource. |
Update(WaitUntil, IotOperationsAkriConnectorTemplateData, CancellationToken)
Create a AkriConnectorTemplateResource
- Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}
- Operation IdAkriConnectorTemplateResource_CreateOrUpdate
- Default Api Version2025-07-01-preview
- ResourceIotOperationsAkriConnectorTemplateResource
Declaration
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorTemplateResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorTemplateData 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. |
|
IotOperationsAkriConnectorTemplateData
data
Resource create parameters. |
|
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
|
Azure.ResourceManager.ArmOperation<IotOperationsAkriConnectorTemplateResource>
|
Exceptions
|
System.ArgumentNullException
|
UpdateAsync(WaitUntil, IotOperationsAkriConnectorTemplateData, CancellationToken)
Create a AkriConnectorTemplateResource
- Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriConnectorTemplates/{akriConnectorTemplateName}
- Operation IdAkriConnectorTemplateResource_CreateOrUpdate
- Default Api Version2025-07-01-preview
- ResourceIotOperationsAkriConnectorTemplateResource
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorTemplateResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorTemplateData 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. |
|
IotOperationsAkriConnectorTemplateData
data
Resource create parameters. |
|
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
|
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<IotOperationsAkriConnectorTemplateResource>>
|
Exceptions
|
System.ArgumentNullException
|
Explicit Interface Implementations
IJsonModel<IotOperationsAkriConnectorTemplateData>.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.IotOperationsAkriConnectorTemplateData IJsonModel<IotOperationsAkriConnectorTemplateData>.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
|
IotOperationsAkriConnectorTemplateData
A |
Exceptions
|
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format. |
IJsonModel<IotOperationsAkriConnectorTemplateData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
Writes the model to the provided System.Text.Json.Utf8JsonWriter.
Declaration
void IJsonModel<IotOperationsAkriConnectorTemplateData>.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<IotOperationsAkriConnectorTemplateData>.Create(BinaryData, ModelReaderWriterOptions)
Converts the provided System.BinaryData into a model.
Declaration
Azure.ResourceManager.IotOperations.IotOperationsAkriConnectorTemplateData IPersistableModel<IotOperationsAkriConnectorTemplateData>.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
|
IotOperationsAkriConnectorTemplateData
A |
Exceptions
|
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format. |
IPersistableModel<IotOperationsAkriConnectorTemplateData>.GetFormatFromOptions(ModelReaderWriterOptions)
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.
Declaration
string IPersistableModel<IotOperationsAkriConnectorTemplateData>.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<IotOperationsAkriConnectorTemplateData>.Write(ModelReaderWriterOptions)
Writes the model into a System.BinaryData.
Declaration
BinaryData IPersistableModel<IotOperationsAkriConnectorTemplateData>.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. |