Interface VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply
- All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.model.Appliable<VirtualMachineScaleSet>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.arm.models.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 Summary
Modifier and TypeMethodDescriptionwithSystemAssignedIdentityBasedAccessTo(String resourceId, com.azure.resourcemanager.authorization.models.BuiltInRole role) 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.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.withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(com.azure.resourcemanager.authorization.models.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.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.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Appliable
apply, apply, applyAsync, applyAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.UpdateWithTags
withoutTag, withTag, withTagsMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithAcceleratedNetworking
withAcceleratedNetworking, withoutAcceleratedNetworkingMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithAdditionalCapabilities
withAdditionalCapabilitiesMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithApplicationGateway
withExistingApplicationGatewayBackendPool, withoutApplicationGatewayBackendPoolMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithApplicationSecurityGroup
withExistingApplicationSecurityGroup, withExistingApplicationSecurityGroupId, withoutApplicationSecurityGroupMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithAvailabilityZone
withAvailabilityZoneMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithBillingProfile
withMaxPriceMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithBootDiagnostics
withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticsOnManagedStorageAccount, withoutBootDiagnosticsMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithCapacity
withCapacityMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithCustomData
withCustomDataMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithExtension
defineNewExtension, updateExtension, withoutExtensionMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithIpForwarding
withIpForwarding, withoutIpForwardingMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk
withNewDataDisk, withNewDataDisk, withNewDataDisk, withoutDataDiskMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithNetworkSecurityGroup
withExistingNetworkSecurityGroup, withExistingNetworkSecurityGroupId, withoutNetworkSecurityGroupMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancer
withoutPrimaryInternalLoadBalancer, withoutPrimaryInternetFacingLoadBalancerMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerBackend
withoutPrimaryInternalLoadBalancerBackends, withoutPrimaryInternetFacingLoadBalancerBackendsMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithoutPrimaryLoadBalancerNatPool
withoutPrimaryInternalLoadBalancerNatPools, withoutPrimaryInternetFacingLoadBalancerNatPoolsMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithSecrets
withoutSecrets, withSecretsMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithSinglePlacementGroup
withoutSinglePlacementGroup, withSinglePlacementGroupMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithSku
withSku, withSkuMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithSystemAssignedManagedServiceIdentity
withoutSystemAssignedManagedServiceIdentity, withSystemAssignedManagedServiceIdentityMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity, withoutUserAssignedManagedServiceIdentityMethods inherited from interface VirtualMachineScaleSet.UpdateStages.WithVirtualMachinePublicIp
withVirtualMachinePublicIp, withVirtualMachinePublicIp, withVirtualMachinePublicIp
-
Method Details
-
withSystemAssignedIdentityBasedAccessTo
VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply withSystemAssignedIdentityBasedAccessTo(String resourceId, com.azure.resourcemanager.authorization.models.BuiltInRole role) 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 resourcerole- access role to assigned to the scale set local identity- Returns:
- the next stage of the update
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(com.azure.resourcemanager.authorization.models.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 formatroleDefinitionId- 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
-