private IDictionary <string, ManagedClusterAddonProfile> CreateAddonsProfiles() { if (this.IsParameterBound(c => c.AddOnNameToBeEnabled)) { Dictionary <string, ManagedClusterAddonProfile> addonProfiles = new Dictionary <string, ManagedClusterAddonProfile>(); return(AddonUtils.EnableAddonsProfile(addonProfiles, AddOnNameToBeEnabled, WorkspaceResourceId, SubnetName)); } else { return(null); } }
protected override IDictionary <string, ManagedClusterAddonProfile> UpdateAddonsProfile(IDictionary <string, ManagedClusterAddonProfile> addonProfiles) { return(AddonUtils.EnableAddonsProfile(addonProfiles, Name, nameof(Name), WorkspaceResourceId, nameof(WorkspaceResourceId), SubnetName, nameof(SubnetName))); }