Aracılığıyla paylaş


ArmAppServiceModelFactory.StaticSiteBuildData Method

Definition

Initializes a new instance of StaticSiteBuildData.

public static Azure.ResourceManager.AppService.StaticSiteBuildData StaticSiteBuildData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string buildId = default, string sourceBranch = default, string pullRequestTitle = default, string hostname = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastUpdatedOn = default, Azure.ResourceManager.AppService.Models.StaticSiteBuildStatus? status = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.StaticSiteUserProvidedFunctionAppData> userProvidedFunctionApps = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.StaticSiteLinkedBackendInfo> linkedBackends = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.StaticSiteDatabaseConnectionOverview> databaseConnections = default, string kind = default);
static member StaticSiteBuildData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.AppService.Models.StaticSiteBuildStatus> * seq<Azure.ResourceManager.AppService.StaticSiteUserProvidedFunctionAppData> * seq<Azure.ResourceManager.AppService.Models.StaticSiteLinkedBackendInfo> * seq<Azure.ResourceManager.AppService.Models.StaticSiteDatabaseConnectionOverview> * string -> Azure.ResourceManager.AppService.StaticSiteBuildData
Public Shared Function StaticSiteBuildData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional buildId As String = Nothing, Optional sourceBranch As String = Nothing, Optional pullRequestTitle As String = Nothing, Optional hostname As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of StaticSiteBuildStatus) = Nothing, Optional userProvidedFunctionApps As IEnumerable(Of StaticSiteUserProvidedFunctionAppData) = Nothing, Optional linkedBackends As IEnumerable(Of StaticSiteLinkedBackendInfo) = Nothing, Optional databaseConnections As IEnumerable(Of StaticSiteDatabaseConnectionOverview) = Nothing, Optional kind As String = Nothing) As StaticSiteBuildData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

buildId
String

An identifier for the static site build.

sourceBranch
String

The source branch.

pullRequestTitle
String

The title of a pull request that a static site build is related to.

hostname
String

The hostname for a static site build.

createdOn
Nullable<DateTimeOffset>

When this build was created.

lastUpdatedOn
Nullable<DateTimeOffset>

When this build was updated.

status
Nullable<StaticSiteBuildStatus>

The status of the static site build.

userProvidedFunctionApps
IEnumerable<StaticSiteUserProvidedFunctionAppData>

User provided function apps registered with the static site build.

linkedBackends
IEnumerable<StaticSiteLinkedBackendInfo>

Backends linked to the static side build.

databaseConnections
IEnumerable<StaticSiteDatabaseConnectionOverview>

Database connections for the static site build.

kind
String

Kind of resource.

Returns

A new StaticSiteBuildData instance for mocking.

Applies to