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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET