你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GalleryInVMAccessControlProfiles interface
表示 GalleryInVMAccessControlProfiles 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, string, GalleryInVMAccessControlProfile, GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams)
在VMAccessControlProfile 中创建或更新库。
function beginCreateOrUpdate(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, galleryInVMAccessControlProfile: GalleryInVMAccessControlProfile, options?: GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryInVMAccessControlProfile>, GalleryInVMAccessControlProfile>>
参数
- resourceGroupName
-
string
资源组的名称。
- galleryName
-
string
要在其中创建 InVMAccessControlProfile 的共享映像库的名称。
- inVMAccessControlProfileName
-
string
要创建或更新的库名称 inVMAccessControlProfile。 允许的字符是字母和数字,中间允许点、短划线和句点。 最大长度为 80 个字符。
- galleryInVMAccessControlProfile
- GalleryInVMAccessControlProfile
提供给 CREATE 或 update 库的参数,inVMAccessControlProfile 操作。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryInVMAccessControlProfile>, GalleryInVMAccessControlProfile>>
beginCreateOrUpdateAndWait(string, string, string, GalleryInVMAccessControlProfile, GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams)
在VMAccessControlProfile 中创建或更新库。
function beginCreateOrUpdateAndWait(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, galleryInVMAccessControlProfile: GalleryInVMAccessControlProfile, options?: GalleryInVMAccessControlProfilesCreateOrUpdateOptionalParams): Promise<GalleryInVMAccessControlProfile>
参数
- resourceGroupName
-
string
资源组的名称。
- galleryName
-
string
要在其中创建 InVMAccessControlProfile 的共享映像库的名称。
- inVMAccessControlProfileName
-
string
要创建或更新的库名称 inVMAccessControlProfile。 允许的字符是字母和数字,中间允许点、短划线和句点。 最大长度为 80 个字符。
- galleryInVMAccessControlProfile
- GalleryInVMAccessControlProfile
提供给 CREATE 或 update 库的参数,inVMAccessControlProfile 操作。
返回
Promise<GalleryInVMAccessControlProfile>
beginDelete(string, string, string, GalleryInVMAccessControlProfilesDeleteOptionalParams)
删除库 inVMAccessControlProfile。
function beginDelete(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, options?: GalleryInVMAccessControlProfilesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<GalleryInVMAccessControlProfilesDeleteHeaders>, GalleryInVMAccessControlProfilesDeleteHeaders>>
参数
- resourceGroupName
-
string
资源组的名称。
- galleryName
-
string
他是 InVMAccessControlProfile 所在的共享映像库的名称。
- inVMAccessControlProfileName
-
string
要删除的库名称 inVMAccessControlProfile。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryInVMAccessControlProfilesDeleteHeaders>, GalleryInVMAccessControlProfilesDeleteHeaders>>
beginDeleteAndWait(string, string, string, GalleryInVMAccessControlProfilesDeleteOptionalParams)
删除库 inVMAccessControlProfile。
function beginDeleteAndWait(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, options?: GalleryInVMAccessControlProfilesDeleteOptionalParams): Promise<GalleryInVMAccessControlProfilesDeleteHeaders>
参数
- resourceGroupName
-
string
资源组的名称。
- galleryName
-
string
他是 InVMAccessControlProfile 所在的共享映像库的名称。
- inVMAccessControlProfileName
-
string
要删除的库名称 inVMAccessControlProfile。
选项参数。
返回
beginUpdate(string, string, string, GalleryInVMAccessControlProfileUpdate, GalleryInVMAccessControlProfilesUpdateOptionalParams)
更新库 inVMAccessControlProfile。
function beginUpdate(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, galleryInVMAccessControlProfile: GalleryInVMAccessControlProfileUpdate, options?: GalleryInVMAccessControlProfilesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GalleryInVMAccessControlProfile>, GalleryInVMAccessControlProfile>>
参数
- resourceGroupName
-
string
资源组的名称。
- galleryName
-
string
要在其中更新 InVMAccessControlProfile 的共享映像库的名称。
- inVMAccessControlProfileName
-
string
要更新的库名称 inVMAccessControlProfile。 允许的字符是字母和数字,中间允许点、短划线和句点。 最大长度为 80 个字符。
- galleryInVMAccessControlProfile
- GalleryInVMAccessControlProfileUpdate
提供给更新库的参数 inVMAccessControlProfile 操作。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<GalleryInVMAccessControlProfile>, GalleryInVMAccessControlProfile>>
beginUpdateAndWait(string, string, string, GalleryInVMAccessControlProfileUpdate, GalleryInVMAccessControlProfilesUpdateOptionalParams)
更新库 inVMAccessControlProfile。
function beginUpdateAndWait(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, galleryInVMAccessControlProfile: GalleryInVMAccessControlProfileUpdate, options?: GalleryInVMAccessControlProfilesUpdateOptionalParams): Promise<GalleryInVMAccessControlProfile>
参数
- resourceGroupName
-
string
资源组的名称。
- galleryName
-
string
要在其中更新 InVMAccessControlProfile 的共享映像库的名称。
- inVMAccessControlProfileName
-
string
要更新的库名称 inVMAccessControlProfile。 允许的字符是字母和数字,中间允许点、短划线和句点。 最大长度为 80 个字符。
- galleryInVMAccessControlProfile
- GalleryInVMAccessControlProfileUpdate
提供给更新库的参数 inVMAccessControlProfile 操作。
选项参数。
返回
Promise<GalleryInVMAccessControlProfile>
get(string, string, string, GalleryInVMAccessControlProfilesGetOptionalParams)
检索有关库的信息 inVMAccessControlProfile。
function get(resourceGroupName: string, galleryName: string, inVMAccessControlProfileName: string, options?: GalleryInVMAccessControlProfilesGetOptionalParams): Promise<GalleryInVMAccessControlProfile>
参数
- resourceGroupName
-
string
资源组的名称。
- galleryName
-
string
要从中检索 InVMAccessControlProfiles 的共享映像库的名称。
- inVMAccessControlProfileName
-
string
要检索的库名称 inVMAccessControlProfile。
选项参数。
返回
Promise<GalleryInVMAccessControlProfile>
listByGallery(string, string, GalleryInVMAccessControlProfilesListByGalleryOptionalParams)
列出库中的库 inVMAccessControlProfiles。
function listByGallery(resourceGroupName: string, galleryName: string, options?: GalleryInVMAccessControlProfilesListByGalleryOptionalParams): PagedAsyncIterableIterator<GalleryInVMAccessControlProfile, GalleryInVMAccessControlProfile[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
- galleryName
-
string
要从中列出 InVMAccessControlProfiles 的共享映像库的名称。