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