你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphCertificateBasedAuthConfiguration Class

public final class MicrosoftGraphCertificateBasedAuthConfiguration
extends MicrosoftGraphEntity

certificateBasedAuthConfiguration.

Constructor Summary

Constructor Description
MicrosoftGraphCertificateBasedAuthConfiguration()

Creates an instance of MicrosoftGraphCertificateBasedAuthConfiguration class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: certificateBasedAuthConfiguration.

List<MicrosoftGraphCertificateAuthority> certificateAuthorities()

Get the certificateAuthorities property: Collection of certificate authorities which creates a trusted certificate chain.

static MicrosoftGraphCertificateBasedAuthConfiguration fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphCertificateBasedAuthConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphCertificateBasedAuthConfiguration withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: certificateBasedAuthConfiguration.

MicrosoftGraphCertificateBasedAuthConfiguration withCertificateAuthorities(List<MicrosoftGraphCertificateAuthority> certificateAuthorities)

Set the certificateAuthorities property: Collection of certificate authorities which creates a trusted certificate chain.

MicrosoftGraphCertificateBasedAuthConfiguration withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphCertificateBasedAuthConfiguration

public MicrosoftGraphCertificateBasedAuthConfiguration()

Creates an instance of MicrosoftGraphCertificateBasedAuthConfiguration class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: certificateBasedAuthConfiguration.

Overrides:

MicrosoftGraphCertificateBasedAuthConfiguration.additionalProperties()

Returns:

the additionalProperties value.

certificateAuthorities

public List certificateAuthorities()

Get the certificateAuthorities property: Collection of certificate authorities which creates a trusted certificate chain.

Returns:

the certificateAuthorities value.

fromJson

public static MicrosoftGraphCertificateBasedAuthConfiguration fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphCertificateBasedAuthConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphCertificateBasedAuthConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphCertificateBasedAuthConfiguration.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphCertificateBasedAuthConfiguration.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphCertificateBasedAuthConfiguration.validate()

withAdditionalProperties

public MicrosoftGraphCertificateBasedAuthConfiguration withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: certificateBasedAuthConfiguration.

Overrides:

MicrosoftGraphCertificateBasedAuthConfiguration.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphCertificateBasedAuthConfiguration object itself.

withCertificateAuthorities

public MicrosoftGraphCertificateBasedAuthConfiguration withCertificateAuthorities(List certificateAuthorities)

Set the certificateAuthorities property: Collection of certificate authorities which creates a trusted certificate chain.

Parameters:

certificateAuthorities - the certificateAuthorities value to set.

Returns:

the MicrosoftGraphCertificateBasedAuthConfiguration object itself.

withId

public MicrosoftGraphCertificateBasedAuthConfiguration withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphCertificateBasedAuthConfiguration.withId(String id)

Parameters:

id

Applies to