Interface VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply

All Superinterfaces:
Appliable<VirtualMachineScaleSet>, Indexable, Resource.UpdateWithTags<VirtualMachineScaleSet.UpdateStages.WithApply>, VirtualMachineScaleSet.UpdateStages.WithAcceleratedNetworking, VirtualMachineScaleSet.UpdateStages.WithAdditionalCapabilities, VirtualMachineScaleSet.UpdateStages.WithApplicationGateway, VirtualMachineScaleSet.UpdateStages.WithApplicationSecurityGroup, VirtualMachineScaleSet.UpdateStages.WithApply, VirtualMachineScaleSet.UpdateStages.WithAvailabilityZone, VirtualMachineScaleSet.UpdateStages.WithBillingProfile, VirtualMachineScaleSet.UpdateStages.WithBootDiagnostics, VirtualMachineScaleSet.UpdateStages.WithCapacity, VirtualMachineScaleSet.UpdateStages.WithCustomData, VirtualMachineScaleSet.UpdateStages.WithExtension, VirtualMachineScaleSet.UpdateStages.WithIpForwarding, VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk, VirtualMachineScaleSet.UpdateStages.WithNetworkSecurityGroup, VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancer, VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerBackend, VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerNatPool, VirtualMachineScaleSet.UpdateStages.WithSecrets, VirtualMachineScaleSet.UpdateStages.WithSinglePlacementGroup, VirtualMachineScaleSet.UpdateStages.WithSku, VirtualMachineScaleSet.UpdateStages.WithSystemAssignedManagedServiceIdentity, VirtualMachineScaleSet.UpdateStages.WithUnmanagedDataDisk, VirtualMachineScaleSet.UpdateStages.WithUserAssignedManagedServiceIdentity, VirtualMachineScaleSet.UpdateStages.WithVirtualMachinePublicIp
Enclosing interface:
VirtualMachineScaleSet.UpdateStages

public static interface VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply extends VirtualMachineScaleSet.UpdateStages.WithApply
The stage of the System Assigned (Local) Managed Service Identity enabled virtual machine scale set allowing to set access for the identity.
  • Method Details

    • withSystemAssignedIdentityBasedAccessTo

      Specifies that virtual machine's system assigned (local) identity should have the given access (described by the role) on an ARM resource identified by the resource ID. Applications running on the scale set VM instance will have the same permission (role) on the ARM resource.
      Parameters:
      resourceId - the ARM identifier of the resource
      role - access role to assigned to the scale set local identity
      Returns:
      the next stage of the update
    • withSystemAssignedIdentityBasedAccessToCurrentResourceGroup

      VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role)
      Specifies that virtual machine scale set's system assigned (local) identity should have the given access (described by the role) on the resource group that virtual machine resides. Applications running on the scale set VM instance will have the same permission (role) on the resource group.
      Parameters:
      role - access role to assigned to the scale set local identity
      Returns:
      the next stage of the update
    • withSystemAssignedIdentityBasedAccessTo

      VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply withSystemAssignedIdentityBasedAccessTo(String resourceId, String roleDefinitionId)
      Specifies that virtual machine scale set 's system assigned (local) identity should have the access (described by the role definition) on an ARM resource identified by the resource ID. Applications running on the scale set VM instance will have the same permission (role) on the ARM resource.
      Parameters:
      resourceId - scope of the access represented in ARM resource ID format
      roleDefinitionId - access role definition to assigned to the scale set local identity
      Returns:
      the next stage of the update
    • withSystemAssignedIdentityBasedAccessToCurrentResourceGroup

      VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String roleDefinitionId)
      Specifies that virtual machine scale set's system assigned (local) identity should have the access (described by the role definition) on the resource group that virtual machine resides. Applications running on the scale set VM instance will have the same permission (role) on the resource group.
      Parameters:
      roleDefinitionId - access role definition to assigned to the scale set local identity
      Returns:
      the next stage of the update