ArmAppComplianceAutomationModelFactory.AssessmentResourceContent 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 AssessmentResourceContent.
public static Azure.ResourceManager.AppComplianceAutomation.Models.AssessmentResourceContent AssessmentResourceContent (string resourceId = default, Azure.ResourceManager.AppComplianceAutomation.Models.ResourceStatus? resourceStatus = default, string reason = default, string statusChangeDate = default);
static member AssessmentResourceContent : string * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ResourceStatus> * string * string -> Azure.ResourceManager.AppComplianceAutomation.Models.AssessmentResourceContent
Public Shared Function AssessmentResourceContent (Optional resourceId As String = Nothing, Optional resourceStatus As Nullable(Of ResourceStatus) = Nothing, Optional reason As String = Nothing, Optional statusChangeDate As String = Nothing) As AssessmentResourceContent
Parameters
- resourceId
- String
The Id of the resource.
- resourceStatus
- Nullable<ResourceStatus>
Resource status.
- reason
- String
The reason for the N/A resource.
- statusChangeDate
- String
The status change date for the resource. For unavailable date, set it as N/A.
Returns
A new AssessmentResourceContent 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