AnalyticsDefenderEasmModelFactory.DomainAssetResource 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 DomainAssetResource.
public static Azure.Analytics.Defender.Easm.DomainAssetResource DomainAssetResource (string id = default, string name = default, string displayName = default, Guid? uuid = default, DateTimeOffset? createdDate = default, DateTimeOffset? updatedDate = default, Azure.Analytics.Defender.Easm.AssetState? state = default, string externalId = default, System.Collections.Generic.IEnumerable<string> labels = default, bool? wildcard = default, string discoGroupName = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.AuditTrailItem> auditTrail = default, string reason = default, Azure.Analytics.Defender.Easm.DomainAsset asset = default);
static member DomainAssetResource : string * string * string * Nullable<Guid> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.Analytics.Defender.Easm.AssetState> * string * seq<string> * Nullable<bool> * string * seq<Azure.Analytics.Defender.Easm.AuditTrailItem> * string * Azure.Analytics.Defender.Easm.DomainAsset -> Azure.Analytics.Defender.Easm.DomainAssetResource
Public Shared Function DomainAssetResource (Optional id As String = Nothing, Optional name As String = Nothing, Optional displayName As String = Nothing, Optional uuid As Nullable(Of Guid) = Nothing, Optional createdDate As Nullable(Of DateTimeOffset) = Nothing, Optional updatedDate As Nullable(Of DateTimeOffset) = Nothing, Optional state As Nullable(Of AssetState) = Nothing, Optional externalId As String = Nothing, Optional labels As IEnumerable(Of String) = Nothing, Optional wildcard As Nullable(Of Boolean) = Nothing, Optional discoGroupName As String = Nothing, Optional auditTrail As IEnumerable(Of AuditTrailItem) = Nothing, Optional reason As String = Nothing, Optional asset As DomainAsset = Nothing) As DomainAssetResource
Parameters
- id
- String
The system generated unique id for the resource.
- name
- String
The caller provided unique name for the resource.
- displayName
- String
The name that can be used for display purposes.
- createdDate
- Nullable<DateTimeOffset>
The date this asset was first added to this workspace.
- updatedDate
- Nullable<DateTimeOffset>
The date this asset was last updated for this workspace.
- state
- Nullable<AssetState>
- externalId
- String
An optional customer provided identifier for this asset.
- labels
- IEnumerable<String>
Customer labels assigned to this asset.
An indicator of whether this asset represents a wildcard rollup of assets on this domain.
- discoGroupName
- String
The name of the DiscoGroup that brought added this asset to the workspace.
- auditTrail
- IEnumerable<AuditTrailItem>
The history of how this asset was pulled into the workspace through the discovery process.
- reason
- String
- asset
- DomainAsset
asset.
Returns
A new DomainAssetResource instance for mocking.