Пример #1
0
 /// <summary>
 /// Initializes a new instance of the ManagedClusterUpgradeProfileInner
 /// class.
 /// </summary>
 /// <param name="controlPlaneProfile">The list of available upgrade
 /// versions for the control plane.</param>
 /// <param name="agentPoolProfiles">The list of available upgrade
 /// versions for agent pools.</param>
 /// <param name="id">Id of upgrade profile.</param>
 /// <param name="name">Name of upgrade profile.</param>
 /// <param name="type">Type of upgrade profile.</param>
 public ManagedClusterUpgradeProfileInner(ManagedClusterPoolUpgradeProfile controlPlaneProfile, IList <ManagedClusterPoolUpgradeProfile> agentPoolProfiles, string id = default(string), string name = default(string), string type = default(string))
 {
     Id   = id;
     Name = name;
     Type = type;
     ControlPlaneProfile = controlPlaneProfile;
     AgentPoolProfiles   = agentPoolProfiles;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// ManagedClusterUpgradeProfileProperties class.
 /// </summary>
 /// <param name="controlPlaneProfile">The list of available upgrade
 /// versions for the control plane.</param>
 /// <param name="agentPoolProfiles">The list of available upgrade
 /// versions for agent pools.</param>
 public ManagedClusterUpgradeProfileProperties(ManagedClusterPoolUpgradeProfile controlPlaneProfile, IList <ManagedClusterPoolUpgradeProfile> agentPoolProfiles)
 {
     ControlPlaneProfile = controlPlaneProfile;
     AgentPoolProfiles   = agentPoolProfiles;
     CustomInit();
 }