Compartilhar via


ArmAppServiceModelFactory.AppServiceSourceControlData Method

Definition

Initializes a new instance of AppServiceSourceControlData.

public static Azure.ResourceManager.AppService.AppServiceSourceControlData AppServiceSourceControlData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string token = default, string tokenSecret = default, string refreshToken = default, DateTimeOffset? expireOn = default, string kind = default);
static member AppServiceSourceControlData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.AppService.AppServiceSourceControlData
Public Shared Function AppServiceSourceControlData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional token As String = Nothing, Optional tokenSecret As String = Nothing, Optional refreshToken As String = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional kind As String = Nothing) As AppServiceSourceControlData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

token
String

OAuth access token.

tokenSecret
String

OAuth access token secret.

refreshToken
String

OAuth refresh token.

expireOn
Nullable<DateTimeOffset>

OAuth token expiration.

kind
String

Kind of resource.

Returns

A new AppServiceSourceControlData instance for mocking.

Applies to