示例#1
0
 public KubernetesClusterAgentPoolImpl WithAgentPoolTypeName(string agentPoolTypeName)
 {
     this.Inner.Type = AgentPoolType.Parse(agentPoolTypeName);
     return(this);
 }
示例#2
0
 /// <summary>
 /// Set agent pool type to every virtual machine in the agent pool.
 /// </summary>
 /// <param name="agentPoolType">The agent pool type for every machine in the agent pool.</param>
 /// <return>The next stage of the definition.</return>
 KubernetesClusterAgentPool.Definition.IWithAttach <KubernetesCluster.Definition.IWithCreate> KubernetesClusterAgentPool.Definition.IWithAgentPoolType <KubernetesCluster.Definition.IWithCreate> .WithAgentPoolType(AgentPoolType agentPoolType)
 {
     return(this.WithAgentPoolType(agentPoolType));
 }
示例#3
0
 public KubernetesClusterAgentPoolImpl WithAgentPoolType(AgentPoolType agentPoolType)
 {
     this.Inner.Type = agentPoolType;
     return(this);
 }
 /// <summary>
 /// Converts the <see cref="sourceValue" /> parameter to the <see cref="destinationType" /> parameter using <see cref="formatProvider"
 /// /> and <see cref="ignoreCase" />
 /// </summary>
 /// <param name="sourceValue">the <see cref="System.Object"/> to convert from</param>
 /// <param name="destinationType">the <see cref="System.Type" /> to convert to</param>
 /// <param name="formatProvider">not used by this TypeConverter.</param>
 /// <param name="ignoreCase">when set to <c>true</c>, will ignore the case when converting.</param>
 /// <returns>
 /// an instance of <see cref="AgentPoolType" />, or <c>null</c> if there is no suitable conversion.
 /// </returns>
 public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => AgentPoolType.CreateFrom(sourceValue);