ArmCustomerInsightsModelFactory.PropertyDefinition 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 PropertyDefinition.
public static Azure.ResourceManager.CustomerInsights.Models.PropertyDefinition PropertyDefinition (string arrayValueSeparator = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CustomerInsights.Models.ProfileEnumValidValuesFormat> enumValidValues = default, string fieldName = default, string fieldType = default, bool? isArray = default, bool? isEnum = default, bool? isFlagEnum = default, bool? isImage = default, bool? isLocalizedString = default, bool? isName = default, bool? isRequired = default, string propertyId = default, string schemaItemPropLink = default, int? maxLength = default, bool? isAvailableInGraph = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CustomerInsights.Models.DataSourcePrecedence> dataSourcePrecedenceRules = default);
static member PropertyDefinition : string * seq<Azure.ResourceManager.CustomerInsights.Models.ProfileEnumValidValuesFormat> * string * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string * Nullable<int> * Nullable<bool> * seq<Azure.ResourceManager.CustomerInsights.Models.DataSourcePrecedence> -> Azure.ResourceManager.CustomerInsights.Models.PropertyDefinition
Public Shared Function PropertyDefinition (Optional arrayValueSeparator As String = Nothing, Optional enumValidValues As IEnumerable(Of ProfileEnumValidValuesFormat) = Nothing, Optional fieldName As String = Nothing, Optional fieldType As String = Nothing, Optional isArray As Nullable(Of Boolean) = Nothing, Optional isEnum As Nullable(Of Boolean) = Nothing, Optional isFlagEnum As Nullable(Of Boolean) = Nothing, Optional isImage As Nullable(Of Boolean) = Nothing, Optional isLocalizedString As Nullable(Of Boolean) = Nothing, Optional isName As Nullable(Of Boolean) = Nothing, Optional isRequired As Nullable(Of Boolean) = Nothing, Optional propertyId As String = Nothing, Optional schemaItemPropLink As String = Nothing, Optional maxLength As Nullable(Of Integer) = Nothing, Optional isAvailableInGraph As Nullable(Of Boolean) = Nothing, Optional dataSourcePrecedenceRules As IEnumerable(Of DataSourcePrecedence) = Nothing) As PropertyDefinition
Parameters
- arrayValueSeparator
- String
Array value separator for properties with isArray set.
- enumValidValues
- IEnumerable<ProfileEnumValidValuesFormat>
Describes valid values for an enum property.
- fieldName
- String
Name of the property.
- fieldType
- String
Type of the property.
Indicates if the property is actually an array of the fieldType above on the data api.
Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- propertyId
- String
The ID associated with the property.
- schemaItemPropLink
- String
URL encoded schema.org item prop link for the property.
- dataSourcePrecedenceRules
- IEnumerable<DataSourcePrecedence>
This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules.
Returns
A new PropertyDefinition instance for mocking.