VirtualMachineScaleSet.DefinitionStages.WithRoleAndScopeOrCreate 接口

定义

The stage of the Managed Service Identity enabled virtual machine scale set allowing to set role assignment for a scope.

public interface WithRoleAndScopeOrCreate extends VirtualMachineScaleSet.DefinitionStages.WithCreate

继承成员

Creatable<T>.create() Creatable<T>.createAsync(final ServiceCallback<T> callback) Creatable<T>.createAsync() VirtualMachineScaleSet.DefinitionStages.WithExtension.defineNewExtension(String name) Indexable.key() HasName.name() VirtualMachineScaleSet.DefinitionStages.WithCapacity.withCapacity(int capacity) VirtualMachineScaleSet.DefinitionStages.WithComputerNamePrefix.withComputerNamePrefix(String namePrefix) VirtualMachineScaleSet.DefinitionStages.WithCustomData.withCustomData(String base64EncodedCustomData) VirtualMachineScaleSet.DefinitionStages.WithStorageAccount.withExistingStorageAccount(StorageAccount storageAccount) VirtualMachineScaleSet.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity() VirtualMachineScaleSet.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity(int tokenPort) VirtualMachineScaleSet.DefinitionStages.WithStorageAccount.withNewStorageAccount(String name) VirtualMachineScaleSet.DefinitionStages.WithStorageAccount.withNewStorageAccount(Creatable<StorageAccount> creatable) VirtualMachineScaleSet.DefinitionStages.WithOSDiskSettings.withOSDiskCaching(CachingTypes cachingType) VirtualMachineScaleSet.DefinitionStages.WithOSDiskSettings.withOSDiskName(String name) VirtualMachineScaleSet.DefinitionStages.WithOverProvision.withoutOverProvisioning() VirtualMachineScaleSet.DefinitionStages.WithOverProvision.withOverProvision(boolean enabled) VirtualMachineScaleSet.DefinitionStages.WithOverProvision.withOverProvisioning() Resource.DefinitionWithTags<T>.withTag(String key, String value) Resource.DefinitionWithTags<T>.withTags(Map<String, String> tags) VirtualMachineScaleSet.DefinitionStages.WithUpgradePolicy.withUpgradeMode(UpgradeMode upgradeMode)

方法

withRoleBasedAccessTo(String scope, BuiltInRole asRole)

Specifies that applications running on the virtual machine scale set instance requires the given access role with scope of access limited to the ARM resource identified by the resource id specified in the scope parameter.

withRoleBasedAccessToCurrentResourceGroup(BuiltInRole asRole)

Specifies that applications running on the virtual machine scale set instance requires the given access role with scope of access limited to the current resource group that the virtual machine scale set resides.

withRoleDefinitionBasedAccessTo(String scope, String roleDefinitionId)

Specifies that applications running on the virtual machine scale set instance requires the access described in the given role definition with scope of access limited to the ARM resource identified by the resource ID specified in the scope parameter.

withRoleDefinitionBasedAccessToCurrentResourceGroup(String roleDefinitionId)

Specifies that applications running on the virtual machine scale set instance requires the access described in the given role definition with scope of access limited to the current resource group that the virtual machine scale set resides.

适用于