Interface VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
- All Superinterfaces:
Creatable<VirtualMachine>
,HasName
,Indexable
,Resource.DefinitionWithTags<VirtualMachine.DefinitionStages.WithCreate>
,VirtualMachine.DefinitionStages.WithAvailabilitySet
,VirtualMachine.DefinitionStages.WithBillingProfile
,VirtualMachine.DefinitionStages.WithBootDiagnostics
,VirtualMachine.DefinitionStages.WithCreate
,VirtualMachine.DefinitionStages.WithExtension
,VirtualMachine.DefinitionStages.WithLicenseType
,VirtualMachine.DefinitionStages.WithOSDiskSettings
,VirtualMachine.DefinitionStages.WithPlan
,VirtualMachine.DefinitionStages.WithPriority
,VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface
,VirtualMachine.DefinitionStages.WithStorageAccount
,VirtualMachine.DefinitionStages.WithSystemAssignedManagedServiceIdentity
,VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity
,VirtualMachine.DefinitionStages.WithVMSize
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
extends VirtualMachine.DefinitionStages.WithCreate
The stage of the System Assigned (Local) Managed Service Identity enabled virtual machine allowing to
set access role for the identity.
-
Method Summary
Modifier and TypeMethodDescriptionwithSystemAssignedIdentityBasedAccessTo
(String resourceId, 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's system assigned (local) identity should have the access (described by the role definition) on an ARM resource identified by the resource ID.Specifies that virtual machine'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'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.microsoft.azure.management.resources.fluentcore.model.Creatable
create, createAsync, createAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTags
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithAvailabilitySet
withExistingAvailabilitySet, withNewAvailabilitySet, withNewAvailabilitySet
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithBillingProfile
withMaxPrice
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithBootDiagnostics
withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticsOnManagedStorageAccount
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithExtension
defineNewExtension
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithLicenseType
withLicenseType
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithOSDiskSettings
withOSDiskCaching, withOSDiskEncryptionSettings, withOSDiskName, withOSDiskSizeInGB, withOSDiskSizeInGB
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithPlan
withPlan, withPromotionalPlan
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithPriority
withLowPriority, withLowPriority, withPriority, withSpotPriority, withSpotPriority
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface
withExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterface
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount
withExistingStorageAccount, withNewStorageAccount, withNewStorageAccount
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithSystemAssignedManagedServiceIdentity
withSystemAssignedManagedServiceIdentity
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithVMSize
withSize, withSize
-
Method Details
-
withSystemAssignedIdentityBasedAccessTo
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo(String resourceId, 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 virtual machine will have the same permission (role) on the ARM resource.- Parameters:
resourceId
- the ARM identifier of the resourcerole
- access role to assigned to the virtual machine's local identity- Returns:
- the next stage of the definition
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role) Specifies that virtual machine'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 virtual machine will have the same permission (role) on the resource group.- Parameters:
role
- access role to assigned to the virtual machine's local identity- Returns:
- the next stage of the definition
-
withSystemAssignedIdentityBasedAccessTo
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo(String resourceId, String roleDefinitionId) Specifies that virtual machine'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 virtual machine 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 virtual machine's local identity- Returns:
- the next stage of the definition
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String roleDefinitionId) Specifies that virtual machine'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 virtual machine will have the same permission (role) on the resource group.- Parameters:
roleDefinitionId
- access role definition to assigned to the virtual machine's local identity- Returns:
- the next stage of the definition
-