Пример #1
0
 /// <summary>
 /// Initializes a new instance of the AutomationRule class.
 /// </summary>
 /// <param name="displayName">The display name of the automation
 /// rule</param>
 /// <param name="order">The order of execution of the automation
 /// rule</param>
 /// <param name="actions">The actions to execute when the automation
 /// rule is triggered</param>
 /// <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="systemData">Azure Resource Manager metadata containing
 /// createdBy and modifiedBy information.</param>
 /// <param name="etag">Etag of the azure resource</param>
 /// <param name="lastModifiedTimeUtc">The last time the automation rule
 /// was updated</param>
 /// <param name="createdTimeUtc">The time the automation rule was
 /// created</param>
 public AutomationRule(string displayName, int order, AutomationRuleTriggeringLogic triggeringLogic, IList <AutomationRuleAction> actions, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), System.DateTime?lastModifiedTimeUtc = default(System.DateTime?), System.DateTime?createdTimeUtc = default(System.DateTime?), ClientInfo lastModifiedBy = default(ClientInfo), ClientInfo createdBy = default(ClientInfo))
     : base(id, name, type, systemData, etag)
 {
     DisplayName         = displayName;
     Order               = order;
     TriggeringLogic     = triggeringLogic;
     Actions             = actions;
     LastModifiedTimeUtc = lastModifiedTimeUtc;
     CreatedTimeUtc      = createdTimeUtc;
     LastModifiedBy      = lastModifiedBy;
     CreatedBy           = createdBy;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the AATPDataConnector class.
 /// </summary>
 /// <param name="tenantId">The tenant id to connect to, and get the
 /// data from.</param>
 /// <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="systemData">Azure Resource Manager metadata containing
 /// createdBy and modifiedBy information.</param>
 /// <param name="etag">Etag of the azure resource</param>
 /// <param name="dataTypes">The available data types for the
 /// connector.</param>
 public AATPDataConnector(string tenantId, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), AlertsDataTypeOfDataConnector dataTypes = default(AlertsDataTypeOfDataConnector))
     : base(id, name, type, systemData, etag)
 {
     TenantId  = tenantId;
     DataTypes = dataTypes;
     CustomInit();
 }