Introduction to arcpy.sharing
FeatureSharingDraft_Class
GeoprocessingSharingDraft_Class
MapImageSharingDraft_Class
MapServiceDraft_Class
SceneLayerSharingDraft_Class
TileSharingDraft_Class
CreateSharingDraft
Publish