共用方式為


ArmStorageMoverModelFactory.SmbMountEndpointProperties Method

Definition

Initializes a new instance of SmbMountEndpointProperties.

public static Azure.ResourceManager.StorageMover.Models.SmbMountEndpointProperties SmbMountEndpointProperties (string description = default, Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState? provisioningState = default, string host = default, string shareName = default, Azure.ResourceManager.StorageMover.Models.AzureKeyVaultSmbCredentials credentials = default);
static member SmbMountEndpointProperties : string * Nullable<Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState> * string * string * Azure.ResourceManager.StorageMover.Models.AzureKeyVaultSmbCredentials -> Azure.ResourceManager.StorageMover.Models.SmbMountEndpointProperties
Public Shared Function SmbMountEndpointProperties (Optional description As String = Nothing, Optional provisioningState As Nullable(Of StorageMoverProvisioningState) = Nothing, Optional host As String = Nothing, Optional shareName As String = Nothing, Optional credentials As AzureKeyVaultSmbCredentials = Nothing) As SmbMountEndpointProperties

Parameters

description
String

A description for the Endpoint.

provisioningState
Nullable<StorageMoverProvisioningState>

The provisioning state of this resource.

host
String

The host name or IP address of the server exporting the file system.

shareName
String

The name of the SMB share being exported from the server.

credentials
AzureKeyVaultSmbCredentials

The Azure Key Vault secret URIs which store the required credentials to access the SMB share.

Returns

A new SmbMountEndpointProperties instance for mocking.

Applies to