ArmAppComplianceAutomationModelFactory.SnapshotProperties 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 SnapshotProperties.
public static Azure.ResourceManager.AppComplianceAutomation.Models.SnapshotProperties SnapshotProperties (string id = default, string snapshotName = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.AppComplianceAutomation.Models.ProvisioningState? provisioningState = default, Azure.ResourceManager.AppComplianceAutomation.Models.ReportProperties reportProperties = default, Azure.ResourceManager.Models.SystemData reportSystemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceResult> complianceResults = default);
static member SnapshotProperties : string * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ProvisioningState> * Azure.ResourceManager.AppComplianceAutomation.Models.ReportProperties * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceResult> -> Azure.ResourceManager.AppComplianceAutomation.Models.SnapshotProperties
Public Shared Function SnapshotProperties (Optional id As String = Nothing, Optional snapshotName As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional reportProperties As ReportProperties = Nothing, Optional reportSystemData As SystemData = Nothing, Optional complianceResults As IEnumerable(Of ComplianceResult) = Nothing) As SnapshotProperties
Parameters
- id
- String
Snapshot id in the database.
- snapshotName
- String
Snapshot name.
- createdOn
- Nullable<DateTimeOffset>
The timestamp of resource creation (UTC).
- provisioningState
- Nullable<ProvisioningState>
Azure lifecycle management.
- reportProperties
- ReportProperties
The report essential info.
- reportSystemData
- SystemData
Metadata pertaining to creation and last modification of the resource.
- complianceResults
- IEnumerable<ComplianceResult>
List of compliance results.
Returns
A new SnapshotProperties instance for mocking.