ArmManagedServiceIdentitiesModelFactory.FederatedIdentityCredentialData 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.
public static Azure.ResourceManager.ManagedServiceIdentities.FederatedIdentityCredentialData FederatedIdentityCredentialData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Uri issuerUri = default, string subject = default, System.Collections.Generic.IEnumerable<string> audiences = default, Azure.ResourceManager.ManagedServiceIdentities.Models.FederatedIdentityClaimsMatchingExpression claimsMatchingExpression = default);
static member FederatedIdentityCredentialData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Uri * string * seq<string> * Azure.ResourceManager.ManagedServiceIdentities.Models.FederatedIdentityClaimsMatchingExpression -> Azure.ResourceManager.ManagedServiceIdentities.FederatedIdentityCredentialData
Public Shared Function FederatedIdentityCredentialData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional issuerUri As Uri = Nothing, Optional subject As String = Nothing, Optional audiences As IEnumerable(Of String) = Nothing, Optional claimsMatchingExpression As FederatedIdentityClaimsMatchingExpression = Nothing) As FederatedIdentityCredentialData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- issuerUri
- Uri
The URL of the issuer to be trusted.
- subject
- String
The identifier of the external identity.
- audiences
- IEnumerable<String>
The list of audiences that can appear in the issued token.
- claimsMatchingExpression
- FederatedIdentityClaimsMatchingExpression
Object for defining the allowed identifiers of external identities. Either 'subject' or 'claimsMatchingExpression' must be defined, but not both. Introduced in 2025-01-31-preview.
Returns
A new FederatedIdentityCredentialData instance for mocking.