Class CreateResourceRequest
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Generated
- Assembly
- Azure.Iot.Operations.Services.dll
Request payload for creating a resource with an initial version.
public class CreateResourceRequest : IJsonOnDeserialized, IJsonOnSerializing
- Inheritance
-
CreateResourceRequest
- Implements
- Inherited Members
Properties
CreatedAt
The 'createdAt' Field.
[JsonPropertyName("createdAt")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DateTime? CreatedAt { get; set; }
Property Value
DefaultVersion
Request payload for creating a version.
[JsonPropertyName("defaultVersion")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public CreateVersionRequest DefaultVersion { get; set; }
Property Value
MetaExtensions
Extension-specific attributes (e.g., format and content_type for schemas).
[JsonPropertyName("metaExtensions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Dictionary<string, byte[]>? MetaExtensions { get; set; }
Property Value
- Dictionary<string, byte[]>
ResourceExtensions
Extension-specific attributes (e.g., format and content_type for schemas).
[JsonPropertyName("resourceExtensions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Dictionary<string, byte[]>? ResourceExtensions { get; set; }
Property Value
- Dictionary<string, byte[]>