Sdílet prostřednictvím


VirtualMachineConfiguration.ServiceArtifactReference Property

Definition

Gets or sets specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version.

[Newtonsoft.Json.JsonProperty(PropertyName="serviceArtifactReference")]
public Microsoft.Azure.Batch.Protocol.Models.ServiceArtifactReference ServiceArtifactReference { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="serviceArtifactReference")>]
member this.ServiceArtifactReference : Microsoft.Azure.Batch.Protocol.Models.ServiceArtifactReference with get, set
Public Property ServiceArtifactReference As ServiceArtifactReference

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}

Applies to