Compartir vía


VirtualMachineScaleSet.UpdateStages.WithRoleAndScopeOrApply Interface

public interface WithRoleAndScopeOrApply extends VirtualMachineScaleSet.UpdateStages.WithApply

The stage of the Managed Service Identity enabled virtual machine allowing to set role assignment for a scope.

Method Summary

Modifier and Type Method and Description
VirtualMachineScaleSet.UpdateStages.WithRoleAndScopeOrApply withRoleBasedAccessTo(String scope, BuiltInRole asRole)

Specifies that applications running on the virtual machine scale set instance requires the given access role with scope of access limited to the ARM resource identified by the resource ID specified in the scope parameter.

VirtualMachineScaleSet.UpdateStages.WithRoleAndScopeOrApply withRoleBasedAccessToCurrentResourceGroup(BuiltInRole asRole)

Specifies that applications running on the virtual machine scale set instance requires the given access role with scope of access limited to the current resource group that the virtual machine scale set resides.

VirtualMachineScaleSet.UpdateStages.WithRoleAndScopeOrApply withRoleDefinitionBasedAccessTo(String scope, String roleDefinitionId)

Specifies that applications running on the virtual machine scale set instance requires the access described in the given role definition with scope of access limited to the ARM resource identified by the resource ID specified in the scope parameter.

VirtualMachineScaleSet.UpdateStages.WithRoleAndScopeOrApply withRoleDefinitionBasedAccessToCurrentResourceGroup(String roleDefinitionId)

Specifies that applications running on the virtual machine scale set instance requires the access described in the given role definition with scope of access limited to the current resource group that the virtual machine scale set resides.

Inherited Members

Appliable<T>.apply() Appliable<T>.applyAsync() Appliable<T>.applyAsync(final ServiceCallback<T> callback) VirtualMachineScaleSet.UpdateStages.WithExtension.defineNewExtension(String name) Indexable.key() VirtualMachineScaleSet.UpdateStages.WithExtension.updateExtension(String name) VirtualMachineScaleSet.UpdateStages.WithAvailabilityZone.withAvailabilityZone(AvailabilityZoneId zoneId) VirtualMachineScaleSet.UpdateStages.WithCapacity.withCapacity(int capacity) VirtualMachineScaleSet.UpdateStages.WithManagedServiceIdentity.withManagedServiceIdentity() VirtualMachineScaleSet.UpdateStages.WithManagedServiceIdentity.withManagedServiceIdentity(int tokenPort) VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB) VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType) VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType) VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk.withoutDataDisk(int lun) VirtualMachineScaleSet.UpdateStages.WithExtension.withoutExtension(String name) VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancer.withoutPrimaryInternalLoadBalancer() VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerBackend.withoutPrimaryInternalLoadBalancerBackends(String...backendNames) VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerNatPool.withoutPrimaryInternalLoadBalancerNatPools(String...natPoolNames) VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancer.withoutPrimaryInternetFacingLoadBalancer() VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerBackend.withoutPrimaryInternetFacingLoadBalancerBackends(String...backendNames) VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerNatPool.withoutPrimaryInternetFacingLoadBalancerNatPools(String...natPoolNames) Resource.UpdateWithTags<T>.withoutTag(String key) VirtualMachineScaleSet.UpdateStages.WithSku.withSku(VirtualMachineScaleSetSkuTypes skuType) VirtualMachineScaleSet.UpdateStages.WithSku.withSku(VirtualMachineScaleSetSku sku) Resource.UpdateWithTags<T>.withTag(String key, String value) Resource.UpdateWithTags<T>.withTags(Map<String, String> tags)

Method Details

withRoleBasedAccessTo

public WithRoleAndScopeOrApply withRoleBasedAccessTo(String scope, BuiltInRole asRole)

Specifies that applications running on the virtual machine scale set instance requires the given access role with scope of access limited to the ARM resource identified by the resource ID specified in the scope parameter.

Parameters:

scope - scope of the access represented in ARM resource ID format
asRole - access role to assigned to the virtual machine scale set

Returns:

the next stage of the update

withRoleBasedAccessToCurrentResourceGroup

public WithRoleAndScopeOrApply withRoleBasedAccessToCurrentResourceGroup(BuiltInRole asRole)

Specifies that applications running on the virtual machine scale set instance requires the given access role with scope of access limited to the current resource group that the virtual machine scale set resides.

Parameters:

asRole - access role to assigned to the virtual machine scale set

Returns:

the next stage of the update

withRoleDefinitionBasedAccessTo

public WithRoleAndScopeOrApply withRoleDefinitionBasedAccessTo(String scope, String roleDefinitionId)

Specifies that applications running on the virtual machine scale set instance requires the access described in the given role definition with scope of access limited to the ARM resource identified by the resource ID specified in the scope parameter.

Parameters:

scope - scope of the access represented in ARM resource ID format
roleDefinitionId - role definition to assigned to the virtual machine scale set

Returns:

the next stage of the update

withRoleDefinitionBasedAccessToCurrentResourceGroup

public WithRoleAndScopeOrApply withRoleDefinitionBasedAccessToCurrentResourceGroup(String roleDefinitionId)

Specifies that applications running on the virtual machine scale set instance requires the access described in the given role definition with scope of access limited to the current resource group that the virtual machine scale set resides.

Parameters:

roleDefinitionId - role definition to assigned to the virtual machine scale set

Returns:

the next stage of the update

Applies to