Share via


StorageSyncClientWrapper Class

Definition

Class StorageSyncClientWrapper. Implements the IStorageSyncClientWrapper

public class StorageSyncClientWrapper : Microsoft.Azure.Commands.StorageSync.Interfaces.IStorageSyncClientWrapper
type StorageSyncClientWrapper = class
    interface IStorageSyncClientWrapper
Public Class StorageSyncClientWrapper
Implements IStorageSyncClientWrapper
Inheritance
StorageSyncClientWrapper
Implements

Constructors

StorageSyncClientWrapper(IAzureContext, MicrosoftGraphClient)

Initializes a new instance of the StorageSyncClientWrapper class.

StorageSyncClientWrapper(IStorageSyncManagementClient, AuthorizationManagementClient, ResourceManagementClient)

Initializes a new instance of the StorageSyncClientWrapper class.

StorageSyncClientWrapper(IStorageSyncManagementClient, AuthorizationManagementClient, ResourceManagementClient)

Initializes a new instance of the StorageSyncClientWrapper class.

Fields

BuiltInRoleDefinitionId

The built in role definition identifier

StorageAccountContributorRoleDefinitionId

Storage Account Contributor Role Definition Id

StorageFileDataPrivilegedContributorRoleDefinitionId

Storage File Data Privileged Contributor Role Definition Id

Properties

AfsAgentInstallerPath

Gets the AFS Agent Installer Path

AfsAgentVersion

Gets the AFS Agent Version

AuthorizationManagementClient

Gets or sets the authorization management client.

CurrentApplicationId

Gets the current application identifier.

ErrorLogger

Gets or sets the error logger.

MicrosoftGraphClient

Gets or sets the Microsoft Graph Client.

ResourceManagementClient

Gets or sets the resource management client.

StorageSyncManagementClient

Gets or sets the storage sync management client.

StorageSyncResourceManager

Gets or sets the storage sync resource manager.

VerboseLogger

Gets or sets the verbose logger.

Methods

DeleteRoleAssignmentWithIdentity(String, Guid, String, String)

This function will try to delete role assignment if it exists.

EnsureRoleAssignment(MicrosoftGraphServicePrincipal, String, String)

Ensures the role assignment.

EnsureRoleAssignmentWithIdentity(String, Guid, String, String)

This function will try to create role assignment if not already created.

GetServicePrincipalOrNull()

Ensures the service principal.

TryRegisterProvider(String, String, String)

This function will invoke the registration and continue operation with a success function call.

Applies to

See also