Interface VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate

All Superinterfaces:
Creatable<VirtualMachineScaleSet>, HasName, Indexable, Resource.DefinitionWithTags<VirtualMachineScaleSet.DefinitionStages.WithCreate>, VirtualMachineScaleSet.DefinitionStages.WithAcceleratedNetworking, VirtualMachineScaleSet.DefinitionStages.WithApplicationGateway, VirtualMachineScaleSet.DefinitionStages.WithApplicationSecurityGroup, VirtualMachineScaleSet.DefinitionStages.WithBillingProfile, VirtualMachineScaleSet.DefinitionStages.WithBootDiagnostics, VirtualMachineScaleSet.DefinitionStages.WithCapacity, VirtualMachineScaleSet.DefinitionStages.WithComputerNamePrefix, VirtualMachineScaleSet.DefinitionStages.WithCreate, VirtualMachineScaleSet.DefinitionStages.WithCustomData, VirtualMachineScaleSet.DefinitionStages.WithExtension, VirtualMachineScaleSet.DefinitionStages.WithIpForwarding, VirtualMachineScaleSet.DefinitionStages.WithNetworkSecurityGroup, VirtualMachineScaleSet.DefinitionStages.WithOSDiskSettings, VirtualMachineScaleSet.DefinitionStages.WithOverProvision, VirtualMachineScaleSet.DefinitionStages.WithSecrets, VirtualMachineScaleSet.DefinitionStages.WithSinglePlacementGroup, VirtualMachineScaleSet.DefinitionStages.WithStorageAccount, VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedManagedServiceIdentity, VirtualMachineScaleSet.DefinitionStages.WithUpgradePolicy, VirtualMachineScaleSet.DefinitionStages.WithUserAssignedManagedServiceIdentity, VirtualMachineScaleSet.DefinitionStages.WithVirtualMachinePublicIp, VirtualMachineScaleSet.DefinitionStages.WithVMPriority
Enclosing interface:
VirtualMachineScaleSet.DefinitionStages

public static interface VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate extends VirtualMachineScaleSet.DefinitionStages.WithCreate
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 scale set'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 definition
    • withSystemAssignedIdentityBasedAccessToCurrentResourceGroup

      VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role)
      Specifies that virtual machine scale set's 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 definition
    • withSystemAssignedIdentityBasedAccessTo

      VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate 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 definition
    • withSystemAssignedIdentityBasedAccessToCurrentResourceGroup

      VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate 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 definition