ArmAppComplianceAutomationModelFactory.ResponsibilityResourceItem 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 ResponsibilityResourceItem.
public static Azure.ResourceManager.AppComplianceAutomation.Models.ResponsibilityResourceItem ResponsibilityResourceItem (Azure.Core.ResourceIdentifier resourceId = default, string accountId = default, Azure.Core.ResourceType? resourceType = default, Azure.ResourceManager.AppComplianceAutomation.Models.ReportResourceOrigin? resourceOrigin = default, Azure.ResourceManager.AppComplianceAutomation.Models.ReportResourceStatus? resourceStatus = default, DateTimeOffset? resourceStatusChangedOn = default, System.Collections.Generic.IEnumerable<string> recommendationIds = default);
static member ResponsibilityResourceItem : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ReportResourceOrigin> * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ReportResourceStatus> * Nullable<DateTimeOffset> * seq<string> -> Azure.ResourceManager.AppComplianceAutomation.Models.ResponsibilityResourceItem
Public Shared Function ResponsibilityResourceItem (Optional resourceId As ResourceIdentifier = Nothing, Optional accountId As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional resourceOrigin As Nullable(Of ReportResourceOrigin) = Nothing, Optional resourceStatus As Nullable(Of ReportResourceStatus) = Nothing, Optional resourceStatusChangedOn As Nullable(Of DateTimeOffset) = Nothing, Optional recommendationIds As IEnumerable(Of String) = Nothing) As ResponsibilityResourceItem
Parameters
- resourceId
- ResourceIdentifier
The Id of the resource.
- accountId
- String
Account Id. For example - AWS account Id.
- resourceType
- Nullable<ResourceType>
The type of the resource. e.g. "Microsoft.SignalRService/SignalR".
- resourceOrigin
- Nullable<ReportResourceOrigin>
Resource origin.
- resourceStatus
- Nullable<ReportResourceStatus>
Resource status.
- resourceStatusChangedOn
- Nullable<DateTimeOffset>
The status change date for the resource.
- recommendationIds
- IEnumerable<String>
List of recommendation id.
Returns
A new ResponsibilityResourceItem instance for mocking.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.