你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmDevCenterModelFactory.DevBoxDefinitionPatch Method

Definition

public static Azure.ResourceManager.DevCenter.Models.DevBoxDefinitionPatch DevBoxDefinitionPatch(System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation? location = default, Azure.ResourceManager.DevCenter.Models.DevCenterImageReference imageReference = default, Azure.ResourceManager.DevCenter.Models.DevCenterSku sku = default, string osStorageType = default, Azure.ResourceManager.DevCenter.Models.DevCenterHibernateSupport? hibernateSupport = default);
static member DevBoxDefinitionPatch : System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.Core.AzureLocation> * Azure.ResourceManager.DevCenter.Models.DevCenterImageReference * Azure.ResourceManager.DevCenter.Models.DevCenterSku * string * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterHibernateSupport> -> Azure.ResourceManager.DevCenter.Models.DevBoxDefinitionPatch
Public Shared Function DevBoxDefinitionPatch (Optional tags As IDictionary(Of String, String) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional imageReference As DevCenterImageReference = Nothing, Optional sku As DevCenterSku = Nothing, Optional osStorageType As String = Nothing, Optional hibernateSupport As Nullable(Of DevCenterHibernateSupport) = Nothing) As DevBoxDefinitionPatch

Parameters

tags
IDictionary<String,String>

Resource tags.

location
Nullable<AzureLocation>

The geo-location where the resource lives.

imageReference
DevCenterImageReference

Image reference information.

sku
DevCenterSku

The SKU for Dev Boxes created using this definition.

osStorageType
String

The storage type used for the Operating System disk of Dev Boxes created using this definition.

hibernateSupport
Nullable<DevCenterHibernateSupport>

Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate.

Returns

A new DevBoxDefinitionPatch instance for mocking.

Applies to