Class FileshareProtectedItemExtendedInfo
Additional information about Azure File Share backup item.
Inheritance
System.Object
FileshareProtectedItemExtendedInfo
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.RecoveryServicesBackup.dll
Syntax
public class FileshareProtectedItemExtendedInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.FileshareProtectedItemExtendedInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.FileshareProtectedItemExtendedInfo>
Constructors
Declaration
public FileshareProtectedItemExtendedInfo ();
Properties
The oldest backup copy available for this item in the service.
Declaration
public Nullable<DateTimeOffset> OldestRecoverOn { get; set; }
Property Value
|
System.Nullable<System.DateTimeOffset>
|
Indicates consistency of policy object and policy applied to this backup item.
Declaration
public string PolicyState { get; set; }
Property Value
Number of available backup copies associated with this backup item.
Declaration
public Nullable<int> RecoveryPointCount { get; set; }
Property Value
|
System.Nullable<System.Int32>
|
Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}.
Declaration
public string ResourceState { get; }
Property Value
The resource state sync time for this backup item.
Declaration
public Nullable<DateTimeOffset> ResourceStateSyncOn { get; }
Property Value
|
System.Nullable<System.DateTimeOffset>
|
Methods
Declaration
protected virtual void JsonModelWriteCore (System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
|
System.Text.Json.Utf8JsonWriter
writer
The JSON writer.
|
|
System.ClientModel.Primitives.ModelReaderWriterOptions
options
The client options for reading and writing models.
|
Explicit Interface Implementations
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.
Declaration
Azure.ResourceManager.RecoveryServicesBackup.Models.FileshareProtectedItemExtendedInfo IJsonModel<FileshareProtectedItemExtendedInfo>.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
Exceptions
|
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.
|
Writes the model to the provided System.Text.Json.Utf8JsonWriter.
Declaration
void IJsonModel<FileshareProtectedItemExtendedInfo>.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.
|
Converts the provided System.BinaryData into a model.
Declaration
Azure.ResourceManager.RecoveryServicesBackup.Models.FileshareProtectedItemExtendedInfo IPersistableModel<FileshareProtectedItemExtendedInfo>.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
Exceptions
|
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.
|
Writes the model into a System.BinaryData.
Declaration
BinaryData IPersistableModel<FileshareProtectedItemExtendedInfo>.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.
|