primaryNetworkInterfaceDeleteOptions
DeleteOptions primaryNetworkInterfaceDeleteOptions()
Gets the delete options for the primary network interface.
- Returns:
- the delete options for the primary network interface
GroupableResource<ComputeManager,VirtualMachineInner> , HasId, HasInnerModel<VirtualMachineInner>, HasManager<ComputeManager>, HasName, HasNetworkInterfaces, HasResourceGroup, Indexable, Refreshable<VirtualMachine>, Resource, Updatable<VirtualMachine.Update>static interface static interface static interface static interface static interface static interface static interface Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>com.azure.core.http.rest.PagedIterable<VirtualMachineSize> captureAsync(String containerName,
String vhdPrefix,
boolean overwriteVhd) voidvoidvoiddeallocate(boolean hibernate) deallocateAsync(boolean hibernate) voidbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleannetworkInterfaceDeleteOptions(String networkInterfaceId) osDiskId()intosType()plan()voidpowerOff()voidpowerOff(boolean skipShutdown) powerOffAsync(boolean skipShutdown) priority()voidredeploy()voidrestart()runCommand(RunCommandInput inputCommand) runCommandAsync(RunCommandInput inputCommand) runPowerShellScript(List<String> scriptLines,
List<RunCommandInputParameter> scriptParameters) runPowerShellScriptAsync(List<String> scriptLines,
List<RunCommandInputParameter> scriptParameters) runShellScript(List<String> scriptLines,
List<RunCommandInputParameter> scriptParameters) runShellScriptAsync(List<String> scriptLines,
List<RunCommandInputParameter> scriptParameters) voidsize()voidstart()userData()vmId()innerModelmanagernamegetPrimaryNetworkInterface, getPrimaryNetworkInterfaceAsync, networkInterfaceIds, primaryNetworkInterfaceIdresourceGroupNamerefresh, refreshAsyncregion, regionName, tags, typehibernate - hibernate the virtual machinehibernate - hibernate the virtual machineskipShutdown - power off without graceful shutdownskipShutdown - power off without graceful shutdowncontainerName - destination container name to store the captured VHDvhdPrefix - the prefix for the VHD holding captured imageoverwriteVhd - whether to overwrites destination VHD if it existscontainerName - destination container name to store the captured VHDvhdPrefix - the prefix for the VHD holding captured imageoverwriteVhd - whether to overwrites destination VHD if it existsThe instance view will be cached for later retrieval using instanceView.
scriptLines - PowerShell script linesscriptParameters - script parametersscriptLines - PowerShell script linesscriptParameters - script parametersscriptLines - shell script linesscriptParameters - script parametersscriptLines - shell script linesscriptParameters - script parametersinputCommand - command inputinputCommand - command inputNote that this method makes a rest API call to fetch the resource.
The instance view will be cached for later retrieval using instanceView.
SecurityTypes of the virtual machinenetworkInterfaceId - resource ID of the network interface