ArmSecurityInsightsModelFactory.SourceControlServicePrincipal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SourceControlServicePrincipal.
public static Azure.ResourceManager.SecurityInsights.Models.SourceControlServicePrincipal SourceControlServicePrincipal(string id = default, Guid? tenantId = default, string appId = default, DateTimeOffset? credentialsExpireOn = default);
static member SourceControlServicePrincipal : string * Nullable<Guid> * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.SecurityInsights.Models.SourceControlServicePrincipal
Public Shared Function SourceControlServicePrincipal (Optional id As String = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional appId As String = Nothing, Optional credentialsExpireOn As Nullable(Of DateTimeOffset) = Nothing) As SourceControlServicePrincipal
Parameters
- id
- String
Id of service principal.
- appId
- String
App id of service principal.
- credentialsExpireOn
- Nullable<DateTimeOffset>
Expiration time of service principal credentials.
Returns
A new SourceControlServicePrincipal instance for mocking.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET