/// <summary>
 /// Specifies the storage kind to be used for every machine in master pool.
 /// </summary>
 /// <param name="storageProfile">The storage kind to be used for every machine in the master pool.</param>
 /// <return>The next stage of the definition.</return>
 ContainerService.Definition.IWithCreate ContainerService.Definition.IWithMasterStorageProfile.WithMasterStorageProfile(ContainerServiceStorageProfileTypes storageProfile)
 {
     return(this.WithMasterStorageProfile(storageProfile));
 }
Example #2
0
 /// <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="ContainerServiceStorageProfileTypes" />, 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) => ContainerServiceStorageProfileTypes.CreateFrom(sourceValue);
Example #3
0
        ///GENMHASH:A7BB228682D91D0BE3771990EB9A8B24:A767CA83A1AD0D08917EABEC893AD28A
        public ContainerServiceAgentPoolImpl WithStorageProfile(ContainerServiceStorageProfileTypes storageProfile)
        {
            this.Inner.StorageProfile = storageProfile;

            return(this);
        }
Example #4
0
 /// <summary>
 /// Specifies the storage kind to be used for each virtual machine in the agent pool.
 /// </summary>
 /// <param name="storageProfile">The storage kind to be used for each virtual machine in the agent pool.</param>
 /// <return>The next stage of the definition.</return>
 ContainerServiceAgentPool.Definition.IWithAttach <ContainerService.Definition.IWithCreate> ContainerServiceAgentPool.Definition.IWithStorageProfile <ContainerService.Definition.IWithCreate> .WithStorageProfile(ContainerServiceStorageProfileTypes storageProfile)
 {
     return(this.WithStorageProfile(storageProfile));
 }
Example #5
0
        ///GENMHASH:471813C8A7A79400855C3DE35D356C78:9EF17E64DA70F46F3B3EC162AB9FD2A5
        public ContainerServiceImpl WithMasterStorageProfile(ContainerServiceStorageProfileTypes storageProfile)
        {
            this.Inner.MasterProfile.StorageProfile = storageProfile;

            return(this);
        }