你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SharingProfile 类
用于将库共享到订阅或租户的配置文件。
变量仅由服务器填充,在发送请求时将被忽略。
- 继承
-
azure.mgmt.compute._serialization.ModelSharingProfile
构造函数
SharingProfile(*, permissions: str | _models.GallerySharingPermissionTypes | None = None, community_gallery_info: _models.CommunityGalleryInfo | None = None, **kwargs)
变量
- permissions
- str 或 GallerySharingPermissionTypes
此属性允许指定共享库的权限。
<br>``<br>
可能的值为: <br>``<br>
专用<br>``<br>
组<br>``<br>
社区。 已知值为:“Private”、“Groups”和“Community”。
- groups
- list[SharingProfileGroup]
共享配置文件组的列表。
- community_gallery_info
- CommunityGalleryInfo
如果当前库共享到社区,则社区库的信息。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈