Generate constructors for required properties (#562)

This commit is contained in:
Pavel Krymets 2020-03-23 10:34:39 -07:00 коммит произвёл GitHub
Родитель 78cf150151
Коммит ad0f627674
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
438 изменённых файлов: 2005 добавлений и 1644 удалений

Просмотреть файл

@ -31,14 +31,14 @@ namespace AppConfiguration.Models
}
/// <summary> The type of the error. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> A brief summary of the error. </summary>
public string Title { get; internal set; }
public string Title { get; }
/// <summary> The name of the parameter that resulted in the error. </summary>
public string Name { get; internal set; }
public string Name { get; }
/// <summary> A detailed description of the error. </summary>
public string Detail { get; internal set; }
public string Detail { get; }
/// <summary> The HTTP status code that the error maps to. </summary>
public int? Status { get; internal set; }
public int? Status { get; }
}
}

Просмотреть файл

@ -22,6 +22,6 @@ namespace AppConfiguration.Models
Name = name;
}
public string Name { get; internal set; }
public string Name { get; }
}
}

Просмотреть файл

@ -27,8 +27,8 @@ namespace AppConfiguration.Models
}
/// <summary> The collection value. </summary>
public IList<Key> Items { get; internal set; }
public IList<Key> Items { get; }
/// <summary> The URI that can be used to request the next set of paged results. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -27,8 +27,8 @@ namespace AppConfiguration.Models
}
/// <summary> The collection value. </summary>
public IList<KeyValue> Items { get; internal set; }
public IList<KeyValue> Items { get; }
/// <summary> The URI that can be used to request the next set of paged results. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -22,6 +22,6 @@ namespace AppConfiguration.Models
Name = name;
}
public string Name { get; internal set; }
public string Name { get; }
}
}

Просмотреть файл

@ -27,8 +27,8 @@ namespace AppConfiguration.Models
}
/// <summary> The collection value. </summary>
public IList<Label> Items { get; internal set; }
public IList<Label> Items { get; }
/// <summary> The URI that can be used to request the next set of paged results. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -13,8 +13,14 @@ namespace Azure.AI.FormRecognizer.Models
public partial class AnalyzeOperationResult
{
/// <summary> Initializes a new instance of AnalyzeOperationResult. </summary>
internal AnalyzeOperationResult()
/// <param name="status"> Operation status. </param>
/// <param name="createdDateTime"> Date and time (UTC) when the analyze operation was submitted. </param>
/// <param name="lastUpdatedDateTime"> Date and time (UTC) when the status was last updated. </param>
internal AnalyzeOperationResult(OperationStatus status, DateTimeOffset createdDateTime, DateTimeOffset lastUpdatedDateTime)
{
Status = status;
CreatedDateTime = createdDateTime;
LastUpdatedDateTime = lastUpdatedDateTime;
}
/// <summary> Initializes a new instance of AnalyzeOperationResult. </summary>
@ -31,12 +37,12 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Operation status. </summary>
public OperationStatus Status { get; internal set; }
public OperationStatus Status { get; }
/// <summary> Date and time (UTC) when the analyze operation was submitted. </summary>
public DateTimeOffset CreatedDateTime { get; internal set; }
public DateTimeOffset CreatedDateTime { get; }
/// <summary> Date and time (UTC) when the status was last updated. </summary>
public DateTimeOffset LastUpdatedDateTime { get; internal set; }
public DateTimeOffset LastUpdatedDateTime { get; }
/// <summary> Results of the analyze operation. </summary>
public AnalyzeResult AnalyzeResult { get; internal set; }
public AnalyzeResult AnalyzeResult { get; }
}
}

Просмотреть файл

@ -13,8 +13,12 @@ namespace Azure.AI.FormRecognizer.Models
public partial class AnalyzeResult
{
/// <summary> Initializes a new instance of AnalyzeResult. </summary>
internal AnalyzeResult()
/// <param name="version"> Version of schema used for this result. </param>
/// <param name="readResults"> Text extracted from the input. </param>
internal AnalyzeResult(string version, IList<ReadResult> readResults)
{
Version = version;
ReadResults = readResults;
}
/// <summary> Initializes a new instance of AnalyzeResult. </summary>
@ -33,14 +37,14 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Version of schema used for this result. </summary>
public string Version { get; internal set; }
public string Version { get; }
/// <summary> Text extracted from the input. </summary>
public IList<ReadResult> ReadResults { get; internal set; } = new List<ReadResult>();
public IList<ReadResult> ReadResults { get; } = new List<ReadResult>();
/// <summary> Page-level information extracted from the input. </summary>
public IList<PageResult> PageResults { get; internal set; }
public IList<PageResult> PageResults { get; }
/// <summary> Document-level information extracted from the input. </summary>
public IList<DocumentResult> DocumentResults { get; internal set; }
public IList<DocumentResult> DocumentResults { get; }
/// <summary> List of errors reported during the analyze operation. </summary>
public IList<ErrorInformation> Errors { get; internal set; }
public IList<ErrorInformation> Errors { get; }
}
}

Просмотреть файл

@ -12,11 +12,6 @@ namespace Azure.AI.FormRecognizer.Models
/// <summary> Information about the extracted table contained in a page. </summary>
public partial class DataTable
{
/// <summary> Initializes a new instance of DataTable. </summary>
internal DataTable()
{
}
/// <summary> Initializes a new instance of DataTable. </summary>
/// <param name="rows"> Number of rows. </param>
/// <param name="columns"> Number of columns. </param>
@ -29,10 +24,10 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Number of rows. </summary>
public int Rows { get; internal set; }
public int Rows { get; }
/// <summary> Number of columns. </summary>
public int Columns { get; internal set; }
public int Columns { get; }
/// <summary> List of cells contained in the table. </summary>
public IList<DataTableCell> Cells { get; internal set; } = new List<DataTableCell>();
public IList<DataTableCell> Cells { get; } = new List<DataTableCell>();
}
}

Просмотреть файл

@ -13,8 +13,18 @@ namespace Azure.AI.FormRecognizer.Models
public partial class DataTableCell
{
/// <summary> Initializes a new instance of DataTableCell. </summary>
internal DataTableCell()
/// <param name="rowIndex"> Row index of the cell. </param>
/// <param name="columnIndex"> Column index of the cell. </param>
/// <param name="text"> Text content of the cell. </param>
/// <param name="boundingBox"> Bounding box of the cell. </param>
/// <param name="confidence"> Confidence value. </param>
internal DataTableCell(int rowIndex, int columnIndex, string text, IList<float> boundingBox, float confidence)
{
RowIndex = rowIndex;
ColumnIndex = columnIndex;
Text = text;
BoundingBox = boundingBox;
Confidence = confidence;
}
/// <summary> Initializes a new instance of DataTableCell. </summary>
@ -43,24 +53,24 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Row index of the cell. </summary>
public int RowIndex { get; internal set; }
public int RowIndex { get; }
/// <summary> Column index of the cell. </summary>
public int ColumnIndex { get; internal set; }
public int ColumnIndex { get; }
/// <summary> Number of rows spanned by this cell. </summary>
public int? RowSpan { get; internal set; }
public int? RowSpan { get; }
/// <summary> Number of columns spanned by this cell. </summary>
public int? ColumnSpan { get; internal set; }
public int? ColumnSpan { get; }
/// <summary> Text content of the cell. </summary>
public string Text { get; internal set; }
public string Text { get; }
/// <summary> Bounding box of the cell. </summary>
public IList<float> BoundingBox { get; internal set; } = new List<float>();
public IList<float> BoundingBox { get; } = new List<float>();
/// <summary> Confidence value. </summary>
public float Confidence { get; internal set; }
public float Confidence { get; }
/// <summary> When includeTextDetails is set to true, a list of references to the text elements constituting this table cell. </summary>
public IList<string> Elements { get; internal set; }
public IList<string> Elements { get; }
/// <summary> Is the current cell a header cell?. </summary>
public bool? IsHeader { get; internal set; }
public bool? IsHeader { get; }
/// <summary> Is the current cell a footer cell?. </summary>
public bool? IsFooter { get; internal set; }
public bool? IsFooter { get; }
}
}

Просмотреть файл

@ -12,11 +12,6 @@ namespace Azure.AI.FormRecognizer.Models
/// <summary> A set of extracted fields corresponding to the input document. </summary>
public partial class DocumentResult
{
/// <summary> Initializes a new instance of DocumentResult. </summary>
internal DocumentResult()
{
}
/// <summary> Initializes a new instance of DocumentResult. </summary>
/// <param name="docType"> Document type. </param>
/// <param name="pageRange"> First and last page number where the document is found. </param>
@ -29,10 +24,10 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Document type. </summary>
public string DocType { get; internal set; }
public string DocType { get; }
/// <summary> First and last page number where the document is found. </summary>
public IList<int> PageRange { get; internal set; } = new List<int>();
public IList<int> PageRange { get; } = new List<int>();
/// <summary> Dictionary of named field values. </summary>
public IDictionary<string, FieldValue> Fields { get; internal set; } = new Dictionary<string, FieldValue>();
public IDictionary<string, FieldValue> Fields { get; } = new Dictionary<string, FieldValue>();
}
}

Просмотреть файл

@ -10,11 +10,6 @@ namespace Azure.AI.FormRecognizer.Models
/// <summary> The ErrorInformation. </summary>
public partial class ErrorInformation
{
/// <summary> Initializes a new instance of ErrorInformation. </summary>
internal ErrorInformation()
{
}
/// <summary> Initializes a new instance of ErrorInformation. </summary>
/// <param name="code"> . </param>
/// <param name="message"> . </param>
@ -24,7 +19,7 @@ namespace Azure.AI.FormRecognizer.Models
Message = message;
}
public string Code { get; internal set; }
public string Message { get; internal set; }
public string Code { get; }
public string Message { get; }
}
}

Просмотреть файл

@ -14,7 +14,7 @@ namespace Azure.AI.FormRecognizer.Models
{
internal static ErrorResponse DeserializeErrorResponse(JsonElement element)
{
ErrorInformation error = new ErrorInformation();
ErrorInformation error = default;
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("error"))

Просмотреть файл

@ -10,11 +10,6 @@ namespace Azure.AI.FormRecognizer.Models
/// <summary> The ErrorResponse. </summary>
public partial class ErrorResponse
{
/// <summary> Initializes a new instance of ErrorResponse. </summary>
internal ErrorResponse()
{
}
/// <summary> Initializes a new instance of ErrorResponse. </summary>
/// <param name="error"> . </param>
internal ErrorResponse(ErrorInformation error)
@ -22,6 +17,6 @@ namespace Azure.AI.FormRecognizer.Models
Error = error;
}
public ErrorInformation Error { get; internal set; } = new ErrorInformation();
public ErrorInformation Error { get; }
}
}

Просмотреть файл

@ -13,8 +13,10 @@ namespace Azure.AI.FormRecognizer.Models
public partial class FieldValue
{
/// <summary> Initializes a new instance of FieldValue. </summary>
internal FieldValue()
/// <param name="type"> Type of field value. </param>
internal FieldValue(FieldValueType type)
{
Type = type;
}
/// <summary> Initializes a new instance of FieldValue. </summary>
@ -51,32 +53,32 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Type of field value. </summary>
public FieldValueType Type { get; internal set; }
public FieldValueType Type { get; }
/// <summary> String value. </summary>
public string ValueString { get; internal set; }
public string ValueString { get; }
/// <summary> Date value. </summary>
public string ValueDate { get; internal set; }
public string ValueDate { get; }
/// <summary> Time value. </summary>
public string ValueTime { get; internal set; }
public string ValueTime { get; }
/// <summary> Phone number value. </summary>
public string ValuePhoneNumber { get; internal set; }
public string ValuePhoneNumber { get; }
/// <summary> Floating point value. </summary>
public float? ValueNumber { get; internal set; }
public float? ValueNumber { get; }
/// <summary> Integer value. </summary>
public int? ValueInteger { get; internal set; }
public int? ValueInteger { get; }
/// <summary> Array of field values. </summary>
public IList<FieldValue> ValueArray { get; internal set; }
public IList<FieldValue> ValueArray { get; }
/// <summary> Dictionary of named field values. </summary>
public IDictionary<string, FieldValue> ValueObject { get; internal set; }
public IDictionary<string, FieldValue> ValueObject { get; }
/// <summary> Text content of the extracted field. </summary>
public string Text { get; internal set; }
public string Text { get; }
/// <summary> Bounding box of the field value, if appropriate. </summary>
public IList<float> BoundingBox { get; internal set; }
public IList<float> BoundingBox { get; }
/// <summary> Confidence score. </summary>
public float? Confidence { get; internal set; }
public float? Confidence { get; }
/// <summary> When includeTextDetails is set to true, a list of references to the text elements constituting this field. </summary>
public IList<string> Elements { get; internal set; }
public IList<string> Elements { get; }
/// <summary> The 1-based page number in the input document. </summary>
public int? Page { get; internal set; }
public int? Page { get; }
}
}

Просмотреть файл

@ -10,11 +10,6 @@ namespace Azure.AI.FormRecognizer.Models
/// <summary> Report for a custom model training field. </summary>
public partial class FormFieldsReport
{
/// <summary> Initializes a new instance of FormFieldsReport. </summary>
internal FormFieldsReport()
{
}
/// <summary> Initializes a new instance of FormFieldsReport. </summary>
/// <param name="fieldName"> Training field name. </param>
/// <param name="accuracy"> Estimated extraction accuracy for this field. </param>
@ -25,8 +20,8 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Training field name. </summary>
public string FieldName { get; internal set; }
public string FieldName { get; }
/// <summary> Estimated extraction accuracy for this field. </summary>
public float Accuracy { get; internal set; }
public float Accuracy { get; }
}
}

Просмотреть файл

@ -13,8 +13,10 @@ namespace Azure.AI.FormRecognizer.Models
public partial class KeyValueElement
{
/// <summary> Initializes a new instance of KeyValueElement. </summary>
internal KeyValueElement()
/// <param name="text"> The text content of the key or value. </param>
internal KeyValueElement(string text)
{
Text = text;
}
/// <summary> Initializes a new instance of KeyValueElement. </summary>
@ -29,10 +31,10 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> The text content of the key or value. </summary>
public string Text { get; internal set; }
public string Text { get; }
/// <summary> Bounding box of the key or value. </summary>
public IList<float> BoundingBox { get; internal set; }
public IList<float> BoundingBox { get; }
/// <summary> When includeTextDetails is set to true, a list of references to the text elements constituting this key or value. </summary>
public IList<string> Elements { get; internal set; }
public IList<string> Elements { get; }
}
}

Просмотреть файл

@ -15,8 +15,8 @@ namespace Azure.AI.FormRecognizer.Models
internal static KeyValuePair DeserializeKeyValuePair(JsonElement element)
{
string label = default;
KeyValueElement key = new KeyValueElement();
KeyValueElement value = new KeyValueElement();
KeyValueElement key = default;
KeyValueElement value = default;
float confidence = default;
foreach (var property in element.EnumerateObject())
{

Просмотреть файл

@ -11,8 +11,14 @@ namespace Azure.AI.FormRecognizer.Models
public partial class KeyValuePair
{
/// <summary> Initializes a new instance of KeyValuePair. </summary>
internal KeyValuePair()
/// <param name="key"> Information about the extracted key in a key-value pair. </param>
/// <param name="value"> Information about the extracted value in a key-value pair. </param>
/// <param name="confidence"> Confidence value. </param>
internal KeyValuePair(KeyValueElement key, KeyValueElement value, float confidence)
{
Key = key;
Value = value;
Confidence = confidence;
}
/// <summary> Initializes a new instance of KeyValuePair. </summary>
@ -29,12 +35,12 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> A user defined label for the key/value pair entry. </summary>
public string Label { get; internal set; }
public string Label { get; }
/// <summary> Information about the extracted key in a key-value pair. </summary>
public KeyValueElement Key { get; internal set; } = new KeyValueElement();
public KeyValueElement Key { get; }
/// <summary> Information about the extracted value in a key-value pair. </summary>
public KeyValueElement Value { get; internal set; } = new KeyValueElement();
public KeyValueElement Value { get; }
/// <summary> Confidence value. </summary>
public float Confidence { get; internal set; }
public float Confidence { get; }
}
}

Просмотреть файл

@ -12,11 +12,6 @@ namespace Azure.AI.FormRecognizer.Models
/// <summary> Keys extracted by the custom model. </summary>
public partial class KeysResult
{
/// <summary> Initializes a new instance of KeysResult. </summary>
internal KeysResult()
{
}
/// <summary> Initializes a new instance of KeysResult. </summary>
/// <param name="clusters"> Object mapping clusterIds to a list of keys. </param>
internal KeysResult(IDictionary<string, IList<string>> clusters)
@ -25,6 +20,6 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Object mapping clusterIds to a list of keys. </summary>
public IDictionary<string, IList<string>> Clusters { get; internal set; } = new Dictionary<string, IList<string>>();
public IDictionary<string, IList<string>> Clusters { get; } = new Dictionary<string, IList<string>>();
}
}

Просмотреть файл

@ -14,7 +14,7 @@ namespace Azure.AI.FormRecognizer.Models
{
internal static Model DeserializeModel(JsonElement element)
{
ModelInfo modelInfo = new ModelInfo();
ModelInfo modelInfo = default;
KeysResult keys = default;
TrainResult trainResult = default;
foreach (var property in element.EnumerateObject())

Просмотреть файл

@ -11,8 +11,10 @@ namespace Azure.AI.FormRecognizer.Models
public partial class Model
{
/// <summary> Initializes a new instance of Model. </summary>
internal Model()
/// <param name="modelInfo"> Basic custom model information. </param>
internal Model(ModelInfo modelInfo)
{
ModelInfo = modelInfo;
}
/// <summary> Initializes a new instance of Model. </summary>
@ -27,10 +29,10 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Basic custom model information. </summary>
public ModelInfo ModelInfo { get; internal set; } = new ModelInfo();
public ModelInfo ModelInfo { get; }
/// <summary> Keys extracted by the custom model. </summary>
public KeysResult Keys { get; internal set; }
public KeysResult Keys { get; }
/// <summary> Custom model training result. </summary>
public TrainResult TrainResult { get; internal set; }
public TrainResult TrainResult { get; }
}
}

Просмотреть файл

@ -12,11 +12,6 @@ namespace Azure.AI.FormRecognizer.Models
/// <summary> Basic custom model information. </summary>
public partial class ModelInfo
{
/// <summary> Initializes a new instance of ModelInfo. </summary>
internal ModelInfo()
{
}
/// <summary> Initializes a new instance of ModelInfo. </summary>
/// <param name="modelId"> Model identifier. </param>
/// <param name="status"> Status of the model. </param>
@ -31,12 +26,12 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Model identifier. </summary>
public Guid ModelId { get; internal set; }
public Guid ModelId { get; }
/// <summary> Status of the model. </summary>
public ModelStatus Status { get; internal set; }
public ModelStatus Status { get; }
/// <summary> Date and time (UTC) when the model was created. </summary>
public DateTimeOffset CreatedDateTime { get; internal set; }
public DateTimeOffset CreatedDateTime { get; }
/// <summary> Date and time (UTC) when the status was last updated. </summary>
public DateTimeOffset LastUpdatedDateTime { get; internal set; }
public DateTimeOffset LastUpdatedDateTime { get; }
}
}

Просмотреть файл

@ -29,10 +29,10 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Summary of all trained custom models. </summary>
public ModelsSummary Summary { get; internal set; }
public ModelsSummary Summary { get; }
/// <summary> Collection of trained custom models. </summary>
public IList<ModelInfo> ModelList { get; internal set; }
public IList<ModelInfo> ModelList { get; }
/// <summary> Link to the next page of custom models. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -12,11 +12,6 @@ namespace Azure.AI.FormRecognizer.Models
/// <summary> Summary of all trained custom models. </summary>
public partial class ModelsSummary
{
/// <summary> Initializes a new instance of ModelsSummary. </summary>
internal ModelsSummary()
{
}
/// <summary> Initializes a new instance of ModelsSummary. </summary>
/// <param name="count"> Current count of trained custom models. </param>
/// <param name="limit"> Max number of models that can be trained for this subscription. </param>
@ -29,10 +24,10 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Current count of trained custom models. </summary>
public int Count { get; internal set; }
public int Count { get; }
/// <summary> Max number of models that can be trained for this subscription. </summary>
public int Limit { get; internal set; }
public int Limit { get; }
/// <summary> Date and time (UTC) when the summary was last updated. </summary>
public DateTimeOffset LastUpdatedDateTime { get; internal set; }
public DateTimeOffset LastUpdatedDateTime { get; }
}
}

Просмотреть файл

@ -13,8 +13,10 @@ namespace Azure.AI.FormRecognizer.Models
public partial class PageResult
{
/// <summary> Initializes a new instance of PageResult. </summary>
internal PageResult()
/// <param name="page"> Page number. </param>
internal PageResult(int page)
{
Page = page;
}
/// <summary> Initializes a new instance of PageResult. </summary>
@ -31,12 +33,12 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Page number. </summary>
public int Page { get; internal set; }
public int Page { get; }
/// <summary> Cluster identifier. </summary>
public int? ClusterId { get; internal set; }
public int? ClusterId { get; }
/// <summary> List of key-value pairs extracted from the page. </summary>
public IList<KeyValuePair> KeyValuePairs { get; internal set; }
public IList<KeyValuePair> KeyValuePairs { get; }
/// <summary> List of data tables extracted from the page. </summary>
public IList<DataTable> Tables { get; internal set; }
public IList<DataTable> Tables { get; }
}
}

Просмотреть файл

@ -13,8 +13,18 @@ namespace Azure.AI.FormRecognizer.Models
public partial class ReadResult
{
/// <summary> Initializes a new instance of ReadResult. </summary>
internal ReadResult()
/// <param name="page"> The 1-based page number in the input document. </param>
/// <param name="angle"> The general orientation of the text in clockwise direction, measured in degrees between (-180, 180]. </param>
/// <param name="width"> The width of the image/PDF in pixels/inches, respectively. </param>
/// <param name="height"> The height of the image/PDF in pixels/inches, respectively. </param>
/// <param name="unit"> The unit used by the width, height and boundingBox properties. For images, the unit is &quot;pixel&quot;. For PDF, the unit is &quot;inch&quot;. </param>
internal ReadResult(int page, float angle, float width, float height, LengthUnit unit)
{
Page = page;
Angle = angle;
Width = width;
Height = height;
Unit = unit;
}
/// <summary> Initializes a new instance of ReadResult. </summary>
@ -37,18 +47,18 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> The 1-based page number in the input document. </summary>
public int Page { get; internal set; }
public int Page { get; }
/// <summary> The general orientation of the text in clockwise direction, measured in degrees between (-180, 180]. </summary>
public float Angle { get; internal set; }
public float Angle { get; }
/// <summary> The width of the image/PDF in pixels/inches, respectively. </summary>
public float Width { get; internal set; }
public float Width { get; }
/// <summary> The height of the image/PDF in pixels/inches, respectively. </summary>
public float Height { get; internal set; }
public float Height { get; }
/// <summary> The unit used by the width, height and boundingBox properties. For images, the unit is &quot;pixel&quot;. For PDF, the unit is &quot;inch&quot;. </summary>
public LengthUnit Unit { get; internal set; }
public LengthUnit Unit { get; }
/// <summary> The detected language on the page overall. </summary>
public Language? Language { get; internal set; }
public Language? Language { get; }
/// <summary> When includeTextDetails is set to true, a list of recognized text lines. The maximum number of lines returned is 300 per page. The lines are sorted top to bottom, left to right, although in certain cases proximity is treated with higher priority. As the sorting order depends on the detected text, it may change across images and OCR version updates. Thus, business logic should be built upon the actual line location instead of order. </summary>
public IList<TextLine> Lines { get; internal set; }
public IList<TextLine> Lines { get; }
}
}

Просмотреть файл

@ -13,8 +13,14 @@ namespace Azure.AI.FormRecognizer.Models
public partial class TextLine
{
/// <summary> Initializes a new instance of TextLine. </summary>
internal TextLine()
/// <param name="text"> The text content of the line. </param>
/// <param name="boundingBox"> Bounding box of an extracted line. </param>
/// <param name="words"> List of words in the text line. </param>
internal TextLine(string text, IList<float> boundingBox, IList<TextWord> words)
{
Text = text;
BoundingBox = boundingBox;
Words = words;
}
/// <summary> Initializes a new instance of TextLine. </summary>
@ -31,12 +37,12 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> The text content of the line. </summary>
public string Text { get; internal set; }
public string Text { get; }
/// <summary> Bounding box of an extracted line. </summary>
public IList<float> BoundingBox { get; internal set; } = new List<float>();
public IList<float> BoundingBox { get; } = new List<float>();
/// <summary> The detected language of this line, if different from the overall page language. </summary>
public Language? Language { get; internal set; }
public Language? Language { get; }
/// <summary> List of words in the text line. </summary>
public IList<TextWord> Words { get; internal set; } = new List<TextWord>();
public IList<TextWord> Words { get; } = new List<TextWord>();
}
}

Просмотреть файл

@ -13,8 +13,12 @@ namespace Azure.AI.FormRecognizer.Models
public partial class TextWord
{
/// <summary> Initializes a new instance of TextWord. </summary>
internal TextWord()
/// <param name="text"> The text content of the word. </param>
/// <param name="boundingBox"> Bounding box of an extracted word. </param>
internal TextWord(string text, IList<float> boundingBox)
{
Text = text;
BoundingBox = boundingBox;
}
/// <summary> Initializes a new instance of TextWord. </summary>
@ -29,10 +33,10 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> The text content of the word. </summary>
public string Text { get; internal set; }
public string Text { get; }
/// <summary> Bounding box of an extracted word. </summary>
public IList<float> BoundingBox { get; internal set; } = new List<float>();
public IList<float> BoundingBox { get; } = new List<float>();
/// <summary> Confidence value. </summary>
public float? Confidence { get; internal set; }
public float? Confidence { get; }
}
}

Просмотреть файл

@ -11,8 +11,10 @@ namespace Azure.AI.FormRecognizer.Models
public partial class TrainRequest
{
/// <summary> Initializes a new instance of TrainRequest. </summary>
public TrainRequest()
/// <param name="source"> Source path containing the training documents. </param>
public TrainRequest(string source)
{
Source = source;
}
/// <summary> Initializes a new instance of TrainRequest. </summary>
@ -27,7 +29,7 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Source path containing the training documents. </summary>
public string Source { get; set; }
public string Source { get; }
/// <summary> Filter to apply to the documents in the source path for training. </summary>
public TrainSourceFilter SourceFilter { get; set; }
/// <summary> Use label file for training a model. </summary>

Просмотреть файл

@ -13,8 +13,10 @@ namespace Azure.AI.FormRecognizer.Models
public partial class TrainResult
{
/// <summary> Initializes a new instance of TrainResult. </summary>
internal TrainResult()
/// <param name="trainingDocuments"> List of the documents used to train the model and any errors reported in each document. </param>
internal TrainResult(IList<TrainingDocumentInfo> trainingDocuments)
{
TrainingDocuments = trainingDocuments;
}
/// <summary> Initializes a new instance of TrainResult. </summary>
@ -31,12 +33,12 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> List of the documents used to train the model and any errors reported in each document. </summary>
public IList<TrainingDocumentInfo> TrainingDocuments { get; internal set; } = new List<TrainingDocumentInfo>();
public IList<TrainingDocumentInfo> TrainingDocuments { get; } = new List<TrainingDocumentInfo>();
/// <summary> List of fields used to train the model and the train operation error reported by each. </summary>
public IList<FormFieldsReport> Fields { get; internal set; }
public IList<FormFieldsReport> Fields { get; }
/// <summary> Average accuracy. </summary>
public float? AverageModelAccuracy { get; internal set; }
public float? AverageModelAccuracy { get; }
/// <summary> Errors returned during the training operation. </summary>
public IList<ErrorInformation> Errors { get; internal set; }
public IList<ErrorInformation> Errors { get; }
}
}

Просмотреть файл

@ -12,11 +12,6 @@ namespace Azure.AI.FormRecognizer.Models
/// <summary> Report for a custom model training document. </summary>
public partial class TrainingDocumentInfo
{
/// <summary> Initializes a new instance of TrainingDocumentInfo. </summary>
internal TrainingDocumentInfo()
{
}
/// <summary> Initializes a new instance of TrainingDocumentInfo. </summary>
/// <param name="documentName"> Training document name. </param>
/// <param name="pages"> Total number of pages trained. </param>
@ -31,12 +26,12 @@ namespace Azure.AI.FormRecognizer.Models
}
/// <summary> Training document name. </summary>
public string DocumentName { get; internal set; }
public string DocumentName { get; }
/// <summary> Total number of pages trained. </summary>
public int Pages { get; internal set; }
public int Pages { get; }
/// <summary> List of errors. </summary>
public IList<ErrorInformation> Errors { get; internal set; } = new List<ErrorInformation>();
public IList<ErrorInformation> Errors { get; } = new List<ErrorInformation>();
/// <summary> Status of the training operation. </summary>
public TrainStatus Status { get; internal set; }
public TrainStatus Status { get; }
}
}

Просмотреть файл

@ -38,14 +38,14 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> Name of the backend address pool that is unique within an Application Gateway. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Type of the resource. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> Collection of references to IPs defined in network interfaces. </summary>
public IList<NetworkInterfaceIPConfiguration> BackendIPConfigurations { get; internal set; }
public IList<NetworkInterfaceIPConfiguration> BackendIPConfigurations { get; }
/// <summary> Backend addresses. </summary>
public IList<ApplicationGatewayBackendAddress> BackendAddresses { get; set; }
/// <summary> The provisioning state of the backend address pool resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -34,10 +34,10 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. </summary>
public string ResourceGuid { get; internal set; }
public string ResourceGuid { get; }
/// <summary> The provisioning state of the application security group resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -42,18 +42,18 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Type of the resource. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> An array of references to IP addresses defined in network interfaces. </summary>
public IList<NetworkInterfaceIPConfiguration> BackendIPConfigurations { get; internal set; }
public IList<NetworkInterfaceIPConfiguration> BackendIPConfigurations { get; }
/// <summary> An array of references to load balancing rules that use this backend address pool. </summary>
public IList<SubResource> LoadBalancingRules { get; internal set; }
public IList<SubResource> LoadBalancingRules { get; }
/// <summary> A reference to an outbound rule that uses this backend address pool. </summary>
public SubResource OutboundRule { get; internal set; }
public SubResource OutboundRule { get; }
/// <summary> An array of references to outbound rules that use this backend address pool. </summary>
public IList<SubResource> OutboundRules { get; internal set; }
public IList<SubResource> OutboundRules { get; }
/// <summary> The provisioning state of the backend address pool resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -23,6 +23,6 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> Cloud error body. </summary>
public CloudErrorBody Error { get; internal set; }
public CloudErrorBody Error { get; }
}
}

Просмотреть файл

@ -31,12 +31,12 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> An identifier for the error. Codes are invariant and are intended to be consumed programmatically. </summary>
public string Code { get; internal set; }
public string Code { get; }
/// <summary> A message describing the error, intended to be suitable for display in a user interface. </summary>
public string Message { get; internal set; }
public string Message { get; }
/// <summary> The target of the particular error. For example, the name of the property in error. </summary>
public string Target { get; internal set; }
public string Target { get; }
/// <summary> A list of additional details about the error. </summary>
public IList<CloudErrorBody> Details { get; internal set; }
public IList<CloudErrorBody> Details { get; }
}
}

Просмотреть файл

@ -36,12 +36,12 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within a subnet. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). </summary>
public string ServiceName { get; set; }
/// <summary> The actions permitted to the service upon delegation. </summary>
public IList<string> Actions { get; internal set; }
public IList<string> Actions { get; }
/// <summary> The provisioning state of the service delegation resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -31,12 +31,12 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> The ID of network security group that is applied. </summary>
public SubResource NetworkSecurityGroup { get; internal set; }
public SubResource NetworkSecurityGroup { get; }
/// <summary> Associated resources. </summary>
public EffectiveNetworkSecurityGroupAssociation Association { get; internal set; }
public EffectiveNetworkSecurityGroupAssociation Association { get; }
/// <summary> A collection of effective security rules. </summary>
public IList<EffectiveNetworkSecurityRule> EffectiveSecurityRules { get; internal set; }
public IList<EffectiveNetworkSecurityRule> EffectiveSecurityRules { get; }
/// <summary> Mapping of tags to list of IP Addresses included within the tag. </summary>
public string TagMap { get; internal set; }
public string TagMap { get; }
}
}

Просмотреть файл

@ -25,8 +25,8 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> The ID of the subnet if assigned. </summary>
public SubResource Subnet { get; internal set; }
public SubResource Subnet { get; }
/// <summary> The ID of the network interface if assigned. </summary>
public SubResource NetworkInterface { get; internal set; }
public SubResource NetworkInterface { get; }
}
}

Просмотреть файл

@ -27,8 +27,8 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A list of effective network security groups. </summary>
public IList<EffectiveNetworkSecurityGroup> Value { get; internal set; }
public IList<EffectiveNetworkSecurityGroup> Value { get; }
/// <summary> The URL to get the next set of results. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -53,34 +53,34 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> The name of the security rule specified by the user (if created by the user). </summary>
public string Name { get; internal set; }
public string Name { get; }
/// <summary> The network protocol this rule applies to. </summary>
public EffectiveSecurityRuleProtocol? Protocol { get; internal set; }
public EffectiveSecurityRuleProtocol? Protocol { get; }
/// <summary> The source port or range. </summary>
public string SourcePortRange { get; internal set; }
public string SourcePortRange { get; }
/// <summary> The destination port or range. </summary>
public string DestinationPortRange { get; internal set; }
public string DestinationPortRange { get; }
/// <summary> The source port ranges. Expected values include a single integer between 0 and 65535, a range using &apos;-&apos; as separator (e.g. 100-400), or an asterisk (*). </summary>
public IList<string> SourcePortRanges { get; internal set; }
public IList<string> SourcePortRanges { get; }
/// <summary> The destination port ranges. Expected values include a single integer between 0 and 65535, a range using &apos;-&apos; as separator (e.g. 100-400), or an asterisk (*). </summary>
public IList<string> DestinationPortRanges { get; internal set; }
public IList<string> DestinationPortRanges { get; }
/// <summary> The source address prefix. </summary>
public string SourceAddressPrefix { get; internal set; }
public string SourceAddressPrefix { get; }
/// <summary> The destination address prefix. </summary>
public string DestinationAddressPrefix { get; internal set; }
public string DestinationAddressPrefix { get; }
/// <summary> The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). </summary>
public IList<string> SourceAddressPrefixes { get; internal set; }
public IList<string> SourceAddressPrefixes { get; }
/// <summary> The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). </summary>
public IList<string> DestinationAddressPrefixes { get; internal set; }
public IList<string> DestinationAddressPrefixes { get; }
/// <summary> The expanded source address prefix. </summary>
public IList<string> ExpandedSourceAddressPrefix { get; internal set; }
public IList<string> ExpandedSourceAddressPrefix { get; }
/// <summary> Expanded destination address prefix. </summary>
public IList<string> ExpandedDestinationAddressPrefix { get; internal set; }
public IList<string> ExpandedDestinationAddressPrefix { get; }
/// <summary> Whether network traffic is allowed or denied. </summary>
public SecurityRuleAccess? Access { get; internal set; }
public SecurityRuleAccess? Access { get; }
/// <summary> The priority of the rule. </summary>
public int? Priority { get; internal set; }
public int? Priority { get; }
/// <summary> The direction of the rule. </summary>
public SecurityRuleDirection? Direction { get; internal set; }
public SecurityRuleDirection? Direction { get; }
}
}

Просмотреть файл

@ -37,18 +37,18 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> The name of the user defined route. This is optional. </summary>
public string Name { get; internal set; }
public string Name { get; }
/// <summary> If true, on-premises routes are not propagated to the network interfaces in the subnet. </summary>
public bool? DisableBgpRoutePropagation { get; internal set; }
public bool? DisableBgpRoutePropagation { get; }
/// <summary> Who created the route. </summary>
public EffectiveRouteSource? Source { get; internal set; }
public EffectiveRouteSource? Source { get; }
/// <summary> The value of effective route. </summary>
public EffectiveRouteState? State { get; internal set; }
public EffectiveRouteState? State { get; }
/// <summary> The address prefixes of the effective routes in CIDR notation. </summary>
public IList<string> AddressPrefix { get; internal set; }
public IList<string> AddressPrefix { get; }
/// <summary> The IP address of the next hop of the effective route. </summary>
public IList<string> NextHopIpAddress { get; internal set; }
public IList<string> NextHopIpAddress { get; }
/// <summary> The type of Azure hop the packet should be sent to. </summary>
public RouteNextHopType? NextHopType { get; internal set; }
public RouteNextHopType? NextHopType { get; }
}
}

Просмотреть файл

@ -27,8 +27,8 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A list of effective routes. </summary>
public IList<EffectiveRoute> Value { get; internal set; }
public IList<EffectiveRoute> Value { get; }
/// <summary> The URL to get the next set of results. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -56,19 +56,19 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Type of the resource. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> A list of availability zones denoting the IP allocated for the resource needs to come from. </summary>
public IList<string> Zones { get; set; }
/// <summary> An array of references to inbound rules that use this frontend IP. </summary>
public IList<SubResource> InboundNatRules { get; internal set; }
public IList<SubResource> InboundNatRules { get; }
/// <summary> An array of references to inbound pools that use this frontend IP. </summary>
public IList<SubResource> InboundNatPools { get; internal set; }
public IList<SubResource> InboundNatPools { get; }
/// <summary> An array of references to outbound rules that use this frontend IP. </summary>
public IList<SubResource> OutboundRules { get; internal set; }
public IList<SubResource> OutboundRules { get; }
/// <summary> An array of references to load balancing rules that use this frontend IP. </summary>
public IList<SubResource> LoadBalancingRules { get; internal set; }
public IList<SubResource> LoadBalancingRules { get; }
/// <summary> The private IP address of the IP configuration. </summary>
public string PrivateIPAddress { get; set; }
/// <summary> The Private IP allocation method. </summary>
@ -82,6 +82,6 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The reference to the Public IP Prefix resource. </summary>
public SubResource PublicIPPrefix { get; set; }
/// <summary> The provisioning state of the frontend IP configuration resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -38,7 +38,7 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within a resource group. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> The private IP address of the IP configuration. </summary>
public string PrivateIPAddress { get; set; }
/// <summary> The private IP address allocation method. </summary>
@ -48,6 +48,6 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The reference to the public IP resource. </summary>
public PublicIPAddress PublicIPAddress { get; set; }
/// <summary> The provisioning state of the IP configuration resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -34,12 +34,12 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> Sub Resource type. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> The reference to the subnet resource to create a container network interface ip configuration. </summary>
public Subnet Subnet { get; set; }
/// <summary> The provisioning state of the IP configuration profile resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -48,9 +48,9 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Type of the resource. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> A reference to frontend IP addresses. </summary>
public SubResource FrontendIPConfiguration { get; set; }
/// <summary> The reference to the transport protocol used by the inbound NAT pool. </summary>
@ -68,6 +68,6 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. </summary>
public bool? EnableTcpReset { get; set; }
/// <summary> The provisioning state of the inbound NAT pool resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -48,13 +48,13 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Type of the resource. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> A reference to frontend IP addresses. </summary>
public SubResource FrontendIPConfiguration { get; set; }
/// <summary> A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. </summary>
public NetworkInterfaceIPConfiguration BackendIPConfiguration { get; internal set; }
public NetworkInterfaceIPConfiguration BackendIPConfiguration { get; }
/// <summary> The reference to the transport protocol used by the load balancing rule. </summary>
public TransportProtocol? Protocol { get; set; }
/// <summary> The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534. </summary>
@ -68,6 +68,6 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. </summary>
public bool? EnableTcpReset { get; set; }
/// <summary> The provisioning state of the inbound NAT rule resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -52,7 +52,7 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The load balancer SKU. </summary>
public LoadBalancerSku Sku { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Object representing the frontend IPs to be used for the load balancer. </summary>
public IList<FrontendIPConfiguration> FrontendIPConfigurations { get; set; }
/// <summary> Collection of backend address pools used by a load balancer. </summary>
@ -68,8 +68,8 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The outbound rules. </summary>
public IList<OutboundRule> OutboundRules { get; set; }
/// <summary> The resource GUID property of the load balancer resource. </summary>
public string ResourceGuid { get; internal set; }
public string ResourceGuid { get; }
/// <summary> The provisioning state of the load balancer resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -54,9 +54,9 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Type of the resource. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> A reference to frontend IP addresses. </summary>
public SubResource FrontendIPConfiguration { get; set; }
/// <summary> A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs. </summary>
@ -80,6 +80,6 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. </summary>
public bool? DisableOutboundSnat { get; set; }
/// <summary> The provisioning state of the load balancing rule resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -56,32 +56,32 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> The reference to a virtual machine. </summary>
public SubResource VirtualMachine { get; internal set; }
public SubResource VirtualMachine { get; }
/// <summary> The reference to the NetworkSecurityGroup resource. </summary>
public NetworkSecurityGroup NetworkSecurityGroup { get; set; }
/// <summary> A reference to the private endpoint to which the network interface is linked. </summary>
public PrivateEndpoint PrivateEndpoint { get; internal set; }
public PrivateEndpoint PrivateEndpoint { get; }
/// <summary> A list of IPConfigurations of the network interface. </summary>
public IList<NetworkInterfaceIPConfiguration> IpConfigurations { get; set; }
/// <summary> A list of TapConfigurations of the network interface. </summary>
public IList<NetworkInterfaceTapConfiguration> TapConfigurations { get; internal set; }
public IList<NetworkInterfaceTapConfiguration> TapConfigurations { get; }
/// <summary> The DNS settings in network interface. </summary>
public NetworkInterfaceDnsSettings DnsSettings { get; set; }
/// <summary> The MAC address of the network interface. </summary>
public string MacAddress { get; internal set; }
public string MacAddress { get; }
/// <summary> Whether this is a primary network interface on a virtual machine. </summary>
public bool? Primary { get; internal set; }
public bool? Primary { get; }
/// <summary> If the network interface is accelerated networking enabled. </summary>
public bool? EnableAcceleratedNetworking { get; set; }
/// <summary> Indicates whether IP forwarding is enabled on this network interface. </summary>
public bool? EnableIPForwarding { get; set; }
/// <summary> A list of references to linked BareMetal resources. </summary>
public IList<string> HostedWorkloads { get; internal set; }
public IList<string> HostedWorkloads { get; }
/// <summary> The resource GUID property of the network interface resource. </summary>
public string ResourceGuid { get; internal set; }
public string ResourceGuid { get; }
/// <summary> The provisioning state of the network interface resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -35,12 +35,12 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> List of DNS servers IP addresses. Use &apos;AzureProvidedDNS&apos; to switch to azure provided DNS resolution. &apos;AzureProvidedDNS&apos; value cannot be combined with other IPs, it must be the only value in dnsServers collection. </summary>
public IList<string> DnsServers { get; set; }
/// <summary> If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs. </summary>
public IList<string> AppliedDnsServers { get; internal set; }
public IList<string> AppliedDnsServers { get; }
/// <summary> Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. </summary>
public string InternalDnsNameLabel { get; set; }
/// <summary> Fully qualified DNS name supporting internal communications between VMs in the same virtual network. </summary>
public string InternalFqdn { get; internal set; }
public string InternalFqdn { get; }
/// <summary> Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix. </summary>
public string InternalDomainNameSuffix { get; internal set; }
public string InternalDomainNameSuffix { get; }
}
}

Просмотреть файл

@ -56,7 +56,7 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within a resource group. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> The reference to Virtual Network Taps. </summary>
public IList<VirtualNetworkTap> VirtualNetworkTaps { get; set; }
/// <summary> The reference to ApplicationGatewayBackendAddressPool resource. </summary>
@ -80,8 +80,8 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> Application security groups in which the IP configuration is included. </summary>
public IList<ApplicationSecurityGroup> ApplicationSecurityGroups { get; set; }
/// <summary> The provisioning state of the network interface IP configuration. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
/// <summary> PrivateLinkConnection properties for the network interface. </summary>
public NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties PrivateLinkConnectionProperties { get; internal set; }
public NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties PrivateLinkConnectionProperties { get; }
}
}

Просмотреть файл

@ -27,8 +27,8 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A list of ip configurations. </summary>
public IList<NetworkInterfaceIPConfiguration> Value { get; internal set; }
public IList<NetworkInterfaceIPConfiguration> Value { get; }
/// <summary> The URL to get the next set of results. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -29,10 +29,10 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> The group ID for current private link connection. </summary>
public string GroupId { get; internal set; }
public string GroupId { get; }
/// <summary> The required member name for current private link connection. </summary>
public string RequiredMemberName { get; internal set; }
public string RequiredMemberName { get; }
/// <summary> List of FQDNs for current private link connection. </summary>
public IList<string> Fqdns { get; internal set; }
public IList<string> Fqdns { get; }
}
}

Просмотреть файл

@ -27,8 +27,8 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A list of network interfaces in a resource group. </summary>
public IList<NetworkInterface> Value { get; internal set; }
public IList<NetworkInterface> Value { get; }
/// <summary> The URL to get the next set of results. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -27,8 +27,8 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A list of load balancers. </summary>
public IList<LoadBalancer> Value { get; internal set; }
public IList<LoadBalancer> Value { get; }
/// <summary> The URL to get the next set of results. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -34,12 +34,12 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within a resource group. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Sub Resource type. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> The reference to the Virtual Network Tap resource. </summary>
public VirtualNetworkTap VirtualNetworkTap { get; set; }
/// <summary> The provisioning state of the network interface tap configuration resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -27,8 +27,8 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A list of tap configurations. </summary>
public IList<NetworkInterfaceTapConfiguration> Value { get; internal set; }
public IList<NetworkInterfaceTapConfiguration> Value { get; }
/// <summary> The URL to get the next set of results. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -42,18 +42,18 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> A collection of security rules of the network security group. </summary>
public IList<SecurityRule> SecurityRules { get; set; }
/// <summary> The default security rules of network security group. </summary>
public IList<SecurityRule> DefaultSecurityRules { get; internal set; }
public IList<SecurityRule> DefaultSecurityRules { get; }
/// <summary> A collection of references to network interfaces. </summary>
public IList<NetworkInterface> NetworkInterfaces { get; internal set; }
public IList<NetworkInterface> NetworkInterfaces { get; }
/// <summary> A collection of references to subnets. </summary>
public IList<Subnet> Subnets { get; internal set; }
public IList<Subnet> Subnets { get; }
/// <summary> The resource GUID property of the network security group resource. </summary>
public string ResourceGuid { get; internal set; }
public string ResourceGuid { get; }
/// <summary> The provisioning state of the network security group resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -46,9 +46,9 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Type of the resource. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> The number of outbound ports to be used for NAT. </summary>
public int? AllocatedOutboundPorts { get; set; }
/// <summary> The Frontend IP addresses of the load balancer. </summary>
@ -56,7 +56,7 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs. </summary>
public SubResource BackendAddressPool { get; set; }
/// <summary> The provisioning state of the outbound rule resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
/// <summary> The protocol for the outbound rule in load balancer. </summary>
public LoadBalancerOutboundRuleProtocol? Protocol { get; set; }
/// <summary> Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. </summary>

Просмотреть файл

@ -40,13 +40,13 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> The ID of the subnet from which the private IP will be allocated. </summary>
public Subnet Subnet { get; set; }
/// <summary> An array of references to the network interfaces created for this private endpoint. </summary>
public IList<NetworkInterface> NetworkInterfaces { get; internal set; }
public IList<NetworkInterface> NetworkInterfaces { get; }
/// <summary> The provisioning state of the private endpoint resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
/// <summary> A grouping of information about the connection to the remote resource. </summary>
public IList<PrivateLinkServiceConnection> PrivateLinkServiceConnections { get; set; }
/// <summary> A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. </summary>

Просмотреть файл

@ -42,11 +42,11 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within a resource group. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> The resource type. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> The provisioning state of the private link service connection resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
/// <summary> The resource id of private link service. </summary>
public string PrivateLinkServiceId { get; set; }
/// <summary> The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. </summary>

Просмотреть файл

@ -46,11 +46,11 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Type of the resource. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> The load balancer rules that use this probe. </summary>
public IList<SubResource> LoadBalancingRules { get; internal set; }
public IList<SubResource> LoadBalancingRules { get; }
/// <summary> The protocol of the end point. If &apos;Tcp&apos; is specified, a received ACK is required for the probe to be successful. If &apos;Http&apos; or &apos;Https&apos; is specified, a 200 OK response from the specifies URI is required for the probe to be successful. </summary>
public ProbeProtocol? Protocol { get; set; }
/// <summary> The port for communicating the probe. Possible values range from 1 to 65535, inclusive. </summary>
@ -62,6 +62,6 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value. </summary>
public string RequestPath { get; set; }
/// <summary> The provisioning state of the probe resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -58,7 +58,7 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The public IP address SKU. </summary>
public PublicIPAddressSku Sku { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> A list of availability zones denoting the IP allocated for the resource needs to come from. </summary>
public IList<string> Zones { get; set; }
/// <summary> The public IP address allocation method. </summary>
@ -66,7 +66,7 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The public IP address version. </summary>
public IPVersion? PublicIPAddressVersion { get; set; }
/// <summary> The IP configuration associated with the public IP address. </summary>
public IPConfiguration IpConfiguration { get; internal set; }
public IPConfiguration IpConfiguration { get; }
/// <summary> The FQDN of the DNS record associated with the public IP address. </summary>
public PublicIPAddressDnsSettings DnsSettings { get; set; }
/// <summary> The DDoS protection custom policy associated with the public IP address. </summary>
@ -80,8 +80,8 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The idle timeout of the public IP address. </summary>
public int? IdleTimeoutInMinutes { get; set; }
/// <summary> The resource GUID property of the public IP address resource. </summary>
public string ResourceGuid { get; internal set; }
public string ResourceGuid { get; }
/// <summary> The provisioning state of the public IP address resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -35,9 +35,9 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> Resource ID. </summary>
public string Id { get; set; }
/// <summary> Resource name. </summary>
public string Name { get; internal set; }
public string Name { get; }
/// <summary> Resource type. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> Resource location. </summary>
public string Location { get; set; }
/// <summary> Resource tags. </summary>

Просмотреть файл

@ -38,14 +38,14 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> Name of the resource that is unique within a resource group. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Resource type. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> Resource type of the linked resource. </summary>
public string LinkedResourceType { get; set; }
/// <summary> Link to the external resource. </summary>
public string Link { get; set; }
/// <summary> The provisioning state of the resource navigation link resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -36,7 +36,7 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within a resource group. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> The destination CIDR to which the route applies. </summary>
public string AddressPrefix { get; set; }
/// <summary> The type of Azure hop the packet should be sent to. </summary>
@ -44,6 +44,6 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. </summary>
public string NextHopIpAddress { get; set; }
/// <summary> The provisioning state of the route resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -38,14 +38,14 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Collection of routes contained within a route table. </summary>
public IList<Route> Routes { get; set; }
/// <summary> A collection of references to subnets. </summary>
public IList<Subnet> Subnets { get; internal set; }
public IList<Subnet> Subnets { get; }
/// <summary> Whether to disable the routes learned by BGP on that route table. True means disable. </summary>
public bool? DisableBgpRoutePropagation { get; set; }
/// <summary> The provisioning state of the route table resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -62,7 +62,7 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within a resource group. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> A description for this rule. Restricted to 140 chars. </summary>
public string Description { get; set; }
/// <summary> Network protocol this rule applies to. </summary>
@ -94,6 +94,6 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. </summary>
public SecurityRuleDirection? Direction { get; set; }
/// <summary> The provisioning state of the security rule resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -42,15 +42,15 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> Name of the resource that is unique within a resource group. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Resource type. </summary>
public string Type { get; internal set; }
public string Type { get; }
/// <summary> Resource type of the linked resource. </summary>
public string LinkedResourceType { get; set; }
/// <summary> Link to the external resource. </summary>
public string Link { get; set; }
/// <summary> The provisioning state of the service association link resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
/// <summary> If true, the resource can be deleted. </summary>
public bool? AllowDelete { get; set; }
/// <summary> A list of locations. </summary>

Просмотреть файл

@ -38,14 +38,14 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> A collection of service endpoint policy definitions of the service endpoint policy. </summary>
public IList<ServiceEndpointPolicyDefinition> ServiceEndpointPolicyDefinitions { get; set; }
/// <summary> A collection of references to subnets. </summary>
public IList<Subnet> Subnets { get; internal set; }
public IList<Subnet> Subnets { get; }
/// <summary> The resource GUID property of the service endpoint policy resource. </summary>
public string ResourceGuid { get; internal set; }
public string ResourceGuid { get; }
/// <summary> The provisioning state of the service endpoint policy resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -38,7 +38,7 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within a resource group. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> A description for this rule. Restricted to 140 chars. </summary>
public string Description { get; set; }
/// <summary> Service endpoint name. </summary>
@ -46,6 +46,6 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> A list of service resources. </summary>
public IList<string> ServiceResources { get; set; }
/// <summary> The provisioning state of the service endpoint policy definition resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -33,6 +33,6 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> A list of locations. </summary>
public IList<string> Locations { get; set; }
/// <summary> The provisioning state of the service endpoint resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
}
}

Просмотреть файл

@ -64,7 +64,7 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> The name of the resource that is unique within a resource group. This name can be used to access the resource. </summary>
public string Name { get; set; }
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> The address prefix for the subnet. </summary>
public string AddressPrefix { get; set; }
/// <summary> List of address prefixes for the subnet. </summary>
@ -80,21 +80,21 @@ namespace Azure.Network.Management.Interface.Models
/// <summary> An array of service endpoint policies. </summary>
public IList<ServiceEndpointPolicy> ServiceEndpointPolicies { get; set; }
/// <summary> An array of references to private endpoints. </summary>
public IList<PrivateEndpoint> PrivateEndpoints { get; internal set; }
public IList<PrivateEndpoint> PrivateEndpoints { get; }
/// <summary> An array of references to the network interface IP configurations using subnet. </summary>
public IList<IPConfiguration> IpConfigurations { get; internal set; }
public IList<IPConfiguration> IpConfigurations { get; }
/// <summary> Array of IP configuration profiles which reference this subnet. </summary>
public IList<IPConfigurationProfile> IpConfigurationProfiles { get; internal set; }
public IList<IPConfigurationProfile> IpConfigurationProfiles { get; }
/// <summary> An array of references to the external resources using subnet. </summary>
public IList<ResourceNavigationLink> ResourceNavigationLinks { get; internal set; }
public IList<ResourceNavigationLink> ResourceNavigationLinks { get; }
/// <summary> An array of references to services injecting into this subnet. </summary>
public IList<ServiceAssociationLink> ServiceAssociationLinks { get; internal set; }
public IList<ServiceAssociationLink> ServiceAssociationLinks { get; }
/// <summary> An array of references to the delegations on the subnet. </summary>
public IList<Delegation> Delegations { get; set; }
/// <summary> A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. </summary>
public string Purpose { get; internal set; }
public string Purpose { get; }
/// <summary> The provisioning state of the subnet resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
/// <summary> Enable or Disable apply network policies on private end point in the subnet. </summary>
public string PrivateEndpointNetworkPolicies { get; set; }
/// <summary> Enable or Disable apply network policies on private link service in the subnet. </summary>

Просмотреть файл

@ -42,13 +42,13 @@ namespace Azure.Network.Management.Interface.Models
}
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
/// <summary> Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped. </summary>
public IList<NetworkInterfaceTapConfiguration> NetworkInterfaceTapConfigurations { get; internal set; }
public IList<NetworkInterfaceTapConfiguration> NetworkInterfaceTapConfigurations { get; }
/// <summary> The resource GUID property of the virtual network tap resource. </summary>
public string ResourceGuid { get; internal set; }
public string ResourceGuid { get; }
/// <summary> The provisioning state of the virtual network tap resource. </summary>
public ProvisioningState? ProvisioningState { get; internal set; }
public ProvisioningState? ProvisioningState { get; }
/// <summary> The reference to the private IP Address of the collector nic that will receive the tap. </summary>
public NetworkInterfaceIPConfiguration DestinationNetworkInterfaceIPConfiguration { get; set; }
/// <summary> The reference to the private IP address on the internal Load Balancer that will receive the tap. </summary>

Просмотреть файл

@ -13,8 +13,16 @@ namespace Azure.Storage.Management.Models
public partial class AccountSasParameters
{
/// <summary> Initializes a new instance of AccountSasParameters. </summary>
public AccountSasParameters()
/// <param name="services"> The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). </param>
/// <param name="resourceTypes"> The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. </param>
/// <param name="permissions"> The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). </param>
/// <param name="sharedAccessExpiryTime"> The time at which the shared access signature becomes invalid. </param>
public AccountSasParameters(Services services, SignedResourceTypes resourceTypes, Permissions permissions, DateTimeOffset sharedAccessExpiryTime)
{
Services = services;
ResourceTypes = resourceTypes;
Permissions = permissions;
SharedAccessExpiryTime = sharedAccessExpiryTime;
}
/// <summary> Initializes a new instance of AccountSasParameters. </summary>
@ -39,11 +47,11 @@ namespace Azure.Storage.Management.Models
}
/// <summary> The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). </summary>
public Services Services { get; set; }
public Services Services { get; }
/// <summary> The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. </summary>
public SignedResourceTypes ResourceTypes { get; set; }
public SignedResourceTypes ResourceTypes { get; }
/// <summary> The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). </summary>
public Permissions Permissions { get; set; }
public Permissions Permissions { get; }
/// <summary> An IP address or a range of IP addresses from which to accept requests. </summary>
public string IPAddressOrRange { get; set; }
/// <summary> The protocol permitted for a request made with the account SAS. </summary>
@ -51,7 +59,7 @@ namespace Azure.Storage.Management.Models
/// <summary> The time at which the SAS becomes valid. </summary>
public DateTimeOffset? SharedAccessStartTime { get; set; }
/// <summary> The time at which the shared access signature becomes invalid. </summary>
public DateTimeOffset SharedAccessExpiryTime { get; set; }
public DateTimeOffset SharedAccessExpiryTime { get; }
/// <summary> The key to sign the account SAS token with. </summary>
public string KeyToSign { get; set; }
}

Просмотреть файл

@ -10,11 +10,6 @@ namespace Azure.Storage.Management.Models
/// <summary> Settings properties for Active Directory (AD). </summary>
public partial class ActiveDirectoryProperties
{
/// <summary> Initializes a new instance of ActiveDirectoryProperties. </summary>
public ActiveDirectoryProperties()
{
}
/// <summary> Initializes a new instance of ActiveDirectoryProperties. </summary>
/// <param name="domainName"> Specifies the primary domain that the AD DNS server is authoritative for. </param>
/// <param name="netBiosDomainName"> Specifies the NetBIOS domain name. </param>
@ -22,7 +17,7 @@ namespace Azure.Storage.Management.Models
/// <param name="domainGuid"> Specifies the domain GUID. </param>
/// <param name="domainSid"> Specifies the security identifier (SID). </param>
/// <param name="azureStorageSid"> Specifies the security identifier (SID) for Azure Storage. </param>
internal ActiveDirectoryProperties(string domainName, string netBiosDomainName, string forestName, string domainGuid, string domainSid, string azureStorageSid)
public ActiveDirectoryProperties(string domainName, string netBiosDomainName, string forestName, string domainGuid, string domainSid, string azureStorageSid)
{
DomainName = domainName;
NetBiosDomainName = netBiosDomainName;
@ -33,16 +28,16 @@ namespace Azure.Storage.Management.Models
}
/// <summary> Specifies the primary domain that the AD DNS server is authoritative for. </summary>
public string DomainName { get; set; }
public string DomainName { get; }
/// <summary> Specifies the NetBIOS domain name. </summary>
public string NetBiosDomainName { get; set; }
public string NetBiosDomainName { get; }
/// <summary> Specifies the Active Directory forest to get. </summary>
public string ForestName { get; set; }
public string ForestName { get; }
/// <summary> Specifies the domain GUID. </summary>
public string DomainGuid { get; set; }
public string DomainGuid { get; }
/// <summary> Specifies the security identifier (SID). </summary>
public string DomainSid { get; set; }
public string DomainSid { get; }
/// <summary> Specifies the security identifier (SID) for Azure Storage. </summary>
public string AzureStorageSid { get; set; }
public string AzureStorageSid { get; }
}
}

Просмотреть файл

@ -26,6 +26,6 @@ namespace Azure.Storage.Management.Models
}
/// <summary> Resource Etag. </summary>
public string Etag { get; internal set; }
public string Etag { get; }
}
}

Просмотреть файл

@ -11,8 +11,10 @@ namespace Azure.Storage.Management.Models
public partial class AzureFilesIdentityBasedAuthentication
{
/// <summary> Initializes a new instance of AzureFilesIdentityBasedAuthentication. </summary>
public AzureFilesIdentityBasedAuthentication()
/// <param name="directoryServiceOptions"> Indicates the directory service used. </param>
public AzureFilesIdentityBasedAuthentication(DirectoryServiceOptions directoryServiceOptions)
{
DirectoryServiceOptions = directoryServiceOptions;
}
/// <summary> Initializes a new instance of AzureFilesIdentityBasedAuthentication. </summary>
@ -25,7 +27,7 @@ namespace Azure.Storage.Management.Models
}
/// <summary> Indicates the directory service used. </summary>
public DirectoryServiceOptions DirectoryServiceOptions { get; set; }
public DirectoryServiceOptions DirectoryServiceOptions { get; }
/// <summary> Required if choose AD. </summary>
public ActiveDirectoryProperties ActiveDirectoryProperties { get; set; }
}

Просмотреть файл

@ -50,22 +50,22 @@ namespace Azure.Storage.Management.Models
/// <summary> Specifies whether data in the container may be accessed publicly and the level of access. </summary>
public PublicAccess? PublicAccess { get; set; }
/// <summary> Returns the date and time the container was last modified. </summary>
public DateTimeOffset? LastModifiedTime { get; internal set; }
public DateTimeOffset? LastModifiedTime { get; }
/// <summary> The lease status of the container. </summary>
public LeaseStatus? LeaseStatus { get; internal set; }
public LeaseStatus? LeaseStatus { get; }
/// <summary> Lease state of the container. </summary>
public LeaseState? LeaseState { get; internal set; }
public LeaseState? LeaseState { get; }
/// <summary> Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. </summary>
public LeaseDuration? LeaseDuration { get; internal set; }
public LeaseDuration? LeaseDuration { get; }
/// <summary> A name-value pair to associate with the container as metadata. </summary>
public IDictionary<string, string> Metadata { get; set; }
/// <summary> The ImmutabilityPolicy property of the container. </summary>
public ImmutabilityPolicyProperties ImmutabilityPolicy { get; internal set; }
public ImmutabilityPolicyProperties ImmutabilityPolicy { get; }
/// <summary> The LegalHold property of the container. </summary>
public LegalHoldProperties LegalHold { get; internal set; }
public LegalHoldProperties LegalHold { get; }
/// <summary> The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account. </summary>
public bool? HasLegalHold { get; internal set; }
public bool? HasLegalHold { get; }
/// <summary> The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container. </summary>
public bool? HasImmutabilityPolicy { get; internal set; }
public bool? HasImmutabilityPolicy { get; }
}
}

Просмотреть файл

@ -13,23 +13,18 @@ namespace Azure.Storage.Management.Models
/// <summary> Blob restore parameters. </summary>
public partial class BlobRestoreParameters
{
/// <summary> Initializes a new instance of BlobRestoreParameters. </summary>
public BlobRestoreParameters()
{
}
/// <summary> Initializes a new instance of BlobRestoreParameters. </summary>
/// <param name="timeToRestore"> Restore blob to the specified time. </param>
/// <param name="blobRanges"> Blob ranges to restore. </param>
internal BlobRestoreParameters(DateTimeOffset timeToRestore, IList<BlobRestoreRange> blobRanges)
public BlobRestoreParameters(DateTimeOffset timeToRestore, IList<BlobRestoreRange> blobRanges)
{
TimeToRestore = timeToRestore;
BlobRanges = blobRanges;
}
/// <summary> Restore blob to the specified time. </summary>
public DateTimeOffset TimeToRestore { get; set; }
public DateTimeOffset TimeToRestore { get; }
/// <summary> Blob ranges to restore. </summary>
public IList<BlobRestoreRange> BlobRanges { get; set; } = new List<BlobRestoreRange>();
public IList<BlobRestoreRange> BlobRanges { get; } = new List<BlobRestoreRange>();
}
}

Просмотреть файл

@ -10,23 +10,18 @@ namespace Azure.Storage.Management.Models
/// <summary> Blob range. </summary>
public partial class BlobRestoreRange
{
/// <summary> Initializes a new instance of BlobRestoreRange. </summary>
public BlobRestoreRange()
{
}
/// <summary> Initializes a new instance of BlobRestoreRange. </summary>
/// <param name="startRange"> Blob start range. Empty means account start. </param>
/// <param name="endRange"> Blob end range. Empty means account end. </param>
internal BlobRestoreRange(string startRange, string endRange)
public BlobRestoreRange(string startRange, string endRange)
{
StartRange = startRange;
EndRange = endRange;
}
/// <summary> Blob start range. Empty means account start. </summary>
public string StartRange { get; set; }
public string StartRange { get; }
/// <summary> Blob end range. Empty means account end. </summary>
public string EndRange { get; set; }
public string EndRange { get; }
}
}

Просмотреть файл

@ -29,12 +29,12 @@ namespace Azure.Storage.Management.Models
}
/// <summary> The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed. </summary>
public BlobRestoreProgressStatus? Status { get; internal set; }
public BlobRestoreProgressStatus? Status { get; }
/// <summary> Failure reason when blob restore is failed. </summary>
public string FailureReason { get; internal set; }
public string FailureReason { get; }
/// <summary> Id for tracking blob restore request. </summary>
public string RestoreId { get; internal set; }
public string RestoreId { get; }
/// <summary> Blob restore request parameters. </summary>
public BlobRestoreParameters Parameters { get; internal set; }
public BlobRestoreParameters Parameters { get; }
}
}

Просмотреть файл

@ -25,6 +25,6 @@ namespace Azure.Storage.Management.Models
}
/// <summary> List of blob services returned. </summary>
public IList<BlobServiceProperties> Value { get; internal set; }
public IList<BlobServiceProperties> Value { get; }
}
}

Просмотреть файл

@ -42,7 +42,7 @@ namespace Azure.Storage.Management.Models
}
/// <summary> Sku name and tier. </summary>
public Sku Sku { get; internal set; }
public Sku Sku { get; }
/// <summary> Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service. </summary>
public CorsRules Cors { get; set; }
/// <summary> DefaultServiceVersion indicates the default version to use for requests to the Blob service if an incoming requests version is not specified. Possible values include version 2008-10-27 and all more recent versions. </summary>

Просмотреть файл

@ -27,10 +27,10 @@ namespace Azure.Storage.Management.Models
}
/// <summary> Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used. </summary>
public bool? NameAvailable { get; internal set; }
public bool? NameAvailable { get; }
/// <summary> Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. </summary>
public Reason? Reason { get; internal set; }
public Reason? Reason { get; }
/// <summary> Gets an error message explaining the Reason value in more detail. </summary>
public string Message { get; internal set; }
public string Message { get; }
}
}

Просмотреть файл

@ -23,6 +23,6 @@ namespace Azure.Storage.Management.Models
}
/// <summary> An error response from the Storage service. </summary>
public CloudErrorBody Error { get; internal set; }
public CloudErrorBody Error { get; }
}
}

Просмотреть файл

@ -31,12 +31,12 @@ namespace Azure.Storage.Management.Models
}
/// <summary> An identifier for the error. Codes are invariant and are intended to be consumed programmatically. </summary>
public string Code { get; internal set; }
public string Code { get; }
/// <summary> A message describing the error, intended to be suitable for display in a user interface. </summary>
public string Message { get; internal set; }
public string Message { get; }
/// <summary> The target of the particular error. For example, the name of the property in error. </summary>
public string Target { get; internal set; }
public string Target { get; }
/// <summary> A list of additional details about the error. </summary>
public IList<CloudErrorBody> Details { get; internal set; }
public IList<CloudErrorBody> Details { get; }
}
}

Просмотреть файл

@ -12,18 +12,13 @@ namespace Azure.Storage.Management.Models
/// <summary> Specifies a CORS rule for the Blob service. </summary>
public partial class CorsRule
{
/// <summary> Initializes a new instance of CorsRule. </summary>
public CorsRule()
{
}
/// <summary> Initializes a new instance of CorsRule. </summary>
/// <param name="allowedOrigins"> Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or &quot;*&quot; to allow all domains. </param>
/// <param name="allowedMethods"> Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin. </param>
/// <param name="maxAgeInSeconds"> Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response. </param>
/// <param name="exposedHeaders"> Required if CorsRule element is present. A list of response headers to expose to CORS clients. </param>
/// <param name="allowedHeaders"> Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request. </param>
internal CorsRule(IList<string> allowedOrigins, IList<CorsRuleAllowedMethodsItem> allowedMethods, int maxAgeInSeconds, IList<string> exposedHeaders, IList<string> allowedHeaders)
public CorsRule(IList<string> allowedOrigins, IList<CorsRuleAllowedMethodsItem> allowedMethods, int maxAgeInSeconds, IList<string> exposedHeaders, IList<string> allowedHeaders)
{
AllowedOrigins = allowedOrigins;
AllowedMethods = allowedMethods;
@ -33,14 +28,14 @@ namespace Azure.Storage.Management.Models
}
/// <summary> Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or &quot;*&quot; to allow all domains. </summary>
public IList<string> AllowedOrigins { get; set; } = new List<string>();
public IList<string> AllowedOrigins { get; } = new List<string>();
/// <summary> Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin. </summary>
public IList<CorsRuleAllowedMethodsItem> AllowedMethods { get; set; } = new List<CorsRuleAllowedMethodsItem>();
public IList<CorsRuleAllowedMethodsItem> AllowedMethods { get; } = new List<CorsRuleAllowedMethodsItem>();
/// <summary> Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response. </summary>
public int MaxAgeInSeconds { get; set; }
public int MaxAgeInSeconds { get; }
/// <summary> Required if CorsRule element is present. A list of response headers to expose to CORS clients. </summary>
public IList<string> ExposedHeaders { get; set; } = new List<string>();
public IList<string> ExposedHeaders { get; } = new List<string>();
/// <summary> Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request. </summary>
public IList<string> AllowedHeaders { get; set; } = new List<string>();
public IList<string> AllowedHeaders { get; } = new List<string>();
}
}

Просмотреть файл

@ -11,8 +11,10 @@ namespace Azure.Storage.Management.Models
public partial class CustomDomain
{
/// <summary> Initializes a new instance of CustomDomain. </summary>
public CustomDomain()
/// <param name="name"> Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source. </param>
public CustomDomain(string name)
{
Name = name;
}
/// <summary> Initializes a new instance of CustomDomain. </summary>
@ -25,7 +27,7 @@ namespace Azure.Storage.Management.Models
}
/// <summary> Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source. </summary>
public string Name { get; set; }
public string Name { get; }
/// <summary> Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates. </summary>
public bool? UseSubDomainName { get; set; }
}

Просмотреть файл

@ -10,19 +10,14 @@ namespace Azure.Storage.Management.Models
/// <summary> Object to define the number of days after creation. </summary>
public partial class DateAfterCreation
{
/// <summary> Initializes a new instance of DateAfterCreation. </summary>
public DateAfterCreation()
{
}
/// <summary> Initializes a new instance of DateAfterCreation. </summary>
/// <param name="daysAfterCreationGreaterThan"> Value indicating the age in days after creation. </param>
internal DateAfterCreation(float daysAfterCreationGreaterThan)
public DateAfterCreation(float daysAfterCreationGreaterThan)
{
DaysAfterCreationGreaterThan = daysAfterCreationGreaterThan;
}
/// <summary> Value indicating the age in days after creation. </summary>
public float DaysAfterCreationGreaterThan { get; set; }
public float DaysAfterCreationGreaterThan { get; }
}
}

Просмотреть файл

@ -10,19 +10,14 @@ namespace Azure.Storage.Management.Models
/// <summary> Object to define the number of days after last modification. </summary>
public partial class DateAfterModification
{
/// <summary> Initializes a new instance of DateAfterModification. </summary>
public DateAfterModification()
{
}
/// <summary> Initializes a new instance of DateAfterModification. </summary>
/// <param name="daysAfterModificationGreaterThan"> Value indicating the age in days after last modification. </param>
internal DateAfterModification(float daysAfterModificationGreaterThan)
public DateAfterModification(float daysAfterModificationGreaterThan)
{
DaysAfterModificationGreaterThan = daysAfterModificationGreaterThan;
}
/// <summary> Value indicating the age in days after last modification. </summary>
public float DaysAfterModificationGreaterThan { get; set; }
public float DaysAfterModificationGreaterThan { get; }
}
}

Просмотреть файл

@ -25,8 +25,8 @@ namespace Azure.Storage.Management.Models
}
/// <summary> Display name of dimension. </summary>
public string Name { get; internal set; }
public string Name { get; }
/// <summary> Display name of dimension. </summary>
public string DisplayName { get; internal set; }
public string DisplayName { get; }
}
}

Просмотреть файл

@ -11,8 +11,10 @@ namespace Azure.Storage.Management.Models
public partial class Encryption
{
/// <summary> Initializes a new instance of Encryption. </summary>
public Encryption()
/// <param name="keySource"> The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. </param>
public Encryption(KeySource keySource)
{
KeySource = keySource;
}
/// <summary> Initializes a new instance of Encryption. </summary>
@ -29,7 +31,7 @@ namespace Azure.Storage.Management.Models
/// <summary> List of services which support encryption. </summary>
public EncryptionServices Services { get; set; }
/// <summary> The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. </summary>
public KeySource KeySource { get; set; }
public KeySource KeySource { get; }
/// <summary> Properties provided by key vault. </summary>
public KeyVaultProperties KeyVaultProperties { get; set; }
}

Просмотреть файл

@ -40,9 +40,9 @@ namespace Azure.Storage.Management.Models
/// <summary> The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. </summary>
public EncryptionScopeState? State { get; set; }
/// <summary> Gets the creation date and time of the encryption scope in UTC. </summary>
public DateTimeOffset? CreationTime { get; internal set; }
public DateTimeOffset? CreationTime { get; }
/// <summary> Gets the last modification date and time of the encryption scope in UTC. </summary>
public DateTimeOffset? LastModifiedTime { get; internal set; }
public DateTimeOffset? LastModifiedTime { get; }
/// <summary> The key vault properties for the encryption scope. This is a required field if encryption scope &apos;source&apos; attribute is set to &apos;Microsoft.KeyVault&apos;. </summary>
public EncryptionScopeKeyVaultProperties KeyVaultProperties { get; set; }
}

Просмотреть файл

@ -27,8 +27,8 @@ namespace Azure.Storage.Management.Models
}
/// <summary> List of encryption scopes requested. </summary>
public IList<EncryptionScope> Value { get; internal set; }
public IList<EncryptionScope> Value { get; }
/// <summary> Request URL that can be used to query next page of encryption scopes. Returned when total number of requested encryption scopes exceeds the maximum page size. </summary>
public string NextLink { get; internal set; }
public string NextLink { get; }
}
}

Просмотреть файл

@ -31,7 +31,7 @@ namespace Azure.Storage.Management.Models
/// <summary> A boolean indicating whether or not the service encrypts the data as it is stored. </summary>
public bool? Enabled { get; set; }
/// <summary> Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate. </summary>
public DateTimeOffset? LastEnabledTime { get; internal set; }
public DateTimeOffset? LastEnabledTime { get; }
/// <summary> Encryption key type to be used for the encryption service. &apos;Account&apos; key type implies that an account-scoped encryption key will be used. &apos;Service&apos; key type implies that a default service key is used. </summary>
public KeyType? KeyType { get; set; }
}

Просмотреть файл

@ -37,17 +37,17 @@ namespace Azure.Storage.Management.Models
}
/// <summary> Gets the blob endpoint. </summary>
public string Blob { get; internal set; }
public string Blob { get; }
/// <summary> Gets the queue endpoint. </summary>
public string Queue { get; internal set; }
public string Queue { get; }
/// <summary> Gets the table endpoint. </summary>
public string Table { get; internal set; }
public string Table { get; }
/// <summary> Gets the file endpoint. </summary>
public string File { get; internal set; }
public string File { get; }
/// <summary> Gets the web endpoint. </summary>
public string Web { get; internal set; }
public string Web { get; }
/// <summary> Gets the dfs endpoint. </summary>
public string Dfs { get; internal set; }
public string Dfs { get; }
/// <summary> Gets the microsoft routing storage endpoints. </summary>
public StorageAccountMicrosoftEndpoints MicrosoftEndpoints { get; set; }
/// <summary> Gets the internet routing storage endpoints. </summary>

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше