Interface VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
- All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.model.Creatable<VirtualMachineScaleSet>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.arm.models.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.WithEphemeralOSDisk, VirtualMachineScaleSet.DefinitionStages.WithExtension, VirtualMachineScaleSet.DefinitionStages.WithIpForwarding, VirtualMachineScaleSet.DefinitionStages.WithNetworkSecurityGroup, VirtualMachineScaleSet.DefinitionStages.WithOSDiskSettings, VirtualMachineScaleSet.DefinitionStages.WithOverProvision, VirtualMachineScaleSet.DefinitionStages.WithPlan, 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 Summary
Modifier and TypeMethodDescriptionwithSystemAssignedIdentityBasedAccessTo(String resourceId, 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 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 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.Creatable
create, create, createAsync, createAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTagsMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithAcceleratedNetworking
withAcceleratedNetworking, withoutAcceleratedNetworkingMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithApplicationGateway
withExistingApplicationGatewayBackendPoolMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithApplicationSecurityGroup
withExistingApplicationSecurityGroup, withExistingApplicationSecurityGroupIdMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithBillingProfile
withMaxPriceMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithBootDiagnostics
withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticsOnManagedStorageAccountMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithCapacity
withCapacityMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithComputerNamePrefix
withComputerNamePrefixMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithCustomData
withCustomDataMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithEphemeralOSDisk
withPlacementMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithExtension
defineNewExtensionMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithIpForwarding
withIpForwarding, withoutIpForwardingMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithNetworkSecurityGroup
withExistingNetworkSecurityGroup, withExistingNetworkSecurityGroupIdMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithOSDiskSettings
withEphemeralOSDisk, withOSDiskCaching, withOSDiskNameMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithOverProvision
withoutOverProvisioning, withOverProvision, withOverProvisioningMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithPlan
withPlanMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithSecrets
withSecretsMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithSinglePlacementGroup
withoutSinglePlacementGroup, withSinglePlacementGroupMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithStorageAccount
withExistingStorageAccount, withNewStorageAccount, withNewStorageAccountMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedManagedServiceIdentity
withSystemAssignedManagedServiceIdentityMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithUpgradePolicy
withUpgradeModeMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentityMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithVirtualMachinePublicIp
withVirtualMachinePublicIp, withVirtualMachinePublicIp, withVirtualMachinePublicIp
-
Method Details
-
withSystemAssignedIdentityBasedAccessTo
VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo(String resourceId, 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 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 definition
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(com.azure.resourcemanager.authorization.models.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 formatroleDefinitionId- 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
-