ArmSecurityInsightsModelFactory.GcpAuthProperties Method

Definition

public static Azure.ResourceManager.SecurityInsights.Models.GcpAuthProperties GcpAuthProperties(string serviceAccountEmail = default, string projectNumber = default, string workloadIdentityProviderId = default);
static member GcpAuthProperties : string * string * string -> Azure.ResourceManager.SecurityInsights.Models.GcpAuthProperties
Public Shared Function GcpAuthProperties (Optional serviceAccountEmail As String = Nothing, Optional projectNumber As String = Nothing, Optional workloadIdentityProviderId As String = Nothing) As GcpAuthProperties

Parameters

serviceAccountEmail
String

The service account that is used to access the GCP project.

projectNumber
String

The GCP project number.

workloadIdentityProviderId
String

The workload identity provider id that is used to gain access to the GCP project.

Returns

A new GcpAuthProperties instance for mocking.

Applies to