public interface VirtualMachineScaleSet extends GroupableResource<ComputeManager,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
name
resourceGroupName
manager
innerModel
refresh, refreshAsync
VirtualMachineScaleSetVMs virtualMachines()
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetSku> listAvailableSkus()
void deallocate()
Mono<Void> deallocateAsync()
void powerOff()
Mono<Void> powerOffAsync()
void restart()
Mono<Void> restartAsync()
void start()
Mono<Void> startAsync()
void reimage()
Mono<Void> reimageAsync()
RunCommandResult runPowerShellScriptInVMInstance(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
vmId
- the virtual machine instance idscriptLines
- PowerShell script linesscriptParameters
- script parametersMono<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 parametersMono<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 inputMono<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()
VirtualMachinePriorityTypes virtualMachinePriority()
BillingProfile billingProfile()
VirtualMachineEvictionPolicyTypes virtualMachineEvictionPolicy()
VirtualMachineScaleSetNetworkInterface getNetworkInterfaceByInstanceId(String instanceId, String name)
instanceId
- the virtual machine scale set vm instance IDname
- the network interface namecom.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetNetworkInterface> listNetworkInterfaces()
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetNetworkInterface> listNetworkInterfacesByInstanceId(String virtualMachineInstanceId)
virtualMachineInstanceId
- the instance IDcom.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetNetworkInterface> listNetworkInterfacesByInstanceIdAsync(String virtualMachineInstanceId)
virtualMachineInstanceId
- the instance IDboolean isManagedDiskEnabled()
boolean isManagedServiceIdentityEnabled()
String systemAssignedManagedServiceIdentityTenantId()
String systemAssignedManagedServiceIdentityPrincipalId()
ResourceIdentityType managedServiceIdentityType()
Set<String> userAssignedManagedServiceIdentityIds()
Set<AvailabilityZoneId> availabilityZones()
boolean isBootDiagnosticsEnabled()
String bootDiagnosticsStorageUri()
StorageAccountTypes managedOSDiskStorageAccountType()
VirtualMachineScaleSetPublicIpAddressConfiguration virtualMachinePublicIpConfig()
boolean isIpForwardingEnabled()
boolean isAcceleratedNetworkingEnabled()
String networkSecurityGroupId()
boolean isSinglePlacementGroupEnabled()
List<String> applicationGatewayBackendAddressPoolsIds()
List<String> applicationSecurityGroupIds()
Boolean doNotRunExtensionsOnOverprovisionedVMs()
ProximityPlacementGroup proximityPlacementGroup()
AdditionalCapabilities additionalCapabilities()
Copyright © 2020 Microsoft Corporation. All rights reserved.