public interface VirtualMachineScaleSet extends GroupableResource<com.microsoft.azure.management.compute.implementation.ComputeManager,com.microsoft.azure.management.compute.implementation.VirtualMachineScaleSetInner>, Refreshable<VirtualMachineScaleSet>, Updatable<VirtualMachineScaleSet.UpdateStages.WithPrimaryLoadBalancer>
Modifier and Type | Interface and Description |
---|---|
static interface |
VirtualMachineScaleSet.DefinitionManaged
The entirety of the managed disk based virtual machine scale set definition.
|
static interface |
VirtualMachineScaleSet.DefinitionManagedOrUnmanaged
The entirety of the virtual machine scale set definition.
|
static interface |
VirtualMachineScaleSet.DefinitionShared
The virtual machine scale set stages shared between managed and unmanaged based
virtual machine scale set definitions.
|
static interface |
VirtualMachineScaleSet.DefinitionStages
Grouping of virtual machine scale set definition stages.
|
static interface |
VirtualMachineScaleSet.DefinitionUnmanaged
The entirety of the unmanaged disk based virtual machine scale set definition.
|
static interface |
VirtualMachineScaleSet.Update
The entirety of the virtual machine scale set update.
|
static interface |
VirtualMachineScaleSet.UpdateStages
Grouping of virtual machine scale set update stages.
|
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>
region, regionName, tags, type
key
id
name
resourceGroupName
manager
inner
refresh, refreshAsync
VirtualMachineScaleSetVMs virtualMachines()
PagedList<VirtualMachineScaleSetSku> listAvailableSkus()
void deallocate()
rx.Completable deallocateAsync()
ServiceFuture<Void> deallocateAsync(ServiceCallback<Void> callback)
callback
- the callback to call on success or failurevoid powerOff()
rx.Completable powerOffAsync()
ServiceFuture<Void> powerOffAsync(ServiceCallback<Void> callback)
callback
- the callback to call on success or failurevoid restart()
rx.Completable restartAsync()
ServiceFuture<Void> restartAsync(ServiceCallback<Void> callback)
callback
- the callback to call on success or failurevoid start()
rx.Completable startAsync()
ServiceFuture<Void> startAsync(ServiceCallback<Void> callback)
callback
- the callback to call on success or failurevoid reimage()
rx.Completable reimageAsync()
ServiceFuture<Void> reimageAsync(ServiceCallback<Void> callback)
callback
- the callback to call on success or failureRunCommandResult runPowerShellScriptInVMInstance(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
vmId
- the virtual machine instance idscriptLines
- PowerShell script linesscriptParameters
- script parametersrx.Observable<RunCommandResult> runPowerShellScriptInVMInstanceAsync(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
vmId
- the virtual machine instance idscriptLines
- PowerShell script linesscriptParameters
- script parametersRunCommandResult runShellScriptInVMInstance(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
vmId
- the virtual machine instance idscriptLines
- shell script linesscriptParameters
- script parametersrx.Observable<RunCommandResult> runShellScriptInVMInstanceAsync(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
vmId
- the virtual machine instance idscriptLines
- shell script linesscriptParameters
- script parametersRunCommandResult runCommandInVMInstance(String vmId, RunCommandInput inputCommand)
vmId
- the virtual machine instance idinputCommand
- command inputrx.Observable<RunCommandResult> runCommandVMInstanceAsync(String vmId, RunCommandInput inputCommand)
vmId
- the virtual machine instance idinputCommand
- command inputString computerNamePrefix()
OperatingSystemTypes osType()
CachingTypes osDiskCachingType()
String osDiskName()
UpgradeMode upgradeModel()
boolean overProvisionEnabled()
VirtualMachineScaleSetSkuTypes sku()
int capacity()
Network getPrimaryNetwork() throws IOException
A primary internal load balancer associated with the primary network interfaces of the scale set virtual machine will be also belong to this network
IOException
- the IO exceptionLoadBalancer getPrimaryInternetFacingLoadBalancer() throws IOException
IOException
- the IO exceptionMap<String,LoadBalancerBackend> listPrimaryInternetFacingLoadBalancerBackends() throws IOException
IOException
- the IO exceptionMap<String,LoadBalancerInboundNatPool> listPrimaryInternetFacingLoadBalancerInboundNatPools() throws IOException
IOException
- the IO exceptionLoadBalancer getPrimaryInternalLoadBalancer() throws IOException
IOException
- the IO exceptionMap<String,LoadBalancerBackend> listPrimaryInternalLoadBalancerBackends() throws IOException
IOException
- the IO exceptionMap<String,LoadBalancerInboundNatPool> listPrimaryInternalLoadBalancerInboundNatPools() throws IOException
IOException
- the IO exceptionList<String> primaryPublicIPAddressIds() throws IOException
IOException
- the IO exceptionList<String> vhdContainers()
VirtualMachineScaleSetStorageProfile storageProfile()
VirtualMachineScaleSetNetworkProfile networkProfile()
Map<String,VirtualMachineScaleSetExtension> extensions()
@Beta(value=V1_8_0) VirtualMachinePriorityTypes virtualMachinePriority()
@Beta(value=V1_11_0) VirtualMachineEvictionPolicyTypes virtualMachineEvictionPolicy()
VirtualMachineScaleSetNetworkInterface getNetworkInterfaceByInstanceId(String instanceId, String name)
instanceId
- the virtual machine scale set vm instance IDname
- the network interface namePagedList<VirtualMachineScaleSetNetworkInterface> listNetworkInterfaces()
PagedList<VirtualMachineScaleSetNetworkInterface> listNetworkInterfacesByInstanceId(String virtualMachineInstanceId)
virtualMachineInstanceId
- the instance IDboolean isManagedDiskEnabled()
@Beta(value=V1_2_0) boolean isManagedServiceIdentityEnabled()
@Beta(value=V1_5_0) String systemAssignedManagedServiceIdentityTenantId()
@Beta(value=V1_5_0) String systemAssignedManagedServiceIdentityPrincipalId()
@Beta(value=V1_4_0) ResourceIdentityType managedServiceIdentityType()
@Beta(value=V1_5_1) Set<String> userAssignedManagedServiceIdentityIds()
@Beta(value=V1_3_0) Set<AvailabilityZoneId> availabilityZones()
@Beta(value=V1_4_0) boolean isBootDiagnosticsEnabled()
@Beta(value=V1_4_0) String bootDiagnosticsStorageUri()
@Beta(value=V1_4_0) StorageAccountTypes managedOSDiskStorageAccountType()
@Beta(value=V1_14_0) VirtualMachineScaleSetPublicIPAddressConfiguration virtualMachinePublicIpConfig()
@Beta(value=V1_14_0) boolean isIpForwardingEnabled()
@Beta(value=V1_14_0) boolean isAcceleratedNetworkingEnabled()
@Beta(value=V1_14_0) String networkSecurityGroupId()
@Beta(value=V1_14_0) boolean isSinglePlacementGroupEnabled()
List<String> applicationGatewayBackendAddressPoolsIds()
List<String> applicationSecurityGroupIds()
Boolean doNotRunExtensionsOnOverprovisionedVMs()
ProximityPlacementGroup proximityPlacementGroup()
AdditionalCapabilities additionalCapabilities()
Copyright © 2019. All rights reserved.