你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmSphereModelFactory.SphereDeploymentData Method

Definition

Initializes a new instance of SphereDeploymentData.

public static Azure.ResourceManager.Sphere.SphereDeploymentData SphereDeploymentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string deploymentId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sphere.SphereImageData> deployedImages = default, DateTimeOffset? deploymentDateUtc = default, Azure.ResourceManager.Sphere.Models.SphereProvisioningState? provisioningState = default);
static member SphereDeploymentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<Azure.ResourceManager.Sphere.SphereImageData> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sphere.Models.SphereProvisioningState> -> Azure.ResourceManager.Sphere.SphereDeploymentData
Public Shared Function SphereDeploymentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional deploymentId As String = Nothing, Optional deployedImages As IEnumerable(Of SphereImageData) = Nothing, Optional deploymentDateUtc As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of SphereProvisioningState) = Nothing) As SphereDeploymentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

deploymentId
String

Deployment ID.

deployedImages
IEnumerable<SphereImageData>

Images deployed.

deploymentDateUtc
Nullable<DateTimeOffset>

Deployment date UTC.

provisioningState
Nullable<SphereProvisioningState>

The status of the last operation.

Returns

A new SphereDeploymentData instance for mocking.

Applies to