Lingua

ArmDevOpsInfrastructureModelFactory.DevOpsPoolVmImage Method

Definition

The VM image of the machines in the pool.

public static Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolVmImage DevOpsPoolVmImage(string resourceId = default, string wellKnownImageName = default, System.Collections.Generic.IEnumerable<string> aliases = default, string buffer = default, Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsEphemeralType? ephemeralType = default, bool? isEphemeral = default, Azure.Core.ResourceIdentifier provisioningScriptStorageAccountResourceId = default, string provisioningScriptManagedIdentityClientId = default, bool? provisioningScriptShouldRestart = default, string provisioningScriptEntryPoint = default);
static member DevOpsPoolVmImage : string * string * seq<string> * string * Nullable<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsEphemeralType> * Nullable<bool> * Azure.Core.ResourceIdentifier * string * Nullable<bool> * string -> Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolVmImage
Public Shared Function DevOpsPoolVmImage (Optional resourceId As String = Nothing, Optional wellKnownImageName As String = Nothing, Optional aliases As IEnumerable(Of String) = Nothing, Optional buffer As String = Nothing, Optional ephemeralType As Nullable(Of DevOpsEphemeralType) = Nothing, Optional isEphemeral As Nullable(Of Boolean) = Nothing, Optional provisioningScriptStorageAccountResourceId As ResourceIdentifier = Nothing, Optional provisioningScriptManagedIdentityClientId As String = Nothing, Optional provisioningScriptShouldRestart As Nullable(Of Boolean) = Nothing, Optional provisioningScriptEntryPoint As String = Nothing) As DevOpsPoolVmImage

Parameters

resourceId
String

The resource id of the image.

wellKnownImageName
String

The image to use from a well-known set of images made available to customers.

aliases
IEnumerable<String>

List of aliases to reference the image by.

buffer
String

The percentage of the buffer to be allocated to this image.

ephemeralType
Nullable<DevOpsEphemeralType>

The ephemeral type of the image.

isEphemeral
Nullable<Boolean>

Read only. Determines if the image is ephemeral.

provisioningScriptStorageAccountResourceId
ResourceIdentifier

The ARM resource ID of the storage account hosting provisioning scripts for this image.

provisioningScriptManagedIdentityClientId
String

The managed identity client ID used to access provisioning script content for this image.

provisioningScriptShouldRestart
Nullable<Boolean>

Determines whether the machine should be restarted after provisioning script execution for this image.

provisioningScriptEntryPoint
String

The provisioning script entry point for this image.

Returns

A new DevOpsPoolVmImage instance for mocking.

Applies to