示例#1
0
 /// <summary>
 /// Initializes a new instance of the Table class.
 /// </summary>
 /// <param name="id">Fully qualified resource ID for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="retentionInDays">The table retention in days, between
 /// 4 and 730. Setting this property to -1 will default to the
 /// workspace retention.</param>
 /// <param name="totalRetentionInDays">The table total retention in
 /// days, between 4 and 2555. Setting this property to -1 will default
 /// to table retention.</param>
 /// <param name="archiveRetentionInDays">The table data archive
 /// retention in days. Calculated as
 /// (totalRetentionInDays-retentionInDays)</param>
 /// <param name="searchResults">Parameters of the search job that
 /// initiated this table.</param>
 /// <param name="restoredLogs">Parameters of the restore operation that
 /// initiated this table.</param>
 /// <param name="resultStatistics">Search job execution
 /// statistics.</param>
 /// <param name="plan">Instruct the system how to handle and charge the
 /// logs ingested to this table. Possible values include: 'Basic',
 /// 'Analytics'</param>
 /// <param name="lastPlanModifiedDate">The timestamp that table plan
 /// was last modified (UTC).</param>
 /// <param name="schema">Table schema.</param>
 /// <param name="provisioningState">Table's current provisioning state.
 /// If set to 'updating', indicates a resource lock due to ongoing
 /// operation, forbidding any update to the table until the ongoing
 /// operation is concluded. Possible values include: 'Updating',
 /// 'InProgress', 'Succeeded'</param>
 public Table(string id = default(string), string name = default(string), string type = default(string), int?retentionInDays = default(int?), int?totalRetentionInDays = default(int?), int?archiveRetentionInDays = default(int?), SearchResults searchResults = default(SearchResults), RestoredLogs restoredLogs = default(RestoredLogs), ResultStatistics resultStatistics = default(ResultStatistics), string plan = default(string), string lastPlanModifiedDate = default(string), Schema schema = default(Schema), string provisioningState = default(string), SystemData systemData = default(SystemData))
     : base(id, name, type)
 {
     RetentionInDays        = retentionInDays;
     TotalRetentionInDays   = totalRetentionInDays;
     ArchiveRetentionInDays = archiveRetentionInDays;
     SearchResults          = searchResults;
     RestoredLogs           = restoredLogs;
     ResultStatistics       = resultStatistics;
     Plan = plan;
     LastPlanModifiedDate = lastPlanModifiedDate;
     Schema            = schema;
     ProvisioningState = provisioningState;
     SystemData        = systemData;
     CustomInit();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the Schema class.
 /// </summary>
 /// <param name="name">Table name.</param>
 /// <param name="displayName">Table display name.</param>
 /// <param name="description">Table description.</param>
 /// <param name="columns">A list of table custom columns.</param>
 /// <param name="standardColumns">A list of table standard
 /// columns.</param>
 /// <param name="categories">Table category.</param>
 /// <param name="labels">Table labels.</param>
 /// <param name="source">Table's creator. Possible values include:
 /// 'microsoft', 'customer'</param>
 /// <param name="tableType">Table's creator. Possible values include:
 /// 'Microsoft', 'CustomLog', 'RestoredLogs', 'SearchResults'</param>
 /// <param name="tableSubType">The subtype describes what APIs can be
 /// used to interact with the table, and what features are available
 /// against it. Possible values include: 'Any', 'Classic',
 /// 'DataCollectionRuleBased'</param>
 /// <param name="solutions">List of solutions the table is affiliated
 /// with</param>
 /// <param name="searchResults">Parameters of the search job that
 /// initiated this table.</param>
 /// <param name="restoredLogs">Parameters of the restore operation that
 /// initiated this table.</param>
 public Schema(string name = default(string), string displayName = default(string), string description = default(string), IList <Column> columns = default(IList <Column>), IList <Column> standardColumns = default(IList <Column>), IList <string> categories = default(IList <string>), IList <string> labels = default(IList <string>), string source = default(string), string tableType = default(string), string tableSubType = default(string), IList <string> solutions = default(IList <string>), SearchResults searchResults = default(SearchResults), RestoredLogs restoredLogs = default(RestoredLogs))
 {
     Name            = name;
     DisplayName     = displayName;
     Description     = description;
     Columns         = columns;
     StandardColumns = standardColumns;
     Categories      = categories;
     Labels          = labels;
     Source          = source;
     TableType       = tableType;
     TableSubType    = tableSubType;
     Solutions       = solutions;
     SearchResults   = searchResults;
     RestoredLogs    = restoredLogs;
     CustomInit();
 }