你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmSphereModelFactory.SphereCertificateData 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 SphereCertificateData.
public static Azure.ResourceManager.Sphere.SphereCertificateData SphereCertificateData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, 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 SphereCertificateData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Sphere.Models.SphereCertificateStatus> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sphere.Models.SphereProvisioningState> -> Azure.ResourceManager.Sphere.SphereCertificateData
Public Shared Function SphereCertificateData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, 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 SphereCertificateData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- 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 SphereCertificateData instance for mocking.