ServerManagedIdentityProvider Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ServerManagedIdentityProvider provides info about the Server -- the type/if server MI is enabled
C#
public class ServerManagedIdentityProvider : IDisposable, Microsoft.Azure.Commands.StorageSync.Interop.ManagedIdentity.IServerManagedIdentityProvider
type ServerManagedIdentityProvider = class
interface IServerManagedIdentityProvider
interface IDisposable
Public Class ServerManagedIdentityProvider
Implements IDisposable, IServerManagedIdentityProvider
- Inheritance
-
ServerManagedIdentityProvider
- Implements
Dispose() | |
Get |
Gets the server's application id by trying to get a token from the Arc/Azure IMDS endpoint and parsing for the oid |
Get |
Gets the server's VM Type using a COM interface which queries the Azure and Arc IMDS endpoints and checking resourceId |
Termék | Verziók |
---|---|
Azure - PowerShell Commands | 12 (LTS), Latest |