ArmContainerRegistryModelFactory.GoogleArtifactRegistryCacheAuthentication 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.
Google Artifact Registry (GAR) authentication configuration.
public static Azure.ResourceManager.ContainerRegistry.Models.GoogleArtifactRegistryCacheAuthentication GoogleArtifactRegistryCacheAuthentication(string projectNumber = default, string workloadIdentityPool = default, string workloadIdentityProvider = default);
static member GoogleArtifactRegistryCacheAuthentication : string * string * string -> Azure.ResourceManager.ContainerRegistry.Models.GoogleArtifactRegistryCacheAuthentication
Public Shared Function GoogleArtifactRegistryCacheAuthentication (Optional projectNumber As String = Nothing, Optional workloadIdentityPool As String = Nothing, Optional workloadIdentityProvider As String = Nothing) As GoogleArtifactRegistryCacheAuthentication
Parameters
- projectNumber
- String
The Google Cloud Platform project that is configured for authentication Permissions should be granted to principal://iam.googleapis.com/projects/{ProjectNumber}/locations/global/workloadIdentityPools/{WorkloadIdentityPool}/providers/{WorkloadIdentityProvider}/subject/{ManagedIdentityPrincipal}
- workloadIdentityPool
- String
The Google Cloud platform workload identity pool used for authentication.
- workloadIdentityProvider
- String
The Google Cloud Platform workload identity provider used for authentication.
Returns
A new GoogleArtifactRegistryCacheAuthentication instance for mocking.