-
Notifications
You must be signed in to change notification settings - Fork 241
/
azure.search.documents.indexes.models.SearchServiceCounters.yml
190 lines (177 loc) · 7.42 KB
/
azure.search.documents.indexes.models.SearchServiceCounters.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
### YamlMime:PythonClass
uid: azure.search.documents.indexes.models.SearchServiceCounters
name: SearchServiceCounters
fullName: azure.search.documents.indexes.models.SearchServiceCounters
module: azure.search.documents.indexes.models
inheritances:
- azure.search.documents.indexes._generated._serialization.Model
summary: 'Represents service-level resource counters and quotas.
All required parameters must be populated in order to send to server.'
constructor:
syntax: 'SearchServiceCounters(*, document_counter: _models.ResourceCounter, index_counter:
_models.ResourceCounter, indexer_counter: _models.ResourceCounter, data_source_counter:
_models.ResourceCounter, storage_size_counter: _models.ResourceCounter, synonym_map_counter:
_models.ResourceCounter, skillset_counter: _models.ResourceCounter, vector_index_size_counter:
_models.ResourceCounter, **kwargs: Any)'
keywordOnlyParameters:
- name: document_counter
description: 'Total number of documents across all indexes in the service.
Required.'
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- name: index_counter
description: Total number of indexes. Required.
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- name: indexer_counter
description: Total number of indexers. Required.
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- name: data_source_counter
description: Total number of data sources. Required.
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- name: storage_size_counter
description: Total size of used storage in bytes. Required.
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- name: synonym_map_counter
description: Total number of synonym maps. Required.
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- name: skillset_counter
description: Total number of skillsets. Required.
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- name: vector_index_size_counter
description: 'Total memory consumption of all vector indexes within the
service, in bytes. Required.'
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
variables:
- description: Total number of documents across all indexes in the service. Required.
name: document_counter
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- description: Total number of indexes. Required.
name: index_counter
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- description: Total number of indexers. Required.
name: indexer_counter
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- description: Total number of data sources. Required.
name: data_source_counter
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- description: Total size of used storage in bytes. Required.
name: storage_size_counter
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- description: Total number of synonym maps. Required.
name: synonym_map_counter
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- description: Total number of skillsets. Required.
name: skillset_counter
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
- description: 'Total memory consumption of all vector indexes within the
service, in bytes. Required.'
name: vector_index_size_counter
types:
- <xref:azure.search.documents.indexes.models.ResourceCounter>
methods:
- uid: azure.search.documents.indexes.models.SearchServiceCounters.as_dict
name: as_dict
summary: "Return a dict that can be serialized using json.dump.\n\nAdvanced usage\
\ might optionally use a callback as parameter:\n\nKey is the attribute name used\
\ in Python. Attr_desc\nis a dict of metadata. Currently contains 'type' with\
\ the\nmsrest type and 'key' with the RestAPI encoded key.\nValue is the current\
\ value in this object.\n\nThe string returned will be used to serialize the key.\n\
If the return type is a list, this is considered hierarchical\nresult dict.\n\n\
See the three examples in this file:\n\n* attribute_transformer \n\n* full_restapi_key_transformer\
\ \n\n* last_restapi_key_transformer \n\nIf you want XML serialization, you can\
\ pass the kwargs is_xml=True."
signature: 'as_dict(keep_readonly: bool = True, key_transformer: ~typing.Callable[[str,
~typing.Dict[str, ~typing.Any], ~typing.Any], ~typing.Any] = <function attribute_transformer>,
**kwargs: ~typing.Any) -> MutableMapping[str, Any]'
parameters:
- name: key_transformer
description: A key transformer function.
types:
- <xref:function>
- name: keep_readonly
defaultValue: 'True'
return:
description: A dict JSON compatible object
types:
- <xref:dict>
- uid: azure.search.documents.indexes.models.SearchServiceCounters.deserialize
name: deserialize
summary: Parse a str using the RestAPI syntax and return a model.
signature: 'deserialize(data: Any, content_type: str | None = None) -> ModelType'
parameters:
- name: data
description: A str using RestAPI structure. JSON by default.
isRequired: true
types:
- <xref:str>
- name: content_type
description: JSON by default, set application/xml if XML.
defaultValue: None
types:
- <xref:str>
return:
description: An instance of this model
exceptions:
- type: DeserializationError if something went wrong
- uid: azure.search.documents.indexes.models.SearchServiceCounters.enable_additional_properties_sending
name: enable_additional_properties_sending
signature: enable_additional_properties_sending() -> None
- uid: azure.search.documents.indexes.models.SearchServiceCounters.from_dict
name: from_dict
summary: 'Parse a dict using given key extractor return a model.
By default consider key
extractors (rest_key_case_insensitive_extractor, attribute_key_case_insensitive_extractor
and last_rest_key_case_insensitive_extractor)'
signature: 'from_dict(data: Any, key_extractors: Callable[[str, Dict[str, Any],
Any], Any] | None = None, content_type: str | None = None) -> ModelType'
parameters:
- name: data
description: A dict using RestAPI structure
isRequired: true
types:
- <xref:dict>
- name: content_type
description: JSON by default, set application/xml if XML.
defaultValue: None
types:
- <xref:str>
- name: key_extractors
defaultValue: None
return:
description: An instance of this model
exceptions:
- type: DeserializationError if something went wrong
- uid: azure.search.documents.indexes.models.SearchServiceCounters.is_xml_model
name: is_xml_model
signature: is_xml_model() -> bool
- uid: azure.search.documents.indexes.models.SearchServiceCounters.serialize
name: serialize
summary: 'Return the JSON that would be sent to server from this model.
This is an alias to *as_dict(full_restapi_key_transformer, keep_readonly=False)*.
If you want XML serialization, you can pass the kwargs is_xml=True.'
signature: 'serialize(keep_readonly: bool = False, **kwargs: Any) -> MutableMapping[str,
Any]'
parameters:
- name: keep_readonly
description: If you want to serialize the readonly attributes
defaultValue: 'False'
types:
- <xref:bool>
return:
description: A dict JSON compatible object
types:
- <xref:dict>