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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET