共用方式為


ArmAnalysisModelFactory.AnalysisServerData Method

Definition

Initializes a new instance of AnalysisServerData.

public static Azure.ResourceManager.Analysis.AnalysisServerData AnalysisServerData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IEnumerable<string> asAdministratorIdentities = default, Uri backupBlobContainerUri = default, Azure.ResourceManager.Analysis.Models.AnalysisGatewayDetails gatewayDetails = default, Azure.ResourceManager.Analysis.Models.AnalysisIPv4FirewallSettings iPv4FirewallSettings = default, Azure.ResourceManager.Analysis.Models.AnalysisConnectionMode? queryPoolConnectionMode = default, Azure.ResourceManager.Analysis.Models.AnalysisManagedMode? managedMode = default, Azure.ResourceManager.Analysis.Models.ServerMonitorMode? serverMonitorMode = default, Azure.ResourceManager.Analysis.Models.AnalysisState? state = default, Azure.ResourceManager.Analysis.Models.AnalysisProvisioningState? provisioningState = default, string serverFullName = default, Azure.ResourceManager.Analysis.Models.AnalysisResourceSku analysisServerSku = default, Azure.ResourceManager.Analysis.Models.AnalysisResourceSku analysisSku = default);
static member AnalysisServerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * seq<string> * Uri * Azure.ResourceManager.Analysis.Models.AnalysisGatewayDetails * Azure.ResourceManager.Analysis.Models.AnalysisIPv4FirewallSettings * Nullable<Azure.ResourceManager.Analysis.Models.AnalysisConnectionMode> * Nullable<Azure.ResourceManager.Analysis.Models.AnalysisManagedMode> * Nullable<Azure.ResourceManager.Analysis.Models.ServerMonitorMode> * Nullable<Azure.ResourceManager.Analysis.Models.AnalysisState> * Nullable<Azure.ResourceManager.Analysis.Models.AnalysisProvisioningState> * string * Azure.ResourceManager.Analysis.Models.AnalysisResourceSku * Azure.ResourceManager.Analysis.Models.AnalysisResourceSku -> Azure.ResourceManager.Analysis.AnalysisServerData
Public Shared Function AnalysisServerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional asAdministratorIdentities As IEnumerable(Of String) = Nothing, Optional backupBlobContainerUri As Uri = Nothing, Optional gatewayDetails As AnalysisGatewayDetails = Nothing, Optional iPv4FirewallSettings As AnalysisIPv4FirewallSettings = Nothing, Optional queryPoolConnectionMode As Nullable(Of AnalysisConnectionMode) = Nothing, Optional managedMode As Nullable(Of AnalysisManagedMode) = Nothing, Optional serverMonitorMode As Nullable(Of ServerMonitorMode) = Nothing, Optional state As Nullable(Of AnalysisState) = Nothing, Optional provisioningState As Nullable(Of AnalysisProvisioningState) = Nothing, Optional serverFullName As String = Nothing, Optional analysisServerSku As AnalysisResourceSku = Nothing, Optional analysisSku As AnalysisResourceSku = Nothing) As AnalysisServerData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

asAdministratorIdentities
IEnumerable<String>

A collection of AS server administrators.

backupBlobContainerUri
Uri

The SAS container URI to the backup container.

gatewayDetails
AnalysisGatewayDetails

The gateway details configured for the AS server.

iPv4FirewallSettings
AnalysisIPv4FirewallSettings

The firewall settings for the AS server.

queryPoolConnectionMode
Nullable<AnalysisConnectionMode>

How the read-write server's participation in the query pool is controlled.<br/>It can have the following values: <ul><li>readOnly - indicates that the read-write server is intended not to participate in query operations</li><li>all - indicates that the read-write server can participate in query operations</li></ul>Specifying readOnly when capacity is 1 results in error.

managedMode
Nullable<AnalysisManagedMode>

The managed mode of the server (0 = not managed, 1 = managed).

serverMonitorMode
Nullable<ServerMonitorMode>

The server monitor mode for AS server.

state
Nullable<AnalysisState>

The current state of Analysis Services resource. The state is to indicate more states outside of resource provisioning.

provisioningState
Nullable<AnalysisProvisioningState>

The current deployment state of Analysis Services resource. The provisioningState is to indicate states for resource provisioning.

serverFullName
String

The full name of the Analysis Services resource.

analysisServerSku
AnalysisResourceSku

The SKU of the Analysis Services resource.

analysisSku
AnalysisResourceSku

The SKU of the Analysis Services resource.

Returns

A new AnalysisServerData instance for mocking.

Applies to