/// <summary> /// Creates an instance of external child resource in-memory. /// </summary> /// <param name="name">The name of this external child resource.</param> /// <param name="parent">Reference to the parent of this external child resource.</param> /// <param name="innerObject">Reference to the inner object representing this external child resource.</param> /// <param name="containerRegistryManager">Reference to the container registry manager that accesses web hook operations.</param> ///GENMHASH:A02845D0393045D983B12D9853197178:8FC0F03D2574AA46828F939572035BF5 internal WebhookImpl(string name, RegistryImpl parent, WebhookInner innerObject, IRegistryManager containerRegistryManager) : base(name, parent, innerObject) { this.containerRegistryManager = containerRegistryManager; if (parent != null) { this.resourceGroupName = parent.ResourceGroupName; this.registryName = parent.Name; } this.InitCreateUpdateParams(); }
/// <summary> /// Creates an instance of external child resource in-memory. /// </summary> /// <param name="resourceGroupName">The resource group name.</param> /// <param name="registryName">The registry name.</param> /// <param name="name">The name of this external child resource.</param> /// <param name="innerObject">Reference to the inner object representing this external child resource.</param> /// <param name="containerRegistryManager">Reference to the container registry manager that accesses web hook operations.</param> ///GENMHASH:A21B1A64BBD5DE45FE96382827594FDE:C13877D7A53C23149EEDA94679AF13A2 internal WebhookImpl(string resourceGroupName, string registryName, string name, WebhookInner innerObject, IRegistryManager containerRegistryManager) : base(name, null, innerObject) { this.containerRegistryManager = containerRegistryManager; this.resourceGroupName = resourceGroupName; this.registryName = registryName; this.InitCreateUpdateParams(); }