ServiceArtifactReference Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. ServiceArtifactReference
- com.
public class ServiceArtifactReference
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.
Constructor Summary
Constructor | Description | |
---|---|---|
ServiceArtifactReference() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the service artifact reference id in the form of /subscriptions/{subscription |
Service |
withId(String id)
Set the service artifact reference id in the form of /subscriptions/{subscription |
Methods inherited from java.lang.Object
Constructor Details
ServiceArtifactReference
public ServiceArtifactReference()
Method Details
id
public String id()
Get the service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}.
Returns:
withId
public ServiceArtifactReference withId(String id)
Set the service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}.
Parameters:
Returns:
Applies to
Azure SDK for Java