Introduction to arcpy.sharing
FeatureSharingDraft_Class
MapImageSharingDraft_Class
MapServiceDraft_Class
TileSharingDraft_Class
CreateSharingDraft