GoogleArtifactRegistryCacheAuthentication(String, String, String) Constructor
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 GoogleArtifactRegistryCacheAuthentication.
public GoogleArtifactRegistryCacheAuthentication(string projectNumber, string workloadIdentityPool, string workloadIdentityProvider);
new Azure.ResourceManager.ContainerRegistry.Models.GoogleArtifactRegistryCacheAuthentication : string * string * string -> Azure.ResourceManager.ContainerRegistry.Models.GoogleArtifactRegistryCacheAuthentication
Public Sub New (projectNumber As String, workloadIdentityPool As String, workloadIdentityProvider As String)
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.
Exceptions
projectNumber, workloadIdentityPool or workloadIdentityProvider is null.