你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmSphereModelFactory.SphereCertificateProperties 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.
Initializes a new instance of SphereCertificateProperties.
public static Azure.ResourceManager.Sphere.Models.SphereCertificateProperties SphereCertificateProperties (string certificate = default, Azure.ResourceManager.Sphere.Models.SphereCertificateStatus? status = default, string subject = default, string thumbprint = default, DateTimeOffset? expiryUtc = default, DateTimeOffset? notBeforeUtc = default, Azure.ResourceManager.Sphere.Models.SphereProvisioningState? provisioningState = default);
static member SphereCertificateProperties : string * Nullable<Azure.ResourceManager.Sphere.Models.SphereCertificateStatus> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sphere.Models.SphereProvisioningState> -> Azure.ResourceManager.Sphere.Models.SphereCertificateProperties
Public Shared Function SphereCertificateProperties (Optional certificate As String = Nothing, Optional status As Nullable(Of SphereCertificateStatus) = Nothing, Optional subject As String = Nothing, Optional thumbprint As String = Nothing, Optional expiryUtc As Nullable(Of DateTimeOffset) = Nothing, Optional notBeforeUtc As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of SphereProvisioningState) = Nothing) As SphereCertificateProperties
Parameters
- certificate
- String
The certificate as a UTF-8 encoded base 64 string.
- status
- Nullable<SphereCertificateStatus>
The certificate status.
- subject
- String
The certificate subject.
- thumbprint
- String
The certificate thumbprint.
- expiryUtc
- Nullable<DateTimeOffset>
The certificate expiry date.
- notBeforeUtc
- Nullable<DateTimeOffset>
The certificate not before date.
- provisioningState
- Nullable<SphereProvisioningState>
The status of the last operation.
Returns
A new SphereCertificateProperties instance for mocking.