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

CertificateCreateOrUpdateParameters 类

  • java.lang.Object
    • com.microsoft.azure.ProxyResource
      • com.microsoft.azure.management.batch.CertificateCreateOrUpdateParameters

public class CertificateCreateOrUpdateParameters
extends com.microsoft.azure.ProxyResource

包含有关证书的信息。

构造函数摘要

构造函数 说明
CertificateCreateOrUpdateParameters()

方法摘要

修饰符和类型 方法和描述
java.lang.String data()

获取最大大小为 10KB。

java.lang.String etag()

获取用于并发语句的资源的 ETag。

CertificateFormat format()

获取证书的格式 - Pfx 或 Cer。

java.lang.String password()

如果证书格式为 Cer,则不得指定此项。

java.lang.String thumbprint()

获取此名称必须与名称中的指纹匹配。

java.lang.String thumbprintAlgorithm()

获取此项必须与证书名称的第一部分匹配。

CertificateCreateOrUpdateParameters withData(String data)

将最大大小设置为 10KB。

CertificateCreateOrUpdateParameters withFormat(CertificateFormat format)

设置证书的格式 - Pfx 或 Cer。

CertificateCreateOrUpdateParameters withPassword(String password)

如果证书格式为 Cer,则不得指定此设置。

CertificateCreateOrUpdateParameters withThumbprint(String thumbprint)

设置此项必须与名称中的指纹匹配。

CertificateCreateOrUpdateParameters withThumbprintAlgorithm(String thumbprintAlgorithm)

设置此项必须与证书名称的第一部分匹配。

方法继承自 com.microsoft.azure.ProxyResource

com.microsoft.azure.ProxyResource.id com.microsoft.azure.ProxyResource.name com.microsoft.azure.ProxyResource.type

方法继承自 java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

构造函数详细信息

CertificateCreateOrUpdateParameters

public CertificateCreateOrUpdateParameters()

方法详细信息

data

public String data()

获取最大大小为 10KB。

Returns:

数据值

etag

public String etag()

获取用于并发语句的资源的 ETag。

Returns:

etag 值

format

public CertificateFormat format()

获取证书的格式 - Pfx 或 Cer。 如果省略,则默认值为 Pfx。 可能的值包括:“Pfx”、“Cer”。

Returns:

格式值

password

public String password()

如果证书格式为 Cer,则不得指定此项。

Returns:

密码值

thumbprint

public String thumbprint()

获取此名称必须与名称中的指纹匹配。

Returns:

指纹值

thumbprintAlgorithm

public String thumbprintAlgorithm()

获取此项必须与证书名称的第一部分匹配。 当前必须为“SHA1”。

Returns:

thumbprintAlgorithm 值

withData

public CertificateCreateOrUpdateParameters withData(String data)

将最大大小设置为 10KB。

Parameters:

data - 要设置的数据值

Returns:

CertificateCreateOrUpdateParameters 对象本身。

withFormat

public CertificateCreateOrUpdateParameters withFormat(CertificateFormat format)

设置证书的格式 - Pfx 或 Cer。 如果省略,则默认值为 Pfx。 可能的值包括:“Pfx”、“Cer”。

Parameters:

format - 要设置的格式值

Returns:

CertificateCreateOrUpdateParameters 对象本身。

withPassword

public CertificateCreateOrUpdateParameters withPassword(String password)

如果证书格式为 Cer,则不得指定此设置。

Parameters:

password - 要设置的密码值

Returns:

CertificateCreateOrUpdateParameters 对象本身。

withThumbprint

public CertificateCreateOrUpdateParameters withThumbprint(String thumbprint)

设置此项必须与名称中的指纹匹配。

Parameters:

thumbprint - 要设置的指纹值

Returns:

CertificateCreateOrUpdateParameters 对象本身。

withThumbprintAlgorithm

public CertificateCreateOrUpdateParameters withThumbprintAlgorithm(String thumbprintAlgorithm)

设置此项必须与证书名称的第一部分匹配。 当前必须为“SHA1”。

Parameters:

thumbprintAlgorithm - 要设置的 ThumbprintAlgorithm 值

Returns:

CertificateCreateOrUpdateParameters 对象本身。

适用于