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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET