Office365-REST-Python-Client 3.1.0__py3-none-any.whl → 3.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- office365/communications/callrecords/call_record.py +18 -0
- office365/communications/calls/call.py +3 -0
- office365/communications/presences/presence.py +3 -0
- office365/communications/quotas.py +66 -0
- office365/communications/virtualevents/virtual_event.py +3 -0
- office365/directory/domains/domain.py +3 -0
- office365/directory/licenses/subscribed_sku.py +3 -0
- office365/directory/objects/object.py +3 -0
- office365/directory/quotas.py +34 -0
- office365/entity_collection.py +2 -2
- office365/graph_client.py +46 -2
- office365/limits.py +66 -0
- office365/migration/__init__.py +6 -1
- office365/migration/adapters/__init__.py +14 -4
- office365/migration/adapters/filesystem.py +4 -1
- office365/migration/assessment/export.py +5 -5
- office365/migration/assessment/issue.py +19 -0
- office365/migration/assessment/report.py +11 -0
- office365/migration/assessment/scanners/base.py +37 -49
- office365/migration/base.py +33 -8
- office365/migration/checkpoint.py +1 -1
- office365/migration/outlook/assessor.py +4 -4
- office365/migration/package/__init__.py +82 -0
- office365/migration/package/builder.py +603 -0
- office365/migration/package/crypto.py +54 -0
- office365/migration/package/manifest_xml.py +495 -0
- office365/migration/package/staging.py +180 -0
- office365/migration/report.py +7 -2
- office365/migration/report_io.py +79 -0
- office365/migration/runner.py +117 -10
- office365/migration/server_job.py +126 -14
- office365/migration/session.py +132 -49
- office365/migration/settings.py +67 -0
- office365/migration/sharepoint/__init__.py +2 -0
- office365/migration/sharepoint/adapters.py +207 -41
- office365/migration/sharepoint/assessor.py +45 -9
- office365/migration/sharepoint/options.py +57 -0
- office365/migration/sharepoint/package_target.py +209 -0
- office365/migration/sharepoint/registry.py +22 -0
- office365/migration/sharepoint/resolvers.py +96 -0
- office365/migration/sharepoint/scanners/__init__.py +29 -0
- office365/migration/sharepoint/scanners/browser_file_handling.py +55 -0
- office365/migration/sharepoint/scanners/checked_out_files.py +57 -0
- office365/migration/sharepoint/scanners/file_versions.py +56 -0
- office365/migration/sharepoint/scanners/files.py +5 -2
- office365/migration/sharepoint/scanners/large_excel_files.py +56 -0
- office365/migration/sharepoint/scanners/large_lists.py +58 -0
- office365/migration/sharepoint/scanners/large_sites.py +4 -3
- office365/migration/sharepoint/scanners/long_onedrive_urls.py +52 -0
- office365/migration/sharepoint/scanners/lookup.py +38 -0
- office365/migration/sharepoint/scanners/paths.py +9 -4
- office365/migration/sharepoint/scanners/permissions.py +20 -2
- office365/migration/sharepoint/scanners/smat.py +51 -0
- office365/migration/sharepoint/scanners/summary.py +1 -0
- office365/migration/sharepoint/scanners/thicket_folders.py +38 -0
- office365/migration/sharepoint/scanners/unsupported_site_templates.py +90 -0
- office365/migration/sharepoint/tenant_assessor.py +5 -3
- office365/migration/sharepoint/transfer.py +4 -2
- office365/migration/tasks.py +121 -0
- office365/migration/validators.py +2 -19
- office365/onedrive/driveitems/driveItem.py +116 -12
- office365/onedrive/termstore/groups/collection.py +2 -9
- office365/onedrive/termstore/sets/collection.py +2 -9
- office365/onedrive/termstore/terms/collection.py +3 -10
- office365/onedrive/workbooks/workbook.py +7 -0
- office365/outlook/contacts/folders/collection.py +4 -13
- office365/runtime/auth/authentication_context.py +5 -0
- office365/runtime/client_object.py +18 -0
- office365/runtime/client_object_collection.py +75 -245
- office365/runtime/client_request.py +77 -1
- office365/runtime/client_request_exception.py +127 -39
- office365/runtime/client_runtime_context.py +79 -8
- office365/runtime/converters/csv_writer.py +10 -4
- office365/runtime/converters/dataframe.py +84 -4
- office365/runtime/converters/json_file.py +12 -3
- office365/runtime/converters/parquet.py +67 -0
- office365/runtime/converters/records.py +31 -12
- office365/runtime/converters/registry.py +185 -0
- office365/runtime/converters/scalars.py +31 -0
- office365/runtime/converters/sql.py +69 -0
- office365/runtime/converters/streamers.py +105 -0
- office365/runtime/converters/streams.py +42 -0
- office365/runtime/converters/upsert.py +101 -0
- office365/runtime/exceptions.py +105 -0
- office365/runtime/http/prefer.py +26 -0
- office365/runtime/http/throttling.py +258 -56
- office365/runtime/imports.py +571 -0
- office365/runtime/limits.py +455 -0
- office365/runtime/odata/request.py +11 -2
- office365/runtime/odata/type.py +1 -0
- office365/runtime/odata/v3/batch_request.py +4 -2
- office365/runtime/odata/v4/batch_request.py +22 -7
- office365/runtime/operations.py +29 -0
- office365/runtime/parallel.py +12 -14
- office365/runtime/paths/v4/entity.py +2 -2
- office365/runtime/queries/batch.py +18 -1
- office365/runtime/queries/get_or_create.py +109 -0
- office365/runtime/record_collection.py +443 -0
- office365/runtime/retry.py +92 -26
- office365/runtime/transport/base.py +6 -1
- office365/runtime/transport/requests_transport.py +4 -0
- office365/runtime/transport/throttled_transport.py +67 -0
- office365/runtime/verification.py +40 -0
- office365/sharepoint/activities/logger.py +118 -8
- office365/sharepoint/administration/analytics/usage_service.py +15 -7
- office365/sharepoint/administration/sitemove/service.py +791 -8
- office365/sharepoint/alerts/alert.py +79 -0
- office365/sharepoint/apps/app_collection.py +25 -0
- office365/sharepoint/apps/launcher.py +16 -0
- office365/sharepoint/authpolicy/tenant/compliancereport.py +5 -0
- office365/sharepoint/businessdata/app_bdc_catalog.py +135 -0
- office365/sharepoint/businessdata/entityfieldvaluedictionary.py +65 -0
- office365/sharepoint/businessdata/entityidentifier.py +23 -0
- office365/sharepoint/businessdata/entityinstance.py +52 -0
- office365/sharepoint/businessdata/entityview.py +31 -0
- office365/sharepoint/businessdata/externalsubscriptionstore.py +9 -0
- office365/sharepoint/businessdata/typedescriptor.py +37 -0
- office365/sharepoint/client_context.py +40 -23
- office365/sharepoint/clientsidecomponent/hostedapps/app.py +21 -0
- office365/sharepoint/clientsidecomponent/hostedapps/manager.py +16 -0
- office365/sharepoint/comments/comment.py +84 -2
- office365/sharepoint/contentcenter/machinelearning/models/model.py +0 -23
- office365/sharepoint/contentcenter/machinelearning/publications/publication.py +0 -9
- office365/sharepoint/contentcenter/machinelearning/samples/sample.py +0 -14
- office365/sharepoint/contentcenter/machinelearning/workitems/item.py +0 -80
- office365/sharepoint/contentsolution/template_api.py +148 -0
- office365/sharepoint/contenttypes/collection.py +32 -10
- office365/sharepoint/convergence/addnoliveblobsinodcservicestateapi.py +9 -0
- office365/sharepoint/convergence/consumer_permissions.py +15 -0
- office365/sharepoint/convergence/migration_complete_state_api.py +25 -0
- office365/sharepoint/convergence/odcmetadatacleanedupapi.py +9 -0
- office365/sharepoint/documentmanagement/document_id.py +12 -0
- office365/sharepoint/entity.py +11 -2
- office365/sharepoint/entity_collection.py +2 -2
- office365/sharepoint/exceptions.py +194 -0
- office365/sharepoint/fields/builtin_field_id.py +45 -34
- office365/sharepoint/fields/builtin_field_name.py +123 -0
- office365/sharepoint/fields/coercion.py +131 -0
- office365/sharepoint/fields/collection.py +54 -37
- office365/sharepoint/fields/field.py +17 -0
- office365/sharepoint/fields/name.py +46 -2
- office365/sharepoint/files/collection.py +7 -1
- office365/sharepoint/files/file.py +54 -8
- office365/sharepoint/files/versions/version.py +38 -13
- office365/sharepoint/folders/collection.py +4 -0
- office365/sharepoint/folders/folder.py +91 -21
- office365/sharepoint/htmlpages/html_page.py +16 -0
- office365/sharepoint/htmlpages/html_page_service.py +19 -0
- office365/sharepoint/ir/migration.py +9 -0
- office365/sharepoint/listitems/caml/__init__.py +31 -0
- office365/sharepoint/listitems/caml/builder.py +129 -0
- office365/sharepoint/listitems/caml/expressions.py +424 -0
- office365/sharepoint/listitems/caml/fields.py +68 -0
- office365/sharepoint/listitems/caml/guard.py +63 -0
- office365/sharepoint/listitems/caml/query.py +71 -2
- office365/sharepoint/listitems/caml/values.py +113 -0
- office365/sharepoint/listitems/collection.py +21 -20
- office365/sharepoint/listitems/upsert.py +75 -0
- office365/sharepoint/lists/collection.py +29 -22
- office365/sharepoint/lists/exporter.py +4 -3
- office365/sharepoint/lists/list.py +397 -39
- office365/sharepoint/lists/smart_wiki_library_utility.py +58 -0
- office365/sharepoint/logger/export.py +12 -0
- office365/sharepoint/marketplace/app_metadata.py +97 -1
- office365/sharepoint/marketplace/appstatequeryjobdefinition.py +9 -0
- office365/sharepoint/marketplace/corporatecuratedgallery/carddesigns/card_designs.py +35 -0
- office365/sharepoint/marketplace/sitecollection/appcatalog/allowed_item.py +5 -0
- office365/sharepoint/marketplace/tenant/appcatalog/accessor.py +107 -30
- office365/sharepoint/microfeed/data.py +0 -6
- office365/sharepoint/microservice/manager.py +61 -0
- office365/sharepoint/migrationcenter/common/task.py +193 -4
- office365/sharepoint/migrationcenter/common/task_entity_data.py +1 -1
- office365/sharepoint/migrationcenter/deploy_status.py +13 -0
- office365/sharepoint/migrationcenter/service/properties.py +20 -0
- office365/sharepoint/migrationcenter/service/storage.py +34 -0
- office365/sharepoint/migrationcenter/spflight.py +13 -0
- office365/sharepoint/migrationcenter/urlparseresult.py +77 -0
- office365/sharepoint/multigeo/service/spmultigeoproxy.py +13 -0
- office365/sharepoint/navigation/servicerest.py +127 -0
- office365/sharepoint/oauth/authentication.py +13 -0
- office365/sharepoint/portal/theme_manager.py +120 -8
- office365/sharepoint/principal/users/user.py +10 -0
- office365/sharepoint/publishing/campaign/campaign.py +36 -1
- office365/sharepoint/publishing/feedvideopage.py +0 -7
- office365/sharepoint/publishing/pages/3d/page.py +0 -6
- office365/sharepoint/publishing/pages/page.py +0 -117
- office365/sharepoint/publishing/pages/reposts/repost.py +0 -7
- office365/sharepoint/publishing/pages/topics/topic.py +0 -7
- office365/sharepoint/publishing/subtitlefile.py +0 -40
- office365/sharepoint/quotamanagement/consumer/consumer_quota_info_api.py +14 -0
- office365/sharepoint/quotamanagement/consumer/non_quota_backfill_api.py +23 -0
- office365/sharepoint/quotamanagement/consumer/nonquotamigrationapi.py +9 -0
- office365/sharepoint/quotamanagement/consumer/quotamigrationapi.py +13 -0
- office365/sharepoint/request.py +57 -16
- office365/sharepoint/search/administration/document_crawl_log.py +24 -7
- office365/sharepoint/search/administration/providers/crawl_versions_info.py +29 -0
- office365/sharepoint/search/administration/providers/recycle_bin_info.py +23 -0
- office365/sharepoint/search/administration/providers/site_content_processing_info.py +67 -0
- office365/sharepoint/sites/site.py +976 -65
- office365/sharepoint/sites/siteprovisioninginfoprovider.py +13 -0
- office365/sharepoint/tenant/administration/datagovernance/insight_client.py +292 -23
- office365/sharepoint/tenant/administration/ddiadapter.py +97 -0
- office365/sharepoint/tenant/administration/internal/aad/collection.py +20 -0
- office365/sharepoint/tenant/administration/internal/aad/permission_grant.py +0 -19
- office365/sharepoint/tenant/administration/internal/appservice/permission_request.py +72 -1
- office365/sharepoint/tenant/administration/internal/appservice/principal.py +1 -3
- office365/sharepoint/tenant/administration/odb_license_enforcement_service.py +26 -0
- office365/sharepoint/tenant/administration/sites/properties.py +564 -6
- office365/sharepoint/tenant/administration/spdatagovernancesarrestapiclient.py +60 -1
- office365/sharepoint/tenant/insights/reports/manager.py +24 -12
- office365/sharepoint/tenant/management/office365_tenant.py +451 -2
- office365/sharepoint/tenantadministration/catalog_management_collection.py +69 -0
- office365/sharepoint/tenantadministration/catalog_management_custom_properties_collection.py +237 -0
- office365/sharepoint/tenantadministration/catalog_management_restricted_content_discovery_collection.py +56 -0
- office365/sharepoint/tenantadministration/sp_data_governance_client_exception.py +7 -0
- office365/sharepoint/thresholds.py +529 -0
- office365/sharepoint/translation/jobs/job.py +72 -2
- office365/sharepoint/translation/jobs/status.py +47 -9
- office365/sharepoint/translation/sync_translator.py +15 -2
- office365/sharepoint/utilities/move_copy_util.py +2 -1
- office365/sharepoint/viva/connections/page.py +27 -0
- office365/sharepoint/viva/home.py +38 -0
- office365/sharepoint/viva/learningmanager.py +9 -0
- office365/sharepoint/viva/vivaresources.py +60 -0
- office365/sharepoint/webhooks/subscription.py +0 -11
- office365/sharepoint/webparts/definitions/definition.py +13 -0
- office365/sharepoint/webparts/limited_manager.py +29 -7
- office365/sharepoint/webs/context_web_information.py +14 -9
- office365/sharepoint/webs/templates/__init__.py +11 -0
- office365/sharepoint/webs/templates/type.py +74 -15
- office365/sharepoint/workflow/definition.py +6 -0
- office365/sharepoint/workflow/deployment_service.py +155 -0
- office365/sharepoint/workflow/instances/service.py +33 -0
- office365/sharepoint/workflow/interopservice.py +68 -0
- office365/sharepoint/workflow/messagingservice.py +24 -0
- office365/sharepoint/workflow/servicesmanager.py +41 -2
- office365/sharepoint/workflow/subscriptions/service.py +67 -0
- office365/sharepoint/workflow/subscriptions/subscription.py +31 -0
- office365/sharepoint/workflow/task.py +425 -0
- office365_rest_python_client-3.2.0.dist-info/METADATA +605 -0
- {office365_rest_python_client-3.1.0.dist-info → office365_rest_python_client-3.2.0.dist-info}/RECORD +242 -185
- office365/migration/_util.py +0 -73
- office365/sharepoint/listitems/caml/types.py +0 -70
- office365_rest_python_client-3.1.0.dist-info/METADATA +0 -475
- {office365_rest_python_client-3.1.0.dist-info → office365_rest_python_client-3.2.0.dist-info}/WHEEL +0 -0
|
@@ -2,12 +2,13 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
from typing import TYPE_CHECKING, Optional
|
|
4
4
|
|
|
5
|
+
from typing_extensions import Self
|
|
6
|
+
|
|
5
7
|
from office365.runtime.client_result import ClientResult
|
|
6
8
|
from office365.runtime.paths.service_operation import ServiceOperationPath
|
|
7
9
|
from office365.runtime.queries.service_operation import ServiceOperationQuery
|
|
8
|
-
from office365.
|
|
9
|
-
|
|
10
|
-
)
|
|
10
|
+
from office365.runtime.types.collections import StringCollection
|
|
11
|
+
from office365.sharepoint.administration.sitemove.systemsitelockexpres import SystemSiteLockExpirationResult
|
|
11
12
|
from office365.sharepoint.entity import Entity
|
|
12
13
|
|
|
13
14
|
if TYPE_CHECKING:
|
|
@@ -47,17 +48,799 @@ class SiteMoveService(Entity):
|
|
|
47
48
|
"lockType": lock_type,
|
|
48
49
|
"leaseDurationInMinutes": lease_duration_in_minutes,
|
|
49
50
|
}
|
|
51
|
+
qry = ServiceOperationQuery(self, "AcquireSystemSiteLock", None, payload, None, return_type)
|
|
52
|
+
self.context.add_query(qry)
|
|
53
|
+
return return_type
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def entity_type_name(self):
|
|
57
|
+
return "Microsoft.SharePoint.Administration.SiteMove.Service.SiteMoveService"
|
|
58
|
+
|
|
59
|
+
def apply_replica_site_map_for_move(self) -> ClientResult[int]:
|
|
60
|
+
"""ApplyReplicaSiteMapForMove operation."""
|
|
61
|
+
return_type = ClientResult(self.context, int())
|
|
62
|
+
qry = ServiceOperationQuery(self, "ApplyReplicaSiteMapForMove", None, {}, None, return_type)
|
|
63
|
+
self.context.add_query(qry)
|
|
64
|
+
return return_type
|
|
65
|
+
|
|
66
|
+
def check_sp_site_content_database(self, site_id: str) -> ClientResult[bool]:
|
|
67
|
+
"""CheckSPSiteContentDatabase operation.
|
|
68
|
+
|
|
69
|
+
Args:
|
|
70
|
+
site_id (UUID): siteId parameter
|
|
71
|
+
"""
|
|
72
|
+
return_type = ClientResult(self.context, bool())
|
|
73
|
+
qry = ServiceOperationQuery(self, "CheckSPSiteContentDatabase", None, {"siteId": site_id}, None, return_type)
|
|
74
|
+
self.context.add_query(qry)
|
|
75
|
+
return return_type
|
|
76
|
+
|
|
77
|
+
def clear_site_relocation_marker(self) -> Self:
|
|
78
|
+
"""ClearSiteRelocationMarker operation."""
|
|
79
|
+
qry = ServiceOperationQuery(self, "ClearSiteRelocationMarker", None, {}, None, None)
|
|
80
|
+
self.context.add_query(qry)
|
|
81
|
+
return self
|
|
82
|
+
|
|
83
|
+
def extend_system_site_lock_expiration(
|
|
84
|
+
self, lease_duration_in_minute: int
|
|
85
|
+
) -> ClientResult[SystemSiteLockExpirationResult]:
|
|
86
|
+
"""ExtendSystemSiteLockExpiration operation.
|
|
87
|
+
|
|
88
|
+
Args:
|
|
89
|
+
lease_duration_in_minute (int): leaseDurationInMinute parameter
|
|
90
|
+
"""
|
|
91
|
+
return_type = ClientResult(self.context, SystemSiteLockExpirationResult())
|
|
50
92
|
qry = ServiceOperationQuery(
|
|
51
93
|
self,
|
|
52
|
-
"
|
|
94
|
+
"ExtendSystemSiteLockExpiration",
|
|
53
95
|
None,
|
|
54
|
-
|
|
96
|
+
{"leaseDurationInMinute": lease_duration_in_minute},
|
|
55
97
|
None,
|
|
56
98
|
return_type,
|
|
57
99
|
)
|
|
58
100
|
self.context.add_query(qry)
|
|
59
101
|
return return_type
|
|
60
102
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
103
|
+
def get_all_docs_incremental_rows(self, serialized_document_ids: str) -> ClientResult[str]:
|
|
104
|
+
"""GetAllDocsIncrementalRows operation.
|
|
105
|
+
|
|
106
|
+
Args:
|
|
107
|
+
serialized_document_ids (str): serializedDocumentIds parameter
|
|
108
|
+
"""
|
|
109
|
+
return_type = ClientResult(self.context, str())
|
|
110
|
+
qry = ServiceOperationQuery(
|
|
111
|
+
self,
|
|
112
|
+
"GetAllDocsIncrementalRows",
|
|
113
|
+
None,
|
|
114
|
+
{"serializedDocumentIds": serialized_document_ids},
|
|
115
|
+
None,
|
|
116
|
+
return_type,
|
|
117
|
+
)
|
|
118
|
+
self.context.add_query(qry)
|
|
119
|
+
return return_type
|
|
120
|
+
|
|
121
|
+
def get_all_docs_incremental_rows_stream(self, serialized_document_ids: str) -> ClientResult[bytes]:
|
|
122
|
+
"""GetAllDocsIncrementalRowsStream operation.
|
|
123
|
+
|
|
124
|
+
Args:
|
|
125
|
+
serialized_document_ids (str): serializedDocumentIds parameter
|
|
126
|
+
"""
|
|
127
|
+
return_type = ClientResult(self.context, bytes())
|
|
128
|
+
qry = ServiceOperationQuery(
|
|
129
|
+
self,
|
|
130
|
+
"GetAllDocsIncrementalRowsStream",
|
|
131
|
+
None,
|
|
132
|
+
{"serializedDocumentIds": serialized_document_ids},
|
|
133
|
+
None,
|
|
134
|
+
return_type,
|
|
135
|
+
)
|
|
136
|
+
self.context.add_query(qry)
|
|
137
|
+
return return_type
|
|
138
|
+
|
|
139
|
+
def get_all_sites_deleted_and_bit_flags(self) -> ClientResult[str]:
|
|
140
|
+
"""GetAllSitesDeletedAndBitFlags operation."""
|
|
141
|
+
return_type = ClientResult(self.context, str())
|
|
142
|
+
qry = ServiceOperationQuery(self, "GetAllSitesDeletedAndBitFlags", None, {}, None, return_type)
|
|
143
|
+
self.context.add_query(qry)
|
|
144
|
+
return return_type
|
|
145
|
+
|
|
146
|
+
def get_app_principals_for_site_xml(self) -> ClientResult[str]:
|
|
147
|
+
"""GetAppPrincipalsForSiteXml operation."""
|
|
148
|
+
return_type = ClientResult(self.context, str())
|
|
149
|
+
qry = ServiceOperationQuery(self, "GetAppPrincipalsForSiteXml", None, {}, None, return_type)
|
|
150
|
+
self.context.add_query(qry)
|
|
151
|
+
return return_type
|
|
152
|
+
|
|
153
|
+
def get_blob_deletion_hold_until(self) -> ClientResult[str]:
|
|
154
|
+
"""GetBlobDeletionHoldUntil operation."""
|
|
155
|
+
return_type = ClientResult(self.context, str())
|
|
156
|
+
qry = ServiceOperationQuery(self, "GetBlobDeletionHoldUntil", None, {}, None, return_type)
|
|
157
|
+
self.context.add_query(qry)
|
|
158
|
+
return return_type
|
|
159
|
+
|
|
160
|
+
def get_cps_change_token(self) -> ClientResult[int]:
|
|
161
|
+
"""GetCPSChangeToken operation."""
|
|
162
|
+
return_type = ClientResult(self.context, int())
|
|
163
|
+
qry = ServiceOperationQuery(self, "GetCPSChangeToken", None, {}, None, return_type)
|
|
164
|
+
self.context.add_query(qry)
|
|
165
|
+
return return_type
|
|
166
|
+
|
|
167
|
+
def get_cps_site_delete_reason(self) -> ClientResult[int]:
|
|
168
|
+
"""GetCPSSiteDeleteReason operation."""
|
|
169
|
+
return_type = ClientResult(self.context, int())
|
|
170
|
+
qry = ServiceOperationQuery(self, "GetCPSSiteDeleteReason", None, {}, None, return_type)
|
|
171
|
+
self.context.add_query(qry)
|
|
172
|
+
return return_type
|
|
173
|
+
|
|
174
|
+
def get_crawl_queue_batch_count(self, include_crawl_url_join: bool) -> ClientResult[int]:
|
|
175
|
+
"""GetCrawlQueueBatchCount operation.
|
|
176
|
+
|
|
177
|
+
Args:
|
|
178
|
+
include_crawl_url_join (bool): includeCrawlUrlJoin parameter
|
|
179
|
+
"""
|
|
180
|
+
return_type = ClientResult(self.context, int())
|
|
181
|
+
qry = ServiceOperationQuery(
|
|
182
|
+
self, "GetCrawlQueueBatchCount", None, {"includeCrawlUrlJoin": include_crawl_url_join}, None, return_type
|
|
183
|
+
)
|
|
184
|
+
self.context.add_query(qry)
|
|
185
|
+
return return_type
|
|
186
|
+
|
|
187
|
+
def get_database_properties(self) -> ClientResult[str]:
|
|
188
|
+
"""GetDatabaseProperties operation."""
|
|
189
|
+
return_type = ClientResult(self.context, str())
|
|
190
|
+
qry = ServiceOperationQuery(self, "GetDatabaseProperties", None, {}, None, return_type)
|
|
191
|
+
self.context.add_query(qry)
|
|
192
|
+
return return_type
|
|
193
|
+
|
|
194
|
+
def get_data_chunk(self, table_name: str, schema_name: str) -> ClientResult[str]:
|
|
195
|
+
"""GetDataChunk operation.
|
|
196
|
+
|
|
197
|
+
Args:
|
|
198
|
+
table_name (str): tableName parameter
|
|
199
|
+
schema_name (str): schemaName parameter
|
|
200
|
+
"""
|
|
201
|
+
return_type = ClientResult(self.context, str())
|
|
202
|
+
qry = ServiceOperationQuery(
|
|
203
|
+
self, "GetDataChunk", None, {"tableName": table_name, "schemaName": schema_name}, None, return_type
|
|
204
|
+
)
|
|
205
|
+
self.context.add_query(qry)
|
|
206
|
+
return return_type
|
|
207
|
+
|
|
208
|
+
def get_data_chunks(self) -> ClientResult[str]:
|
|
209
|
+
"""GetDataChunks operation."""
|
|
210
|
+
return_type = ClientResult(self.context, str())
|
|
211
|
+
qry = ServiceOperationQuery(self, "GetDataChunks", None, {}, None, return_type)
|
|
212
|
+
self.context.add_query(qry)
|
|
213
|
+
return return_type
|
|
214
|
+
|
|
215
|
+
def get_data_chunks_iterator(self) -> ClientResult[str]:
|
|
216
|
+
"""GetDataChunksIterator operation."""
|
|
217
|
+
return_type = ClientResult(self.context, str())
|
|
218
|
+
qry = ServiceOperationQuery(self, "GetDataChunksIterator", None, {}, None, return_type)
|
|
219
|
+
self.context.add_query(qry)
|
|
220
|
+
return return_type
|
|
221
|
+
|
|
222
|
+
def get_data_chunks_iterator_stream(self) -> ClientResult[bytes]:
|
|
223
|
+
"""GetDataChunksIteratorStream operation."""
|
|
224
|
+
return_type = ClientResult(self.context, bytes())
|
|
225
|
+
qry = ServiceOperationQuery(self, "GetDataChunksIteratorStream", None, {}, None, return_type)
|
|
226
|
+
self.context.add_query(qry)
|
|
227
|
+
return return_type
|
|
228
|
+
|
|
229
|
+
def get_data_reader(self, sql_command_text: str) -> ClientResult[str]:
|
|
230
|
+
"""GetDataReader operation.
|
|
231
|
+
|
|
232
|
+
Args:
|
|
233
|
+
sql_command_text (str): sqlCommandText parameter
|
|
234
|
+
"""
|
|
235
|
+
return_type = ClientResult(self.context, str())
|
|
236
|
+
qry = ServiceOperationQuery(self, "GetDataReader", None, {"sqlCommandText": sql_command_text}, None, return_type)
|
|
237
|
+
self.context.add_query(qry)
|
|
238
|
+
return return_type
|
|
239
|
+
|
|
240
|
+
def get_data_reader_stream(self, sql_command_text: str) -> ClientResult[bytes]:
|
|
241
|
+
"""GetDataReaderStream operation.
|
|
242
|
+
|
|
243
|
+
Args:
|
|
244
|
+
sql_command_text (str): sqlCommandText parameter
|
|
245
|
+
"""
|
|
246
|
+
return_type = ClientResult(self.context, bytes())
|
|
247
|
+
qry = ServiceOperationQuery(
|
|
248
|
+
self, "GetDataReaderStream", None, {"sqlCommandText": sql_command_text}, None, return_type
|
|
249
|
+
)
|
|
250
|
+
self.context.add_query(qry)
|
|
251
|
+
return return_type
|
|
252
|
+
|
|
253
|
+
def get_db_activities(self) -> ClientResult[str]:
|
|
254
|
+
"""GetDBActivities operation."""
|
|
255
|
+
return_type = ClientResult(self.context, str())
|
|
256
|
+
qry = ServiceOperationQuery(self, "GetDBActivities", None, {}, None, return_type)
|
|
257
|
+
self.context.add_query(qry)
|
|
258
|
+
return return_type
|
|
259
|
+
|
|
260
|
+
def get_event_cache_checksum_stats_json(self, lower_bound: int, upper_bound: int) -> ClientResult[str]:
|
|
261
|
+
"""GetEventCacheChecksumStatsJson operation.
|
|
262
|
+
|
|
263
|
+
Args:
|
|
264
|
+
lower_bound (int): lowerBound parameter
|
|
265
|
+
upper_bound (int): upperBound parameter
|
|
266
|
+
"""
|
|
267
|
+
return_type = ClientResult(self.context, str())
|
|
268
|
+
qry = ServiceOperationQuery(
|
|
269
|
+
self,
|
|
270
|
+
"GetEventCacheChecksumStatsJson",
|
|
271
|
+
None,
|
|
272
|
+
{"lowerBound": lower_bound, "upperBound": upper_bound},
|
|
273
|
+
None,
|
|
274
|
+
return_type,
|
|
275
|
+
)
|
|
276
|
+
self.context.add_query(qry)
|
|
277
|
+
return return_type
|
|
278
|
+
|
|
279
|
+
def get_event_cache_data_chunk(self, last_copied_id: int, search_change_token: int) -> ClientResult[str]:
|
|
280
|
+
"""GetEventCacheDataChunk operation.
|
|
281
|
+
|
|
282
|
+
Args:
|
|
283
|
+
last_copied_id (int): lastCopiedId parameter
|
|
284
|
+
search_change_token (int): searchChangeToken parameter
|
|
285
|
+
"""
|
|
286
|
+
return_type = ClientResult(self.context, str())
|
|
287
|
+
qry = ServiceOperationQuery(
|
|
288
|
+
self,
|
|
289
|
+
"GetEventCacheDataChunk",
|
|
290
|
+
None,
|
|
291
|
+
{"lastCopiedId": last_copied_id, "searchChangeToken": search_change_token},
|
|
292
|
+
None,
|
|
293
|
+
return_type,
|
|
294
|
+
)
|
|
295
|
+
self.context.add_query(qry)
|
|
296
|
+
return return_type
|
|
297
|
+
|
|
298
|
+
def get_event_cache_data_chunk_iterator(self, last_copied_id: int, search_change_token: int) -> ClientResult[str]:
|
|
299
|
+
"""GetEventCacheDataChunkIterator operation.
|
|
300
|
+
|
|
301
|
+
Args:
|
|
302
|
+
last_copied_id (int): lastCopiedId parameter
|
|
303
|
+
search_change_token (int): searchChangeToken parameter
|
|
304
|
+
"""
|
|
305
|
+
return_type = ClientResult(self.context, str())
|
|
306
|
+
qry = ServiceOperationQuery(
|
|
307
|
+
self,
|
|
308
|
+
"GetEventCacheDataChunkIterator",
|
|
309
|
+
None,
|
|
310
|
+
{"lastCopiedId": last_copied_id, "searchChangeToken": search_change_token},
|
|
311
|
+
None,
|
|
312
|
+
return_type,
|
|
313
|
+
)
|
|
314
|
+
self.context.add_query(qry)
|
|
315
|
+
return return_type
|
|
316
|
+
|
|
317
|
+
def get_event_cache_data_chunk_iterator_stream(
|
|
318
|
+
self, last_copied_id: int, search_change_token: int
|
|
319
|
+
) -> ClientResult[bytes]:
|
|
320
|
+
"""GetEventCacheDataChunkIteratorStream operation.
|
|
321
|
+
|
|
322
|
+
Args:
|
|
323
|
+
last_copied_id (int): lastCopiedId parameter
|
|
324
|
+
search_change_token (int): searchChangeToken parameter
|
|
325
|
+
"""
|
|
326
|
+
return_type = ClientResult(self.context, bytes())
|
|
327
|
+
qry = ServiceOperationQuery(
|
|
328
|
+
self,
|
|
329
|
+
"GetEventCacheDataChunkIteratorStream",
|
|
330
|
+
None,
|
|
331
|
+
{"lastCopiedId": last_copied_id, "searchChangeToken": search_change_token},
|
|
332
|
+
None,
|
|
333
|
+
return_type,
|
|
334
|
+
)
|
|
335
|
+
self.context.add_query(qry)
|
|
336
|
+
return return_type
|
|
337
|
+
|
|
338
|
+
def get_event_cache_ex_checksum_stats_json(self, lower_bound: int, upper_bound: int) -> ClientResult[str]:
|
|
339
|
+
"""GetEventCacheExChecksumStatsJson operation.
|
|
340
|
+
|
|
341
|
+
Args:
|
|
342
|
+
lower_bound (int): lowerBound parameter
|
|
343
|
+
upper_bound (int): upperBound parameter
|
|
344
|
+
"""
|
|
345
|
+
return_type = ClientResult(self.context, str())
|
|
346
|
+
qry = ServiceOperationQuery(
|
|
347
|
+
self,
|
|
348
|
+
"GetEventCacheExChecksumStatsJson",
|
|
349
|
+
None,
|
|
350
|
+
{"lowerBound": lower_bound, "upperBound": upper_bound},
|
|
351
|
+
None,
|
|
352
|
+
return_type,
|
|
353
|
+
)
|
|
354
|
+
self.context.add_query(qry)
|
|
355
|
+
return return_type
|
|
356
|
+
|
|
357
|
+
def get_event_cache_ex_columns(self) -> ClientResult[str]:
|
|
358
|
+
"""GetEventCacheExColumns operation."""
|
|
359
|
+
return_type = ClientResult(self.context, str())
|
|
360
|
+
qry = ServiceOperationQuery(self, "GetEventCacheExColumns", None, {}, None, return_type)
|
|
361
|
+
self.context.add_query(qry)
|
|
362
|
+
return return_type
|
|
363
|
+
|
|
364
|
+
def get_event_cache_ex_data_chunk(self, last_copied_id: int) -> ClientResult[str]:
|
|
365
|
+
"""GetEventCacheExDataChunk operation.
|
|
366
|
+
|
|
367
|
+
Args:
|
|
368
|
+
last_copied_id (int): lastCopiedId parameter
|
|
369
|
+
"""
|
|
370
|
+
return_type = ClientResult(self.context, str())
|
|
371
|
+
qry = ServiceOperationQuery(
|
|
372
|
+
self, "GetEventCacheExDataChunk", None, {"lastCopiedId": last_copied_id}, None, return_type
|
|
373
|
+
)
|
|
374
|
+
self.context.add_query(qry)
|
|
375
|
+
return return_type
|
|
376
|
+
|
|
377
|
+
def get_event_cache_ex_data_chunk_iterator(self, last_copied_id: int) -> ClientResult[str]:
|
|
378
|
+
"""GetEventCacheExDataChunkIterator operation.
|
|
379
|
+
|
|
380
|
+
Args:
|
|
381
|
+
last_copied_id (int): lastCopiedId parameter
|
|
382
|
+
"""
|
|
383
|
+
return_type = ClientResult(self.context, str())
|
|
384
|
+
qry = ServiceOperationQuery(
|
|
385
|
+
self, "GetEventCacheExDataChunkIterator", None, {"lastCopiedId": last_copied_id}, None, return_type
|
|
386
|
+
)
|
|
387
|
+
self.context.add_query(qry)
|
|
388
|
+
return return_type
|
|
389
|
+
|
|
390
|
+
def get_event_cache_ex_data_chunk_iterator_stream(self, last_copied_id: int) -> ClientResult[bytes]:
|
|
391
|
+
"""GetEventCacheExDataChunkIteratorStream operation.
|
|
392
|
+
|
|
393
|
+
Args:
|
|
394
|
+
last_copied_id (int): lastCopiedId parameter
|
|
395
|
+
"""
|
|
396
|
+
return_type = ClientResult(self.context, bytes())
|
|
397
|
+
qry = ServiceOperationQuery(
|
|
398
|
+
self, "GetEventCacheExDataChunkIteratorStream", None, {"lastCopiedId": last_copied_id}, None, return_type
|
|
399
|
+
)
|
|
400
|
+
self.context.add_query(qry)
|
|
401
|
+
return return_type
|
|
402
|
+
|
|
403
|
+
def get_event_cache_ids(self, last_copied_id: int) -> ClientResult[str]:
|
|
404
|
+
"""GetEventCacheIds operation.
|
|
405
|
+
|
|
406
|
+
Args:
|
|
407
|
+
last_copied_id (int): lastCopiedId parameter
|
|
408
|
+
"""
|
|
409
|
+
return_type = ClientResult(self.context, str())
|
|
410
|
+
qry = ServiceOperationQuery(self, "GetEventCacheIds", None, {"lastCopiedId": last_copied_id}, None, return_type)
|
|
411
|
+
self.context.add_query(qry)
|
|
412
|
+
return return_type
|
|
413
|
+
|
|
414
|
+
def get_event_cache_ids_stream(self, last_copied_id: int) -> ClientResult[bytes]:
|
|
415
|
+
"""GetEventCacheIdsStream operation.
|
|
416
|
+
|
|
417
|
+
Args:
|
|
418
|
+
last_copied_id (int): lastCopiedId parameter
|
|
419
|
+
"""
|
|
420
|
+
return_type = ClientResult(self.context, bytes())
|
|
421
|
+
qry = ServiceOperationQuery(
|
|
422
|
+
self, "GetEventCacheIdsStream", None, {"lastCopiedId": last_copied_id}, None, return_type
|
|
423
|
+
)
|
|
424
|
+
self.context.add_query(qry)
|
|
425
|
+
return return_type
|
|
426
|
+
|
|
427
|
+
def get_extension_schema_row_counts_json(self) -> ClientResult[str]:
|
|
428
|
+
"""GetExtensionSchemaRowCountsJson operation."""
|
|
429
|
+
return_type = ClientResult(self.context, str())
|
|
430
|
+
qry = ServiceOperationQuery(self, "GetExtensionSchemaRowCountsJson", None, {}, None, return_type)
|
|
431
|
+
self.context.add_query(qry)
|
|
432
|
+
return return_type
|
|
433
|
+
|
|
434
|
+
def get_farm_properties(self) -> ClientResult[str]:
|
|
435
|
+
"""GetFarmProperties operation."""
|
|
436
|
+
return_type = ClientResult(self.context, str())
|
|
437
|
+
qry = ServiceOperationQuery(self, "GetFarmProperties", None, {}, None, return_type)
|
|
438
|
+
self.context.add_query(qry)
|
|
439
|
+
return return_type
|
|
440
|
+
|
|
441
|
+
def get_marker(self) -> ClientResult[str]:
|
|
442
|
+
"""GetMarker operation."""
|
|
443
|
+
return_type = ClientResult(self.context, str())
|
|
444
|
+
qry = ServiceOperationQuery(self, "GetMarker", None, {}, None, return_type)
|
|
445
|
+
self.context.add_query(qry)
|
|
446
|
+
return return_type
|
|
447
|
+
|
|
448
|
+
def get_per_column_checksums(self, schema_name: str, table_name: str) -> ClientResult[str]:
|
|
449
|
+
"""GetPerColumnChecksums operation.
|
|
450
|
+
|
|
451
|
+
Args:
|
|
452
|
+
schema_name (str): schemaName parameter
|
|
453
|
+
table_name (str): tableName parameter
|
|
454
|
+
"""
|
|
455
|
+
return_type = ClientResult(self.context, str())
|
|
456
|
+
qry = ServiceOperationQuery(
|
|
457
|
+
self, "GetPerColumnChecksums", None, {"schemaName": schema_name, "tableName": table_name}, None, return_type
|
|
458
|
+
)
|
|
459
|
+
self.context.add_query(qry)
|
|
460
|
+
return return_type
|
|
461
|
+
|
|
462
|
+
def get_post_lock_event_summary_json(self, watermark: int) -> ClientResult[str]:
|
|
463
|
+
"""GetPostLockEventSummaryJson operation.
|
|
464
|
+
|
|
465
|
+
Args:
|
|
466
|
+
watermark (int): watermark parameter
|
|
467
|
+
"""
|
|
468
|
+
return_type = ClientResult(self.context, str())
|
|
469
|
+
qry = ServiceOperationQuery(
|
|
470
|
+
self, "GetPostLockEventSummaryJson", None, {"watermark": watermark}, None, return_type
|
|
471
|
+
)
|
|
472
|
+
self.context.add_query(qry)
|
|
473
|
+
return return_type
|
|
474
|
+
|
|
475
|
+
def get_random_access_data_chunk(self, table_name: str, schema_name: str) -> ClientResult[str]:
|
|
476
|
+
"""GetRandomAccessDataChunk operation.
|
|
477
|
+
|
|
478
|
+
Args:
|
|
479
|
+
table_name (str): tableName parameter
|
|
480
|
+
schema_name (str): schemaName parameter
|
|
481
|
+
"""
|
|
482
|
+
return_type = ClientResult(self.context, str())
|
|
483
|
+
qry = ServiceOperationQuery(
|
|
484
|
+
self,
|
|
485
|
+
"GetRandomAccessDataChunk",
|
|
486
|
+
None,
|
|
487
|
+
{"tableName": table_name, "schemaName": schema_name},
|
|
488
|
+
None,
|
|
489
|
+
return_type,
|
|
490
|
+
)
|
|
491
|
+
self.context.add_query(qry)
|
|
492
|
+
return return_type
|
|
493
|
+
|
|
494
|
+
def get_replica_farm_targets(self) -> ClientResult[str]:
|
|
495
|
+
"""GetReplicaFarmTargets operation."""
|
|
496
|
+
return_type = ClientResult(self.context, str())
|
|
497
|
+
qry = ServiceOperationQuery(self, "GetReplicaFarmTargets", None, {}, None, return_type)
|
|
498
|
+
self.context.add_query(qry)
|
|
499
|
+
return return_type
|
|
500
|
+
|
|
501
|
+
def get_scalar_value(self, sql_command_text: str) -> ClientResult[int]:
|
|
502
|
+
"""GetScalarValue operation.
|
|
503
|
+
|
|
504
|
+
Args:
|
|
505
|
+
sql_command_text (str): sqlCommandText parameter
|
|
506
|
+
"""
|
|
507
|
+
return_type = ClientResult(self.context, int())
|
|
508
|
+
qry = ServiceOperationQuery(
|
|
509
|
+
self, "GetScalarValue", None, {"sqlCommandText": sql_command_text}, None, return_type
|
|
510
|
+
)
|
|
511
|
+
self.context.add_query(qry)
|
|
512
|
+
return return_type
|
|
513
|
+
|
|
514
|
+
def get_scp_events_in_processing_count(self) -> ClientResult[int]:
|
|
515
|
+
"""GetScpEventsInProcessingCount operation."""
|
|
516
|
+
return_type = ClientResult(self.context, int())
|
|
517
|
+
qry = ServiceOperationQuery(self, "GetScpEventsInProcessingCount", None, {}, None, return_type)
|
|
518
|
+
self.context.add_query(qry)
|
|
519
|
+
return return_type
|
|
520
|
+
|
|
521
|
+
def get_service_version(self) -> ClientResult[int]:
|
|
522
|
+
"""GetServiceVersion operation."""
|
|
523
|
+
return_type = ClientResult(self.context, int())
|
|
524
|
+
qry = ServiceOperationQuery(self, "GetServiceVersion", None, {}, None, return_type)
|
|
525
|
+
self.context.add_query(qry)
|
|
526
|
+
return return_type
|
|
527
|
+
|
|
528
|
+
def get_site_deletion_restorable_and_migration_flags(self) -> ClientResult[str]:
|
|
529
|
+
"""GetSiteDeletionRestorableAndMigrationFlags operation."""
|
|
530
|
+
return_type = ClientResult(self.context, str())
|
|
531
|
+
qry = ServiceOperationQuery(self, "GetSiteDeletionRestorableAndMigrationFlags", None, {}, None, return_type)
|
|
532
|
+
self.context.add_query(qry)
|
|
533
|
+
return return_type
|
|
534
|
+
|
|
535
|
+
def get_site_deletion_time(self) -> ClientResult[str]:
|
|
536
|
+
"""GetSiteDeletionTime operation."""
|
|
537
|
+
return_type = ClientResult(self.context, str())
|
|
538
|
+
qry = ServiceOperationQuery(self, "GetSiteDeletionTime", None, {}, None, return_type)
|
|
539
|
+
self.context.add_query(qry)
|
|
540
|
+
return return_type
|
|
541
|
+
|
|
542
|
+
def get_site_ip_label_tooltip_xml(self) -> ClientResult[str]:
|
|
543
|
+
"""GetSiteIpLabelTooltipXml operation."""
|
|
544
|
+
return_type = ClientResult(self.context, str())
|
|
545
|
+
qry = ServiceOperationQuery(self, "GetSiteIpLabelTooltipXml", None, {}, None, return_type)
|
|
546
|
+
self.context.add_query(qry)
|
|
547
|
+
return return_type
|
|
548
|
+
|
|
549
|
+
def get_site_move_state(self) -> ClientResult[str]:
|
|
550
|
+
"""GetSiteMoveState operation."""
|
|
551
|
+
return_type = ClientResult(self.context, str())
|
|
552
|
+
qry = ServiceOperationQuery(self, "GetSiteMoveState", None, {}, None, return_type)
|
|
553
|
+
self.context.add_query(qry)
|
|
554
|
+
return return_type
|
|
555
|
+
|
|
556
|
+
def get_site_properties(self) -> ClientResult[str]:
|
|
557
|
+
"""GetSiteProperties operation."""
|
|
558
|
+
return_type = ClientResult(self.context, str())
|
|
559
|
+
qry = ServiceOperationQuery(self, "GetSiteProperties", None, {}, None, return_type)
|
|
560
|
+
self.context.add_query(qry)
|
|
561
|
+
return return_type
|
|
562
|
+
|
|
563
|
+
def get_site_relocation_compatible_schema_version(self) -> ClientResult[str]:
|
|
564
|
+
"""GetSiteRelocationCompatibleSchemaVersion operation."""
|
|
565
|
+
return_type = ClientResult(self.context, str())
|
|
566
|
+
qry = ServiceOperationQuery(self, "GetSiteRelocationCompatibleSchemaVersion", None, {}, None, return_type)
|
|
567
|
+
self.context.add_query(qry)
|
|
568
|
+
return return_type
|
|
569
|
+
|
|
570
|
+
def get_sp_deleted_site_relocation_status(self, check_lock_time: bool) -> ClientResult[str]:
|
|
571
|
+
"""GetSPDeletedSiteRelocationStatus operation.
|
|
572
|
+
|
|
573
|
+
Args:
|
|
574
|
+
check_lock_time (bool): checkLockTime parameter
|
|
575
|
+
"""
|
|
576
|
+
return_type = ClientResult(self.context, str())
|
|
577
|
+
qry = ServiceOperationQuery(
|
|
578
|
+
self, "GetSPDeletedSiteRelocationStatus", None, {"checkLockTime": check_lock_time}, None, return_type
|
|
579
|
+
)
|
|
580
|
+
self.context.add_query(qry)
|
|
581
|
+
return return_type
|
|
582
|
+
|
|
583
|
+
def get_table_data_chunk(self, table_name: str, schema_name: str) -> ClientResult[str]:
|
|
584
|
+
"""GetTableDataChunk operation.
|
|
585
|
+
|
|
586
|
+
Args:
|
|
587
|
+
table_name (str): tableName parameter
|
|
588
|
+
schema_name (str): schemaName parameter
|
|
589
|
+
"""
|
|
590
|
+
return_type = ClientResult(self.context, str())
|
|
591
|
+
qry = ServiceOperationQuery(
|
|
592
|
+
self, "GetTableDataChunk", None, {"tableName": table_name, "schemaName": schema_name}, None, return_type
|
|
593
|
+
)
|
|
594
|
+
self.context.add_query(qry)
|
|
595
|
+
return return_type
|
|
596
|
+
|
|
597
|
+
def get_table_data_chunk_iterator(self, table_name: str, schema_name: str) -> ClientResult[str]:
|
|
598
|
+
"""GetTableDataChunkIterator operation.
|
|
599
|
+
|
|
600
|
+
Args:
|
|
601
|
+
table_name (str): tableName parameter
|
|
602
|
+
schema_name (str): schemaName parameter
|
|
603
|
+
"""
|
|
604
|
+
return_type = ClientResult(self.context, str())
|
|
605
|
+
qry = ServiceOperationQuery(
|
|
606
|
+
self,
|
|
607
|
+
"GetTableDataChunkIterator",
|
|
608
|
+
None,
|
|
609
|
+
{"tableName": table_name, "schemaName": schema_name},
|
|
610
|
+
None,
|
|
611
|
+
return_type,
|
|
612
|
+
)
|
|
613
|
+
self.context.add_query(qry)
|
|
614
|
+
return return_type
|
|
615
|
+
|
|
616
|
+
def get_table_data_chunk_iterator_stream(self, table_name: str, schema_name: str) -> ClientResult[bytes]:
|
|
617
|
+
"""GetTableDataChunkIteratorStream operation.
|
|
618
|
+
|
|
619
|
+
Args:
|
|
620
|
+
table_name (str): tableName parameter
|
|
621
|
+
schema_name (str): schemaName parameter
|
|
622
|
+
"""
|
|
623
|
+
return_type = ClientResult(self.context, bytes())
|
|
624
|
+
qry = ServiceOperationQuery(
|
|
625
|
+
self,
|
|
626
|
+
"GetTableDataChunkIteratorStream",
|
|
627
|
+
None,
|
|
628
|
+
{"tableName": table_name, "schemaName": schema_name},
|
|
629
|
+
None,
|
|
630
|
+
return_type,
|
|
631
|
+
)
|
|
632
|
+
self.context.add_query(qry)
|
|
633
|
+
return return_type
|
|
634
|
+
|
|
635
|
+
def get_table_row_count(self, schema_name: str, table_name: str) -> ClientResult[int]:
|
|
636
|
+
"""GetTableRowCount operation.
|
|
637
|
+
|
|
638
|
+
Args:
|
|
639
|
+
schema_name (str): schemaName parameter
|
|
640
|
+
table_name (str): tableName parameter
|
|
641
|
+
"""
|
|
642
|
+
return_type = ClientResult(self.context, int())
|
|
643
|
+
qry = ServiceOperationQuery(
|
|
644
|
+
self, "GetTableRowCount", None, {"schemaName": schema_name, "tableName": table_name}, None, return_type
|
|
645
|
+
)
|
|
646
|
+
self.context.add_query(qry)
|
|
647
|
+
return return_type
|
|
648
|
+
|
|
649
|
+
def get_tenant_workflows(self) -> ClientResult[StringCollection]:
|
|
650
|
+
"""GetTenantWorkflows operation."""
|
|
651
|
+
return_type = ClientResult(self.context, StringCollection())
|
|
652
|
+
qry = ServiceOperationQuery(self, "GetTenantWorkflows", None, {}, None, return_type)
|
|
653
|
+
self.context.add_query(qry)
|
|
654
|
+
return return_type
|
|
655
|
+
|
|
656
|
+
def get_validation_chunks(self) -> ClientResult[str]:
|
|
657
|
+
"""GetValidationChunks operation."""
|
|
658
|
+
return_type = ClientResult(self.context, str())
|
|
659
|
+
qry = ServiceOperationQuery(self, "GetValidationChunks", None, {}, None, return_type)
|
|
660
|
+
self.context.add_query(qry)
|
|
661
|
+
return return_type
|
|
662
|
+
|
|
663
|
+
def get_work_item(self) -> ClientResult[str]:
|
|
664
|
+
"""GetWorkItem operation."""
|
|
665
|
+
return_type = ClientResult(self.context, str())
|
|
666
|
+
qry = ServiceOperationQuery(self, "GetWorkItem", None, {}, None, return_type)
|
|
667
|
+
self.context.add_query(qry)
|
|
668
|
+
return return_type
|
|
669
|
+
|
|
670
|
+
def has_event_cache_duplicate_time(self, target_ident_current: int, source_count: int) -> ClientResult[bool]:
|
|
671
|
+
"""HasEventCacheDuplicateTime operation.
|
|
672
|
+
|
|
673
|
+
Args:
|
|
674
|
+
target_ident_current (int): targetIdentCurrent parameter
|
|
675
|
+
source_count (int): sourceCount parameter
|
|
676
|
+
"""
|
|
677
|
+
return_type = ClientResult(self.context, bool())
|
|
678
|
+
qry = ServiceOperationQuery(
|
|
679
|
+
self,
|
|
680
|
+
"HasEventCacheDuplicateTime",
|
|
681
|
+
None,
|
|
682
|
+
{"targetIdentCurrent": target_ident_current, "sourceCount": source_count},
|
|
683
|
+
None,
|
|
684
|
+
return_type,
|
|
685
|
+
)
|
|
686
|
+
self.context.add_query(qry)
|
|
687
|
+
return return_type
|
|
688
|
+
|
|
689
|
+
def hold_blob_deletion_on_source(self, hold_days: int) -> Self:
|
|
690
|
+
"""HoldBlobDeletionOnSource operation.
|
|
691
|
+
|
|
692
|
+
Args:
|
|
693
|
+
hold_days (int): holdDays parameter
|
|
694
|
+
"""
|
|
695
|
+
qry = ServiceOperationQuery(self, "HoldBlobDeletionOnSource", None, {"holdDays": hold_days}, None, None)
|
|
696
|
+
self.context.add_query(qry)
|
|
697
|
+
return self
|
|
698
|
+
|
|
699
|
+
def is_db_read_only(self) -> ClientResult[bool]:
|
|
700
|
+
"""IsDbReadOnly operation."""
|
|
701
|
+
return_type = ClientResult(self.context, bool())
|
|
702
|
+
qry = ServiceOperationQuery(self, "IsDbReadOnly", None, {}, None, return_type)
|
|
703
|
+
self.context.add_query(qry)
|
|
704
|
+
return return_type
|
|
705
|
+
|
|
706
|
+
def is_system_site_locked(self, lock_requester: str) -> ClientResult[bool]:
|
|
707
|
+
"""IsSystemSiteLocked operation.
|
|
708
|
+
|
|
709
|
+
Args:
|
|
710
|
+
lock_requester (str): lockRequester parameter
|
|
711
|
+
"""
|
|
712
|
+
return_type = ClientResult(self.context, bool())
|
|
713
|
+
qry = ServiceOperationQuery(
|
|
714
|
+
self, "IsSystemSiteLocked", None, {"lockRequester": lock_requester}, None, return_type
|
|
715
|
+
)
|
|
716
|
+
self.context.add_query(qry)
|
|
717
|
+
return return_type
|
|
718
|
+
|
|
719
|
+
def lock_site(self) -> ClientResult[int]:
|
|
720
|
+
"""LockSite operation."""
|
|
721
|
+
return_type = ClientResult(self.context, int())
|
|
722
|
+
qry = ServiceOperationQuery(self, "LockSite", None, {}, None, return_type)
|
|
723
|
+
self.context.add_query(qry)
|
|
724
|
+
return return_type
|
|
725
|
+
|
|
726
|
+
def pause_crawling(self, original_cps_delete_reason: int) -> Self:
|
|
727
|
+
"""PauseCrawling operation.
|
|
728
|
+
|
|
729
|
+
Args:
|
|
730
|
+
original_cps_delete_reason (Int16): originalCPSDeleteReason parameter
|
|
731
|
+
"""
|
|
732
|
+
qry = ServiceOperationQuery(
|
|
733
|
+
self, "PauseCrawling", None, {"originalCPSDeleteReason": original_cps_delete_reason}, None, None
|
|
734
|
+
)
|
|
735
|
+
self.context.add_query(qry)
|
|
736
|
+
return self
|
|
737
|
+
|
|
738
|
+
def process_storage_metrics_changes(self) -> Self:
|
|
739
|
+
"""ProcessStorageMetricsChanges operation."""
|
|
740
|
+
qry = ServiceOperationQuery(self, "ProcessStorageMetricsChanges", None, {}, None, None)
|
|
741
|
+
self.context.add_query(qry)
|
|
742
|
+
return self
|
|
743
|
+
|
|
744
|
+
def pulse_heartbeat(self) -> Self:
|
|
745
|
+
"""PulseHeartbeat operation."""
|
|
746
|
+
qry = ServiceOperationQuery(self, "PulseHeartbeat", None, {}, None, None)
|
|
747
|
+
self.context.add_query(qry)
|
|
748
|
+
return self
|
|
749
|
+
|
|
750
|
+
def release_system_site_lock(self, lock_requester: str) -> ClientResult[int]:
|
|
751
|
+
"""ReleaseSystemSiteLock operation.
|
|
752
|
+
|
|
753
|
+
Args:
|
|
754
|
+
lock_requester (str): lockRequester parameter
|
|
755
|
+
"""
|
|
756
|
+
return_type = ClientResult(self.context, int())
|
|
757
|
+
qry = ServiceOperationQuery(
|
|
758
|
+
self, "ReleaseSystemSiteLock", None, {"lockRequester": lock_requester}, None, return_type
|
|
759
|
+
)
|
|
760
|
+
self.context.add_query(qry)
|
|
761
|
+
return return_type
|
|
762
|
+
|
|
763
|
+
def remove_site_map_entry(self) -> Self:
|
|
764
|
+
"""RemoveSiteMapEntry operation."""
|
|
765
|
+
qry = ServiceOperationQuery(self, "RemoveSiteMapEntry", None, {}, None, None)
|
|
766
|
+
self.context.add_query(qry)
|
|
767
|
+
return self
|
|
768
|
+
|
|
769
|
+
def remove_site_map_entry_clear_cache(self, site_path: str) -> Self:
|
|
770
|
+
"""RemoveSiteMapEntry_ClearCache operation.
|
|
771
|
+
|
|
772
|
+
Args:
|
|
773
|
+
site_path (str): sitePath parameter
|
|
774
|
+
"""
|
|
775
|
+
qry = ServiceOperationQuery(self, "RemoveSiteMapEntry_ClearCache", None, {"sitePath": site_path}, None, None)
|
|
776
|
+
self.context.add_query(qry)
|
|
777
|
+
return self
|
|
778
|
+
|
|
779
|
+
def resume_crawling(self, original_cps_delete_reason: int) -> Self:
|
|
780
|
+
"""ResumeCrawling operation.
|
|
781
|
+
|
|
782
|
+
Args:
|
|
783
|
+
original_cps_delete_reason (Int16): originalCPSDeleteReason parameter
|
|
784
|
+
"""
|
|
785
|
+
qry = ServiceOperationQuery(
|
|
786
|
+
self, "ResumeCrawling", None, {"originalCPSDeleteReason": original_cps_delete_reason}, None, None
|
|
787
|
+
)
|
|
788
|
+
self.context.add_query(qry)
|
|
789
|
+
return self
|
|
790
|
+
|
|
791
|
+
def set_site_move_state(self, state: int) -> Self:
|
|
792
|
+
"""SetSiteMoveState operation.
|
|
793
|
+
|
|
794
|
+
Args:
|
|
795
|
+
state (int): state parameter
|
|
796
|
+
"""
|
|
797
|
+
qry = ServiceOperationQuery(self, "SetSiteMoveState", None, {"state": state}, None, None)
|
|
798
|
+
self.context.add_query(qry)
|
|
799
|
+
return self
|
|
800
|
+
|
|
801
|
+
def source_cleanup_after_move(self, is_deleted: bool) -> Self:
|
|
802
|
+
"""SourceCleanupAfterMove operation.
|
|
803
|
+
|
|
804
|
+
Args:
|
|
805
|
+
is_deleted (bool): isDeleted parameter
|
|
806
|
+
"""
|
|
807
|
+
qry = ServiceOperationQuery(self, "SourceCleanupAfterMove", None, {"isDeleted": is_deleted}, None, None)
|
|
808
|
+
self.context.add_query(qry)
|
|
809
|
+
return self
|
|
810
|
+
|
|
811
|
+
def start_snapshot_isolation(self) -> Self:
|
|
812
|
+
"""StartSnapshotIsolation operation."""
|
|
813
|
+
qry = ServiceOperationQuery(self, "StartSnapshotIsolation", None, {}, None, None)
|
|
814
|
+
self.context.add_query(qry)
|
|
815
|
+
return self
|
|
816
|
+
|
|
817
|
+
def stop_session_token(self) -> Self:
|
|
818
|
+
"""StopSessionToken operation."""
|
|
819
|
+
qry = ServiceOperationQuery(self, "StopSessionToken", None, {}, None, None)
|
|
820
|
+
self.context.add_query(qry)
|
|
821
|
+
return self
|
|
822
|
+
|
|
823
|
+
def unlock_site_on_failure(self, original_lock_flags: int) -> Self:
|
|
824
|
+
"""UnlockSiteOnFailure operation.
|
|
825
|
+
|
|
826
|
+
Args:
|
|
827
|
+
original_lock_flags (int): originalLockFlags parameter
|
|
828
|
+
"""
|
|
829
|
+
qry = ServiceOperationQuery(
|
|
830
|
+
self, "UnlockSiteOnFailure", None, {"originalLockFlags": original_lock_flags}, None, None
|
|
831
|
+
)
|
|
832
|
+
self.context.add_query(qry)
|
|
833
|
+
return self
|
|
834
|
+
|
|
835
|
+
def update_abs_blob_dates(self) -> Self:
|
|
836
|
+
"""UpdateAbsBlobDates operation."""
|
|
837
|
+
qry = ServiceOperationQuery(self, "UpdateAbsBlobDates", None, {}, None, None)
|
|
838
|
+
self.context.add_query(qry)
|
|
839
|
+
return self
|
|
840
|
+
|
|
841
|
+
def verify_replica_site_map_for_move(self) -> ClientResult[int]:
|
|
842
|
+
"""VerifyReplicaSiteMapForMove operation."""
|
|
843
|
+
return_type = ClientResult(self.context, int())
|
|
844
|
+
qry = ServiceOperationQuery(self, "VerifyReplicaSiteMapForMove", None, {}, None, return_type)
|
|
845
|
+
self.context.add_query(qry)
|
|
846
|
+
return return_type
|