/// <summary> /// Updates the configuration of a node type of a given managed cluster. /// </summary> /// <remarks> /// Update the configuration of a node type of a given managed cluster. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='clusterName'> /// The name of the cluster resource. /// </param> /// <param name='nodeTypeName'> /// The name of the node type. /// </param> /// <param name='parameters'> /// The parameters to update the node type configuration. /// </param> public static NodeType Update(this INodeTypesOperations operations, string resourceGroupName, string clusterName, string nodeTypeName, NodeTypeUpdateParameters parameters) { return(operations.UpdateAsync(resourceGroupName, clusterName, nodeTypeName, parameters).GetAwaiter().GetResult()); }
/// <summary> /// Update the tags of a node type resource of a given managed cluster. /// </summary> /// <remarks> /// Update the configuration of a node type of a given managed cluster, only /// updating tags. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='clusterName'> /// The name of the cluster resource. /// </param> /// <param name='nodeTypeName'> /// The name of the node type. /// </param> /// <param name='tags'> /// Node type update parameters /// </param> public static NodeType Update(this INodeTypesOperations operations, string resourceGroupName, string clusterName, string nodeTypeName, IDictionary <string, string> tags = default(IDictionary <string, string>)) { return(operations.UpdateAsync(resourceGroupName, clusterName, nodeTypeName, tags).GetAwaiter().GetResult()); }