ArmAppServiceModelFactory.AppServiceSourceControlData Method

Definition

Overloads

AppServiceSourceControlData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, String, Nullable<DateTimeOffset>)

Source:
ArmAppServiceModelFactory.cs

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 kind = default, string token = default, string tokenSecret = default, string refreshToken = default, DateTimeOffset? expireOn = default);
static member AppServiceSourceControlData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<DateTimeOffset> -> 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 kind As String = Nothing, Optional token As String = Nothing, Optional tokenSecret As String = Nothing, Optional refreshToken As String = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing) As AppServiceSourceControlData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

kind
String

Kind of resource. Serialized Name: SourceControl.kind

token
String

OAuth access token. Serialized Name: SourceControl.properties.token

tokenSecret
String

OAuth access token secret. Serialized Name: SourceControl.properties.tokenSecret

refreshToken
String

OAuth refresh token. Serialized Name: SourceControl.properties.refreshToken

expireOn
Nullable<DateTimeOffset>

OAuth token expiration. Serialized Name: SourceControl.properties.expirationTime

Returns

A new AppServiceSourceControlData instance for mocking.

Applies to

AppServiceSourceControlData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<DateTimeOffset>, String)

Source:
ArmAppServiceModelFactory.cs
Source:
ArmAppServiceModelFactory.cs

Initializes a new instance of AppServiceSourceControlData.

public static Azure.ResourceManager.AppService.AppServiceSourceControlData AppServiceSourceControlData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, string token, string tokenSecret, string refreshToken, DateTimeOffset? expireOn, string kind = default);
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 (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, token As String, tokenSecret As String, refreshToken As String, expireOn As Nullable(Of DateTimeOffset), Optional kind As String = Nothing) As 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