你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineExtensionImageCollection.GetAllAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetAllAsync(CancellationToken) |
获取虚拟机扩展映像类型的列表。
|
GetAllAsync(String, String, Nullable<Int32>, String, CancellationToken) |
获取虚拟机扩展映像版本的列表。
|
GetAllAsync(CancellationToken)
获取虚拟机扩展映像类型的列表。
- 请求路径/订阅/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types
- 操作IdVirtualMachineExtensionImages_ListTypes
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualMachineExtensionImageResource)
参数
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
的异步集合 VirtualMachineExtensionImageResource ,可能需要循环访问多个服务请求。
适用于
GetAllAsync(String, String, Nullable<Int32>, String, CancellationToken)
获取虚拟机扩展映像版本的列表。
- Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions
- 操作IdVirtualMachineExtensionImages_ListVersions
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource> GetAllAsync (string type, string filter = default, int? top = default, string orderby = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource>
override this.GetAllAsync : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource>
Public Overridable Function GetAllAsync (type As String, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional orderby As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualMachineExtensionImageResource)
参数
- type
- String
要使用的字符串。
- filter
- String
要应用于操作的筛选器。
- orderby
- String
要使用的字符串。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
的异步集合 VirtualMachineExtensionImageResource ,可能需要循环访问多个服务请求。
例外
type
是一个空字符串,预期为非空。
type
为 null。