Compartilhar via


MicrosoftGraphKeyCredential Class

Definition

keyCredential

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphKeyCredentialTypeConverter))]
public class MicrosoftGraphKeyCredential : Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredential, Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.IAssociativeArray<object>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphKeyCredentialTypeConverter))>]
type MicrosoftGraphKeyCredential = class
    interface IMicrosoftGraphKeyCredential
    interface IJsonSerializable
    interface IAssociativeArray<obj>
Public Class MicrosoftGraphKeyCredential
Implements IAssociativeArray(Of Object), IMicrosoftGraphKeyCredential
Inheritance
MicrosoftGraphKeyCredential
Attributes
Implements

Constructors

MicrosoftGraphKeyCredential()

Creates an new MicrosoftGraphKeyCredential instance.

Fields

__additionalProperties

Properties

CustomKeyIdentifier

Custom key identifier

DisplayName

Friendly name for the key. Optional.

EndDateTime

The date and time at which the credential expires.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Item[String]
Key

Value for the key credential. Should be a base 64 encoded value.

KeyId

The unique identifier (GUID) for the key.

StartDateTime

The date and time at which the credential becomes valid.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Type

The type of key credential; for example, 'Symmetric'.

Usage

A string that describes the purpose for which the key can be used; for example, 'Verify'.

Methods

Add(String, Object)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MicrosoftGraphKeyCredential.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MicrosoftGraphKeyCredential.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredential.

FromJsonString(String)

Creates a new instance of MicrosoftGraphKeyCredential, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of MicrosoftGraphKeyCredential into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Object)

Operators

Implicit(MicrosoftGraphKeyCredential to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to