다음을 통해 공유


AgricultureServiceData Class

Definition

A class representing the AgricultureService data model. Schema of the AgriService resource from Microsoft.AgriculturePlatform resource provider.

public class AgricultureServiceData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AgriculturePlatform.AgricultureServiceData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AgriculturePlatform.AgricultureServiceData>
type AgricultureServiceData = class
    inherit TrackedResourceData
    interface IJsonModel<AgricultureServiceData>
    interface IPersistableModel<AgricultureServiceData>
Public Class AgricultureServiceData
Inherits TrackedResourceData
Implements IJsonModel(Of AgricultureServiceData), IPersistableModel(Of AgricultureServiceData)
Inheritance
AgricultureServiceData
Implements

Constructors

AgricultureServiceData(AzureLocation)

Initializes a new instance of AgricultureServiceData.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

The managed service identities assigned to this resource.

Location

The geo-___location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Properties

The resource-specific properties for this resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Sku

The SKU (Stock Keeping Unit) assigned to this resource.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AgricultureServiceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AgricultureServiceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AgricultureServiceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AgricultureServiceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AgricultureServiceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to